I'll try to search for Artisteer compatibility issues , thanks for your help!
Regards,
Peter
hide form to create new post
- Benno
- Phoca Hero
- Posts: 9703
- Joined: 04 Dec 2008, 11:58
- Location: Germany
- Contact:
Re: hide form to create new post
Ok.
Kind regards,
Benno
Kind regards,
Benno
-
- Phoca Newbie
- Posts: 2
- Joined: 12 Feb 2011, 20:20
Re: hide form to create new post
Hi !!
Using Artisteer 2.6 templates and having the same problem as described above.
Looking into the html-code behind the web-page containing the Phoca Guestbook I can se that the following references are missing (compared to other pages generated with the same Artisteer template):
<script type="text/javascript" src="/jomgof/media/system/js/core.js"></script>
<script type="text/javascript" src="/jomgof/media/system/js/mootools-core.js"></script>
<script type="text/javascript" src="/jomgof/media/system/js/caption.js"></script>
Futher i guess that the line "var pgVSlide = new Fx.Slide('pg-guestbook').hide();" is dependent on functions provided by "mootools-core.js"??
Consequently:
For some reason referens to "mootools-core.js" (and other script libraries) get lost in the html generated by Joomla when you click the "guestbook" menu-item (if you are using a template generated by Artisteer (2.6 or 3)).
Why this is i dont know but perhaps someone with deeper understanding of Joomla can figure out what triggers this...
Perhaps there is a simple fix to the problem.
/Jazzo
Using Artisteer 2.6 templates and having the same problem as described above.
Looking into the html-code behind the web-page containing the Phoca Guestbook I can se that the following references are missing (compared to other pages generated with the same Artisteer template):
<script type="text/javascript" src="/jomgof/media/system/js/core.js"></script>
<script type="text/javascript" src="/jomgof/media/system/js/mootools-core.js"></script>
<script type="text/javascript" src="/jomgof/media/system/js/caption.js"></script>
Futher i guess that the line "var pgVSlide = new Fx.Slide('pg-guestbook').hide();" is dependent on functions provided by "mootools-core.js"??
Consequently:
For some reason referens to "mootools-core.js" (and other script libraries) get lost in the html generated by Joomla when you click the "guestbook" menu-item (if you are using a template generated by Artisteer (2.6 or 3)).
Why this is i dont know but perhaps someone with deeper understanding of Joomla can figure out what triggers this...
Perhaps there is a simple fix to the problem.
/Jazzo
-
- Phoca Newbie
- Posts: 2
- Joined: 12 Feb 2011, 20:20
Re: hide form to create new post
Fixed it...
Perhaps not the best of solutions but i seems to work....
In the file: components/com_phocaguestbook/phocaguestbook.php
Add the line: JHTML::_('behavior.mootools');
This seems to solve the problem with Artisteer-generated templates not loading correct mootool-scripts...
/Jazzo
Perhaps not the best of solutions but i seems to work....
In the file: components/com_phocaguestbook/phocaguestbook.php
Add the line: JHTML::_('behavior.mootools');
This seems to solve the problem with Artisteer-generated templates not loading correct mootool-scripts...
/Jazzo
- Jan
- Phoca Hero
- Posts: 48739
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact: