Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I'm thinking to design my web site with different themes.
I'd like to create the front page without left and right side bars.(with my own design).
In that front page, I'll put the button and when it is clicked, it will go to the default page which has left and right side bars.
Does anyone know how can i modify to create it?
Please share your ideas or suggestions of your experience.
Thanks in advance.
I want to create a sidebar block that will display a list of nodes from the same zip code as the node being viewed. The Location module is present and operating perfectly. All nodes have zip codes in their proper fields. The zip code data has been uploaded to the database. Any ideas for creating a "Same Zip Code Block"??
I'm creating my separate theme in my drupal web site.
I followed the instruction from the link http://drupal.org/node/52389
I copied blue marine theme into my own folder and renamed page.tpl.php into page-admin.tpl.php according to instruction.
But when i renamed the file, i could not see my own theme from the administer->themes and i could not select it.
How can i fix that problem?
Any ideas or solutions are welcome.
I'd like to customize a view's header based on an argument. I seem to be having problems finding what variables might be available for use.
When I use:
print_r(array_keys(get_defined_vars()));
I see:
Array ( [0] => code )
code in this case is empty. Are there really no useful variables available to php code in the view header? If so, I guess I'll have to try using some globals.