|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
MacAspen Smarty n00b
Joined: 24 Mar 2007 Posts: 3
|
Posted: Sat Mar 24, 2007 3:41 pm Post subject: Moving a Smarty within a file... |
|
|
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 |
|
toma Smarty Regular
Joined: 25 Apr 2003 Posts: 62
|
Posted: Sat Mar 24, 2007 5:43 pm Post subject: |
|
|
Copy the contents of top_menu into your file then see if moving that html makes sense. |
|
Back to top |
|
MacAspen Smarty n00b
Joined: 24 Mar 2007 Posts: 3
|
Posted: Sat Mar 24, 2007 5:51 pm Post subject: |
|
|
aahhh... it makes more sense now... I get it...
Thanks a real newbie! |
|
Back to top |
|
|
|
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
|