Welcome to Geeklog Saturday, May 18 2013 @ 04:09 AM EDT
|
||||||||
![]() |
Forum Index > Support > General Geeklog Support |
New Topic
|
Post Reply
|
adding common text to footer |
|||
| pfaustino |
|
||||||
![]() ![]() ![]() ![]() ![]() Newbie ![]() Status: offline ![]() Registered: 05/12/04 Posts: 1 |
Geeklog noobie alert...
I'm adding an html table to the footer of all pages - it's basically gonna be a table for an ad banner. The ad banner will be consistent and I was hoping to just add the code {footer_banner} to the footer.thtml code for all the layouts. This way, I can just edit footer_banner once and all layouts will automatically be changed. My problem is I don't know where AND how to definte footer_banner. Can anyone give me instructions? I tried to follow where copyright_notice is defined but since mine is an image, it doesn't make sense to put it in languages. Especially since it will be the same image all the time. |
||||||
|
|||||||
| Turias |
|
||||||
![]() ![]() ![]() ![]() ![]() Full Member ![]() Status: offline ![]() Registered: 10/20/03 Posts: 807 |
In lib-common.php, in COM_siteFooter(), do the following:
PHP Formatted Code $footerBanner = 'HTML for banner';$footerBanner .= 'More HTML for banner'; $footer->set_var('footer_banner', footerBanner); Hope that helps. |
||||||
|
|||||||
| Content generated in: 0.76 seconds |
|
|
|