By eltarado on Friday, 06 February 2015
Replies 1
Likes 0
Views 2.2K
Votes 0
Hi.

I've just chosen the "ext" layout for the calendar view, but some images were missing. Apparently it was looking for the images under the "geraint" dir view. I've checked the source code and the selected templated is being gotten wrong: this line in mod_jevents_cal/tmpl/ext/calendar.php

$viewname = $this->getTheme();
$viewpath = JURI::root(true) . "/components/$compname/views/".$viewname."/assets";
$viewimages = $viewpath . "/images";
$linkpref = "index.php?option=$compname&Itemid=".$this->myItemid.$this->cat."&task=";

I've noticed that $viewname is getting the default one. So a workaround is to select the "ext" under the Jevents configuration as the one by default but I guess this is not the desired behaviour.

Cheers
Did you set the ext layout in the module settings specifically? What do you have set as the global setting?
·
10 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post