logo
WSN Links PHP Directory Software
Features Showcase Reviews Demos Purchase Manual Support
 

Template Variable problems

Version: 4.1.40


Template Variable problems
fractalz
Beginner

Usergroup: Customer
Joined: Apr 26, 2008
Total Topics: 2
Total Posts: 3
Posted 05/02/08 - 04:30 AM:
quote post
#1
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




Edited by fractalz on 05/02/08 - 10:49 AM
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 49
Total Posts: 5539
Posted 05/03/08 - 08:11 AM:
quote post
#2
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


You don't have permission to post.

Please login or register.

Admin Control Panel

   
Home    |    Features    |    Showcase    |    Reviews    |    Demos    |    Purchase    |    Manual    |    Support
© 2008 Paul Knierim. All rights reserved.