How to Add a Debug Module Position on an Artisteer Joomla Template |
| December 17, 2010 |
Many extensions on the Joomla Extention Directory need to be in the debug module position to function. However some templates do not contain a debug position and therefore you have to insert the new module position in the template. A common example is an Joomla template generate by Artisteer. This tutorial will walk you through step-by-step how to insert a debug module position in an Artisteer template or any template for that matter.
The Problem![]() If you use a standard Joomla template, you can use an extension such as Page Peel Banner (http://extensions.joomla.org/extensions/ads-a-affiliates/corner-banners/3209) and insert it in the debug position to get it in the top right of your page.
![]() If you scroll your mouse over the ad, everything works as expected.
![]() However, when you switch to the artisteer template, nothing appears. This is because there is no debug module position in Artisteer templates. However, we can insert a debug module position into the template and that is what we will do in the next few steps.
Modify your Template's index.php![]() Access your host's file manager or FTP and go to /templates/yourtemplate/index.php. Then either download it to your computer and then edit it, or if your host's file manager allows, edit it within the File Manager Editor. In my case, I am using Cpanel, so I will just edit it within Cpanel's editor.
![]() Scroll all the way to the bottom and right above the tag insert:
![]() Save the file. Upload to the server if you are using FTP.
Modify your Template's templateDetails.xml![]() Go to /templates/yourtemplate/templateDetails.xml. Then either download it to your computer and then edit it, or if your host's file manager allows, edit it within the File Manager Editor. Once again, I will just edit it within Cpanel's editor.
![]() Scroll all the way to the bottom and right above the tag insert:
![]() Save the file. Upload to the server if you are using FTP.
Preview the Site![]() It appears to be working! Let's double check just in case by scrolling our mouse over the ad.
![]() Beautiful! That is it! We are finished! You can use these same steps for non-Artisteer templates as well! |
Open Source Training is not affiliated with or endorsed by the Joomla, WordPress or Drupal projects.
All product names and trademarks are the property of their respective owners.
Copyright © 2012 Open Source Training, LLC. All rights reserved.
Comments
Sounds good! We offer support via our forum to our Trainees and very quick at responding :-)
Kind regards,
Nick
"Many extensions on the Joomla Extention Directory need to be in the debug module position to function. However some templates do not contain a debug position and therefore you have to insert the new module "
Where can I read more about the debug module position?
Lupe
There's not really anything to read about it. It's just a module position that's not within your main css containers and so it allows you to insert code such as Google analytics, etc, that you normally wouldn't want to insert in your main template area because it would add an extra "space".
In this case, the ad's module needs to be in the top right of the screen so it needs a module position outside of all the containers and the debug position would work very well for that.
Hope that makes sense. Open up a discussion in the forum if you want to chat more about it :)
Kind regards,
Nick
-----------------------------------------
-----------------------------------------
which is supposedly also fine but this didn't fix my issue, so would you pleaaaaaase help, i have delayed my go live months just for that, so please help me :)
You'd have to find the steps needed to replicate the issue and that will help narrow down what the cause is.
Try doing something that usually causes it and do it one step at a time and each time check pagepeel. As soon as it occurs, whatever you did right before that is likely causing the issue.
My guess is that your module position might depend on the condition of another position.
Kind regards,
Nick
Looks like you got it to work. It's now in the right column on your site. That's where you wanted it, correct?
Kind regards,
Nick
RSS feed for comments to this post