WebmasterSite.net: PHP scripts to enable your creativity
WSN Links PHP Directory Software
PHP Scripts Webmaster Links Support Forums

Register | Forgot Password

Weird main template happening

Version: 3.3.16
printPrint


Weird main template happening
babrees
Expert
Avatar

Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 312
Total Posts: 1032
Posted 05/06/06 - 10:50 AM:
quote post
#1
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="http://www.webmastersite.net/forums/thumbnail.php?catid=18&field=customattach"></a><br />
<!-- END LINK ATTACHMENTS -->
<a href="http://www.webmastersite.net/forums/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
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 57
Total Posts: 6312
Posted 05/06/06 - 02:58 PM:
quote post
#2
I don't see anything related to a category custom attachment at http://www.babrees.co.uk/photogallery/templates/d... .

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
babrees
Expert
Avatar

Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 312
Total Posts: 1032
Posted 05/06/06 - 08:24 PM:
quote post
#3
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.


Edited by babrees on 05/06/06 - 08:28 PM
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 57
Total Posts: 6312
Posted 05/07/06 - 05:26 PM:
quote post
#4
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.

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
babrees
Expert
Avatar

Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 312
Total Posts: 1032
Posted 05/07/06 - 08:16 PM:
quote post
#5
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.


Edited by babrees on 05/07/06 - 08:21 PM
Search thread for
Download thread as


You don't have permission to post.

Please login or register.

   
 
© 2008 Paul Knierim. All rights reserved.