navigation macro troubles

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

navigation macro troubles

Bonner Karger
Hello all. I'm really having trouble getting the dotCMS navigation macro to
work for me. It will display the top-level pages just fine, but nothing
within sub-folders. Here is the code I'm using in my nav container:

<!--NAVIGATION START-->
<div id="nav">
#set($openAllLevels=true)
#navigation(2,3)
<br>
</div>
<!--NAVIGATION END-->
<!--HEADER END-->

The site I'm working on is in a sub-folder already, so that's why I'm
starting at level 2. Below that, I have another set of folders, and that's
as deep as this site will go...so I put in level 3 for the second parameter.
No matter what I do, I cannot get the page I have in that sub-folder to show
up in the navigation...even with $openAllLevels set to true. And yes, the
page has "show on menu" checked.

Can anyone shed some light on this? It's killin' me!

BTW- I'm a total dotCMS/Velocity/Java newbie, but not new to XHTML, CSS,
PHP, JS, etc.

THANK YOU!

--
Reply | Threaded
Open this post in threaded view
|

Re: navigation macro troubles

lordfinesse6
Hi Bonner,
I think that also the sub-folders should have "show on menu" selected. Can you check this?

--- In [hidden email], Bonner Karger <bskarger@...> wrote:

>
> Hello all. I'm really having trouble getting the dotCMS navigation macro to
> work for me. It will display the top-level pages just fine, but nothing
> within sub-folders. Here is the code I'm using in my nav container:
>
> <!--NAVIGATION START-->
> <div id="nav">
> #set($openAllLevels=true)
> #navigation(2,3)
> <br>
> </div>
> <!--NAVIGATION END-->
> <!--HEADER END-->
>
> The site I'm working on is in a sub-folder already, so that's why I'm
> starting at level 2. Below that, I have another set of folders, and that's
> as deep as this site will go...so I put in level 3 for the second parameter.
> No matter what I do, I cannot get the page I have in that sub-folder to show
> up in the navigation...even with $openAllLevels set to true. And yes, the
> page has "show on menu" checked.
>
> Can anyone shed some light on this? It's killin' me!
>
> BTW- I'm a total dotCMS/Velocity/Java newbie, but not new to XHTML, CSS,
> PHP, JS, etc.
>
> THANK YOU!
>
> --
>


Reply | Threaded
Open this post in threaded view
|

Re: navigation macro troubles

Brad Rice-3
In reply to this post by Bonner Karger
Is the page published?

On Mon, Mar 29, 2010 at 10:39 PM, Bonner Karger <[hidden email]> wrote:

>
>
> Hello all. I'm really having trouble getting the dotCMS navigation macro to
> work for me. It will display the top-level pages just fine, but nothing
> within sub-folders. Here is the code I'm using in my nav container:
>
> <!--NAVIGATION START-->
> <div id="nav">
> #set($openAllLevels=true)
> #navigation(2,3)
> <br>
> </div>
> <!--NAVIGATION END-->
> <!--HEADER END-->
>
> The site I'm working on is in a sub-folder already, so that's why I'm
> starting at level 2. Below that, I have another set of folders, and that's
> as deep as this site will go...so I put in level 3 for the second parameter.
> No matter what I do, I cannot get the page I have in that sub-folder to show
> up in the navigation...even with $openAllLevels set to true. And yes, the
> page has "show on menu" checked.
>
> Can anyone shed some light on this? It's killin' me!
>
> BTW- I'm a total dotCMS/Velocity/Java newbie, but not new to XHTML, CSS,
> PHP, JS, etc.
>
> THANK YOU!
>
> --
>
>  
>



--
Brad Rice
[hidden email]
~
The church is not a museum for saints, but a hospital for sinners. -C.S.
Lewis
Reply | Threaded
Open this post in threaded view
|

Re: navigation macro troubles

Bonner Karger
Hello,

Thanks for the help. The page is indeed published (I can see it if I type in
the URL directly). I don't know how to set a folder to "show on menu". I
don't get a context menu when right-clicking folders in the dotCMS browser.
Is this a permissions issue? I don't have root access or control.

Thanks!
Bonner

On Tue, Mar 30, 2010 at 7:14 AM, Brad Rice <[hidden email]> wrote:

