Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#109 2009-03-29 15:17:33

Didjee
Member
From: Delft, The Netherlands
Registered: 2007-09-28
Posts: 14
Website

Re: adi_menu – section hierarchy, section menu and breadcrumb trail

I often use adi_menu together with sed_section_fields. But with adi_menu newer then version 0.8 installed, sections marked as ‘static’ (which is a functionality of sed_section_fields), are still visible in the Article / write section dropdown-menu after logged in as staff writer.
See also my post here.


Didjee

Offline

#110 2009-03-29 21:40:11

gomedia
Plugin Author
Registered: 2008-06-01
Posts: 1,373

Re: adi_menu – section hierarchy, section menu and breadcrumb trail

Didjee wrote:

I often use adi_menu together with sed_section_fields. But with adi_menu newer then version 0.8 installed, sections marked as ‘static’ (which is a functionality of sed_section_fields), are still visible in the Article / write section dropdown-menu after logged in as staff writer.

Yes, 0.8 is where adi_menu fiddles with the section select list. Long shot: does changing the plugin load order help at all (e.g. force adi_menu to be loaded before/after sed_section_fields)?

Offline

#111 2009-03-30 07:20:46

Didjee
Member
From: Delft, The Netherlands
Registered: 2007-09-28
Posts: 14
Website

Re: adi_menu – section hierarchy, section menu and breadcrumb trail

@gomedia: I changed the load order (adi_menu before and after sed_section_fields), but that doesn’t help…


Didjee

Offline

#112 2009-03-30 21:08:06

gomedia
Plugin Author
Registered: 2008-06-01
Posts: 1,373

Re: adi_menu – section hierarchy, section menu and breadcrumb trail

Didjee wrote:

I often use adi_menu together with sed_section_fields. But with adi_menu newer then version 0.8 installed, sections marked as ‘static’ (which is a functionality of sed_section_fields), are still visible in the Article / write section dropdown-menu after logged in as staff writer.

Now fixed in adi_menu version 0.9.2.

Offline

#113 2009-04-05 11:39:49

gomedia
Plugin Author
Registered: 2008-06-01
Posts: 1,373

Re: adi_menu – section hierarchy, section menu and breadcrumb trail

Version 0.10 introduces the concept of Speaking Blocks to adi_menu.

Update summary:

  • enhancement: speaking blocks
  • new adi_menu attributes: ‘speaking_block’ & ‘speaking_block_form’
  • new adi_menu attributes: ‘label’, ‘labeltag’, ‘label_class’, ‘label_id’
  • fix: empty <ul></ul> output for section-less sub-menus

The label enhancement may come in handy with sub-menus.

More details can be found in Post #1 and in the online plugin help.

Offline

#114 2009-04-30 02:28:44

renobird
Member
From: Gainesville, Florida
Registered: 2005-03-02
Posts: 786
Website

Re: adi_menu – section hierarchy, section menu and breadcrumb trail

Just tried to install 0.10:

Fatal error: Allowed memory size of 103809024 bytes exhausted
(tried to allocate 185712640 bytes) in
/xxxx/xxxx/xxxx/html/textpattern/include/txp_plugin.php on line 236

oops.

:)


T

Last edited by renobird (2009-04-30 02:29:13)

Offline

#115 2009-04-30 11:53:10

gomedia
Plugin Author
Registered: 2008-06-01
Posts: 1,373

Re: adi_menu – section hierarchy, section menu and breadcrumb trail

Tom,

oops with a capital OO. Smells like some recursion is disappearing into a deep abyss of its own making.

I’ll contact you directly for some diagnostics.

Adi

Offline

#116 2009-04-30 13:37:50

renobird
Member
From: Gainesville, Florida
Registered: 2005-03-02
Posts: 786
Website

Re: adi_menu – section hierarchy, section menu and breadcrumb trail

Hmm.

I tried again on another machine and everything is fine.

Maybe we’ve passed through Rhea-M – so all mechanical devices and electrical appliances are no longer sentient, self-aware and genocidal.

Reference

:)


Tom

Last edited by renobird (2009-04-30 13:46:25)

Offline

#117 2009-05-06 17:53:01

Gulfcoast
Member
Registered: 2009-04-12
Posts: 76

Re: adi_menu – section hierarchy, section menu and breadcrumb trail

I’m using the adi_menu_breadcrumb plugin with the following tag:

<div id=“breadcrumb”>
<txp:adi_menu_breadcrumb />
<txp:if_individual_article>&#187;&#160;<txp:title/></txp:if_individual_article>
</div>

Is there a reason the breadcrumb trail is not reflecting the “category” when using it i.e. home >> category. It will reflect the trail when clicking on an article link but not when clicking on a category. Thank you.

Offline

#118 2009-05-06 21:49:10

gomedia
Plugin Author
Registered: 2008-06-01
Posts: 1,373

Re: adi_menu – section hierarchy, section menu and breadcrumb trail

Gulfcoast wrote:

Is there a reason the breadcrumb trail is not reflecting the “category” when using it i.e. home >> category. It will reflect the trail when clicking on an article link but not when clicking on a category. Thank you.

Probably because adi_menu is a section hierarchy menu. Are you using it to generate the menu or is adi_menu_breadcrumb used by itself?

Offline

#119 2009-06-21 23:59:26

gomedia
Plugin Author
Registered: 2008-06-01
Posts: 1,373

Re: adi_menu – section hierarchy, section menu and breadcrumb trail

Version 0.11 now available:

  • new adi_menu attributes: ‘wraptag’, ‘wraptag_id’, ‘wraptag_class’
  • enhancement: sections attribute now overrides admin excluded sections

Offline

#120 2009-07-20 09:08:54

Cedric
Archived Plugin Author
From: Germany
Registered: 2009-05-26
Posts: 13
Website

Re: adi_menu – section hierarchy, section menu and breadcrumb trail

Hi Adi, thanks for this great plugin. Really like it! :)

One question: I’ve got different sections with multiple articles in each of them. The menu gets generated fine, no problems at all. But if I click one of the article within a section, the currently active article doesn’t get the “active_class” attribute. Any ideas?

Thanks a lot.

Offline

Board footer

Powered by FluxBB