MODx Community Forums
The MODx Blog
Donations
Feedburner Feeds
Documentation
Bugs & Requests
The Wiki
download MODx
plugins, modules, snippets
online demo
Jul 05, 2009, 09:13 PM
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
Search via SMF
or Google:
modx forums
all of modxcms.com
web
MODxCMS.com
Forums
Help
Login
Register
News
:Donate to MODx:
Donations
MODx Community Forums
»
Development & Coding
»
Templates
»
[Template] Andreas02
Pages: [
1
]
Go Down
« Previous topic
Next topic »
Print
Author
Topic: [Template] Andreas02 (Read 10153 times)
0 Members and 1 Guest are viewing this topic.
sottwell
Documentation Team
Posts: 8,837
[Template] Andreas02
«
on:
Nov 03, 2005, 03:39 AM »
This is a nice template. A few things to take note of:
There are three separate menus. At the very top is a menu which can be used for external links, or dividing the internal installation of MODx into different virtual sites, for example a multilanguage site.
In the case of a list of external links, it should use an unpublished (or not shown in menu) folder of weblinks. In the case of internal virtual sites, set the DropMenu snippet there to use 0. Each folder in the root of the Tree will contain the virtual site. There are a number of ways to control the main menu in that case, for example see
http://modxcms.com/forums/index.php/topic,409.0.html
for one method.
The main menu is a single-level list. Any submenus are displayed in a sidebar menu. In these circumstances, you cannot use an empty folder to contain a submenu. All of the main menu items must be linkable documents, with content and a template.
The submenus are preceded by a little snippet that determines if there will be any submenu items. If there are, it displays a menu header.
You will most likely want to replace the text in the template with chunks containing your own content. It's better to use chunks and keep text out of the template, not only to keep your template code clean and obvious, but also so you can use the same chunks of content in other templates and only need to make changes to the chunk, not to every template.
Andreas02.jpg
(17.82 KB, 200x117 - viewed 4939 times.)
Andreas02.zip
(101.63 KB - downloaded 1255 times.)
«
Last Edit: Nov 03, 2005, 11:45 AM by sottwell
»
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
sottwell
Documentation Team
Posts: 8,837
Re: [Template] Andreas02
«
Reply #1 on:
Nov 03, 2005, 08:14 AM »
There is an issue with the sidebar menu if it has multiple levels. I'm working on it, and will attach the snippet to use as soon as it's all finished.
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
sottwell
Documentation Team
Posts: 8,837
Re: [Template] Andreas02
«
Reply #2 on:
Nov 03, 2005, 11:48 AM »
Ok, the template has been corrected to properly handle the sidebar submenus. It no longer adds a heading to the menu. The snippet used to set the correct startDoc id is included in the updated download attached to the first post. It is also being released in the Snippets etc. forum.
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
stupid
Jr. Member
Posts: 30
Formating issues.
«
Reply #3 on:
Nov 10, 2005, 11:03 PM »
Just a quick query, probably a stupid CSS question, but I'm having trouble with the formatting of the top menu bar, In Firefox, it overlaps the img by approx 1 pxl, and in IE (god I hate having to deal with IE) there is about a 4 or 5 pxl Gap between the top menu and the img.
Any suggestions would be greatly appreciated!
Logged
sottwell
Documentation Team
Posts: 8,837
Re: [Template] Andreas02
«
Reply #4 on:
Nov 11, 2005, 12:43 PM »
Yes, the issue is the CSS. All I can suggest is fiddle the CSS until it looks good. I often have to put a conditional style block in the template to handle IE. There are "hacks" for it, but they usually depend on bugs in IE that they fix so the hacks don't work any more, but the problem you used the hacks to fix are still there!
I'll load it up in IE tomorrow morning, and see what needs to be done to fix it.
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
Dr. Scotty Delicious
Coding Team
Posts: 1,183
D.F.P.A.
Re: [Template] Andreas02
«
Reply #5 on:
Nov 11, 2005, 01:10 PM »
Ahh... The dreaded style with IE. The problem: your page looks great in every browser... except, IE screws with your beautiful positioning. Especially noticeable if you use "float:" in your CSS. Rumored to be repaired in IE7, IE6 and below are still riddled with problems involving web-standard CSS1 positioning classes. The easiest (and most universal) fix I have found is a conditional comment with style info:
http://www.quirksmode.org/css/condcom.html
I use this for the margins on my lists ( The subNavigation section ) on
my website
.
-sD-
scotty Delicious
Logged
My Blog:
http://scottydelicious.com
stupid
Jr. Member
Posts: 30
Re: [Template] Andreas02
«
Reply #6 on:
Nov 21, 2005, 04:44 PM »
Cheers Scotty,
Yeah that conditional sorted me out, just tweaked the bottom margin to -7px in the CSS and in the IE conditinal set it to -14px and all is now right with the world. Apart from IE as nothing will ever be right with that browser it would seem ^_^
Thanks again.
Logged
DNA
Member
Posts: 72
Re: [Template] Andreas02
«
Reply #7 on:
Apr 25, 2006, 02:55 PM »
#Edit#
«
Last Edit: Apr 26, 2006, 07:11 AM by DNA
»
Logged
sophietje
Jr. Member
Posts: 13
Re: [Template] Andreas02
«
Reply #8 on:
Aug 22, 2006, 03:16 PM »
How to get the menu in the sidebar working? I can't get it right with the css provided. It shows an ordinary list instead of the markup that is assigned to the sidemenu....
I don't use the Ultimate Parent snippet from the zipfile, I use the snippet that was already in my MODX.
Logged
sottwell
Documentation Team
Posts: 8,837
Re: [Template] Andreas02
«
Reply #9 on:
Aug 22, 2006, 03:44 PM »
Do View Source on your page, and check the id or class names for the containers (div or ul) for the menu. You'll need to adjust the CSS to match those.
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
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
-----------------------------
Add-ons, Extensions & Elements
-----------------------------
=> Module, Plugin & Snippet Usage
=> General Repository Items Support
=> Navigation & Tagging/Taxonomy
===> Wayfinder & DropMenu
=> Creating & Repurposing Content
===> Ditto
===> Jot
===> Front-end Document Management
=> 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
=> Polls, Calendars, Address Book and Community
=> Third-party integrations
=> Images, Videos & Podcasts
===> MaxiGallery
=> Manager, Parser & the Core
===> Backup & Versioning
===> Doc Finder
===> ManagerManager
===> PHx
=> Templates
-----------------------------
Support
-----------------------------
=> Release Support
===> 0.9.6.3
===> 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
-----------------------------
General Discussions
-----------------------------
=> General MODx Discussions
=> Webworker Lounge
=> Wishlist
=> You and Your Sites
=> modxcms.com Discussions and Suggestions
=> Off-topic
-----------------------------
International Support & Translations
-----------------------------
=> Internationalization
=> Bulgarian
===> Поддръжка
=====> Често задавани въпроси
=====> Инсталация
=====> Модули, Плъгини, Снипети и код
=====> Дизайн и Шаблони
===> Документация, Ръководства и Превод
=====> Документация
=====> Ръководства
=====> Превод
===> Общество
=====> Съобщения
=====> Представете се
=====> Представете сайта си
=====> Дискусии извън MODx
=> Chinese
=> Czech
===> Oznámení
=====> Důleitá oznámení/novinky
=====> Bezpečnost
===> Komunita
=====> Oznámení
=====> Představte se, prosím
=====> Ukázky práce
=====> Různé aneb cokoli co se jinam nehodí
===> 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)
=> Dutch
===> 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
=> Filipino
===> 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
=> Finnish
===> 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
=> French
===> 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
===> 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
=> Hebrew
===> הכרזה
=====> חדשות חשובות
=====> אבטחה
===> תמיכה
=====> התקנה
=====> תיעוד, מדריכים ותרגומים
=====> עיצוב ותבניות
=====> שאלות נפוצות
===> תיעוד, מדריכים ותרגומים
=====> תיעוד
=====> מדריכים
=====> תרגומים
===> קהילה
=====> הודעות
=====> הצג את עצמך
=====> אתרים לדוגמא
=====> כללי
=> Irish
=> Italian
===> 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
===> サポート
=====> 良くある質問
=====> インストール
=====> モジュール・プラグイン・スニペット・本体
=====> デザインやテンプレート
===> マニュアル・テュートリアル・翻訳
=====> マニュアル
=====> 事例集、テュートリアル
=====> 日本語化
===> コミュニティ
=====> お知らせ
=====> MODxサイト展示場
=====> 自己紹介
=====> 雑談
=====> 国産リソース
=> Persian - فارسي
===> پشتيباني
=====> راهنما
=====> نصب
=====> ماژول , پلاگین ها , کد ها و جزییات
=====> طراحی و قالب ها
===> مستند سازی , آموزش ها و ترجمه ها
=====> مستند سازی
=====> آموزش ها
=====> ترجمه ها
===> انجمن ها
=====> اخبار
=====> معرفی کردن خود
=====> نمایش دادن سایت ها
=====> بحث های عمومی و سایر موضوعات
=> Polish
===> 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
===> 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
===> Поддержка
=====> ЧАВО (FAQ)
=====> Установка
=====> Модули, плагины, сниппеты и код
=====> Дизайны и шаблоны
===> Документация, Уроки, Перевод
=====> Документация
=====> Уроки
=====> Перевод
===> Сообщество
=====> Объявления
=====> Представьтесь публике
=====> Галерея сайтов
=====> Диван
=> Scandanavian
===> 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
=> Slovak
=> Spanish
===> 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é
=> Swedish
=> 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ışı