Help! Client messes up first page and has asked me to help!
Hi Forum,
I am a web host and I host a few Zen Cart stores and one of my clients was inserting some pictures into the first page of his cart and after saving his work his page went from a 3 column layout to a 2 column layout. The rest of the pages appear to be okay. I am not a Zen Cart Guru but I would like to help him out of a jam. Here is the e-mail he sent me:
"I've managed to screw something up on my website main page and hope maybe
you can give me an idea as to how I can fix it. I was determined to figure out the insertion of images on the main page as that is a different system than the products and manufacturers images. Those two have a "browse" button to get the images and the text editor thing for the other pages asks for a URL. It took until the last day or so for me to figure out I had to put ".JPG" or whatever at the end. So this morning I put the logos of my suppliers on the main page and was feeling good until I noticed that the whole right column is gone! No SSL logo, no semaphore and no links or anything! All is still there if you go to any other page
but I did something to widen the middle column and apparently crowd out the right column on the main page. Any ideas??"
I know a little about PHP and HTML. I assume this is just going to turn out to be a PHP and/or HTML formatting issue? I also have backups and I am comfortable in front of the command line. I just don't know which files do what and where to look? I would prefer to figure out what is wrong and fix it over just doing a restore so I can explain it to him so as to help him from possibly doing it again. I am trying to be proactive here. The URL is http://dcchobbysupply.com. Any help and one can give me will be much appreciated!
Thanks! :smile:
Dave
Re: Help! Client messes up first page and has asked me to help!
Their "webring" code is incomplete or bad. It contains:Since <noscript> is not a self-closable tag, the browser is treating everything after it as part of the <noscript> content. If you were to disable javascript in the browser you might see the rest of the content.
Solutions:
1. just remove the <noscript /> from the code in the page
or
2. find out what "should' be the real noscript content, and insert it properly using
HTML Code:
<noscript>blah blah blah </noscript>
Re: Help! Client messes up first page and has asked me to help!
DrByte,
Thanks for the help! Which PHP file do I find this bit of code located in?
Regards,
Dave
Re: Help! Client messes up first page and has asked me to help!
Not sure -- all depends how they've built their site.
Typically would be in any of:
/includes/languages/english/html_includes/classic/define_main_page.php
/includes/languages/english/html_includes/define_main_page.php
/includes/languages/english/classic/index.php
/includes/languages/english/index.php
or maybe even hard-coded wrongly in:
includes/templates/classic/templates/tpl_index_default.php
or
includes/templates/template_default/templates/tpl_index_default.php
Re: Help! Client messes up first page and has asked me to help!
Thanks again for your help!
Regards,
Dave Brilliant
Brilliant Host
http://brillianthost.com