Zen Cart Logo
Forums / Basic Configuration / Home page content always displaying?

Home page content always displaying?

Locked

Views: 2,505

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
4 Apr 2009, 9:15 AM
#1
abidan avatar

abidan

New Zenner

Join Date:
Mar 2009
Posts:
26
Plugin Contributions:
0

Home page content always displaying?

Hi

I am using latest version of zen cart and added a few addons, recently i have noticed that suddenly the homes page content is displaying on my site even when i click on a category? See URL below where my home page content states : Welcome to The Antique Toy Collectors! blah blah, this used to dissappear when i clicked on a cat in left nav but now its always there. i think one of the addons has screwed things up? Can anyone point me in the right direction for the file to change to sort this out? Thanks

https://antiquetoycollector.awardspace.co.uk

4 Apr 2009, 10:02 AM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Home page content always displaying?

If I click on the link you've given my browser blocks progress because you've given a secure link with a self-signed SSL certificate, and then only valid for the domain cash.awardspace.com and not your domain. This makes you sound like a scammer. If you're not, I recommend that you fix this ASAP.

In respect of your question, you've told us that you've installed some add-ons and suspect that one of them is causing the problem, but you haven't told us which ones they are.

Happily you've developed your template properly, i.e. created your own folder. What happens if you switch back to classic, does the problem go away? This can be helpful to know for the purposes of isolating the specific file or files causing the problem.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

4 Apr 2009, 10:06 AM
#3
abidan avatar

abidan

New Zenner

Join Date:
Mar 2009
Posts:
26
Plugin Contributions:
0

Re: Home page content always displaying?

Oh yeah this is a development site i have not sorted the SSL stuff yet. Hmmmmm first i will take yoiur advice and switch back to classic and see what happens. I have added about 10 addons so will take time to list. First of all let me try changing template never thought to try that ;) Thanks for the help so far :)

4 Apr 2009, 10:10 AM
#4
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Home page content always displaying?

abidan:

I have added about 10 addons so will take time to list.... and there are over 1,300 add-ins for Zen Cart in total so it would take a while for anybody helping you to work through the possibilities let along any clashes.

I'd strongly recommend that you keep add-ins to a minimum at this time if you're planning for your site to be around for any length of time, as every add-on will represent extra work, and possibly an obstacle to upgrading to Zen Cart 2 at some time in the future. And certainly keep good records of those you do install, as you'll need it for the upgrade.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

4 Apr 2009, 10:16 AM
#5
abidan avatar

abidan

New Zenner

Join Date:
Mar 2009
Posts:
26
Plugin Contributions:
0

Re: Home page content always displaying?

I have a list of what they are :) I understand the need for testing and logging changes i work in IT hehehe

I have a development area where i test teh addons but for some reason i missed this subtle change until now and dont know when it happened which is really annoying.

Have changed my template to classic and same thing happens, what file generates the catergoris main page, you know when you click on a category and it takes you to the category main page, what i will do is find which addons i have have changed that file and replace it with the original?

Any ideas?

Thanks in adviance for your adivce :)

4 Apr 2009, 10:54 AM
#6
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Home page content always displaying?

I'd look first to see in your includes/modules/pages/index/main_template_vars.php file. This is the file that determines which template should be used to display your index page and switches from the tpl_index_default.php template for the home page, to the tpl_index_categories.php template once you click on a category link. The code that you are seeing repeated in the lower page lives in the index_default template.

If that doesn't yield anything, the next question will be to identify whether the tpl_index_categories.php template has been changed. As this happens when you switch to classic too, that would point the finger at the template_default version.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

4 Apr 2009, 2:56 PM
#7
abidan avatar

abidan

New Zenner

Join Date:
Mar 2009
Posts:
26
Plugin Contributions:
0

Re: Home page content always displaying?

Brilliant thanks for the advice will go have a look now :)

21 Aug 2009, 2:46 PM
#8
websightdesign avatar

websightdesign

New Zenner

Join Date:
Mar 2006
Posts:
72
Plugin Contributions:
0

Re: Home page content always displaying?

Hi Abidan

Did you manage to resolve the problem with the content of the main_page repeating, if so can you let me in on the secret.

Thanks
Brad

21 Aug 2009, 3:09 PM
#9
abidan avatar

abidan

New Zenner

Join Date:
Mar 2009
Posts:
26
Plugin Contributions:
0

Re: Home page content always displaying?

Hiya

It was a while ago so cant honestly remember what i did, i think i had to set up a whole new cart again from what i recall and start from scratch was very annoying but i know it was a plugin that caused the problems. I wish there was a more user friendly way in zne cart to install plugins where you simply upload a zip file from admin and it tells you if it is going to change a file that has already been changed. i like zen but i think the plugin installation process needs to be made a bit more user friendly.

Soz couldnt be more help

26 Aug 2009, 9:39 AM
#10
websightdesign avatar

websightdesign

New Zenner

Join Date:
Mar 2006
Posts:
72
Plugin Contributions:
0

Re: Home page content always displaying?

I've managed to resolve this problem now it turned out to be the faq module that we installed.

Thanks for the answer

Brad

26 Aug 2009, 9:47 AM
#11
abidan avatar

abidan

New Zenner

Join Date:
Mar 2009
Posts:
26
Plugin Contributions:
0

Re: Home page content always displaying?

Arhhhhhhh ok that would defo make sense, i installed an faq mod on my site too!! Anyone else have this then they need to look at removing that mod it seems! Cheers