Support Forums

<include> statement in template

This is a discussion on <include> statement in template within the Templates, HTML, CSS, and Design Help forums, part of the General category; What version of 68 Classifieds are you running? V4.1.5 Developer What template are you using? Fluid Custom Please describe in ...


Go Back   68 Classifieds Forums > General > Templates, HTML, CSS, and Design Help

Reply
 
Thread Tools Display Modes
Old 02-25-2011, 02:12 PM   #1
Customer
 
mgravlee's Avatar
 
Join Date: Mar 2009
Posts: 34
Rep Power: 11
mgravlee is on a distinguished road
Question <include> statement in template

What version of 68 Classifieds are you running?
V4.1.5 Developer

What template are you using?
Fluid Custom

Please describe in detail the issue you are having:

Is there anyway to get a php <include> statement to work in a template? I'm trying to import some html into the sidebar.
<!--#include virtual="/home/cattleto/public_html/frontpage_agads.txt" -->
doesn't appear to work.
__________________
Using Developer 4.1.5 with Custom Fluid Template

http://agads.net/
http://horsepages.com/
http://cattletoday.com/classified_ads/
http://ranchers.net/classifieds/
mgravlee is offline   Reply With Quote
Old 02-25-2011, 02:45 PM   #2
Customer
 
mgravlee's Avatar
 
Join Date: Mar 2009
Posts: 34
Rep Power: 11
mgravlee is on a distinguished road
Default

Google and Eric are wonderful!

This works:

{php}
include('/home/cattleto/public_html/frontpage_agads.txt');
{/php}
__________________
Using Developer 4.1.5 with Custom Fluid Template

http://agads.net/
http://horsepages.com/
http://cattletoday.com/classified_ads/
http://ranchers.net/classifieds/
mgravlee is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Some help with an {if} statement please . . michael Templates, HTML, CSS, and Design Help 2 06-02-2009 04:27 PM
{if} statement chrisst1 Technical Support 3 03-13-2009 11:58 AM
Need a bit of help with an if/else statement. michael Templates, HTML, CSS, and Design Help 5 10-09-2008 03:25 PM
Need help with an if/else statement on links. michael Templates, HTML, CSS, and Design Help 14 09-24-2007 10:00 AM
PHP include include in Cat promo text?? Tim_A Technical Support 2 07-30-2007 10:12 AM


All times are GMT -4. The time now is 11:29 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0