Posts

Showing posts from October, 2012

How to get all record of yesterday from table in mysql?

Image
How to get all record of yesterday from table in mysql? if you are looking for sql query which will return you all record of yesterday. So please take a look on this query and replace the content according to your table Let your table is like this: So your query will be like this select id from tbl_download  WHERE date(download_date) = ADDDATE(current_date,-1) Happy coding :)

How to change the content of button of comment section in drupal?

How to change the content of button of comment section in drupal? if you want to change the content of button of comment box section submit button so follow this path yoursite/modules/comment and open this file  comment.module and search the keyword in this page  $form['submit'] = array('#type' => 'submit', '#value' => t('Save') replace the word Save to your desire word it will show on your comment section submit button.

How to remove "More information about formatting options" from drupal?

If you are looking for drupal help that.... How to remove "More information about formatting options" from drupal? so you come on  right place Follow your theme path choose your theme and open template.php Search this function phptemplate_filter_tips_more_info in your template.php file and check that if it is exist or not If exist so replace this function from last one function phptemplate_filter_tips_more_info() { return ''; } if not exist so please paste this function in your template.php anywhere where ever you want /** * Implementation of theme_filter_tips_more_info(). * Used here to hide the "More information about formatting options" link. */ function phptemplate_filter_tips_more_info() { return ''; } Thanks for read my blog :)