- Posts: 15
- Thank you received: 0
Kunena 7.0.4 Released
The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0
Question Include Module (rokslideshow)
16 years 10 months ago #19355
by bigfoot
Include Module (rokslideshow) was created by bigfoot
Hi folks,
I've been having a bit of bother - the mootools-powered rokslideshow module isn't showing up on pages which are part of a separate component (eg. com_weblinks, com_oziogallery, com_kunena etc etc).
I found the way to sort it - I simply add a couple of lines to the head of the component:
This works perfectly for some components (com_weblinks) but for others, I have no idea where to insert those lines.
Could somebody point me to the appropriate place in the Kunena code, please? In other components, it'd be "com_weblinks/category/tmpl/default.html" or something, but I can't find anything similar inside Kunena.
Thanks!
Big
I've been having a bit of bother - the mootools-powered rokslideshow module isn't showing up on pages which are part of a separate component (eg. com_weblinks, com_oziogallery, com_kunena etc etc).
I found the way to sort it - I simply add a couple of lines to the head of the component:
Code:
<script type="text/javascript" src="modules/mod_rokslideshow/tmpl/slideshow.js"></script>
<script type="text/javascript" src="media/system/js/mootools.js"></script>
This works perfectly for some components (com_weblinks) but for others, I have no idea where to insert those lines.
Could somebody point me to the appropriate place in the Kunena code, please? In other components, it'd be "com_weblinks/category/tmpl/default.html" or something, but I can't find anything similar inside Kunena.
Thanks!
Big
Please Log in or Create an account to join the conversation.
- grumblemarc
-
- Offline
- Elite Member
-
- Still making trouble
Less
More
- Posts: 1107
- Thank you received: 3
16 years 10 months ago - 16 years 10 months ago #19356
by grumblemarc
We love stars on the Joomla Extension Directory .
Replied by grumblemarc on topic Re: Include Module (rokslideshow)
Um. Why aren't you adding the module to it's own module position? Also you might want to ask RT why the module does not "show up" where it's supposed to.
We love stars on the Joomla Extension Directory .
Last edit: 16 years 10 months ago by grumblemarc.
Please Log in or Create an account to join the conversation.
16 years 10 months ago #19360
by bigfoot
Replied by bigfoot on topic Re:Include Module (rokslideshow)
I am - it just doesn't display on some menu items.
Home:
Kunena:
I would get in touch with the developer, but rocketwerx.com isn't loading at the moment, and you have to pay to access their forums.
I can fix the issue simply by adding a couple of lines of code to each component, to include the mootools and rokslideshow scripts, I just need to figure out where to put them.
Where would be the correct place to put them in the Kunena files? It should be the file which contains all the <div> placeholders for the component, but I can't find this in the Kunena directories.
Cheers,
Big
Home:
Kunena:
I would get in touch with the developer, but rocketwerx.com isn't loading at the moment, and you have to pay to access their forums.
I can fix the issue simply by adding a couple of lines of code to each component, to include the mootools and rokslideshow scripts, I just need to figure out where to put them.
Where would be the correct place to put them in the Kunena files? It should be the file which contains all the <div> placeholders for the component, but I can't find this in the Kunena directories.
Cheers,
Big
Please Log in or Create an account to join the conversation.
16 years 10 months ago #19376
by Lintzy
Replied by Lintzy on topic Re:Include Module (rokslideshow)
Perhaps these two articles can help:
docs.kunena.com/index.php/Module_Positions
docs.kunena.com/index.php/Own_Module_Positions
docs.kunena.com/index.php/Module_Positions
docs.kunena.com/index.php/Own_Module_Positions
Please Log in or Create an account to join the conversation.
16 years 10 months ago #19420
by bigfoot
Replied by bigfoot on topic Re:Include Module (rokslideshow)
Thanks, I still can't find the right place to include a couple of scripts though. Every position I try just crashes.
Does Kunena have a <head> or similar?
Does Kunena have a <head> or similar?
Please Log in or Create an account to join the conversation.
16 years 10 months ago #19463
by Matias
Replied by Matias on topic Re:Include Module (rokslideshow)
This works for every component in J1.5:
Code:
$document =& JFactory::getDocument();
$document->addCustomTag('<script type="text/javascript" src="modules/mod_rokslideshow/tmpl/slideshow.js"></script>');
$document->addCustomTag('<script type="text/javascript" src="media/system/js/mootools.js"></script>');
Please Log in or Create an account to join the conversation.
Time to create page: 0.590 seconds