Page 1 of 1

[solved] LISE: can't get detailpages to work

Posted: Sun Jan 10, 2016 9:32 pm
by LB Back
I'm using LISE 1.1 on CSMS 2.1. and the summarytemplate works as expected. However i'm having a hard time getting the detailpages to work. There seem to be several options that weren't in ListIt2, and i might not fully understand what their functions are. This is what i tried:
  • First i made a copy of LISE, called "LISEtest"
    Then i added some Field Definitions and made some items: "item1" ... "item3"
    The first item has this value in the "Custom URL" field: "test/test1"
    In the options tab i filled in "test" in the "URL Prefix" field
    In the "URL Template" field i have

    Code: Select all

    {$item_title}
    Then made a page called "test" and a page called "test-detail"
    Next i call the module in the page called "test" using this tag:

    Code: Select all

    {LISEtest template_detail="default" detailpage="test-detail"}
    Now when i click the more-link of "item1" using

    Code: Select all

    {$item->url}
    i get a "404 not found" warning
    The URL that is then shown is "mysite.tld/test/test1.html"
What am i doing wrong? Any help would be much appreciated!

Re: LISE: can't get detailpages to work

Posted: Sun Jan 10, 2016 10:31 pm
by LB Back
It turned out that leaving the value in the "Custom URL" item-field blank, and also leaving the "URL Template" field blank in options, solved the 404 warning. Not sure yet what their functions are however. I'll find that out later. Any tips are still most welcome!

Happy now :D Finally able to use CMSMS V2 in full force! Such a relief not having to revert to Wordpress or worse ::))

Re: [solved] LISE: can't get detailpages to work

Posted: Sat Jan 16, 2016 4:26 am
by Jeff
The "Custom URL" field had an error with it. It should be fixed in the next release.