Menu Pages link

Isleander
Isleander
@isleander
11 years ago
558 posts
According to the Language code for Ningja templates "Pages" should be "11".
I have added this to the header menu but it sends to the Home page, not to Pages.

<li><a href="{$jamroom_url}/">{jrCore_lang skin=$_conf.jrCore_active_skin id="11" default="Pages"}</a></li>

What am I doing wrong?

For the time being I have put links in the About blog to enable users to find the pages I have created. Otherwise there is not way for users to access them.

It would be helpful to have an place on the home/front page where pages are listed, like the videos and blogs,

Thank you.

updated by @isleander: 07/09/16 09:21:02AM
douglas
@douglas
11 years ago
2,804 posts
You've got the language string set right, but the URL to pages should be {$jamroom_url}/page....

<li><a href="{$jamroom_url}/page">{jrCore_lang skin=$_conf.jrCore_active_skin id="11" default="Pages"}</a></li>

Hope this helps! :)


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos

updated by @douglas: 12/29/14 09:23:54AM
Isleander
Isleander
@isleander
11 years ago
558 posts
OK changed that.

Interesting... it links to other users pages, but to none of the ones I've created.

Very strange.

=update=

I had to set the pages to "show on profile" not "show on main site." to be visible.

Clearly the pages selected to show on "main site" have no place holder on the Home page.
updated by @isleander: 12/29/14 09:23:54AM
douglas
@douglas
11 years ago
2,804 posts
You are correct, a page set to show on the site and not the profile doesn't show on profile pages, however you can add a link to that page using the ACP > Core > Tools > Skin Menu Editor and that will add the link to the profile drop down menu. The site pages should be available when you create a new link.

I should add that you can also add a link to the site page manually too, it might look something like this:

<li><a href="{$jamroom_url}/page/##/page-title">Page Title</a></li>

Where ## is the page ID and page-title is the page title.

Hope this helps! :)


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos

updated by @douglas: 12/29/14 09:23:54AM
Isleander
Isleander
@isleander
11 years ago
558 posts
OK thanks Douglas
updated by @isleander: 12/29/14 09:23:54AM