>
>
> Is the page published?
>
>
> On Mon, Mar 29, 2010 at 10:39 PM, Bonner Karger <[hidden email]>wrote:
>
>>
>>
>> Hello all. I'm really having trouble getting the dotCMS navigation macro
>> to work for me. It will display the top-level pages just fine, but nothing
>> within sub-folders. Here is the code I'm using in my nav container:
>>
>> <!--NAVIGATION START-->
>> <div id="nav">
>> #set($openAllLevels=true)
>> #navigation(2,3)
>> <br>
>> </div>
>> <!--NAVIGATION END-->
>> <!--HEADER END-->
>>
>> The site I'm working on is in a sub-folder already, so that's why I'm
>> starting at level 2. Below that, I have another set of folders, and that's
>> as deep as this site will go...so I put in level 3 for the second parameter.
>> No matter what I do, I cannot get the page I have in that sub-folder to show
>> up in the navigation...even with $openAllLevels set to true. And yes, the
>> page has "show on menu" checked.
>>
>> Can anyone shed some light on this? It's killin' me!
>>
>> BTW- I'm a total dotCMS/Velocity/Java newbie, but not new to XHTML, CSS,
>> PHP, JS, etc.
>>
>> THANK YOU!
>>
>> --
>>
>>
>
>
> --
> Brad Rice
> [hidden email]
> ~
> The church is not a museum for saints, but a hospital for sinners. -C.S.
> Lewis
>  
>



--
**********************************
Bonner Karger
Cedar Creek Web Design
Reply | Threaded
Open this post in threaded view
|

Re: navigation macro troubles

Jon Moores
Are you using a mac?

On 30 March 2010 15:34, Bonner Karger <[hidden email]> wrote:

>
>
> Hello,
>
> Thanks for the help. The page is indeed published (I can see it if I type
> in the URL directly). I don't know how to set a folder to "show on menu". I
> don't get a context menu when right-clicking folders in the dotCMS browser.
> Is this a permissions issue? I don't have root access or control.
>
> Thanks!
> Bonner
>
> On Tue, Mar 30, 2010 at 7:14 AM, Brad Rice <[hidden email]> wrote:
>
>>
>>
>> Is the page published?
>>
>>
>> On Mon, Mar 29, 2010 at 10:39 PM, Bonner Karger <[hidden email]>wrote:
>>
>>>
>>>
>>> Hello all. I'm really having trouble getting the dotCMS navigation macro
>>> to work for me. It will display the top-level pages just fine, but nothing
>>> within sub-folders. Here is the code I'm using in my nav container:
>>>
>>> <!--NAVIGATION START-->
>>> <div id="nav">
>>> #set($openAllLevels=true)
>>> #navigation(2,3)
>>> <br>
>>> </div>
>>> <!--NAVIGATION END-->
>>> <!--HEADER END-->
>>>
>>> The site I'm working on is in a sub-folder already, so that's why I'm
>>> starting at level 2. Below that, I have another set of folders, and that's
>>> as deep as this site will go...so I put in level 3 for the second parameter.
>>> No matter what I do, I cannot get the page I have in that sub-folder to show
>>> up in the navigation...even with $openAllLevels set to true. And yes, the
>>> page has "show on menu" checked.
>>>
>>> Can anyone shed some light on this? It's killin' me!
>>>
>>> BTW- I'm a total dotCMS/Velocity/Java newbie, but not new to XHTML, CSS,
>>> PHP, JS, etc.
>>>
>>> THANK YOU!
>>>
>>> --
>>>
>>>
>>
>>
>> --
>> Brad Rice
>> [hidden email]
>> ~
>> The church is not a museum for saints, but a hospital for sinners. -C.S.
>> Lewis
>>
>
>
>
> --
> **********************************
> Bonner Karger
> Cedar Creek Web Design
>
>  
>
Reply | Threaded
Open this post in threaded view
|

Re: navigation macro troubles

Maria Ahues Bouza
In reply to this post by Bonner Karger
If you're using a Mac, use the Apple Alt Key and then you can right click on
a folder.

On Tue, Mar 30, 2010 at 9:34 AM, Bonner Karger <[hidden email]> wrote:

