Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
etc_link_helper: enhanced Edit link tab
This admin-side plugin is inspired by this forum question: how to create a menu of heterogeneous (e.g. articles, categories, sections) txp links? A natural idea is to gather them under some Link
category and use <txp:linklist />
tag for the output.
That’s where etc_link_helper comes in handy: it let’s you avoid url copy-pasting, by appending articles, categories and sections lists to Edit link
tab.
Last edited by etc (2013-07-04 18:55:44)
Offline
Re: etc_link_helper: enhanced Edit link tab
Many thanks to Uli for quick error reports, should be fixed now.
Offline
#3 2014-07-15 06:51:05
- raminrahimi
- Member
- From: India
- Registered: 2013-03-19
- Posts: 278
Re: etc_link_helper: enhanced Edit link tab
how to have sub-menus as well ?
Offline
Offline
Offline
#6 2014-09-21 11:04:48
- raminrahimi
- Member
- From: India
- Registered: 2013-03-19
- Posts: 278
Re: etc_link_helper: enhanced Edit link tab
if we create a menu with etc_link_helper, can we create breadcrumb ?
Offline
Offline
#8 2014-09-23 12:46:06
- raminrahimi
- Member
- From: India
- Registered: 2013-03-19
- Posts: 278
Re: etc_link_helper: enhanced Edit link tab
I’m facing with another problem, when i want to have menu like this:
home = no submenu
about = no submenu
services = has submenu
contact = no submenu
it’s not going to sort like that ! it will come like this:
home
about
contact
services
it mean contact page can’t sort to come after services
home, about, contact = category name: menu
services = it’s sub category of menu
=======
also another problem is when i am on home page, automatically it will assign active class to all menus.
please help me ETC :-(
Offline
Re: etc_link_helper: enhanced Edit link tab
raminrahimi wrote #284122:
it’s not going to sort like that ! it will come like this:
home
about
contact
servicesit mean contact page can’t sort to come after services
home, about, contact = category name: menu
services = it’s sub category of menu
That’s normal, since we output category links (home, about, contact) first, then subcategories (services). If you just want to put contact
at the end, the easiest way is to remove the contact
link from menu
category, and append it manually:
<ul>
<txp:category_list type="link" categories="menu" children="0" form="menu" wraptag="" break="" />
<li><txp:permlink id="contact article id"><txp:title /></txp:permlink></li>
</ul>
also another problem is when i am on home page, automatically it will assign active class to all menus.
please help me ETC :-(
Try to install etc_url
and replace //a[contains(@href, "<txp:page_url />")]
selector by //a[@href="<txp:etc_url />"]
in etc_query
calls.
Offline
#10 2014-09-23 15:58:12
- raminrahimi
- Member
- From: India
- Registered: 2013-03-19
- Posts: 278
Re: etc_link_helper: enhanced Edit link tab
menu sorting:
i think that’s very important to make that facility in your next version, because we may need more menus with different sorting …
because i want to prepare website for my clients, they need dynamic and easy manageable, they don’t know the coding, all the time they goes there and change …
any how, i hope to have that feature on next version, to manage easily any kind of navigation.
thanks
Offline
Re: etc_link_helper: enhanced Edit link tab
Sorting heterogeneous items (like links and categories) is not as trivial as it might seem, but I will think about it.
Offline
#12 2014-09-26 06:27:49
- raminrahimi
- Member
- From: India
- Registered: 2013-03-19
- Posts: 278
Re: etc_link_helper: enhanced Edit link tab
That’s great to see the solution way for that …
could you please let me know approximately date, that would be available to use ?
thanks
Offline