Getting 404 In Events Page in Nova Skin

John Bizley
John Bizley
@john-bizley
10 years ago
251 posts
In the Nova Skin when you go to the events page the events in the spotlight at the top have a calendar next to the event name to take you to that event when clicked on, however this is giving a 404 page not found due to the url adding an extra slash ( see image )

Where would this be changed to stop this ?
NOVA-EVENTS URL.jpg
NOVA-EVENTS URL.jpg  •  160KB


updated by @john-bizley: 03/06/15 01:27:49PM
paul
@paul
10 years ago
4,335 posts
Thanks John, I've got that fixed up for the next release of the Nova skins.

If you want to implement it now, open the Nova spotlight_row.tpl template and at line 195, add the line -

{jrCore_module_url module="jrEvent" assign="murl"}

so that the code looks like this -

    {* EVENT SPOTLIGHT ROW *}
{elseif $_params.module == 'jrEvent'}

    {if isset($_items)}
        {jrCore_module_url module="jrEvent" assign="murl"}
        <div class="container">
            {foreach from=$_items item="item"}



--
Paul Asher - JR Developer and System Import Specialist
John Bizley
John Bizley
@john-bizley
10 years ago
251 posts
Nice one Paul, thanks for looking into that, will add the line later when home. :-)
douglas
@douglas
10 years ago
2,800 posts
You could also just change the link to this:

<a href="{$jamroom_url}/{$item.profile_url}/{$_params.module_url}/calendar/month={$item.event_date|jrCore_date_format:"%-m"}/year={$item.event_date|jrCore_date_format:"%Y"}">



--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos

Tags