Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#106 2009-03-14 07:43:35
- jpdupont
- Member
- Registered: 2004-10-01
- Posts: 752
Re: adi_menu – section hierarchy, section menu and breadcrumb trail
escape=”“ correct the display with txp:adi_menu but not in the adi_menu admin tab.
Offline
#107 2009-03-14 09:12:03
- gomedia
- Plugin Author
- Registered: 2008-06-01
- Posts: 1,373
Re: adi_menu – section hierarchy, section menu and breadcrumb trail
jpdupont wrote:
escape=”“ correct the display with txp:adi_menu but not in the adi_menu admin tab.
Should be a straightforward thing to fix but I’ll contact you off-forum to get some more details.
Adi
Offline
#108 2009-03-15 09:04:39
- gomedia
- Plugin Author
- Registered: 2008-06-01
- Posts: 1,373
Re: adi_menu – section hierarchy, section menu and breadcrumb trail
I’ve had a couple of reports of adi_menu having problems with accented characters. I haven’t really got to the bottom of this but version 0.9.1 has a workaround.
Theescape attribute (in adi_menu & adi_menu_breadcrumb) now has 3 options:
escape="html", still the default: escape all applicable characters (this is what TXP tags do with impunity but adi_menu has problems with)escape="htmlspecial", escape only special characters: &, “, ‘, <, > (this will keep the HTML Tidy police from knocking on your door)escape="", no escape
So, if you’re seeing some dodgy output with accented characters try the escape="htmlspecial" option – the usual suspects (i.e. &, “, ‘, <, >) will be translated but everything else will be left alone.
The hierarchy summary in adi_menu admin uses escape="htmlspecial" by default, so you shouldn’t see any problems there either.
Thanks to jpdupont for testing the new version.
Offline
#109 2009-03-29 15:17:33
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
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
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
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.
:)
—
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>» <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
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