[SOLVED] LISE v1.1 optional parameters not working
Posted: Thu Jan 28, 2016 8:27 pm
Cms Version: 2.1.1
Installed Modules:
AdminSearch: 1.0
CMSContentManager: 1.1
DesignManager: 1.1.1
FileManager: 1.5.2
MicroTiny: 2.0.2
ModuleManager: 2.0.1
Navigator: 1.0.2
News: 2.50.3
Search: 1.50.2
LISE: 1.1
LISEresume: 1.1
LISEportfolio1: 1.1
I am using a modal plugin to display portfolio pictures on the home page. I have done this before in the CMSMS 1.x using ListIt by creating two summary templates, placing one where the code for the portfolio displays and the other below the footer for the modal display. The optional tags I am using are the same I used with ListIt. They are {LISEportfolio1 action="default"} and {LISEportfolio1 summary_template="detail"} which I have created the summary template named detail for this.
I have also tried {LISEportfolio1 template_detail="default"} putting the modal code into the detail default section.
I have tried every combination of the optional parameters I can think of and:
It either places the default summary template code in both locations,
strips out the styling placing an error message at the LISE tags location:
"missing parameter, this should not happen"
or an error message:
ERROR: at line 19 in file .../lib/smarty/sysplugins/smarty_internal_templatecompilerbase.php:
Syntax error in template "module_db_tpl:LISEportfolio1;summary_detail" on line 19 "" - Unexpected """, expected one of: "}"
Any help on this would be very much appreciated.
Installed Modules:
AdminSearch: 1.0
CMSContentManager: 1.1
DesignManager: 1.1.1
FileManager: 1.5.2
MicroTiny: 2.0.2
ModuleManager: 2.0.1
Navigator: 1.0.2
News: 2.50.3
Search: 1.50.2
LISE: 1.1
LISEresume: 1.1
LISEportfolio1: 1.1
I am using a modal plugin to display portfolio pictures on the home page. I have done this before in the CMSMS 1.x using ListIt by creating two summary templates, placing one where the code for the portfolio displays and the other below the footer for the modal display. The optional tags I am using are the same I used with ListIt. They are {LISEportfolio1 action="default"} and {LISEportfolio1 summary_template="detail"} which I have created the summary template named detail for this.
I have also tried {LISEportfolio1 template_detail="default"} putting the modal code into the detail default section.
I have tried every combination of the optional parameters I can think of and:
It either places the default summary template code in both locations,
strips out the styling placing an error message at the LISE tags location:
"missing parameter, this should not happen"
or an error message:
ERROR: at line 19 in file .../lib/smarty/sysplugins/smarty_internal_templatecompilerbase.php:
Syntax error in template "module_db_tpl:LISEportfolio1;summary_detail" on line 19 "" - Unexpected """, expected one of: "}"
Any help on this would be very much appreciated.