Ok...
I'm going to take a stab at this.... <%$keywords%> works on the detail_links.html page but doesn't work on rows.html.
If I'm correct, detail_links.html uses detail.php in the root, and rows.html uses browse.php in the root.
If we look at detail.php in the root we see :
PHP Code:
function ShowDetailPage() {
// vars global configuration
global $dbConn, $theme_name, $theme_path, $rev_max_rows, $category_separator;
// vars url & form
global $id;
// vars messages
global $msg;
// vars template
global $link_detail, $pagination, $review_rows, $ofc_review, $page_title,
$link_id, $link_title, $link_description, $link_keywords,
$category_id, $category_name, $category_path, $category_path_with_link,
$num_review, $avg_review, $avg_review_image;
$tpl = new Template();
$links_obj = new clsLink;
$links_obj->query = "select * from idx_link where link_id = '$id'";
$links_obj->table_name = "idx_link";
$links_obj->category_table_name = "idx_category";
$links_obj->review_table_name = "idx_review";
$links_obj->category_separator = $category_separator;
$links_obj->max_rows = 1;
$links_obj->rating_image_path = "themes/" . $theme_name . "/images/rating/";
$links_obj->rev_rating_image_path = "themes/" . $theme_name . "/images/review/";
$links_obj->date_format = $msg["10161"];
$links_obj->template_file = $theme_path . "detail_link.html";
$link_detail = $links_obj->Display();
// link data
$query = "select * from idx_link where link_id = '$id'";
$row = $dbConn->FetchOne($query);
$link_id = $id;
$link_title = $row["title"];
$link_description = strip_tags($row["description"]);
$link_keywords = strip_tags($row["keywords"]);
$page_title = $link_title;
and if we look at browse.php we see this :
PHP Code:
function ShowCategoryPage() {
// vars global configuration
global $dbConn, $theme_path, $number_of_links_format,
$cat_default_image, $cat_columns, $max_sub_cat, $cat_link_style,
$cat_path_link_style, $subcat_link_style, $cat_table_width,
$cat_cellspacing, $max_rows, $category_separator, $theme_name,
$cat_description_format, $site_url;
// vars url & form
global $cat, $pg_which;
// vars messages
global $msg;
// vars template
global $header, $footer, $category, $category_name, $category_description,
$link, $pagination, $category_path, $content, $editor,
$category_path_search_opt, $meta_keywords, $meta_description,
$page_title, $editors, $sponsored_link, $num_rows,
$num_rows_sponsored, $num_rows_premium;
$tpl = new Template();
$category_obj = new clsCategory;
$category_obj->table_name = "idx_category";
$category_obj->link_table_name = "idx_link";
$page_title = $category_obj->GetPageTitle($cat);
if (empty($page_title)) {
$page_title = $msg["10011"] . $category_separator . $category_obj->GetCategoryPath($cat);
}
$header = $category_obj->GetHeader($cat);
$footer = $category_obj->GetFooter($cat);
$meta_keywords = $category_obj->GetMetaKeyword($cat);
$meta_description = $category_obj->GetMetaDescription($cat);
$content = $category_obj->GetContent($cat);
$category_obj->separator = $category_separator;
$category_obj->header = $msg["10012"];
$category_name = $category_obj->GetCategoryName($cat);
$category_description = $category_obj->GetCategoryDescription($cat);
$category_path = $category_obj->GetCategoryPath($cat, TRUE);
$category_path = "<a href=\"$site_url/\" style=\"$cat_path_link_style\">"
. $msg["10011"] . "</a>"
. $category_obj->separator
. $category_path;
$category_path_search_opt = $category_obj->GetCategoryPath($cat);
So whats the difference between the two???
In detail.php, the keywords are being called here:
PHP Code:
// vars template
global $link_detail, $pagination, $review_rows, $ofc_review, $page_title,
$link_id, $link_title, $link_description, $link_keywords,
$category_id, $category_name, $category_path, $category_path_with_link,
$num_review, $avg_review, $avg_review_image;
and here:
PHP Code:
// link data
$query = "select * from idx_link where link_id = '$id'";
$row = $dbConn->FetchOne($query);
$link_id = $id;
$link_title = $row["title"];
$link_description = strip_tags($row["description"]);
$link_keywords = strip_tags($row["keywords"]);
$page_title = $link_title;
So I'm guessing that in browse.php you need to add $link_keywords to your //var templates and add $link_keywords = strip_tags($row["keywords"]); around line 60.
Now after I typed all of this out, I just noticed that there is a $meta_keywords being called in browse.php. What that means, I have NO IDEA!!! LOL
I'm putting my disclaimer in here:
DISCLAIMER : Following my advice has been known to cause sparatic tornadoes, higher CO2 emissions, and in some small cases, nuclear winter! Think about this before doing anything I say!!!!!
My advice... Allow someone 1,000,000 times smarter than me on this board to tell you if I'm right or completely wrong!!!