Sorry Andy... maybe I did not clarify it enough...but where would the [Go_To] field value be read... as I am checking the content of this field to see if it has "LINK ID" or a "CATEGORY ID"
The Go_To field is located in the Category db (when I add category to the db, I specify the value of the Go_To field there: Category > Add ).
Shouldn't I be checking the value of the Go_To field!
can I do something like this.. (but I am missing the right code to do that)
Code:
<%if Go_To contains 'ID='%> /* if Go_To is an internal link in links db so the value in Go_To is something like "ID=143" (the link id) */
<a href="<%config.db_cgi_url%>/jump.cgi?<%Go_To%>" target="_blank">
<%elseif Go_To is a number %> /* if Go_To is a numeric value, then that value is the category_id from categories db */
<a href="<%config.build_root_url%>/<%URL%>">
<%else%> /* go to anywhere specified in the Go_To field... like http://www.yahoo.com/
<%Go_To%>
<%endif%>
Thanks much again ..
Mark