ayolos
ayolos

Reputation: 21

How to create article's link in a nav bar with EE 2?

I’m looking for create automatically a link in a nav bar of the page on an article by the

wiki, unsuccessfully, I would like some help about it, I know I have to usecategory

(I think but I’m not sure…) because I have some difficulties in understanding the

utility, and especially how to use it

Upvotes: 0

Views: 43

Answers (1)

rjb
rjb

Reputation: 9106

Using the Path Variables as part of the Wiki Module in ExpressionEngine, you can link to an individual Wiki article/page by using the following code:

<a href="{path:view_article}">{title}</a>

This would output the following example HTML code:

<a href="http://example.com/index.php/wiki/Test_Page">Test Page</a>

You can see this tag in use throughout the Wiki Theme Templates in /themes/wiki_themes/.

Upvotes: 1

Related Questions