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

Type: Discussion
Status: New
JeffPaetkau
View Replies:
umdarchivist replied on at Permalink Reply
umdarchivist
UPDATE :: Nvm, I am new at this. Enable pretty URL's once I realized it was a feature, not a script issue. Thanks!

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.

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.