for the LOVE of !!! :)

Permalink
Hello All! I've gotten single pages added into my dashboard sucesfully - my problem is, I can't figure out for the life of me why they're not showing up on the NAV BAR. They do appear in the site map on the dashboard, but not anywhere else.

I've made certain that "hide from nav" is unticked - toggled back and forth between that and several other settings - any help here?

Thanks!

 
Adreco replied on at Permalink Reply
Adreco
Just to clarify... are they top level pages or "child" pages you've created (depending on what your theme has built in, you may need to use an add-on like Superfish to accordion/display sub-pages)?
harpboy929 replied on at Permalink Reply
Thanks - they are all top Level;
jordanlev replied on at Permalink Reply
jordanlev
And just to be sure -- this single_page is not actually in the dashboard, right? (I couldn't quite tell if you just meant that you installed it from the dashbaord, or if you installed it into the dashboard) -- dashboard pages are never shown in autonav.

It's also possible that single_pages don't come up in the autonav either, although that strikes me as kind of weird. You might want to clear your site's cache too (Dashboard -> Sitewide Settings, click "Clear Cache" button way down at the bottom of the page).
harpboy929 replied on at Permalink Reply
Thanks Jordan - I installed it from the dashboard/Dashboard/Pages and Themes/Single Pages-->scroll to bottom added my singlepage. Still seems kinda clooogey. I'll try clearing the cache then? Do I need a view.php and default.php for every single page? would they in turn need updating if themes changed?
jordanlev replied on at Permalink Reply
jordanlev
I just tested out adding a single_page to a site of mine and it did indeed show up in the autonav.

You only need 1 default.php and 1 view.php. Every single_page gets wrapped in the same 1 view.php template (wherever you put "print $innerContent").

It's a little kludgy to add single_pages, but you're only really adding them once ever, and your site shouldn't really have more than a few of them (if it does, you're probably "doing it wrong" in terms of how you decided to set up your site).

A question for you: can you actually view the single_page? Like if you go directly to its address does the page show up properly?

Also, are you using a custom template on the autonav block of some kind?
harpboy929 replied on at Permalink Reply
Yeppers can definitely hit the page on it's link; i ended up just adding a link to it from within NAV and it's all good -fwiw.

Correct sir; only intend on having one or two static single pages; unless there's a better way to incorporate php/mysql references w/in blocks themselves? ( i have 2 legacy apps that make references into a mysql db from php queries )

I am using a custom template but dunno if I've my NAV has a custom template applied - Ima check that out.

Thanks!