Author:
nickdunn
Version:
0.4.1
Released:
21 April 2011
Category:
Field Types

Closed#5: Version links are wrong when Symphony is installed in a subdirectory

When Symphony is installed in a subdirectory, the links for selecting the entry versions are wrong because they don’t include the root URL. I was able to fix it by changing line 106 of /extensions/entry_versions/fields/field.entry_versions.php from this:

$href = '/symphony' . $callback['pageroot'] . $callback['context']['page'] . '/' . $entry_id;

to this:

$href = URL . '/symphony' . $callback['pageroot'] . $callback['context']['page'] . '/' . $entry_id;

Fixed. Cheers!

This issue is closed.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details