This forum is for assistance with theme development.

How do I add arbitrary Smarty variables to my theme template?

How do I add smarty vars without hacking the engine or creating a {set_vars} template function?

Page module and custom theme

I just created my first page module.
But I need to use the completely different page layout for pages generated by the module.
How do I output content from the module via custom theme, not default one?

Manually place menus in a theme

How would I call a menu manually (e.g. the Navigation menu or a user created menu from admin/menus)?

I could be missing something, but right now it seems these are part of the sidebar_left and sidebar_right variables in Page.tpl.php (http://drupal.org/node/11812). So while I can manually place the search_box, breadcrumb, primary_links, secondary_links and so forth into a new theme I cannot figure out how to manually call a menu since it is part of sidebar_x.

Can this be done? How?

phpTemplate problem

I downloaded phpTemplate for 4.6x and followed the directions. I think the problem might be that not all the files were there, but I don't know. I got these:

LICENSE
README
phptemplate.engine
and these tpl.php files: block, node, box, comment, default
and template.php

I put them in the themes/engines folder like it said and can't figure out how to access it now. It doesn't come up in any menus. It says it comes with a default theme but those are the only files I got.

Friends Electric theme is broken on IE7?

hi all, I'm using a slightly modified Friends Electric therme on Drupal 4.65. When I view the site on Internet Explorer 7 beta, the middle column is displaced downward, with its top at the bottom of the left column. I suspect there's an easy fix for this (maybe involving 'float' and 'clear'), so can anyone help me out? thanks.

BTW, the site is viewable at http://bikecalgary.org/ and in the top story I include screen captures from both browsers.

thanks
S

3 columns on front page... :/

Hi :)

I know this has been asked before in other threads but none have really gotten a good answer.

What I want to do is fairly simple and i'm wondering what's the best way to do it:

I want 3 columns on the front page (index page) og my drupal site. Each column should display story's from one spesific taxonomy vocabulary type.

Any modules that can help me with this? Probably not, but how would I attack this themeing problem?

Any ideas are welcome.

Pages

Subscribe with RSS Subscribe to RSS - Theme development