Help with global_header

Hey guys,
How does the smarty templates take information from the database?
I am tring to get in the header the year and the name of the auction but it is not showing it to me.
I am tring to get into the table fundraiser_information and use the values year and slogan.
There will only be one entry in this table at one time so it is ok to do the for loop but I am being told that the for look is not being closed?
Anyone have a simpiler way that would be much appricated.
-Cam
How does the smarty templates take information from the database?
I am tring to get in the header the year and the name of the auction but it is not showing it to me.
- Code: Select all
{foreach from=$fundraiser_informations item=fundraiser_information name=fundraiser_information}
{$fundraiser_informations ->display('year')
{$fundraiser_informations ->display('slogan')
{/foreach}
I am tring to get into the table fundraiser_information and use the values year and slogan.
There will only be one entry in this table at one time so it is ok to do the for loop but I am being told that the for look is not being closed?
Anyone have a simpiler way that would be much appricated.
-Cam