[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:

http://wiki.geeklog.net/index.php/Theme_Developers_Guide

http://www.geeklog.net/docs/english/theme.html


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
information

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.

Tom 



-----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.

Hi

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
$_CONF['menu_in_footer'].

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 ?

Regards,

--
Erwan HAMON - http://hamon.erwan.free.fr/
_______________________________________________
geeklog-devel mailing list
geeklog-devel at lists.geeklog.net
http://eight.pairlist.net/mailman/listinfo/geeklog-devel




More information about the geeklog-devel mailing list