>
>
> Hello,
>
> Thanks for the help. The page is indeed published (I can see it if I type
> in the URL directly). I don't know how to set a folder to "show on menu". I
> don't get a context menu when right-clicking folders in the dotCMS browser.
> Is this a permissions issue? I don't have root access or control.
>
> Thanks!
> Bonner
>
>
> On Tue, Mar 30, 2010 at 7:14 AM, Brad Rice <[hidden email]> wrote:
>
>>
>>
>> Is the page published?
>>
>>
>> On Mon, Mar 29, 2010 at 10:39 PM, Bonner Karger <[hidden email]>wrote:
>>
>>>
>>>
>>> Hello all. I'm really having trouble getting the dotCMS navigation macro
>>> to work for me. It will display the top-level pages just fine, but nothing
>>> within sub-folders. Here is the code I'm using in my nav container:
>>>
>>> <!--NAVIGATION START-->
>>> <div id="nav">
>>> #set($openAllLevels=true)
>>> #navigation(2,3)
>>> <br>
>>> </div>
>>> <!--NAVIGATION END-->
>>> <!--HEADER END-->
>>>
>>> The site I'm working on is in a sub-folder already, so that's why I'm
>>> starting at level 2. Below that, I have another set of folders, and that's
>>> as deep as this site will go...so I put in level 3 for the second parameter.
>>> No matter what I do, I cannot get the page I have in that sub-folder to show
>>> up in the navigation...even with $openAllLevels set to true. And yes, the
>>> page has "show on menu" checked.
>>>
>>> Can anyone shed some light on this? It's killin' me!
>>>
>>> BTW- I'm a total dotCMS/Velocity/Java newbie, but not new to XHTML, CSS,
>>> PHP, JS, etc.
>>>
>>> THANK YOU!
>>>
>>> --
>>>
>>>
>>
>>
>> --
>> Brad Rice
>> [hidden email]
>> ~
>> The church is not a museum for saints, but a hospital for sinners. -C.S.
>> Lewis
>>
>
>
>
> --
> **********************************
> Bonner Karger
> Cedar Creek Web Design
>
>  
>



--
Maria Ahues Bouza
Managing Director, Professional Services

dotCMS
Main: 305.858.1422
Direct: 786.594.5272
Fax: 305.397.2579
www.dotcms.org
http://www.twitter.com/dotCMS
http://www.twitter.com/mabouza

"Packt Publishing 2009 Finalist for Best Other Open Source CMS"

Please consider the planet before printing this email.
Reply | Threaded
Open this post in threaded view
|

Re: navigation macro troubles

Bonner Karger
Wow. I cannot believe THAT was the issue! I get context menus with a
right-click everywhere else (yes I'm on a Mac, but using a Logitech mouse
with the right click mapped to context menus).

THANK YOU! THANK YOU!



On Tue, Mar 30, 2010 at 8:40 AM, Maria Ahues Bouza <
[hidden email]> wrote:

>
>
> If you're using a Mac, use the Apple Alt Key and then you can right click
> on a folder.
>
> On Tue, Mar 30, 2010 at 9:34 AM, Bonner Karger <[hidden email]> wrote:
>
>>
>>
>> Hello,
>>
>> Thanks for the help. The page is indeed published (I can see it if I type
>> in the URL directly). I don't know how to set a folder to "show on menu". I
>> don't get a context menu when right-clicking folders in the dotCMS browser.
>> Is this a permissions issue? I don't have root access or control.
>>
>> Thanks!
>> Bonner
>>
>>
>> On Tue, Mar 30, 2010 at 7:14 AM, Brad Rice <[hidden email]> wrote:
>>
>>>
>>>
>>> Is the page published?
>>>
>>>
>>> On Mon, Mar 29, 2010 at 10:39 PM, Bonner Karger <[hidden email]>wrote:
>>>
>>>>
>>>>
>>>> Hello all. I'm really having trouble getting the dotCMS navigation macro
>>>> to work for me. It will display the top-level pages just fine, but nothing
>>>> within sub-folders. Here is the code I'm using in my nav container:
>>>>
>>>> <!--NAVIGATION START-->
>>>> <div id="nav">
>>>> #set($openAllLevels=true)
>>>> #navigation(2,3)
>>>> <br>
>>>> </div>
>>>> <!--NAVIGATION END-->
>>>> <!--HEADER END-->
>>>>
>>>> The site I'm working on is in a sub-folder already, so that's why I'm
>>>> starting at level 2. Below that, I have another set of folders, and that's
>>>> as deep as this site will go...so I put in level 3 for the second parameter.
>>>> No matter what I do, I cannot get the page I have in that sub-folder to show
>>>> up in the navigation...even with $openAllLevels set to true. And yes, the
>>>> page has "show on menu" checked.
>>>>
>>>> Can anyone shed some light on this? It's killin' me!
>>>>
>>>> BTW- I'm a total dotCMS/Velocity/Java newbie, but not new to XHTML, CSS,
>>>> PHP, JS, etc.
>>>>
>>>> THANK YOU!
>>>>
>>>> --
>>>>
>>>>
>>>
>>>
>>> --
>>> Brad Rice
>>> [hidden email]
>>> ~
>>> The church is not a museum for saints, but a hospital for sinners. -C.S.
>>> Lewis
>>>
>>
>>
>>
>> --
>> **********************************
>> Bonner Karger
>> Cedar Creek Web Design
>>
>>
>
>
> --
> Maria Ahues Bouza
> Managing Director, Professional Services
>
> dotCMS
> Main: 305.858.1422
> Direct: 786.594.5272
> Fax: 305.397.2579
> www.dotcms.org
> http://www.twitter.com/dotCMS
> http://www.twitter.com/mabouza
>
> "Packt Publishing 2009 Finalist for Best Other Open Source CMS"
>
> Please consider the planet before printing this email.
>  
>



