Webmastersite.net
Register Log In

Weird main template happening

Comments on Weird main template happening

babrees
Expert

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 391
Total Comments: 1303
babrees
Posted May 06, 2006 - 11:50 AM:

http://www.babrees.co.uk/photogallery/index.php

I made a new cat field for attachments and messed around with main template to show attachment. Didn't do it correctly first time. Corrected my errors but the corrections didn't show. Cut a VERY long story short... although I amended the <!-- BEGIN CATSBODY section, these do not show no matter what I do or how many times I upload main.tpl.

So, I reinstated the original main.tpl template and it STILL shows <!-- BEGIN CATSBODY --> section incorrectly

Can't really explain it well - it's weird! Looking at source from the browser as a user it shows...

<!-- BEGIN LINK ATTACHMENTS -->
<img src="thumbnail.php?catid=18&field=customattach"></a><br />
<!-- END LINK ATTACHMENTS -->
<a href="index.php?action=displaycat&amp;catid=18">Rene</a>,

BUT that is NOT in the template I have uploaded!!!!!!!! I deleted ALL templates and had the correct error message (no templates). I then reinstalled templates with original main.tpl but still get this!

HELP!

Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted May 06, 2006 - 3:58 PM:

I don't see anything related to a category custom attachment at www.babrees.co.uk/photogall...templates/default/main.tpl .
babrees
Expert

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 391
Total Comments: 1303
babrees
Posted May 06, 2006 - 9:24 PM:

Paul wrote:
I don't see anything related to a category custom attachment at http://www.babrees.co.uk/photogallery/templates/d... .


But if you look at the page in your browser it does not display as per that template. If you look at the source from your browser by going to view > source then it shows about attachments.

That should be impossible but it is what I get :-( when viewing the page I see all the sub cats in one column with a box for a missing graphic showing too.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted May 07, 2006 - 6:26 PM:

Was all that stuff stuck in your subcats html area? If so, see the other seventy posts this week where I've mentioned that subcats html doesn't update until you regenerate.

I'll try putting a visual notice in the template editor, but there will still be people who edit their templates offline.
babrees
Expert

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 391
Total Comments: 1303
babrees
Posted May 07, 2006 - 9:16 PM:

Paul wrote:
Was all that stuff stuck in your subcats html area? If so, see the other seventy posts this week where I've mentioned that subcats html doesn't update until you regenerate.

I'll try putting a visual notice in the template editor, but there will still be people who edit their templates offline.



I have not seen those 70 posts, and they didn't even show up in a search. However, I DID regenerate as a matter of course. Admittedly I simply clicked Regenerate Counters > Regenerate Everything and then went off to do other stuff while that worked in the background, so I didn't actually see it working and finish.

I have just regenerated again, but this time it has worked. Thank you.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.