CTA Bug
Permalink Browser Info Environment
The "Read More" buttons don't work unless Pretty URL's are enabled.
To fix, replace:
$theLink = Page::getCollectionPathFromID($pageID);
$theLink = DIR_REL . $theLink;
with:
$theLink = Loader::helper('navigation')->getLinkToCollection(Page::getByID($pageID));
in view.php
To fix, replace:
$theLink = Page::getCollectionPathFromID($pageID);
$theLink = DIR_REL . $theLink;
with:
$theLink = Loader::helper('navigation')->getLinkToCollection(Page::getByID($pageID));
in view.php
Type: | Discussion |
---|---|
Status: | New |
I am having this exact problem, but unfortunately your fix hasn't resolved the issue. Has this worked for anyone else? I went directly inside the view.php file for the CTA. I'm not a coder, but I am pretty sure I was in the right spot.