Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Article Manager 1:
Linking outside of artman for category_list possible?

 

 


jeremed
User

Jul 29, 2006, 4:55 PM

Post #1 of 5 (1424 views)
Shortcut
Linking outside of artman for category_list possible? Can't Post

Is it possible to link to a page outside of artman from the category_list include? I looked around at the category settings and I did not see such an option.


jeremed
User

Jul 29, 2006, 7:46 PM

Post #2 of 5 (1421 views)
Shortcut
Re: [jeremed] Linking outside of artman for category_list possible? [In reply to] Can't Post

Nevermind. I worked out a solution for doing it.


LiquidQuest
User

Jul 29, 2006, 10:11 PM

Post #3 of 5 (1414 views)
Shortcut
Re: [jeremed] Linking outside of artman for category_list possible? [In reply to] Can't Post


In Reply To
Nevermind. I worked out a solution for doing it.

which was? Smile
sharing is caring
Marssin


jeremed
User

Jul 29, 2006, 10:26 PM

Post #4 of 5 (1412 views)
Shortcut
Re: [LiquidQuest] Linking outside of artman for category_list possible? [In reply to] Can't Post


Code
<a href=" 
<?PHP
$linkURI = "$url_index$"; // Store the artman link name in a variable
if ($linkURI == "http://artman.link") { // if the stored link name matches...
echo "http://desired.link"; // then print the desired link name in it's place
} else {

echo "$linkURI"; // if it doesn't match then print the artman link name
}
?>
">$cat_name$</a>



This is used in the category_list.html template.


EDIT: I just realized that my original code was making all the other links null. This is an updated version.


(This post was edited by jeremed on Jul 30, 2006, 9:08 PM)


ross
Staff / Moderator


Jul 30, 2006, 10:30 AM

Post #5 of 5 (1395 views)
Shortcut
Re: [jeremed] Linking outside of artman for category_list possible? [In reply to] Can't Post

Hi there.

Thanks for following up with Marssin.

I am glad you got yourself going and I really appreciate the tips you posted back. Keep up the great work and let me know if there is anything I can do to help Smile.
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Product Specialist
support@interactivetools.com

Hire me!  Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/