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

Moving a Smarty within a file...

 
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 3:41 pm    Post subject: Moving a Smarty within a file... Reply with quote

Hi...

I have this within a DreamWeaver file:
{if $usertype eq "C"} {include file="customer/top_menu.tpl"} {/if}

I need to MOVE it 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.

I know nothing at all about Smarty... how do I move it to another location within the web page? 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
toma
Smarty Regular


Joined: 25 Apr 2003
Posts: 62

PostPosted: Sat Mar 24, 2007 5:43 pm    Post subject: Reply with quote

Copy the contents of top_menu into your file then see if moving that html makes sense.
Back to top
View user's profile Send private message Visit poster's website
MacAspen
Smarty n00b


Joined: 24 Mar 2007
Posts: 3

PostPosted: Sat Mar 24, 2007 5:51 pm    Post subject: Reply with quote

aahhh... it makes more sense now... I get it...

Thanks a real newbie!
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