Hi,
how do see if smarty was installed correctly? I did everything mentioned in the install-guide. But everytime I load a smarty-based theme, I just get a white page (no HTML-Output). I tried 2 different smarty-themes (4.7 versions). So I guess there is a problem with my smarty?
I'm lost on where and how $node->body and $node->teaser incoporate the formatting of lines & paragraphs. Somewhere in the last 24 hrs, my module has gone from normal line & paragraph formatting to absolutely none. All lines are merged into one block of text.
So far I can't figure it out where/how I've broken it, so if anyone has suggestions or pointers I'd be most grateful.
I am using phptemplate for my theme and flexinode for my content. I have a theme file node-flexinode-1.tpl.php which is being used to display my nodes. That all works fine.
My nodes consist of a body of text and an image. I have pages that are using php to select and display my flexinode nodes as a list of teasers. In my css classes I am floating the image so that it appears next to the body of text.
What I would like to be able to do is alternate the side that the images is floated to, so all the odd teasers are float: left and the even teasers are float: right.
i am using 4.6 and would like to do 2 things
1) control the primary links based on user and whther th user is authenticated or not. ?Basically show a primary link for "My Blog" if the user has the rights to create a blog and "logoff" if the user is authenticated.
2) Control the secondary links based on primary link.
There seem to be a few posts about how great this is with 4.7 but it not being released i need to use 4.6.
can anyone point me in the right direction?
One other thing, i have used the adc theme which doesn't have a page.tpl.php