Bit of a PHP problem that's cropped up. I'm trying to get drupal to highlight the current primary link (shown as tabs via CSS) and to do this with my design the 'class=active' must be in the LI element, not the A element.
It would appear something is going very wrong however, as my preg_replace seems to be setting the Home link LI (the first one it comes to) as 'class=active' no matter which primary link is clicked on...!
I have been working on getting the site ready for the client. One of the things that I've been working on is menus and links that are displayed on the left side to enable the client to administer the web site.
Suddenly all of the formatting has been lost in my left side blocks/menus.
When I view the page now I see:
link link link
link link link
Instead of
(img) link
(img) link
(img) link
(img) link
When I view the source, it's as if the images were never there.
Hello everyone. I am new to Drupal and so far i am really enjoying it. Thank you to everyone who made this a reality. I just started trying to build a theme and I am running into some walls. I decided to take a website I recently built for a client and convert it to Drupal.
I'm working in an admin area of my web site. On this page of my web site: http://www.example.com/?q=node/add I see my menu items to create content on the left. Then in the body of the page I have
create content
Choose the appropriate item from the list:
I tried this method http://drupal.org/node/43888#comment-81687 and managed to get read more out of there, but could not get the others out so I can place them differently. Im not very good with PHP so if anyone can help me out I would greatly appreciate it.
Even suggesting a different method would be great as long as I can move those things around.