Link to page instead of list

Permalink Browser Info Environment
Hello,

I'm trying to link the calender item to the actual page, instead of the list. How can I handle the click event top location to the page?

Thnx!

Type: Discussion
Status: New
nickratering
View Replies: View Best Answer
surefyre replied on at Permalink Best Answer Reply
surefyre
I don't see how you would do it by overriding the click on the calendar
date because you'd have no information about the destination page other
than it's published date.

You could rewrite the view.php to output JS with link destination params in
the calendar cell's tag I suppose. You might be better off rewriting the
view.php portion that deals with the listing page to forward you to the
first result's URL perhaps, if you only ever have one thing one on any date.

It's coded this way as it's entirely possible to have more than one page
associated with a date, e.g. two festivals on the same day in different
places, etc.

G


On 21 October 2013 08:51, concrete5 Community
<discussions@concretecms.com>wrote:
nickratering replied on at Permalink Reply
nickratering
Clear, thnx! I'll try that.

Best,
Nick

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.