Hello World..... I found this post searching for more info in simpleNavigation.

I realized that I posted the wrong bit of css code for the fix:


/* Fix Bullets and Spacing in Navigation Menu for Level 2 */
ul.level-2,ul.level2 {
        padding: 0;
        padding-left: 6px;
        list-style-type: none;
        list-style-position: inside;
        margin-left: 0;
}

instead of


/* note: Left Navigation Menu WIDTH */
ul.level-1,ul.level0,ul.level1 {
        width: 170px;
        padding: 0 0 0 0;
        list-style-type: none;
        list-style-position: inside;
        margin-left: 0;
}


I'm still working on a better grasp of how all the levels work in the Navigation, but this article in the Wiki is good to help customize the site tree:

http://www.magnolia.info/wiki/Wiki.jsp? page=SitemapUsingSimpleNavigationTag


-----
Since 2.1RC3, you can now use the SimpleNavigationTag to create a sitemap of your site, using simply:

This shows all existing pages:

<cmsu:simpleNavigation startLevel="1" expandAll="all"/>

This shows all pages that are not hidden in the navigation using the hideInNav attribute:

<cmsu:simpleNavigation startLevel="1" expandAll="show"/>

This will go through all your nodes and expand them all, as the attribute is saying. You can also use the 'endLevel' and 'startLevel'attribute to limit the size of the sitemap to sections and subsections ...



-----



OK, magnolia is so dope!, I only wish there was a better manual for this thing. I guess I should help write one when I finally understand all the inner workings of such a magnificent beast. =)



//cheMs


--
Chems Touati
Macintosh Specialist
Student Computing Labs, Marriott Library
University of Utah
801.585.9811
[EMAIL PROTECTED]



On Jan 13, 2006, at 1:57 PM, (Chems Touati) wrote:

Nice.... thanks so much for your help Felipe.


I found that I got the best results by eliminating the 'width' part. That way the selected page color bar defaults to the width of the menu set above in the level-1:

/* note: Left Navigation Menu WIDTH */
ul.level-1,ul.level0,ul.level1 {
        width: 170px;
        padding: 0 0 0 0;
        list-style-type: none;
        list-style-position: inside;
        margin-left: 0;
}


Respect,

//cheMs

--
Chems Touati
Macintosh Specialist
Student Computing Labs, Marriott Library
University of Utah
801.585.9811
[EMAIL PROTECTED]



On Jan 13, 2006, at 2:44 AM, (Felipe Braun Azambuja) wrote:

Hello!

I had the same problem yesterday, but with the help of the Web Developer extension for Firefox, it was easy to solve the problem ;)

Just added, in main.css, the following (in fact, copied a existing one and altered two or three things):

ul.level-2,ul.level2 { // not sure why both, only the second made effect
        width: 194px;  // at least in Firefox; don't know if IE needs
        padding: 0;    // the first one or not
        padding-left: 6px;
        list-style-type: none;
        list-style-position: inside;
        margin-left: 0;
}

*Maybe* it could have been sized down, don't know if list-style-* is really needed here, I really did not test this possibility.

Wondering if the users would possibly create another subpage, just created the same for level 3 and modified the width and padding- left values.



Felipe Braun Azambuja
[EMAIL PROTECTED]


 (Chems Touati) wrote:
Hello,
Were are the spacing and bullets defined for the Navigation? I can't seem to find these in the main.css ort richEdit.css
For an example of the problem:
http://www.macos.utah.edu/Documentation/Magnolia/ Navigation_error.png
Any tips, pointers, ideas greatly appreciated.
Regards,
//cheMs

----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------


----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------


----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to