This forum is for assistance with theme development.

Theme failure. Suddently uses Stark

Hey.
Bear with me if I write this question in the wrong place in this forum.
I am new in this.

page_alter vs. preprocess_page?

What is the difference between making page alterations in THEME_page_alter vs. THEME_preprocess_page? I have successfully altered a page both ways. Which is more correct?

Horizontal login block

Hi, I have tried to create a custom block that is used for a horizontal login bar. I do not want to modify the core login block as it pulls up captcha that I use elsewhere.

My code is working but the login elements are not horizontal. I'm using the Velocity theme that is based on omega.

the CSS code is

Creating a loop and extracting fields into my views-view...tpl.php template

Hi,

I am working on a Drupal 6 system. The client wants employee data displayed in a couple different ways. They want a simple directory page, and they want a 'Leadership' page. The difference is that the 'Leadership' page is hierarchical, has headshots, with name and title, and then a blurb about the person. The directory is alphabetical, has name, title, email and phone number.

OK. So I created a content type called 'employee' that holds this information. Then, I have a view called 'Staff' that pulls it in, and has two different displays: 'leadership' and 'directory'.

If I use a views-view--mymachinename.tpl.php the view stop working.

I use Views API.

I started cleaning the view module creating views-view.tpl.php and views-view--frontpage.tpl.php in my template directory. I needed to strip the whole

s mess. It worked perfectly.

Now, with a specific view, I need to put a particular

around it. Using the "header" and "footer" tools doesn't work, because drupal closes all
s that I left open in the header, thus making all this useless.

So I thought: let's change the machine name of the view to 'mymachinename' and create a views-view--mymachinename.tpl.php.

Theming Twitter view

Hi,

I'm still struggling with showing tweets in a nice way. I use now the standard theming with showing the formatted tweet item. It looks like http://mz-limburg.hcc.nl in the right lower corner. In stead i want tot show it like in the upper right corner.... Can someone help? I'm using Drupal 7.

Thanks,
Fred

Pages

Subscribe with RSS Subscribe to RSS - Theme development