MODx Community Forums
The MODx Blog
Donations
Feedburner Feeds
Documentation
Bugs & Requests
The Wiki
download MODx
plugins, modules, snippets
online demo
Oct 13, 2008, 02:08 AM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
modxcms.com
web
MODxCMS.com
Forums
Help
Login
Register
News
:Read what MODx Developers say:
MODx Dev. Blogs
MODx Community Forums
»
Support
»
General Support
(Moderators:
zi
,
PaulGregory
)
»
DropMenu's problem
Pages: [
1
]
Go Down
« Previous topic
Next topic »
Print
Author
Topic: DropMenu's problem (Read 4398 times)
0 Members and 1 Guest are viewing this topic.
openagate
Committed to MODx
Posts: 768
DropMenu's problem
«
on:
Jan 28, 2006, 07:59 AM »
The Problem of such plan:
I want to use the DropMenu several times on one page in different places. Herewith in each event with different input: maxlevels and startdoc.
But there is determined restrictions for the request to database.
Is there some way to cause the DropMenu only once? And in rest events to work with an array which already got by DropMenu.
Logged
Artima -- неуч!
Осторожно: преступная локализация -- modx-cms.ru
rthrash
Foundation
Posts: 9,290
Re: DropMenu's problem
«
Reply #1 on:
Jan 28, 2006, 08:18 AM »
Currently, that is not possible. Sorry!
Logged
MODx
is a framework that allows web professionals to turn over sites to end-users for daily maintenance without worrying. Community participation and questions are encouraged, especially when you
help us help you
,
read the wiki
, and review snippet parameters – even if you have to look at the source. Searching the forums helps, too.
Ryan Thrash
MODx Co-Founder
Principal @
Collabpad
work
productively.
work
intelligently.
work
together.
MODx
Current
|
Dev
|
SVN Root
|
JIRA (Bugs)
|
Confluence (097 Wiki)
|
Fisheye SVN Browser
openagate
Committed to MODx
Posts: 768
Re: DropMenu's problem
«
Reply #2 on:
Jan 28, 2006, 08:47 AM »
Thanx for a sorry...
Sadness has stolen a quietness from my heart:(
hope, this problem will be solved in the future;)
Logged
Artima -- неуч!
Осторожно: преступная локализация -- modx-cms.ru
Kunal Kapoor
Full Member
Posts: 145
Effective, Functional, Standards Compliant
Re: DropMenu's problem
«
Reply #3 on:
Jan 28, 2006, 08:50 AM »
I found another little issue but isn't really major:
If you were to call the dropmenu snippet, and select &selfAsLink=`0` and hereClass=`current`, this works fine. However, if you had &selfAsLink=`1`, &hereClass=`current` no longer works.
Like I said, it wasn't a major issue!
Logged
Kunal Kapoor
Technical Director
Limesharp Internet Limited
- Effective, Functional, Standards Compliant
IRC
Nick:
KingKoopa
Skype
ID:
KingKoopa16
sottwell
Documentation Team
Posts: 8,157
Re: DropMenu's problem
«
Reply #4 on:
Jan 28, 2006, 09:11 AM »
If you're using the sliding-doors tab image technique, it is a big problem. You need both the li and the a elements for styling, plus you need the "here" class for styling the current link. I fixed it (sort of...) by changing line 259
Code:
if ($itm && !$selfAsLink && ($child['id'] == $modx->documentIdentifier)) {
to
Code:
if ($itm && ($child['id'] == $modx->documentIdentifier)) {
This way it outputs the "here" class whether it's a link or not. Now both can be styled nicely using the sliding-doors technique. I'm not sure how this will affect nested links; I'm only using it to style single-level horizontal tab style menus.
Logged
sottwell.com has moved to a lovely Solaris 10 server!
Log in
username guest, password guestuser.
Templates are now becoming available at
http://sottwell.com/templates.html
Kunal Kapoor
Full Member
Posts: 145
Effective, Functional, Standards Compliant
Re: DropMenu's problem
«
Reply #5 on:
Jan 28, 2006, 09:14 AM »
Thanks for that. Works a treat!
Logged
Kunal Kapoor
Technical Director
Limesharp Internet Limited
- Effective, Functional, Standards Compliant
IRC
Nick:
KingKoopa
Skype
ID:
KingKoopa16
mikedfunk
Jr. Member
Posts: 1
Re: DropMenu's problem
«
Reply #6 on:
Feb 14, 2006, 12:15 PM »
Thank you, I was having this exact problem. I wanted the link to be styled as an active tab and this would have been a pain without an a element. Many thanks!
Logged
MadeMyDay
Moderators
Posts: 817
Re: DropMenu's problem
«
Reply #7 on:
Mar 30, 2006, 11:26 AM »
lol, I should read the forum first
Just posted it here:
http://modxcms.com/bugs/task/323
Marc
Logged
Befreiphone
|
http://www.modxcms.de
|
Webdesign Karlsruhe
davidm
Marketing & Design Team
Posts: 6,659
The best way to predict the future is to invent it
Re: DropMenu's problem
«
Reply #8 on:
Jun 14, 2006, 06:10 AM »
Quote from: sottwell on Jan 28, 2006, 09:11 AM
If you're using the sliding-doors tab image technique, it is a big problem. You need both the li and the a elements for styling, plus you need the "here" class for styling the current link. I fixed it (sort of...) by changing line 259 (...) This way it outputs the "here" class whether it's a link or not. Now both can be styled nicely using the sliding-doors technique. I'm not sure how this will affect nested links; I'm only using it to style single-level horizontal tab style menus.
Thanks a LOT Susan for the fix
!
I was going crazy with this...
I'll soon report about the nested links, since I have been having a big problem to have a 3-level menu working as expected...
Edit : It works A-OK with my 3-level menu
I wish I had seen this thread before losing a few hours over this
«
Last Edit: Jun 14, 2006, 08:15 AM by davidm
»
Logged
blog.nodeo.net
:
Pour un web libre, moderne et ouvert!
:: |
! Nouveau !
Les forums modxcms.fr
:
Participez à l'élaboration du site MODx francophone !
! Nouveau !
:.
MODx est l'outil idéal pour les developpeurs et webdesigners qui cherchent un framework de gestion de contenu hautement flexible et performant, tout en étant simple d'accès pour les utilisateurs finaux.
Config :
Apache 2.2.8 - MySQL 5.0.45 - PHP 5.2.6 | Debian 4.0 (Etch)
Réalisations sous MODx :
nodeo.net
|
gican.asso.fr
|
michelez-notaires.com
|
amadom.gerondicap.com
|
sworld.com
|
soleil.info
et 3 autres en cours de réalisation
The Man Can!
Testers
Posts: 282
Re: DropMenu's problem
«
Reply #9 on:
Jun 21, 2006, 09:03 PM »
Quote from: davidm on Jun 14, 2006, 06:10 AM
Thanks a LOT Susan for the fix
!
Ditto on that, Susan. Sliding doors working like a charm now.
Logged
Need
MODx Ecommerce?
Try
FoxyCart!
Pages: [
1
]
Go Up
Print
« Previous topic
Next topic »
Jump to:
Please select a destination:
-----------------------------
Announcements
-----------------------------
=> Important News
=> Security Notices
-----------------------------
Commercial Support
-----------------------------
=> [CS] About Commercial Support
-----------------------------
Development & Coding
-----------------------------
=> Commercial Inquiries & Bounties
=> Core Code
===> MODx Next
===> xPDO
=> Module, Plugin & Snippet Creation and Modification
=> In Development
=> Templates
=> Internationalization
===> Bulgarian
===> Chinese
===> Czech
===> Dutch
===> French
===> German
===> Irish
===> Italian
===> Japanese
===> Polish
===> Portuguese
===> Russian
===> Slovak
===> Spanish
===> Swedish
===> Persian - فارسي
-----------------------------
Support
-----------------------------
=> Release Support
===> 0.9.6.2
===> 0.9.6.1
===> 0.9.6
===> 0.9.5 and earlier
=> General Support
===> MODx 101
===> E-Commerce, E-Marketing, Analytics & SEO
===> Hosting Experiences
===> IIS / Windows Hosting Issues
=> Documentation, Tips & Tricks
===> Documentation Suggestions & Corrections
-----------------------------
Add-ons, Extensions & Elements
-----------------------------
=> Module, Plugin & Snippet Usage
=> General Repository Items Support
=> Navigation & Tagging/Taxonomy
===> Wayfinder & DropMenu
=> Creating & Repurposing Content
===> Ditto
===> Jot
===> QuickEdit
=> Users, Authentication & Personalization
===> WebloginPE
===> WebLogin, WebSignup and WebChangePwd
=> Rich Text Editors & File Browser
===> TinyMCE
===> FCKeditor
===> MCPuck File Browser
=> Forms, Form Processing & Anti-Spam
===> eForm
=> Search
===> AjaxSearch
=> E-business
=> Images, Videos & Podcasts
===> MaxiGallery
=> Manager, Parser & the Core
===> Doc Finder
===> ManagerManager
===> PHx
=> Templates
-----------------------------
General Discussions
-----------------------------
=> General MODx Discussions
=> Web Design and Development
=> Wishlist
=> You and Your Sites
=> modxcms.com Discussions and Suggestions
=> Off-topic
-----------------------------
Czech Community
-----------------------------
=> Oznámení
===> Důležitá oznámení/novinky
===> Bezpečnost
=> Podpora
===> FAQ (často kladené otázky)
===> Instalace
===> Moduly, pluginy, "snippets & code" (šablony zdrojových kódů)
===> Design & Šablony
=> Dokumentace, tutoriály (návody) a překlady
===> Dokumentace
===> Tutoriály (návody)
===> Překlady (lokalizace)
=> Komunita
===> Oznámení
===> Představte se, prosím
===> Ukázky práce
===> Různé aneb cokoli co se jinam nehodí
-----------------------------
Bulgarian Community
-----------------------------
=> Поддръжка
===> Често задавани въпроси
===> Инсталация
===> Модули, Плъгини, Снипети и код
===> Дизайн и Шаблони
=> Документация, Ръководства и Превод
===> Документация
===> Ръководства
===> Превод
=> Общество
===> Съобщения
===> Представете се
===> Представете сайта си
===> Дискусии извън MODx
-----------------------------
Dutch Community
-----------------------------
=> Ondersteuning
===> Veel gestelde vragen
===> Modules, Plugins, Snippets & Code
===> Design & Templates
=> Documentatie, Tutorials en Vertalingen
===> Documentatie
===> Tutorials
===> Vertalingen
=> Community
===> Aankondigingen
===> Stel jezelf voor
===> Site Showcase
===> De stamkroeg
-----------------------------
Finnish Community
-----------------------------
=> Tuki
===> UKK
===> Asennus
===> Moduulit, liitännäiset, koodinpätkät
===> Ulkoasu/Sivustopohjat
=> Dokumentaatio, oppaat ja käännökset
===> Dokumentaatio
===> Käännökset
===> Oppaat
=> Yhteisö
===> Tiedotteet
===> Esittele itsesi
===> MODx sivustosi
===> Kahvihuone
-----------------------------
Filipino Community
-----------------------------
=> Suporta
===> Kadalasang tanong
===> Instalasyon
===> Moduler, Maidadagdag, Karagdagang mga Code
===> Desenyo at Templates
=> Dokumentasyon, Mga Turo, Mga Salin
===> Dokumentasyon
===> Mga Turo
===> Mga Salin
=> Kumunidad
===> Anunsyo
===> Ipakilala ang sarili
===> Ang Galing ng pinoy
===> Tsismisan atbp
-----------------------------
French Community
-----------------------------
=> Support
===> FAQ
===> Installation
===> Module, plugin, snippets
===> Design/Templates
=> Documentation, Tutoriels et Traductions
===> Documentation
===> Traduction
===> Tutoriels
=> Communauté
===> Annonces
===> Présentez vous
===> Vos sites
===> Le Bistrot Français
-----------------------------
German Community
-----------------------------
=> Support (de)
===> FAQ (de)
===> Installation (de)
===> Module, Plugins, Snippets & Code (de)
===> Design & Templates (de)
=> Dokumentation, Tutorials und Übersetzung
===> Dokumentation
===> Tutorials (de)
===> Übersetzung
=> Community (de)
===> Ankündigungen
===> Stellt Euch vor
===> Beispielseiten
===> Off Topic / Verschiedenes
-----------------------------
Irish Community
-----------------------------
=> Tacaíocht
===> CC Ceisteanna Coitianta
===> Breiseáin (cláir bhreise), Snippets & Comhaid
===> Suiteáil
===> Dearadh & Teimpléid
=> Doiciméid, Teagascóireacht agus Aistriúchán
===> Doiciméadú
===> Teagascóireacht
===> Aistriúchán
=> Pobal
===> Fógraí
===> Cuir Tú Féin in Aithne
===> Gailearaí an Láithreáin
===> Caifé / An Tábhairne / Ábhar Cainte Eile / Ilghnéitheach
-----------------------------
Italian Community
-----------------------------
=> Supporto
===> FAQ
===> Installazione
===> Moduli, Plugin, Snippet e altro codice
===> Web Design e Template
=> Documentazione, Tutorial e Traduzione
===> Documentazione
===> Tutorial
===> Traduzione
=> Comunità
===> Annunci
===> Presentazioni
===> Siti in vetrina
===> Chiacchiere in libertà
-----------------------------
Japanese Community
-----------------------------
=> サポート
===> 良くある質問
===> インストール
===> モジュール・プラグイン・スニペット・本体
===> デザインやテンプレート
=> マニュアル・テュートリアル・翻訳
===> マニュアル
===> 事例集、テュートリアル
===> 日本語化
=> コミュニティ
===> お知らせ
===> MODxサイト展示場
===> 自己紹介
===> 雑談
===> 国産リソース
-----------------------------
Persian Community
-----------------------------
=> پشتيباني
===> راهنما
===> نصب
===> ماژول , پلاگین ها , کد ها و جزییات
===> طراحی و قالب ها
=> مستند سازی , آموزش ها و ترجمه ها
===> مستند سازی
===> آموزش ها
===> ترجمه ها
=> انجمن ها
===> اخبار
===> معرفی کردن خود
===> نمایش دادن سایت ها
===> بحث های عمومی و سایر موضوعات
-----------------------------
Polish Community
-----------------------------
=> Wsparcie
===> FAQ
===> Instalacja
===> Moduły, pluginy, snipety i kod
===> Wygląd i szablony
=> Dokumentacja, tutoriale i tłumaczenie
===> Dokumentacja
===> Tutoriale
===> Tłumaczenie
=> Społeczność
===> Ogłoszenia
===> Przedstaw się
===> Twój serwis WWW
===> Hyde Park
-----------------------------
Portuguese Community
-----------------------------
=> Suporte
===> FAQ - Dúvidas Frequentes
===> Instalação
===> Módulos, Plugins, Snippets e Código
===> Design e Templates
=> Documentação, Guias e Traduções
===> Documentação
===> Guias
===> Traduções
=> Comunidade
===> Anúncios
===> Apresente-se!
===> Bar da esquina (fora de tópico)
===> Portfólio de Sites
-----------------------------
Russian Community
-----------------------------
=> Поддержка
===> ЧАВО (FAQ)
===> Установка
===> Модули, плагины, сниппеты и код
===> Дизайны и шаблоны
=> Документация, Уроки, Перевод
===> Документация
===> Уроки
===> Перевод
=> Сообщество
===> Объявления
===> Представьтесь публике
===> Галерея сайтов
===> Диван
-----------------------------
Scandinavian Community
-----------------------------
=> Support
===> Frågor och svar
===> Installation
===> Moduler, plugins, snippets och kod
===> Design & sidmallar
=> Dokumentation, guider och översättningar
===> Dokumentation
===> Guider
===> Översättningar
=> Webbgemenskap
===> Meddelanden
===> Presentera dig själv
===> Visa upp dina webbsidor
===> Ordet fritt
-----------------------------
Spanish Community
-----------------------------
=> Soporte
===> FAQ
===> Instalación
===> Modulos, Plugins, Snippets & Código
===> Diseño y plantillas
=> Documentación, Tutoriales y Traducciones
===> Documentatción
===> Tutoriales
===> Traducciones
=> Comunidad
===> Anuncios
===> Presentaciones personales
===> Muestra de sitios
===> El Café
-----------------------------
TÜRKÇE (Turkish)
-----------------------------
=> Destek
===> SSS
===> Kurulum
===> Modüller, Pluginler, Snippetlar & Kodlar
===> Dizayn & Temalar
=> Belgeleme, Eğitmenler ve Çeviri
===> Belgeleme
===> Eğitmenler
===> Çeviri
=> Topluluk
===> Duyurular
===> Kendinizi Tanıtın
===> Site Vitrini
===> Konu Dışı