[SOLVED] LISE v1.1 optional parameters not working

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
kkreitz
Forum Members
Forum Members
Posts: 48
Joined: Fri Jun 25, 2010 3:06 am

[SOLVED] LISE v1.1 optional parameters not working

Post by kkreitz »

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.
Last edited by kkreitz on Fri Jan 29, 2016 4:42 pm, edited 1 time in total.
LB Back
Forum Members
Forum Members
Posts: 20
Joined: Sat Jan 31, 2009 3:48 pm

Re: LISE v1.1 optional parameters not working

Post by LB Back »

Have you tried template_summary?
kkreitz
Forum Members
Forum Members
Posts: 48
Joined: Fri Jun 25, 2010 3:06 am

Re: LISE v1.1 optional parameters not working

Post by kkreitz »

Yes, summary_template was a typo.

template_summary works fine, template_detail does not it displays the template_summary code.
LB Back
Forum Members
Forum Members
Posts: 20
Joined: Sat Jan 31, 2009 3:48 pm

Re: LISE v1.1 optional parameters not working

Post by LB Back »

Did you try action="detail"? I'm using Lise with all parameters and everything works fine, so check your code and templatenames. Using terms like detail for summarytemplates is also confusing and should be avoided imo.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: LISE v1.1 optional parameters not working

Post by Rolf »

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: "}"
Looks like there is a problem *in* your template
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
kkreitz
Forum Members
Forum Members
Posts: 48
Joined: Fri Jun 25, 2010 3:06 am

Re: [SOLVED] LISE v1.1 optional parameters not working

Post by kkreitz »

Rolf, thank you for pointing this out. I was looking in the wrong place when reading the error message.

As it says I had one extra { on line 19 in my template. Seems blatantly obvious now!

Just donated a Cup of Coffee on your website for your help.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: [SOLVED] LISE v1.1 optional parameters not working

Post by Rolf »

Thank you, much appreciated!
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
Post Reply

Return to “Modules/Add-Ons”