Autonav help needed

Permalink 1 user found helpful
Help... After constructing my site which has over 400 pages and around 10 images and a gallery on 350 of those pages I have realised that the autonav should have been set up differently in order to open up more space in the left hand side panel. I have now changed it to “Top Level” under Display Pages and “Display Breadcrumb Trail” under Sub Pages to Display. This looks good and does the job (just wish I’d thought of this before). Can I amend this for all pages in the Dashboard or am I going to have to go to every single page and do it manually? I may have set up the pages incorrectly in the first place ie. I should have created a template page and then created each one of the 350 pages from that template instead of dragging and dropping completed pages to new parents in the Sitemap. I certainly don’t want to create a template and start all over again as this would require a huge amount of work and time in placing the images again and believe it or not it would be quicker to just change the autonav manually on 350 pages. I’m sure the answer is on the forums somewhere but I can’t find anything so any help would be much appreciated and I’m sure you’ve already guessed I am not a programmer!!

 
adz replied on at Permalink Reply
adz
Hey mate, if you log into the Dashboard, then go to Pages & Themes, then Page types, click the Defaults button for the page type you want to amend, put the page into Edit Mode, and then you can add an auto nav, this will generate the autonav on each NEW page that is created with that template. But if you click on it again, and choose Set up on Child Pages, you can now choose which pages to set this up on.

alternatively, you can put the php code that generates the autonav into the page template directly, and then re-upload the template and job done.

Adam.
ugolfmedia replied on at Permalink Reply
Hi Andy... BINGO thanks that has saved me a mountain of time... however (sorry)... the new Autonav which I had already saved in the Scrapbook has shown up on all the 350 pages... great... BUT the Autonav that was there is still there! I've tried to work through this logically based on your reply and have not been able to remove it so I'm sort of back to square one in that I would have to remove it manually on 350 pages!!
adz replied on at Permalink Reply
adz
OK, if you want a very cheeky way to do this:

Modify the name of the area directly in the template file. This means that the association to that area will no longer exist and nothing that was added to that area will show, everything that was created will still exist in the database, but it is a quick and easy (and somewhat dirty) way to clear an area.

So eg if it was called "Nav Area", rename it to something else like "Navigation Area" This will be blank on all pages with that template, then follow my previous instructions.

Adam
ugolfmedia replied on at Permalink Reply
Hi Adam

Firstly let me apologise for calling you Andy in my previous reply!!

I should also refer you to the last sentence in my initial query... I'm not a programmer and so a complete amateur which will help you appreciate why whilst I understand what you're saying I am lost on what you mean by modifying (re naming) the area in the template. I don’t recall ever naming it!

I have used the basic left sidebar page template and just dropped the autonav block from the scrapbook into the left sidebar.

Following your last instructions I can see there are now two "Auto Nav" blocks in the left side panel. One is the original and the other is the new one I set up as per your first set of instructions.

I decided to just delete the original block thinking this may work but it hasn’t! I'm assuming this is partly correct but now need to uncheck the pages where the first autonav was attributed but when I tried to do this all the pages (350 if you recall) were unchecked anyway so I’m confused.

I am very obviously doing something wrong here and hope you will be able to spell it all out for me as previously...

Many thanks so far anyway