X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   updating contact us page (https://forum.x-cart.com/showthread.php?t=38033)

jcgoldy 03-04-2008 08:03 AM

updating contact us page
 
I am having a problem. I want to update our contact us page. http://www.thebabblingbaby.com/help.php?section=contactus&mode=update

whenever i make any changes to contactus.tpl the changes are not being transfeered to the actual contact us page on the site. Do I need to make changes somewhere else?

balinor 03-04-2008 08:10 AM

Re: updating contact us page
 
Try flushing your template cache using the tools in the 'Summary/Tools' section of your admin.

jcgoldy 03-04-2008 08:19 AM

Re: updating contact us page
 
after clearing the cache the html text that we had above the form is gone on the page, but is still in the contactus.tpl

jcgoldy 03-04-2008 09:42 AM

Re: updating contact us page
 
anyone provide any help? now I have lost all the information I had on the page before the form.

balinor 03-04-2008 09:44 AM

Re: updating contact us page
 
Clearing the cache only clears cached templates, it doesn't affect your actual templates. When you preview the contact page (in the edit templates area) is it showing the changes? And have you cleared your browser cache as well?

jcgoldy 03-04-2008 10:08 AM

Re: updating contact us page
 
yeah the text is still in the contactus.tpl but for some reason it is not on the contact us page. I have cleared my browser cache as well.

balinor 03-04-2008 10:10 AM

Re: updating contact us page
 
It looks like you have a trailing --> showing above the form....you shouldn't be using html comments to hide code, you use Smarty:

{*Hidden code *}

I'd double check your code to make sure don't have some broken code in there. You have a lot of errors on your site, so I can't really tell what is causing it by looking at them.

jcgoldy 03-04-2008 10:18 AM

Re: updating contact us page
 
can you take a look at the contactus.tpl if i send it to you? I'm not the greatest with php and smarty. I just wanted to add some text to this template and be able to edit it when I want

balinor 03-04-2008 10:22 AM

Re: updating contact us page
 
Just post it here.

kube 03-04-2008 10:27 AM

Re: updating contact us page
 
Quote:

Originally Posted by jcgoldy
can you take a look at the contactus.tpl if i send it to you?


Could see Balinor's face drop just then.

We're all here happy to help if we can answer it.


All times are GMT -8. The time now is 12:13 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.