Lise detailpage not working after update

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
rednose
Forum Members
Forum Members
Posts: 18
Joined: Fri Jun 26, 2009 3:04 pm

Lise detailpage not working after update

Post by rednose »

On several sites I updated LISE to 1.5.6, everything worked fine, only on sites where I want to override the detailpage with the detailpage parameter, that doesn't work any more. ( I tested it on php 7.4 and php 8.2, same effect)

In the content I have p.e. {LISEPortfolio detailpage=webkontakt} , bevor the update no problem, after the update it goes only to the detailpage what is set under the options of the module. But with several catogory's I want to override this sometimes

I tested it with the removal of the mod_rewrite ( no pretty urls any more) and the override was functional again.
With the mod_rewrite: nothing. I have a basic htacces, no changes in the mod_rewrite rules

Code: Select all

<IfModule rewrite_module>
	RewriteEngine on
	# If your CMSMS installation is in a subdirectory of your domain, you need to specify the relative path (from the root of the domain) here.
	# In example: RewriteBase /[subdirectory name]
	RewriteBase /
	

	
	# Rewrites URLs in the form of /parent/child/grandchild but only rewrites if the requested URL is not a file or directory.
	RewriteCond %{REQUEST_FILENAME} !-f
	RewriteCond %{REQUEST_FILENAME} !-d
	RewriteRule ^(.+)$ index.php?page=$1 [QSA]
</IfModule>
and I use the standard <a href="{$item->url}"

Is there any adjustment I have overseen? I looked in the help, but the parameter detailpage still exist.
When there is no quick solution, does anybody know, how I can exclude only the Lise modul in der htaccess from pretty url? (only until I found the solution)

I did the same on another site: before Lise 1.4.3 detailpage worked fine, only updated to Lise 1.5.6, changed nothing, and it didn't work anymore. If there is no page defined under options it takes by default the Start page.


Very grateful when somebody can help me
rednose
Forum Members
Forum Members
Posts: 18
Joined: Fri Jun 26, 2009 3:04 pm

Re: Lise detailpage not working after update

Post by rednose »

I have found a workaround, but it's not quite the most satisfying solution.
I've replaced in the template with if/else tag for the several cases the item-url with the link

<a href="index.php?mact=LISEAngebote,mc0d68,detail,1&mc0d68item={$item->alias}&mc0d68detailpage=behandlungsmethoden&mc0d68returnid=45&page=45" }"

I found the link, when I removed the mod_rewrite and saw that the only thing changes onthe same page is the $item-alias
Then i put the mod-rewrite in place again for the general website, so "only" my lise-items are now without it.

Anyhow, its only an emergency solution, when there is some general solution i would still be glad
User avatar
webform
Power Poster
Power Poster
Posts: 503
Joined: Sat Nov 25, 2006 3:39 pm
Location: Copenhagen, Denmark

Re: Lise detailpage not working after update

Post by webform »

I can confirm this behavior.
I've filed a bug report: http://dev.cmsmadesimple.org/bug/view/12668
Post Reply

Return to “Modules/Add-Ons”