How can i add a li class to the first level of a menu in a navigationblock automatically?
For Example: menu1, menu2, menu3,... should have the class "primary".
I have a theme that has a right sidebar, I have converted it so that it is now a left sidebar theme. The problem is, I can't activate any blocks as left sidebars because the left sidebar doesn't exist as an option. How do you activate this?
My site does not need the login box on the front page since only one person will be using it. I want to move this box to a separate page such as http://mysite.com/admin.
Can you give me a general ideal of how to go about this?
I would like to add image elements to my page (for astetics) - not like a photo gallery.
I entered some xhtml into my page.tpl.php: <img src="img1.gif" alt="image1" />. I know this is a .php file and i've never edited one before Drupal so I wasnt sure if it would understand <img> tags.
It seems it doesn't. So.. How can I display images within my pages?
I've noticed this problem before, however this was today's shock...
I used a free proxy to check my local site, the page that was returned was over a week old, no new logo, no new css, different theme, missing content, etc...
SOLUTION:
Goto
Home » Administer » Site configuration » Performance
In here, turn off caching and disable 'Aggregate and compress CSS files', once you've done all your updates, re-turn this back on if you like, but remember you need to do this.
Hi,
I am browsing system.module and it contains file_scan_directory(dirname($theme->filename), 'style.css$') which I guess means find all files in the themes directory that ends with style.css. So, a file named another_style.css should be loaded. I put some files that ends with style.css in themes/garland and they are not imported.
I would also like to hear the logic behind the decision of loading style.css$ instead of just plain style.css.