First of all - Cocoaholic, it’s excellent module!!!
I’ve got a few ideas for improve module.
1. Regarding with a new Pages module in EE 1.6 it could have been useful add after Template, Category, Entry Title next dropdown - Pages URI.
2. Sometimes is useful something like hide any Item in the menu. For example: I need hide second menu Item because the concrete page is out of order right now. The item will be deleted. Then is hard to innovate him at the same position as before (second position in the menu) if I’m using orderby=”nav_id”.
In the end, I’m finding any solution for this:
I need split menu Items from the menu Group to the 2 column. I don’t want to create Group for each column. Is there any other solution, how to display Items 1-5 in the first column and then 6-10 in the second?
Thank You
Edit: I’m just resolved problem how to split Items to the two column
First column:
<ul>
{exp:navigator group="2" orderby="nav_id" sort="asc"}
{if nav_id >= "17" AND nav_id <= "19"}
<li><a href="http://{nav_url}" title="{nav_description}">{nav_title}</a></li>
{/if}
{/exp:navigator}
</ul>
Second column:
<ul>
{exp:navigator group="2" orderby="nav_id" sort="asc"}
{if nav_id >= "20"}
<li><a href="http://{nav_url}" title="{nav_description}">{nav_title}</a></li>
{/if}
{/exp:navigator}
</ul>
Hi there,
I’m trying to use this module for a navigation menu where the active menu has a class=on. I find method of highlighting the current page to be more sustainable than the CSS method.
But for some reason, I can’t seem to get this to work with this module - I’d appreciate if someone could take a look at my code and let me know if I’m doing something wrong, or whether I’m just trying to do something that this module can’t do?
Note that I have entered the segment_1 value in the Description box, so for example, for the About page, the description is about, and segment_1 is about. Even though both values match (and I have verified this by ‘echo’ing’ the values in a test page), the ‘class=”on” code just won’t appear.
<ul>
{exp:navigator group="1"}
<li><a href="http://{nav_url}" class="on">{nav_title}</a></li>
{/exp:navigator}
</ul>
Thanks,
Ste
One of the best module for EE.
Beside smooth installation and great documentation, I still struggle to implement CSS for this module.
Does anyone have working example where I can study how to implement CSS for this module? What I need is simple - a “selected” button appear automatically according to the weblog.
Thanks for the module
I’m just in the process of building a new site and am currently using the Navigator module - one small problem I just encountered is slightly bugging me:
I’m using the Pages module to create statis pages and custom URIs to reach those. Whenever I add an entry in the Navigator module, the url of the navigation item is the url_title specified in the entry, not the Pages URI. This makes the module unusable with the Pages module, a workaround is to specify the same url_title and Page URI, but this is not gonna work with the customer because of the workflow.
Any ideas, am I missing something? Is this maybe planned for the future or am I invited to hack it in myself? 😊
Any other ideas how I could manage my Pages and Navigation items?
Cocoaholic, I dug into the source code and saw what looks like work in progress for parent/child relationships… is this feature working in 1.1 if I uncomment it, or is there still more to do? And if so… will it be in a 1.2 release?
Thanks for your hard work. This is a sweet plugin as is… just needs a few tweaks 😉
I could use some feedback on adding the Pages URI’s.
The module should remain usable for clients so I’m trying to implement it as simple as possible. I see a few options:
1 - add another select box containing all Pages as listed on the Pages Homepage. 2 - add a checkbox labeled something like “Use Pages URI if available”, next to the “entry Title” select box.
The second option allows you to filter entry titles as usual which is nice, but I’m not sure clients will understand the whole ‘Pages URI’ thing.
Another option could be to have the user a choose what type of URL you want to add, which will take them to the next page which is optimized for that type of URL.
for example: - Add Custom URL - Add Pages URL - Build URL from templates etc.
Please let me know what you think would be a good way to implement this.
TIA, Elwin
Bug Fix:
The count conditional doesn’t work unless you add the following inside the foreach ($TMPL->var_single as $key) loop on line 306 of mod.navigator.php
In my case I added it to line 487 at the end of the loop
case 'count':
// count
$tagdata = $TMPL->swap_var_single($key, $cond['count'], $tagdata);
break;
Also if you want to add a {total} variable in addition to the count (don’t forget bug fix mentioned by tilzinger), add this
$total = sizeof($query->result);
somewhere around line 233, just after where the variable $i = 1 gets assigned, and also
// add dreamscape
$cond['count'] = $i;
$cond['total'] = $total;
the $cont[‘total’] after $cond[‘count’] in the for each loop that follows and also, exactly the same way as for the count bug fix
case 'total':
// total
$tagdata = $TMPL->swap_var_single($key, $cond['total'], $tagdata);
break;
somewhere around 487, in the for loop where variables are being replaced.
This is crucial when you want to tag first / last elements of a navigation list.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.