--
Reply | Threaded
Open this post in threaded view
|

Re: navigation macro troubles

Brad Rice-3
I use a mac, too and yes that's wierd. I think I saw in the demo for 1.9
that this would be changing and the mac right click will be honored.

On Tue, Mar 30, 2010 at 9:52 AM, Bonner Karger <[hidden email]> wrote:

>
>
> Wow. I cannot believe THAT was the issue! I get context menus with a
> right-click everywhere else (yes I'm on a Mac, but using a Logitech mouse
> with the right click mapped to context menus).
>
> THANK YOU! THANK YOU!
>
>
>
>
> On Tue, Mar 30, 2010 at 8:40 AM, Maria Ahues Bouza <
> [hidden email]> wrote:
>
>>
>>
>> If you're using a Mac, use the Apple Alt Key and then you can right click
>> on a folder.
>>
>> On Tue, Mar 30, 2010 at 9:34 AM, Bonner Karger <[hidden email]>wrote:
>>
>>>
>>>
>>> Hello,
>>>
>>> Thanks for the help. The page is indeed published (I can see it if I type
>>> in the URL directly). I don't know how to set a folder to "show on menu". I
>>> don't get a context menu when right-clicking folders in the dotCMS browser.
>>> Is this a permissions issue? I don't have root access or control.
>>>
>>> Thanks!
>>> Bonner
>>>
>>>
>>> On Tue, Mar 30, 2010 at 7:14 AM, Brad Rice <[hidden email]> wrote:
>>>
>>>>
>>>>
>>>> Is the page published?
>>>>
>>>>
>>>> On Mon, Mar 29, 2010 at 10:39 PM, Bonner Karger <[hidden email]>wrote:
>>>>
>>>>>
>>>>>
>>>>> Hello all. I'm really having trouble getting the dotCMS navigation
>>>>> macro to work for me. It will display the top-level pages just fine, but
>>>>> nothing within sub-folders. Here is the code I'm using in my nav container:
>>>>>
>>>>> <!--NAVIGATION START-->
>>>>> <div id="nav">
>>>>> #set($openAllLevels=true)
>>>>> #navigation(2,3)
>>>>> <br>
>>>>> </div>
>>>>> <!--NAVIGATION END-->
>>>>> <!--HEADER END-->
>>>>>
>>>>> The site I'm working on is in a sub-folder already, so that's why I'm
>>>>> starting at level 2. Below that, I have another set of folders, and that's
>>>>> as deep as this site will go...so I put in level 3 for the second parameter.
>>>>> No matter what I do, I cannot get the page I have in that sub-folder to show
>>>>> up in the navigation...even with $openAllLevels set to true. And yes, the
>>>>> page has "show on menu" checked.
>>>>>
>>>>> Can anyone shed some light on this? It's killin' me!
>>>>>
>>>>> BTW- I'm a total dotCMS/Velocity/Java newbie, but not new to XHTML,
>>>>> CSS, PHP, JS, etc.
>>>>>
>>>>> THANK YOU!
>>>>>
>>>>> --
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Brad Rice
>>>> [hidden email]
>>>> ~
>>>> The church is not a museum for saints, but a hospital for sinners. -C.S.
>>>> Lewis
>>>>
>>>
>>>
>>>
>>> --
>>> **********************************
>>> Bonner Karger
>>> Cedar Creek Web Design
>>>
>>>
>>
>>
>> --
>> Maria Ahues Bouza
>> Managing Director, Professional Services
>>
>> dotCMS
>> Main: 305.858.1422
>> Direct: 786.594.5272
>> Fax: 305.397.2579
>> www.dotcms.org
>> http://www.twitter.com/dotCMS
>> http://www.twitter.com/mabouza
>>
>> "Packt Publishing 2009 Finalist for Best Other Open Source CMS"
>>
>> Please consider the planet before printing this email.
>>
>
>
>
> --
>
>  
>



--
Brad Rice
[hidden email]
~
The church is not a museum for saints, but a hospital for sinners. -C.S.
Lewis
Reply | Threaded
Open this post in threaded view
|

