dead link (conditional) to class documentation

This is the place to discuss bugs that have been found in the most recent version of PivotX. Posting bugs will ensure that the Development Team is aware of them and that they will be addressed when resources are available.

dead link (conditional) to class documentation

Postby opinionated » Sat Jan 12, 2013 12:55 pm

Hi

I was searching for references to the $PIVOTX global, found this one

  • http://book.pivotx.net/index.php?page=3-7&keyword=%24PIVOTX#%24PIVOTX

The references looked like this:
Session - PIVOTX.net/dev/docs/2.3.x/PIVOTX/Session.html" title="PHPdoc">PHPdoc / PIVOTX.net/dev/docsxref/2.3.x/PIVOTX/objects.php.html#session" title="PHPXref">PHPXref.


Calling "PIVOTX.net/dev/docs/2.3.x/PIVOTX/Session.html" yields a 404. Changing it to lower case/removing the "keyword" parameter fixes to issue.

If you are consistent with lower case folder names a rewrite rule like this one might fix the issue permanently:
Code: Select all
RewriteMap tolower int:tolower
RewriteRule  "([^/]+)/"  "${tolower:$1}/"
opinionated
 
Posts: 2
Joined: Sat Jan 12, 2013 12:38 pm

Re: dead link (conditional) to class documentation

Postby hansfn » Sun Jan 13, 2013 12:45 am

Thx for the report.

The problem is in the Javascript that highlights the words you searched for. If you have time and want to help us, fix the Javascript (so it doesn't break links).
hansfn
Developer
 
Posts: 3282
Joined: Sun Nov 25, 2007 7:48 pm
Location: Molde, Norway


Return to 2.x Bugs

Who is online

Users browsing this forum: No registered users and 2 guests

cron