Projects ⇒ Bugs ⇒ #372: Preview Theme Block Does Not Work with LEO ⇒ CPG Dragonfly™ CMS
Bug #372 Preview Theme Block Does Not Work with LEO
Project: Dragonfly 9.0 -> 9.0.2 Category: Blocks
Submitted: Thursday, March 24, 2005 (13:37:00) Modified: Sunday, April 03, 2005 (05:53:10)
Status: Closed Assigned to:
PHP Version: 4.3.10 HTTPD Server: Apache 2.0

View/Vote Add Comment

by: darkgrue
Description:
------------
The Preview Theme block does not work properly with LEO turned on. If used anywhere but at the root, the block will append the prevtheme string to the previous prevtheme string, yielding an invalid URL.

Reproduce code:
---------------
1. Enter any module (we'll use Forums for this example). URL is now http://www.yoursite.com/Forums.html

2. Choose a theme from Preview Theme (say, PH2). URL is now http://www.yoursite.com/Forums/prevtheme=PH2.html

3. Choose another theme (say dragonfly). URL now is http://www.yoursite.com/Forums/Forums/index/prevtheme=dragonfly.html, and an error is returned: "We're sorry, but that page modules/forums/Forums.php does not exist"
by: DJMaze
This bug has been fixed in the CVS.

Snapshots of the sources are packaged every 6 hours; this change
will be in the next snapshot. You can grab the snapshot at the
Downloads section.

Thank you for the report, and for helping us to make CPG-Nuke CVS for 9.0 better.
User Info

Welcome Anonymous



(Register)
Community

Support for DragonflyCMS in a other languages:

Deutsch
Español