check the current page
Hello,
How can I check if user has open list of articles or concrete article?
(user can click on Articles in main menu and then choose from one of several articles on my web)
Should I check current url? Or is there any other more elegant way? For example any vbulletin variables?
for example :
list of articles (previews) has url: name_of_my_forum/articles
or: name_of_my_forum/articles/category
concrete article: name_of_my_forum/articles/category/1-test-article
Thanks in advance.
|