Webmastersite.net
Register Log In

Template Variable problems

Comments on Template Variable problems

fractalz
Beginner

Usergroup: Customer
Joined: Apr 26, 2008

Total Topics: 2
Total Comments: 3
Posted May 02, 2008 - 6:30 AM:

Hi I'm having a couple of template variable problems and I wa wondering if someone could point me in the right direction to solve them.

The first problem is with category meta tags. I've tried the following in the Header Insertion field:


<meta http-equiv="description" content="{CATDESCRIPTION}"


and instead of the expected result I get the following:


<meta http-equiv="description" content="#123CATDESCRIPTION}"


It does work as expected if the same code is used in the default meta tags field in the SEO settings.

Secondly, I'd like to have a del.icio.us bookmark icon on each link in the directory. I've used the following:


<a href=http://del.icio.us/post?url={LINKURL}&title={LINKBOOKMARKTITLE}>


This works up to a point, but it only outputs the first word of the title.

Any help would be much appreciated


Paul
developer

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

Total Topics: 61
Total Comments: 7868
Paul
Posted May 03, 2008 - 10:11 AM:

and instead of the expected result I get the following:

Confirmed and fixed bug (you'll have to re-type that { after upgrading to 4.1.41).

This works up to a point, but it only outputs the first word of the title.

It isn't valid HTML without quotes. The spaces will probably need URL encoding as well though, so <a href="http://del.icio.us/post?url={LINKURL}&title=<?php echo urlencode('{LINKBOOKMARKTITLE'); ?>">
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.