Webmastersite.net
Register Log In

Edting thumbnails

Comments on Edting thumbnails

gertiebeth
Member

Usergroup: Customer
Joined: Jan 19, 2009

Total Topics: 5
Total Comments: 15
Posted Jan 28, 2009 - 3:51 PM:

I am going to try a different thumbnailing service and need to know where to edit <strong>{LINKTHUMBSHOT}</strong>. I am currently just editing the linkbit template to point to the new thumbs site. Since I installed and upgraded the script via this site, I have no files on my PC to search.
Paul
developer

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

Total Topics: 61
Total Comments: 7868
Paul
Posted Jan 29, 2009 - 1:20 PM:

It would be a whole lot simpler and save a ton of upgrade headaches to just switch off thumbshots or remove {LINKTHUMBSHOT} from the templates and insert the other thumbnailing service's HTML code directly into the templates -- namely the link bit template and link details template (Admin -> Templates -> Manage Templates or linkbit.tpl / details.tpl, possibly detailcomments.tpl if you have the combo switch on). Editing PHP files should always be assumed to be the wrong way to do something.

If you need to do PHP processing for some reason, you can do that in the templates too. If there's some sort of legitimate reason for wanting a template variable, then make a differently-named one with a pseudomethod.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.