My webhost reguires me to place's some ad codes on the .tpl files but I am lost
tbluhp
Joined: 2007-01-06
Posts: 24 |
Posted: Tue, 2007-09-18 23:13 |
I tried this for the "fluid theme" but did not work.... For this tutorial, we will be looking at "matrix template" 1. It is recommended that you created a local folder in your "templates" folder and upload the "local" folder to your ftp instead of overwriting the original template files. On your computer, these template files should be located in - "/themes/matrix/templates/" When you are uploading, the "local" folder should go to - 2. Open album.tpl. For album.tpl, look for the following code - Quote: After, add the ad code Quote: 3. Open photo.tpl and look for the following code - Quote: After, add the Profuse Host Ad code Quote: 4. Now open theme.tpl and look for the following code - Quote: BEFORE, add the Profuse Host Footer Code - Quote: 5. Upload theme.tpl, album.tpl, photo.tpl to "local" folder. Local folder needs to be manually created in most cases. __________________ SITE RULES - http://www.profusehost.net/services/order/index.htm POST FOR HOST GUIDE LINES - http://www.profusehost.net/forum/support/9807-post-host-guidelines.html #2 Join Date: Dec 2006 Loved it does anyone know how to do this with the other templates? Ajaxian 1.0.0 1.0.0 DHTML-enabled Slideshow theme deactivate | uninstall | delete #3 Join Date: Sep 2005 You can try free html editor - http://www.coffeecup.com/free-editor/ All you have to do is copy the source of the tpl file for your editor and open them up one by one in the html editor. In the visual editor look for the area where you want the ads to diplay and at that location put the ad code. Make sure you only paste the code on "code editor" page. If you need help, please enable the template for your gallery and I'll try to write a tutorial for it. __________________ SITE RULES - http://www.profusehost.net/services/order/index.htm POST FOR HOST GUIDE LINES - http://www.profusehost.net/forum/support/9807-post-host-guidelines.html |
|