Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

newbie question: escape all the codes for a subdomain?

 
Post new topic   Reply to topic    Smarty Forum Index -> General
View previous topic :: View next topic  
Author Message
Aubrey
Smarty Rookie


Joined: 25 May 2005
Posts: 5

PostPosted: Wed May 25, 2005 11:45 pm    Post subject: newbie question: escape all the codes for a subdomain? Reply with quote

Hello,
I have installed a script that use smarty template. I would like to install another script, phpadsnew, on my subdomain, to display ads on my main site. However it doesn't work and got a 404 not found error on all pages. So is it possible to turn off smarty for the subdomain?

Hope you guys understand my question as I am a newbie of this Embarassed Embarassed
Back to top
View user's profile Send private message
joey
Smarty Regular


Joined: 29 Oct 2003
Posts: 57

PostPosted: Tue May 31, 2005 4:21 pm    Post subject: Re: newbie question: escape all the codes for a subdomain? Reply with quote

Aubrey wrote:
Hello,
I have installed a script that use smarty template. I would like to install another script, phpadsnew, on my subdomain, to display ads on my main site. However it doesn't work and got a 404 not found error on all pages. So is it possible to turn off smarty for the subdomain?

Hope you guys understand my question as I am a newbie of this Embarassed Embarassed


You can use "iframe" to load the ads from phpAdsnew. phpAdsnew has a function to generate iframe tags.you can search its manual.

copy the code generated and paste to your template.so you can solve all.
_________________
Joey
Senior Developer & Designer
-------------------------------------------
http://www.propagator.net
[SourceForge Project] Formcat with Smarty!
http://www.propagator.net/formcat/
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP