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

HELP please... I'm a Smarty dummy!

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


Joined: 24 Mar 2007
Posts: 3

PostPosted: Sat Mar 24, 2007 8:44 pm    Post subject: HELP please... I'm a Smarty dummy! Reply with quote

Hi...

I have a DreamWeaver file which has this Smarty in it...
{if $usertype eq "C"} { include file="customer/search.tpl" } {/if}

The above "customer/search.tpl" also includes a button image which works just fine however...

1) I need to MOVE it to another place within the file but every time I try (copy/cut and paste) it makes the entire page disappear on my website. If I put it back where it belongs, the page appears again on the web... No Problem.

SO I next tried this...

2) I opened the "customer/search.tpl". I copy/pasted that entire file into the new place within my DreamWeaver file. To my delight the web page DID still appear but now the image is missing. Nothing has been moved so I don't understand.

I'm at a loss and know nothing at all about Smarty... how do I move it to another location within the web page without lossing the button image? Is there a simple solution to this rather strange occurence?

Thanks!

RCJ
Back to top
View user's profile Send private message Send e-mail
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