Re: navigation macro troubles

wezell-2
Administrator
Brad's right.  This has been fixed in 1.9.



Will

----
Will Ezell
www.dotcms.org
phone: 305.858.1422 ext. 286
direct: 978.296.4239
skype: wezell1




On Tue, Mar 30, 2010 at 10:21 AM, Brad Rice <[hidden email]> wrote:

>
>
> I use a mac, too and yes that's wierd. I think I saw in the demo for 1.9
> that this would be changing and the mac right click will be honored.
>
>
> On Tue, Mar 30, 2010 at 9:52 AM, Bonner Karger <[hidden email]> wrote:
>
>>
>>
>> Wow. I cannot believe THAT was the issue! I get context menus with a
>> right-click everywhere else (yes I'm on a Mac, but using a Logitech mouse
>> with the right click mapped to context menus).
>>
>> THANK YOU! THANK YOU!
>>
>>
>>
>>
>> On Tue, Mar 30, 2010 at 8:40 AM, Maria Ahues Bouza <
>> [hidden email]> wrote:
>>
>>>
>>>
>>> If you're using a Mac, use the Apple Alt Key and then you can right click
>>> on a folder.
>>>
>>> On Tue, Mar 30, 2010 at 9:34 AM, Bonner Karger <[hidden email]>wrote:
>>>
>>>>
>>>>
>>>> Hello,
>>>>
>>>> Thanks for the help. The page is indeed published (I can see it if I
>>>> type in the URL directly). I don't know how to set a folder to "show on
>>>> menu". I don't get a context menu when right-clicking folders in the dotCMS
>>>> browser. Is this a permissions issue? I don't have root access or control.
>>>>
>>>> Thanks!
>>>> Bonner
>>>>
>>>>
>>>> On Tue, Mar 30, 2010 at 7:14 AM, Brad Rice <[hidden email]> wrote:
>>>>
>>>>>
>>>>>
>>>>> Is the page published?
>>>>>
>>>>>
>>>>> On Mon, Mar 29, 2010 at 10:39 PM, Bonner Karger <[hidden email]>wrote:
>>>>>
>>>>>>
>>>>>>
>>>>>> Hello all. I'm really having trouble getting the dotCMS navigation
>>>>>> macro to work for me. It will display the top-level pages just fine, but
>>>>>> nothing within sub-folders. Here is the code I'm using in my nav container:
>>>>>>
>>>>>> <!--NAVIGATION START-->
>>>>>> <div id="nav">
>>>>>> #set($openAllLevels=true)
>>>>>> #navigation(2,3)
>>>>>> <br>
>>>>>> </div>
>>>>>> <!--NAVIGATION END-->
>>>>>> <!--HEADER END-->
>>>>>>
>>>>>> The site I'm working on is in a sub-folder already, so that's why I'm
>>>>>> starting at level 2. Below that, I have another set of folders, and that's
>>>>>> as deep as this site will go...so I put in level 3 for the second parameter.
>>>>>> No matter what I do, I cannot get the page I have in that sub-folder to show
>>>>>> up in the navigation...even with $openAllLevels set to true. And yes, the
>>>>>> page has "show on menu" checked.
>>>>>>
>>>>>> Can anyone shed some light on this? It's killin' me!
>>>>>>
>>>>>> BTW- I'm a total dotCMS/Velocity/Java newbie, but not new to XHTML,
>>>>>> CSS, PHP, JS, etc.
>>>>>>
>>>>>> THANK YOU!
>>>>>>
>>>>>> --
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Brad Rice
>>>>> [hidden email]
>>>>> ~
>>>>> The church is not a museum for saints, but a hospital for sinners.
>>>>> -C.S. Lewis
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> **********************************
>>>> Bonner Karger
>>>> Cedar Creek Web Design
>>>>
>>>>
>>>
>>>
>>> --
>>> Maria Ahues Bouza
>>> Managing Director, Professional Services
>>>
>>> dotCMS
>>> Main: 305.858.1422
>>> Direct: 786.594.5272
>>> Fax: 305.397.2579
>>> www.dotcms.org
>>> http://www.twitter.com/dotCMS
>>> http://www.twitter.com/mabouza
>>>
>>> "Packt Publishing 2009 Finalist for Best Other Open Source CMS"
>>>
>>> Please consider the planet before printing this email.
>>>
>>
>>
>>
>> --
>>
>>
>
>
> --
> Brad Rice
> [hidden email]
> ~
> The church is not a museum for saints, but a hospital for sinners. -C.S.
> Lewis
>
>
>
>