Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Article Manager 1:
variable for (article_n.shtml)?

 

 


MalaK_3araby
User

Aug 15, 2002, 10:02 PM

Post #1 of 3 (2209 views)
Shortcut
variable for (article_n.shtml)? Can't Post

Hi

what variable is used for the published page name? (not the article name)
i.e: article_10.shtml

--------------
Sure you can spell it, but do you get it?


Luke
Staff / Moderator


Aug 16, 2002, 5:23 PM

Post #2 of 3 (2195 views)
Shortcut
Re: [MalaK_3araby] variable for (article_n.shtml)? [In reply to] Can't Post

Hi,

You can output an articles record number using the $art_num$ placeholder, and you can output the URL with the filename using the $detail_link$ placeholder.

Just a few questions:

Do you want a placeholder used for outputting the filename of the article or the record number of the article?

Also, on which template file do you want to use this placeholder?
Luke Holzken
Product Development


MalaK_3araby
User

Aug 16, 2002, 5:50 PM

Post #3 of 3 (2191 views)
Shortcut
Re: [Luke] variable for (article_n.shtml)? [In reply to] Can't Post


In Reply To
Do you want a placeholder used for outputting the filename of the article or the record number of the article?

Also, on which template file do you want to use this placeholder?



Hi Luke & Many thanks for responding.

i wanted the filename of the article (i.e: article_N.shtml)

I could not find a variable for it so i used the article number instead.
This is what i did is:
< a href=" http://domain.com/artman/publish/article_$art_num$.shtml " >

I am trying to implement a 3rd-party .pl Comments script (post in this forum) and i need to refrence the article path liek this:
http://domain.com/cgicomment/cgicomment.pl?article=article_$art_num$.shtml

--------------
Sure you can spell it, but do you get it?