Injader
Forum > Help Forum > New features: Secondary & Tertiary Navigation?

< Link problems : Theme picking up external URL >

ginkgo100
Permalink

Created: May 17, 2009 12:48

New features: Secondary & Tertiary Navigation?

Ben,

Could you explain the new Secondary and Tertiary Navigation features?  How do we use them?

I'm setting up Injader for my husband's site (he's currently using some horrible Microsoft product — you should see what it's done to his code!).  I'm much better versed in CSS and PHP than the last time around, and I whipped up a div-based theme to replace the default table-based theme.  The only problem is that it doesn't display properly in Internet Explorer v. < 8.  (Another strike against Microsoft.)  You might check it out — though it's a work in progress.   We won't be forwarding the domain until the new site is ready, so currently it's in a subdirectory of my own site:

http://www.independenthealthinfo.org/texasacl/

Tags: None.

ginkgo100's avatar

ginkgo100
Permalink


1

Created: May 17, 2009 13:29

Also, when I tried to edit an article to change it from Primary to Secondary navigation, I got the following error:

Notice: Undefined index: optParentSecondary in [path snipped for security]/cp/write.php on line 124
Ben's avatar

Ben
Permalink


2

Created: May 17, 2009 18:01

Nice job on the site, ginkgo - it's looking good so far. I always find it interesting to see what others do with Injader.

Secondary and Tertiary navigation can be used to display three sets of navigational links on your site. For an example, go to my site: The Guide to Blogging

The links in the red bar (Home, How to ...) are the Primary nav links. The links I put under "Navigation" in the sidebar (The basics of running a blog, and so on) are the Secondary nav links. If you look at the code for the default theme, there should be some code in footer.php that shows how to add the Secondary and Tertiary links to your theme. Unlike subarea links, where the subareas change depending on which area you're in, Secondary and Tertiary will stay the same no matter which area you're in. So you could have your Primary links in the top navbar, Secondary links down the side, and Tertiary along the bottom. It's up to you how you place them.

To use secondary and tertiary navigation, you need to click on the Areas link in the Control Panel. From there, you can use the three links at the top (Primary, Secondary, Tertiary) to see your current areas, and use the links on the right to add a new area. Or you can edit an existing area. On the create/edit area page you can choose the navigation type and the parent area. This is how you set up new navigational areas.

You will need to add an area as Secondary or Tertiary navigation if you want to add content there. That notice shouldn't show up, I will get that fixed, but it should disappear if you add a Secondary area.

I'll add this information to the help wiki - I've pretty much explained how it works already but it'll be easier to find the info in future :)
Ben's avatar

Ben
Permalink


3

Created: May 17, 2009 18:34

I've written a couple of guides that should help:

Navigation types
Displaying navigation types
ginkgo100's avatar

ginkgo100
Permalink


4

Created: May 17, 2009 16:23

Okay, great, Ben! For most of this site, I think I'll use subareas with one article per subarea because most of these are supposed to be static pages. I guess that's the flexibility of Injader. (You can compare with the original site at http://www.texasacl.com/.) I'm trying to convince my husband to use the "Essays and Scripts" section as a blog (once he understands how he can get people to subscribe, I think it will be an easier sell). And he's excited about finally having a forum.

2ary & 3ary Nav sounds like the solution to the problem I was having with my health site, where I wanted the article subareas listed on every page in the sidebar. I'll have to upgrade as soon as I'm done with the Texas ACL project! Thanks for your help.

Robyn

Jane
Permalink


5

Created: May 18, 2009 11:52

I'm just working with the new version Ben, and I wanted to say it's absolutely excellent! I'll be upgrading my own sites with it over the next few weeks I think.

Thanks for all your work, you've got a great piece of software :)
Ben's avatar

Ben
Permalink


6

Created: May 18, 2009 14:00

ginkgo - yep, flexibility is certainly the key. I like what you've done with the site. You might want to check the forum though, as the layout changes when you go there. This is likely to be caused by the layout style. Happy to help!

Jane - thanks, glad you approve!
ginkgo100's avatar

ginkgo100
Permalink


7

Created: May 19, 2009 15:43

Ben,

The layout was changing because I hadn't gotten to the forum yet. :) That's the last thing I need to get done on the theme. I think I'm going to make a generic version of it (or several, for different color schemes) available free for the Injader theme library.
Ben's avatar

Ben
Permalink


8

Created: May 19, 2009 16:14

Sounds good. Let me know when it can be included in the theme library.

(Long-term, we'll have a much nicer setup for the theme library - all in good time!)

timc
Permalink


9

Created: July 31, 2009 03:33

Ok... there is serious weirdness says he, trying to be polite.

I've just had a fun time trying to work out why a theme did not work. On invoking browser debug my first thought was something has been hacked. Get errors from all themes (maybe to do with ecma), non fatal, this one though, do preview, and I trace a bizarre off site access, to do with CSS.

So I search on the URL... turns up Injader, bit more digging and powered by Injader turns up.

Guess why I comment here... www.independenthealthinfo.org

So what gives?
Ben's avatar

Ben
Permalink


10

Created: August 01, 2009 00:09

Hey Tim, I'm not sure I fully understand the problem you're experiencing. Could you start a new thread in the Help Forum and explain what's going on, please? Include as much info as possible. Thanks!

You do not have access to post comments in this area.