4images Forum & Community
4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: DennisRR on August 30, 2007, 11:41:37 AM
-
on my category pages every category loads the entire header page including all the scripts. I spent weeks to find the cause but nothing. I have 1.7.4. It slows down the pages very much and when I look at the source file of the page, I see that the header is repeated with every category. Can anyone tell me where I might find the cause of this problem. The web site goes live in 2 weeks.
-
in-
4images/templates/default/categories.html
search and remove:
{header}
to remove the overall header
and / or
search and remove:
{footer}
to remove site overall footer
-
footer is not good.
there is © ;)
-
Thanks for the fast reply! But it made no difference. Every time a category is loaded, the header loads as well. So on one page where 15 categories show, the source file shows 15 times the header code. There must be a loop somewhere. Any thoughts?
-
@Nickey, i am very sorry.. copyright note just skipped out of my mind.. sorry again :(
@DennisRR, which template are you using? default?
any screenshot of template and source?
-
It's a default template but I've changed it anyway because originally an alternative template caused too many problems. I'll send you a pm with the link because the site is not public yet. I really appreciate it if you could take a look. I'm building a website voluntarily for a non-profit organization. I realized that the repetitive header loop is only on the first subcatagory pages.
-
I finally solved it. It was the {header} in category_bit.html
After removing that, speed increased with several hundred percent.
-
Nice, good to see you solved the problem yourself :)
Best of luck for your project :)