× Forum for the GPXTrackMap Content Plugin for Joomla! 2.5 and 3.x

layout template

fingeradmin replied the topic: layout template

11 years 3 months ago

Hi Sergio,

got this working, too. Quote from the Release Notes:

The parameter for the Layout Template can now either contain an integer value (1..6) to select one of the predefined templates - OR - (new:) it can directly contain a path to a Layout Template file. The same placeholders work here as in the predefined Layout Template filenames, so you can e.g. use:

{gpxtrackmap}MyTrack.gpx,tpl=%TEMPLATEDIR%/MyLayoutTemplate.html{/gpxtrackmap}

(Note: you MUST use forward slashes ("/") as directory separator, backslashes ("\") will not work!)

cheers, Frank

Please Log in or Create an account to join the conversation.

sergio replied the topic: layout template

11 years 4 months ago

OK perfect

Please Log in or Create an account to join the conversation.

fingeradmin replied the topic: layout template

11 years 4 months ago

Hi Sergio,

currently not, although i could extend the number of predefined templates to 9.
It would still be a limited number, though.

One thing i have thought about: Instead of specifying the number of the template ("tpl=1"), i could make it so that you can directly specify the path to the template in a preset or the invocation code like "tpl=%GPXDIR%/mytemplate.htm".

I like this better because it would give you an unlimited number of individual templates. What do you think?

cheers, Frank

Please Log in or Create an account to join the conversation.

sergio created the topic: layout template

11 years 4 months ago

is it possible to have more layout template ?

Last edit: 11 years 4 months ago by sergio.

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum