4images Forum & Community
The forum for all 4images gallery administrators
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
[2023-01-23] 4images 1.10 released
Home
Help
Search
Login
Register
4images Forum & Community
»
4images Issues / Ausgaben
»
Discussion & Troubleshooting
(Moderator:
Acidgod
) »
[solved] Every category loads with the header
« previous
next »
Print
Pages: [
1
]
Author
Topic: [solved] Every category loads with the header (Read 5477 times)
0 Members and 1 Guest are viewing this topic.
DennisRR
Newbie
Posts: 22
[solved] Every category loads with the header
«
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.
«
Last Edit: August 30, 2007, 05:21:53 PM by DennisRR
»
Logged
n3w
Newbie
Posts: 26
Re: Every category loads with the header
«
Reply #1 on:
August 30, 2007, 12:48:40 PM »
in-
4images/templates/default/categories.html
search and remove:
Quote
{header}
to remove the overall header
and / or
search and remove:
Quote
{footer}
to remove site overall footer
Logged
Nicky
Administrator
4images Guru
Posts: 3.195
Re: Every category loads with the header
«
Reply #2 on:
August 30, 2007, 01:39:06 PM »
footer is not good.
there is ©
Logged
cheers
Nicky
Your first three "must do" before you ask a question !
(© by
V@no
)
- please read the
Forum Rules
...
- please study the
FAQ
...
- please try to
Search
for your answer ...
nicky.net 4 4images
Signature stolen from mawenzi
DennisRR
Newbie
Posts: 22
Re: Every category loads with the header
«
Reply #3 on:
August 30, 2007, 03:05:13 PM »
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?
Logged
n3w
Newbie
Posts: 26
Re: Every category loads with the header
«
Reply #4 on:
August 30, 2007, 03:15:48 PM »
@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?
Logged
DennisRR
Newbie
Posts: 22
Re: Every category loads with the header
«
Reply #5 on:
August 30, 2007, 04:23:19 PM »
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.
Logged
DennisRR
Newbie
Posts: 22
Re: Every category loads with the header
«
Reply #6 on:
August 30, 2007, 05:20:43 PM »
I finally solved it. It was the {header} in category_bit.html
After removing that, speed increased with several hundred percent.
Logged
n3w
Newbie
Posts: 26
Re: [solved] Every category loads with the header
«
Reply #7 on:
August 30, 2007, 08:42:55 PM »
Nice, good to see you solved the problem yourself
Best of luck for your project
Logged
Print
Pages: [
1
]
« previous
next »
4images Forum & Community
»
4images Issues / Ausgaben
»
Discussion & Troubleshooting
(Moderator:
Acidgod
) »
[solved] Every category loads with the header