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.

jcgoldy 03-04-2008 10:30 AM

Re: updating contact us page
 
1 Attachment(s)
see it attached

thanks

jcgoldy 03-04-2008 10:32 AM

Re: updating contact us page
 
i appreciate it because it's always great to learn from everyone on this site.

balinor 03-04-2008 10:35 AM

Re: updating contact us page
 
You've got all sorts of html comments in there that are probably causing issues. Restore the default template and start over using {* *} comments. If you want to hide fields, just turn them off in General Settings/Contact Us Options, you really don't need to edit any code :) There is a default contact us header text variable...just add your text to that instead of hard-coding it into the template.

jcgoldy 03-04-2008 10:47 AM

Re: updating contact us page
 
how do I reload the original contactus.tpl? i tried the restore option in the edit templates while viewing the contactus.tpl but nothing happened.

balinor 03-04-2008 10:50 AM

Re: updating contact us page
 
Look in your skin1_original folder, you'll find it there. You can either cut and paste into your current template (via the edit templates section) or you can ftp the old one up and overwrite the existing one.

jcgoldy 03-04-2008 10:59 AM

Re: updating contact us page
 
i tried that but it seems the original is jacked up also can you attach a clean one here and i'll ftp it to my skin1 folder?

balinor 03-04-2008 11:01 AM

Re: updating contact us page
 
The original from your skin1_original folder should be the original that came with 4.1.9. I don't have a 'clean' copy as ours are highly customized, but you can grab it from your help desk area.

jcgoldy 03-05-2008 05:32 AM

Re: updating contact us page
 
i got it back to normal thanks for the help.

manolodf 10-31-2008 10:21 PM

Re: updating contact us page
 
does anyone know what the .tpl file is for after a customer submits the contact us form, I want to put a lead conversion tracking code on it so I can count possible leads from customer inquiries.

Tdeviant 09-29-2010 05:48 AM

Re: updating contact us page
 
Hi I am having a similar problem, I have tried everything so far here.

I have tried deleting the contactus.tpl from /skin1/ yet the contact page still loads correctly.

Any ideas ?


All times are GMT -8. The time now is 02:45 AM.

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