Finally the dd simple photo gallery version 1.1 has been released. I tried to make it more easy to use that’s why I have removed the timthumb image resizing on the fly which required some server manual settings.

dd simple photo gallery version 1.1 features:

1. added around 40 different effects on photo sliding
2. above 15 settings you can choose when the plugins call
3. timthumb on the fly photo resize has been removed
4. support for multiple photo gallery on a single page or post

the complete list of different effect and settings is not configurable on gallery settings page yet, very soon it will be added on gallery settings page.

for more discussion please visit http://www.dropndot.com/blog/development/ddspg-version-1-1-has-been-released/

thanks

I know how to code a website using wordpress, joomla, phpfox, dzoic handshakes, oscommerce, zencart, creloaded, magento and also some other cms. Hopefully very soon I am going to add another one dropncake. May be you are ready to ask what it is? Just wait for a few days, I will let you know what is dropncake. For a brief definition up to now, I can say, “dropncake is a cakephp php framework based Content Management System, which will be released under dropncms!”

Yes, we are going to release it’s version 1.0.0 beta under dropncms very soon. At dropndot we are working hard to finish the project as soon as possible. Hopefully by December 2011 first week we can release it. So, Keep in touch for a cool and yummy cake!

Sometime I am too much smart on photography even if it is a camera with 3mp Chinese mobile or 2.3mp nokia mobile set on my hand because the resolution of camera is not more important then creating a nice history of exact scene whats happening there. This is because nobody want’s to know about a mobile or camera resolution, every wants to know what was there even if it is hard to see 🙂 Yes here I am going to keep a dairy about my last Eid UL Azha 2011 Nov with some photo shot.

My last Eid vacation was really great with some of my special guest. While I was there as a guest also for my friend and family 😀

A photo of my village.

A photo of my village.

Read more »

It is to introduce my recently developed wordpress simple photo gallery plugins. If you are maintaining a wordpress enabled website, If you are searching for a photo gallery which is simple to use, simple to modify to developer and simple in looks then you are quitely invited to use this “dd simple photo gallery”.
From the begining of the release version 1.0 of this wordpress plugins I got a lot of thanks giving email and bug report. Some of discussion already available on this plugins home page http://www.dropndot.com/blog/wordpress/dd-simple-photo-gallery-wordpress-plugin/

You can download it from wordpess extension directory here http://wordpress.org/extend/plugins/dd-simple-photo-gallery/ to know more about this you can review the discussion on http://www.dropndot.com/blog/wordpress/dd-simple-photo-gallery-wordpress-plugin/
Read more »

To develop any multilingual website (Translated database content only) using cakephp framework all basic steps are discussed below. If you want fully multilingual website with translated button text or label text then go forward with Internationalizing your application
To manage multiple language translated content for any specific models specific field cakephp has a core behavior named TranslateBehavior.
Suppose we want a website with multiple number of language support and site administrator can add/edit/delete any language and front-end user can choose any language to visit the website.
Here are the list of steps given below.
Step 1: Create a db language table

CREATE TABLE `languages` (
  `id` int(11) NOT NULL auto_increment,
  `title` varchar(120) NOT NULL,
  `flag` varchar(100) default NULL,
  `code_2_digit` varchar(2) NOT NULL,
  `code_4_digit` varchar(6) NOT NULL,
  `created` datetime NOT NULL,
  `modified` datetime NOT NULL,
  PRIMARY KEY  (`id`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

now do a management for languages db table for site administrator
Read more »

If you are a wordpress user or a wordpress developer then sometimes you may noticed a error when you are trying to view a post or page Like:

Error 404: NOT FOUND!
Your browser cannot find the document corresponding to the URL you typed in.

Sometimes it will happen when your permalinks is not accepted as valid on wordpress. If the permalinks settings is not valid then you can fix this error your wordpress admin panel. Just go to the settings tabs permalinks settings, then select a default settings. Then test your site.

If it seems your error is fixed then search on wordpress for any article about using permalinks to use custom permalinks.

If you are working with any form or datagrid on which you want to list/display a set of data. Then may be sometimes you need to use multiple checkbox checking and unchecking features with a single checkbox check and uncheck in a form.

You can do it easily with jQuery in 2 steps…
Step1: Give a class name for the checkbox which you want to use as parent of all.


Step2: Write this single line of code on javascript for above added classname.

$('.dcFormCheckboxTh').click(function () {
    $(this).parents('table:eq(0)').find(':checkbox').attr('checked', this.checked);
});

On virtuemart shopping cart joomla component add to cart popup normally used to show virtuemart system error, info, warning, tips etc message.
This popup is build by javascript code in components/com_virtuemart/js/mootools/mooPrompt.js file.
The generated html code looks as below

Notice

Info: The product quantity has been updated.

To modify it’s stylesheet you can use Read more »

If you are using cakephp framework for your web application development. Sometimes you need to create SEO friendly url slug from your article / post / page / news etc title.

If a article title is “Article title to url slug with cakephp” then your SEO friendly url slug supposed to be “article-title-to-url-slug-with-cakephp”

To create this kinds of url slug from a string you can use cakephp core utility class Inflector, The Inflector takes a string and manipulate it to handle some common words variations.

To make slug from string using Inflector you can use below written code in your controller:

< ?php

$str = 'Article title to url slug with cakephp';

// Converting string into slug with separator 
$str = Inflector::slug($str,'-');

$str = strtolower($str); //article-title-to-url-slug-with-cakephp

?>

For your multiple use you can create a common method on your application controller like
Read more »

If you have a list of wishes which you want to share with your friends or other facebook user then you are quietly invited on dropnwish facebook application to use it. This application is very easy to use for it’s nice usability. Using this application you can browse all of your friends and other facebook users wishes who are on dropnwish and you can find what kinds a wish would be from different peoples wishes.

it’s developed under dropnot limited recently by me. currently it’s on version 1.0 beta with listing add/edit/delete management, listing sharing on facebook, listing discussion, facebook like management etc. within next few day there will be another version with some cool features also. so keep in touch!
Read more »

Recently google started a new web font service with a list of nice fonts. There are a lots of opensource fonts on google own server which all you can use on your website. It’s pretty simple to use and works on most web browsers. Here you can see how to use those fonts for your website.

To see the list of font visit on http://code.google.com/webfonts

There are all resources with list of fonts, how to use, web fonts api documentations etc

Basic use of google font api (2 steps) –

Step1: On html page head add a stylesheet link to request the desired web font(s)


Step2: Set font family with the requested web font, either in a stylesheet or inline style on the element itself


Or

Your text

More use of google font api –
If you want to use multiple web font you need to request multiple font families, separate the names with a pipe character (|) on stylesheet link url.
Read more »

if you are looking for page scraping help on php you can use below mentioned 2 function to fetch a web page then parse it as you wish. It’s using php curl extension and some string processing functions. Before start using it you need to enable the php_curl extension first then follow the below steps.

Getting a full webpage content:

< ?php
$pageUrl = 'http://maps.google.com';
$pageHtmlContent = getPage($pageUrl);
?>

Parsing a page html content:

< ?php
$subHtmlContent =  getValueByTagName($pageHtmlContent, '
', ''); ?>

Then you can now process the rest of content as you need. Above mentioned getPage and getValueByTagName functions are defined below you need to include them on you php page to use it.
Read more »