ruin7xx
10-18-2006, 12:05 AM
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!;)
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!;)