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

nyeoman's avatar
nyeoman
94 posts
17 years ago
nyeoman's avatar nyeoman

Nope I’ve never touched MSM on either server. Is there a parameter for the pages_nested_menu tag for MSM? something like site=”1”

I’ve also just done a clean exact copy of everything on the live server to my devel server. Site Map works on devel not on live.

The only difference is my devel is in a sub directory: localhost: http://localhost/EE/ live: http://test.mysite.com/

       
nyeoman's avatar
nyeoman
94 posts
17 years ago
nyeoman's avatar nyeoman

Okay this is totally bumming me out. I’ve tried everything I can think of, I’ve un-installed and re-installed the pages_menu module, I’ve checked to make sure php is the same version. All the core files are exactly the same (with the exception of config.php), correct owner and permissions.

The plugin works on localhost (ubuntu LAMP) but gives a blank white screen (without any errors) on live (RH dreamhost) as soon as the tag is included.

Does EE write something to the db upon install of the plugin? maybe something which tells the plugin to look at a certain domain?

FYI: my pages_crumbs plugin works fine on both too.

I’ve started to dive into the code at the end of my day yesterday and found if I commented out line 204 the script will run correctly but displaying errors(obviously).

$base[$seg]['order'] = (String)$this->element($order, $this->titles->result[$title_counter], $this->titles->result[$title_counter]['title']);

I’ll get back into it this morning and see if I can fix it up.

       
timkelty's avatar
timkelty
177 posts
17 years ago
timkelty's avatar timkelty

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?

       
peteburgess's avatar
peteburgess
7 posts
17 years ago
peteburgess's avatar peteburgess

I was wondering if there was a way to exclude a page from the menu? Thanks for any help.

       
Chad Clark's avatar
Chad Clark
20 posts
17 years ago
Chad Clark's avatar Chad Clark
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 am experiencing the same problem that you described. I’m stumped.

       
vibe9's avatar
vibe9
96 posts
17 years ago
vibe9's avatar vibe9

Is there a way to remove the <li> tags from the output of this plugin?

What I’m trying to do is use it to output some XML, so I don’t want (or need) the <li> tags.

       
Ingmar Greil's avatar
Ingmar Greil
29,243 posts
17 years ago
Ingmar Greil's avatar Ingmar Greil

Why not just remove them from the source code? Shouldn’t be too much of a problem to remove all instances of <ul> and <li>.

       
vibe9's avatar
vibe9
96 posts
17 years ago
vibe9's avatar vibe9

I thought of that but did not want to for a few reasons:

a) I am using the plugin elsewhere on the website where I need the ULs and LIs (particularly for nesting) b) I try to avoid “hacks” whenever possible c) Mark Huot’s extensions are usually quite “feature complete”, so thought maybe there was a parameter for this I somehow missed 😊

       
rqdesign's avatar
rqdesign
12 posts
about 17 years ago
rqdesign's avatar rqdesign

I’m currently using this to generate a menu on a website but am struggling to get it working exactly as I need it to. I think it’s something to do with how I’m approaching it, rather then a problem with the plugin so I’m hoping someone has had to do something similar in the past.

Basically I have 3 levels of nested pages like the following -

  • Home

  • Our school – About our school — Message from the head — School ethos

– Curriculum – History – School life

  • Events

  • Vancancies

  • Contact

So you can see the first tier would be Home, our school, events, vacancies, contact. What I need to do is display child pages but only when the user is on a parent page that has child pages.

So if they click on Our school, they will then see a 2nd tier of menu items below the 1st tier, with all the second level items. Then finally if they click a second level item, I want the next page to display the 3rd tier, but only if the second level tier has child elements. This isn’t a drop down menu. The items should only be visible is the page has child items 1 level below it.

I have got something close to this, but my method has flaws. If the user clicks the second level they can see a 3rd level tier, but it’s the latest one entered and it’s the child element of another page.

My code is as follows -

<ul>
{exp:pages_nested_menu include_ul="no" depth="2" {if segment_2}depth="3"{/if} order="menu_order"}

<li {if "{segment_1}" == "{pnm_url_title}"} class="current"{/if} 
{if segment_2}
{if "{segment_2}" == "{pnm_url_title}"} class="current"{/if} 
{/if}
{if "{pnm_title}" =="Our School"} class="current"{/if}>
<a href="http://{pnm_page_url}" title="{pnm_title}">{pnm_title}</a>
</li>

{/exp:pages_nested_menu}
</ul>

I could be going about this in completely the wrong way, so if you know another way to achieve what I’m after then please let me know.

I hope this makes sense, my head is in a scramble and sorry if this has already been asked.

Thanks in advance.

       
vibe9's avatar
vibe9
96 posts
16 years ago
vibe9's avatar vibe9
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 am experiencing the same problem that you described. I’m stumped.

Has anyone found a solution to this? I am having the exactly problem whereby it only shows crumbs for pages that are not an end node.

       
Jack McDade's avatar
Jack McDade
425 posts
16 years ago
Jack McDade's avatar Jack McDade

I think we need get Pages Nested Menu and Structure to merge – structure has a great interface but isn’t flexible. Nested is flexible but doesn’t have a great interface. thoughts?

       
iain's avatar
iain
317 posts
16 years ago
iain's avatar iain
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 am experiencing the same problem that you described. I’m stumped.
Has anyone found a solution to this? I am having the exactly problem whereby it only shows crumbs for pages that are not an end node.

I’ve just come across this too, got me stumped…

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

I’ve written a quick plugin that outputs breadcrumbs from information in the url,

eg, /about_us/team/ben_benny

will output as About Us > Team > Ben Benny

its quite limited, but achieves what I was looking for with the pages module.

You can view the usage and download it from my weblog

Please note, I’m a noob with php, any feedback would be much appreciated.

thanks,

Iain

       
Phil Norton's avatar
Phil Norton
41 posts
16 years ago
Phil Norton's avatar Phil Norton
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…

       
vibe9's avatar
vibe9
96 posts
16 years ago
vibe9's avatar vibe9

Anyone find a solution for this yet?

       
First 3 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.