[geeklog-devel] Theme menu_in_footer and new template engine.

Tom websitemaster at cogeco.net
Mon Oct 21 20:09:04 EDT 2013

This should get you started updating a theme:



Do you need {plg_menu_elements} in a block or is it located in an actual
template file?

If it is in a block you could create an autotag that could retrieve the same

If it is in a template take a look at the CUSTOM_templateSetVars function in
lib-custom.php. You could modify that function to retrieve the information
as well.


-----Original Message-----
From: geeklog-devel-bounces at lists.geeklog.net
[mailto:geeklog-devel-bounces at lists.geeklog.net] On Behalf Of Erwan HAMON
Sent: October-21-13 4:23 PM
To: geeklog-devel at lists.geeklog.net
Subject: [geeklog-devel] Theme menu_in_footer and new template engine.


I need to upgrade a couple of themes where {plg_menu_elements} is located in
the left column.

If I want to use responsive design elements with
$_CONF['left_blocks_in_footer'] then I need a corresponding

I wrote such a feature in Geeklog 1.7 and ended up putting it in my theme's
functions.php [theme]_siteHeader and [theme]_siteFooter.

It's still working in Geeklog 2.0. But I'd like to port the theme to the new
template engine.

I'm not too sure if I need to write a custom [theme]_createHTMLDocument. 
Or will the new engine simply fill {plg_menu_elements} when it finds it in
footer.thtml ?


Erwan HAMON - http://hamon.erwan.free.fr/
geeklog-devel mailing list
geeklog-devel at lists.geeklog.net

More information about the geeklog-devel mailing list