Custom Meta Tags on View-link page, How i did it - eSyndiCat User Forums
eSyndiCat User Forums esyndicat directory software esyndicat support

Go Back   eSyndiCat User Forums > eSyndiCat Directory Software [FREE] > Modifications

Modifications Simple to complex modifications, made by users or by our team, applied to logic or presentation, all kinds of modifications are discussed and requested here.

Reply
 
Thread Tools Display Modes
Old 10-18-2006   #1
ruin7xx
 
Join Date: Jul 2006
Posts: 12
ruin7xx is on a distinguished road
Default Custom Meta Tags on View-link page, How i did it

Honestly, i think this script is great. It is pretty customizable depending on how creative you are and how much work your willing to put in. Anyways, i was reading a thread before that mentioned that there isnt any keywords or descriptions in the view-link page meta tags. So heres what i did...

Note: This will work, but please backup your files just incase.

Duplicated header.tpl >> header2.tpl

opened >> view-link.tpl edit and found:

{include file="header.tpl"}

and changed it to {include file="header2.tpl"} (save)...

Then I opened header2.tpl and found:

<meta name="description" content="{$description}" />
<meta name="keywords" content="{$keywords}" />

and replaced it with:

<meta name="description" content="{$link.customdescription}" />
<meta name="keywords" content="{$link.customkeyword}" />(save)

Upload files: header2.tpl and view-link.tpl(updated with new include) to appropriate folders

Then go to the admin panel > manage link fields and create the two fields accordingly(customkeyword and customdescription). Make these custom fields admin view only.

Go to the language editor and update it:
'customdescription' => 'customdescription',
'customkeyword' => 'customkeyword',

Now go to manage links, and click 'edit' for an individual listing. You should see two new fields there. These are your new custom keyword and description fields.

Well, hope i didnt leave anything out, and hopefully someone gets some use out of it!

Last edited by ruin7xx; 10-18-2006 at 02:20 AM.
ruin7xx is offline   Reply With Quote
Old 10-18-2006   #2
ruin7xx
 
Join Date: Jul 2006
Posts: 12
ruin7xx is on a distinguished road
Default

Also, if you would like your index page meta tags to be different than your category page meta tags, you can use:

Modify header.tpl, and use the 'if category' condition...

<meta name="description" content="{if $categories}index description{else}{$description}{/if}" />
<meta name="keywords" content="{if $categories}index keywords{else}{$keywords}{/if}" />



Last edited by ruin7xx; 10-18-2006 at 04:02 AM.
ruin7xx is offline   Reply With Quote
Old 10-18-2006   #3
Michael Hill
eSyndicat Support Team
 
Join Date: Sep 2006
Posts: 727
Michael Hill is a jewel in the roughMichael Hill is a jewel in the roughMichael Hill is a jewel in the roughMichael Hill is a jewel in the rough
Default

Thanks for the mod, ruin7xx!
__________________
Regards,
Michael Hill
eSyndiCat Directory Script

Our webhosting - Intelligent Web Hosting
Michael Hill is offline   Reply With Quote
Old 10-20-2006   #4
ruin7xx
 
Join Date: Jul 2006
Posts: 12
ruin7xx is on a distinguished road
Default

welcome !
ruin7xx is offline   Reply With Quote
Old 10-20-2006   #5
pandha
 
Join Date: Oct 2006
Posts: 8
pandha is on a distinguished road
Default

does it work in free version?
pandha is offline   Reply With Quote
Old 10-20-2006   #6
Michael Hill
eSyndicat Support Team
 
Join Date: Sep 2006
Posts: 727
Michael Hill is a jewel in the roughMichael Hill is a jewel in the roughMichael Hill is a jewel in the roughMichael Hill is a jewel in the rough
Default

Hello, pandha!

Wellcome to Support Forum!

I think no, in any case you can test it, code is simple. But to my mind, in free version you can't manage link's fields.
__________________
Regards,
Michael Hill
eSyndiCat Directory Script

Our webhosting - Intelligent Web Hosting

Last edited by Michael Hill; 10-20-2006 at 11:04 AM.
Michael Hill is offline   Reply With Quote
Old 11-26-2006   #7
ciocgun
 
Join Date: Nov 2006
Posts: 21
ciocgun is on a distinguished road
Default

has anyoine tried in free version?
__________________
http://www.fast-navigation.com Cerca,Trova,Acquista
http://www.ultragratis.com/ultragratilla.html
Alza il tuo PageRank
http://www.ultragratis.com
Foto Paparazzi,Vip e Celebrità,Calendari 2007
ciocgun is offline   Reply With Quote
Old 11-28-2006   #8
Holger Veith
 
Join Date: Nov 2005
Posts: 33
Holger Veith has disabled reputation
Default

Hallo ruin7xx,
after that i will see: Error: Unknown column 'customkeyword' in 'field list'

http://www.bilder-speicher.de/Julita....vollbild.html

Last edited by Holger Veith; 11-28-2006 at 12:42 AM.
Holger Veith is offline   Reply With Quote
Old 11-29-2006   #9
Holger Veith
 
Join Date: Nov 2005
Posts: 33
Holger Veith has disabled reputation
Default

@ruin7xx

Go to the language editor and update it:
'customdescription' => 'customdescription',
'customkeyword' => 'customkeyword',

what i have to do - can you explain it?
Holger Veith is offline   Reply With Quote
Old 11-29-2006   #10
Michael Hill
eSyndicat Support Team
 
Join Date: Sep 2006
Posts: 727
Michael Hill is a jewel in the roughMichael Hill is a jewel in the roughMichael Hill is a jewel in the roughMichael Hill is a jewel in the rough
Default

Hi, Holger!

Open file language/English.php and add your strings.
__________________
Regards,
Michael Hill
eSyndiCat Directory Script

Our webhosting - Intelligent Web Hosting
Michael Hill is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 05:08 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Testimonials | Articles | Support | Documentation | Privacy Policy | License | Affiliates | Contact Us | SEO Resources