No entry found!
[CP_TITLE]{CP_TITLE}
[/CP_TITLE]
[CP_SUBTITLE]{CP_SUBTITLE}
[/CP_SUBTITLE]
[CP_TITLE]{CP_TITLE}
[/CP_TITLE]
[CP_SUBTITLE]{CP_SUBTITLE}
[/CP_SUBTITLE]
[IMAGE]
{IMAGE}
[/IMAGE]
[MAP]{MAP}[/MAP]
[IMAGES]{IMAGES}[/IMAGES]
[TITLE]{TITLE}
[/TITLE]
[TITLE2]{TITLE2}
[/TITLE2]
{ADDRESS}
{ZIP} {CITY}
[TEXT]{TEXT}[/TEXT]
[TEXT2]{TEXT2}[/TEXT2]
[FILE_NAME]
Dateibeschreibung:{FILE_DESC}
Download: {FILE_NAME}
[/FILE_NAME]
//in the example we'll have an issue with invalid html in the entries, (h4 and p within a) but that's another story//
\\
----
second view is the global map:\\
{{:3rd-party-modules:catalogue:catalogue-docu:mod_cat_043.jpg|}}\\
\\
File: **template/cntpart/1sample.tmpl**
\\
No entry found!
[CP_TITLE]{CP_TITLE}
[/CP_TITLE]
[CP_SUBTITLE]{CP_SUBTITLE}
[/CP_SUBTITLE]
[MAP]{MAP}[/MAP]
[CP_TITLE]{CP_TITLE}
[/CP_TITLE]
[CP_SUBTITLE]{CP_SUBTITLE}
[/CP_SUBTITLE]
[IMAGE]
{IMAGE}
[/IMAGE]
[MAP]{MAP}[/MAP]
[IMAGES]{IMAGES}[/IMAGES]
[TITLE]{TITLE}
[/TITLE]
[TITLE2]{TITLE2}
[/TITLE2]
{ADDRESS}
{ZIP} {CITY}
[TEXT]{TEXT}[/TEXT]
[TEXT2]{TEXT2}[/TEXT2]
[FILE_NAME]
Dateibeschreibung:{FILE_DESC}
Download: {FILE_NAME}
[/FILE_NAME]
make sure to check the 'use googlemaps' checkbox in the Content-Part otherwise nothing appears here (//in the default template the map will not render because the [MAP][/MAP] RT is missing//)\\
\\
----
third view is a listing only with images:\\
{{:3rd-party-modules:catalogue:catalogue-docu:mod_cat_044.jpg|}}\\
here wee need different image size settings than defined in the Content-Part, therefore we add a settings part at the top of the template file\\
this settings part is only considered by the script in the 2... templates\\
\\
File: **template/cntpart/2sample.tmpl**
\\
; overwrite image width for listing only for this template
ctg_imgwidth = 168
; overwrite image height for listing only for this template
ctg_imgheight = 168
; crop listing images? 0/1
ctg_imgcrop = 1
; crop listing images? 0/1
ctg_imgrand = 1
; global map? 0/1
ctg_usegooglemaps = 0
No entry found!
[MAP]{MAP}[/MAP]
[CP_TITLE]{CP_TITLE}
[/CP_TITLE]
[CP_SUBTITLE]{CP_SUBTITLE}
[/CP_SUBTITLE]
[CP_TITLE]{CP_TITLE}
[/CP_TITLE]
[CP_SUBTITLE]{CP_SUBTITLE}
[/CP_SUBTITLE]
[IMAGE]
{IMAGE}
[/IMAGE]
[MAP]{MAP}[/MAP]
[IMAGES]{IMAGES}[/IMAGES]
[TITLE]{TITLE}
[/TITLE]
[TITLE2]{TITLE2}
[/TITLE2]
{ADDRESS}
{ZIP} {CITY}
[TEXT]{TEXT}[/TEXT]
[TEXT2]{TEXT2}[/TEXT2]
[FILE_NAME]
Dateibeschreibung:{FILE_DESC}
Download: {FILE_NAME}
[/FILE_NAME]
entries without images display only the title instead (in those with images the title is just not visible but also there)\\
----
Three different views of the same Content-Part but:
* same filters/menu
* same RSS-File
* same detail view
* less work!
\\