We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Pages Crumbs and Pages Nested Menu

Development and Programming

philbarbato's avatar
philbarbato
2 posts
16 years ago
philbarbato's avatar philbarbato
I’ve been trying out the Pages Crumbs plugin, but I’m having some strange results. It seems to be ‘forgetting’ about some of my page crumb segments. It seems to happen if current page doesn’t have any other pages at that level, or the current page doesn’t have any childen (is an end node). Results seem inconsistent, often times if I create a structure like: about/food/tacos/ …the ‘tacos’ page breadcrumb will show ‘about’, but forget about the ‘food’ (yes, I have created pages for each segment). But then if I create say: about/food/burgers, the tacos breadcrumb will be fixed, but then the burgers breadcrumb will just show ‘about’ or nothing at all. Seems to also fix breadcrumbs for pages if I create a child page (about/food/burgers/toppings) would fix the burgers breadcrumb. Has anyone had any similar issues, or know what could be causing this?
I’m having exactly the same problems (v 1.6.6). I think it might be related to the more recent versions of EE, as I could have sworn I’ve used this plugin in the past without this problem at all. I’m not smart enough to work out what the problem is, but it would be interesting to hear if anyone is using this plugin with earlier versions of EE to see if this is happening, as it might help work out where the problem is…

I’m having the same problem in 1.6.7. I heard Mark wasn’t planning to update his plugins for v2.0, but it looks like he’s already stopped updating them altogether.

I suppose we should try another solution.

       
philbarbato's avatar
philbarbato
2 posts
16 years ago
philbarbato's avatar philbarbato

I tried Iain’s plugin, Crumbee, and it works great. It took a little tweaking of the PHP to make it do what I wanted, but I’m happy.

Thanks Iain!

       
Alex Working on EE's avatar
Alex Working on EE
16 posts
16 years ago
Alex Working on EE's avatar Alex Working on EE

I was running into problems with Pages Nested – Firefox kept throwing ‘Content Encoding’ errors when GZIP was enabled.

The problem was an extra space before the opening ‘<?php’ tag. Deleting the space fixed everything.

       
Jim Pannell's avatar
Jim Pannell
187 posts
16 years ago
Jim Pannell's avatar Jim Pannell

Thanks Alex! I was having exactly the same problem and removing that space has fixed the issue for me.

Got to love them there forums.

Jim

       
iain's avatar
iain
317 posts
16 years ago
iain's avatar iain

does anyone have a solution for multiple fields in the order=”” parameter for the nested menu? eg order=”2|3”

I’ve built a module that allows page ordering in the cp that I hope to release soon, it has preferences so you can assign a weight field per field group, and is multiple site manager enabled…

I’ve also made an extension for selecting a page parent when publishing, publishers can see the page tree on the publish page, click a title and it completes the uri field up to the last segement for the publisher to complete.

Finally, I’ve also tweaked the pages nested menu plugin to be msm friendly, so you can output nested menus from each of your msm sites into a single template with a site=”” parameter

The multiple order parameter is the last job now to move forward… can anyone help?…

       
Jim Pannell's avatar
Jim Pannell
187 posts
15 years ago
Jim Pannell's avatar Jim Pannell

Hey peeps,

Using EE 1.6.8 I’m having big problems getting both Pages Crumbs and Pages Nested Menu to work properly. Does anyone know of either a fix for this or perhaps an alternative plugin (at least for the Pages Nested Menu)?

Cheers

Jim PS I realise that using Structure would probably solve all my problems, but I haven’t set the site up using it and the thought of redoing the whole thing isn’t a good one 😉

       
iain's avatar
iain
317 posts
15 years ago
iain's avatar iain

I know the Pages Crumbs plugin has had an issue for a while, what specific problems are you having with the nested menu plugin?

It’s been working fine for me on 1.6.8…

       
Jim Pannell's avatar
Jim Pannell
187 posts
15 years ago
Jim Pannell's avatar Jim Pannell

Just that it doesn’t produce any output most of the time and then random stuff when it does work (on certain pages only). I’m going to investigate Structure instead as a possible solution.

       
44sunsets's avatar
44sunsets
42 posts
15 years ago
44sunsets's avatar 44sunsets
Just that it doesn’t produce any output most of the time and then random stuff when it does work (on certain pages only). I’m going to investigate Structure instead as a possible solution.

I haven’t experienced that myself. Can you post some code?

The only real bug I’ve come across is the breadcrumbs output omitting one level on a very few select pages within the site tree, and it seems to be totally random as far as I can see.

       
iain's avatar
iain
317 posts
15 years ago
iain's avatar iain
The only real bug I’ve come across is the breadcrumbs output omitting one level on a very few select pages within the site tree, and it seems to be totally random as far as I can see.

The bug happens when you’re visiting a page at the end of a branch, last <li> item from a nested <ul>

       
44sunsets's avatar
44sunsets
42 posts
15 years ago
44sunsets's avatar 44sunsets

You’re right iain! I never noticed that before because I re-order my pages in the site tree using the REeorder module.

You wouldn’t happen to have a fix for the bug would you? 😊 (sorry if it’s already been posted, I haven’t looked at these threads in a while)

       
iain's avatar
iain
317 posts
15 years ago
iain's avatar iain

I wrote Crumbee which builds a breadcrumb from the url, you can download it from from here.

       
carvingCode's avatar
carvingCode
380 posts
15 years ago
carvingCode's avatar carvingCode

Receiving following PHP error:

Warning: natcasesort() expects parameter 1 to be array, null given in C:\wamp\www\current\ee\plugins\pi.pages_nested_menu.php on line 70

The markup is:

{exp:pages_nested_menu root="/{segment_1}/{segment_2}/" include_ul="no" include_root="no" depth="5" parse="inward"}
<li{if '{exp:traverse_segments position="0"}{segment}{/exp:traverse_segments}' == "{pnm_url_title}"} class="here"{/if}><a href="http://{pnm_page_url}">{pnm_title}</a></li>
{/exp:pages_nested_menu}

This is from a site I just duplicated from live to localhost install (needing to remodel). Everything on the duplicated site is working, except for the sub-menus. ‘Pages’ module installed as is the plugin. EEv1.6.9

Any ideas what I am missing?

       
carvingCode's avatar
carvingCode
380 posts
15 years ago
carvingCode's avatar carvingCode

I found the problem.

{whew… now THAT took some digging….}

v1.1.9 of the plugin is not compatible with EE v1.6.9. The array used to store pages data changed. See here.

I made the modifications and this solved the problem I reported above. Am attaching the updated plugin.

       
Spark Creative's avatar
Spark Creative
28 posts
12 years ago
Spark Creative's avatar Spark Creative

Thank you carvingCode! Was updating an older EE site (v1.6.4) today and this saved the day!

       
First 4 5 6

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.