Hot answers tagged

3

Use NavEE's Regular Expression field for the FAQs menu item. This tells NavEE to match an item as selected based on that rule (using preg_match()), rather than just matching the URL itself. So in your case you could enter /faqs/.


3

If you use that code in an EE template (rather than a Stash embed) then EE will parse {segment_1} early, before tags are run and before Stash can escape it. See step 1 here: http://loweblog.com/downloads/ee-parse-order.pdf The good news is you can access any global variable or snippet as a tag like this: {exp:stash:get name="segment_1" type="snippet"} ...


2

You need to start your URLs with a forward slash so: work/category/web/ becomes /work/category/web/


2

After days or trying to work it out and then finally posting my question on EESO I actually stumbled across the answer (literally minutes after posting my question). Brandon Richards posted the answer on The Outfit, Inc forum (https://getsatisfaction.com/booyant/topics/twitter_bootstrap#reply_14550626). Below is how you can achieve Bootstrap 3 navigation ...


2

Ok, I don't know what was happening, or why the casing was "off", but the issue was due to the following lines inside of EE's View.php service file: /** * Get the full server path to the view file backing this * view object. * * @return String The full server path */ protected function getPath() { $path = $this->provider->getPath().'/View'; ...


1

The issue with fields not populating will be hard to diagnose without you providing more information about how the fields were defined and how you are trying to access them / include in templates. As for the Publisher / NavEE support - wasn't too hard to find this on the BoldMinded site, which is indicated as working with EE4/5. If this doesn't work with EE5,...


1

ZEDG: if I'm understanding your setup correctly, each entry in your 'Content' channel equates to a specific page on the site, right? So each 'page' has its own entry_id. Thus, you could run a conditional to examine on the entry_id of each result, and provide specific template code for each possibility. (Switchee would be a better option for this task than ...


1

What happens when you remove/alter either {start_nav_from_parent="true"} or {start_nav_from_parent_depth="2"} It's not even adding the on the page without children (just thinking outloud)....


1

I don't think if there is such a tag in NavEE so that you can check that current page is from the navigation of NavEE module. But you can try SQL with query module like: {exp:query sql="SELECT COUNT(*) AS total_navs FROM exp_navee WHERE link LIKE '%{current_path}%'"} {if total_navs == 0} ###### code ###### {/if} {/exp:query} {current_path} is standard ...


Only top voted, non community-wiki answers of a minimum length are eligible