Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged navigation



« Prev 1 2
This snippet shows you how to get previous and next post in category URL.
0 2508 posted 11 years ago by fedek6
Improved Layered Navigation by Amasty is a premium 5-year-old Magento extension, to which you can entrust your navigation. It includes 7 mods: Seo layered navigation Shop by brands Ajax Layered Navigation Layered navigation filt...
0 2467 posted 11 years ago by Amasty
Create navigation links without the need of a plugin, using paginate_links function of wordpress core.
0 3669 posted 13 years ago by rudwolf
Manually print out a category-navigation in a magento frontend template. within "stristr" you can enter an array of category-ids that should be hidden from display.
0 2398 posted 13 years ago by luxmedia
Add this to your functions.php file
0 1464 posted 14 years ago by xcsteve99
0 2209 posted 14 years ago by kbrown
0 2264 posted 14 years ago by errkk
This was for a customer. Basically it does this: If a page has no children, it shows ... nothing, if a page has a parent, it shows all other children of this parent (siblings) and the current page if a page has a parent AND children (3rd level)...
0 2343 posted 14 years ago by zartgesotten
usefull navigation stuff works in magento 1.5.0.1 http://www.webdesign-blog.ch/?p=17 http://www.pauldonnellydesigns.com/blog/get-parent-category-name-in-magento/
0 2455 posted 14 years ago by nico65
If you have Zend_Navigation in your application, you will use navigation.xml. This code set the page title ($this->view->headTitle()) with the current page title in navigation.xml. $navigation->current() doesn't work in my opinion.
0 2589 posted 14 years ago by postNuKe
Fügen Sie diesen Codeabschnitt auf allen Seiten die mit der Breadcrumb-Navigation ausgestattet werden sollen, an der gewünschten Position ein.<br><br> Das Script arbeitet recht einfach:<br><br> <li>per 'explode("/","$_SERVER[PHP_SELF]")' wird...
0 2643 posted 14 years ago by kopfaction
Copy /modules/mod_menu/tmpl/default.php to /templates/MYTEMPLATE/html/mod_menu/default.php
0 2751 posted 14 years ago by nico65
0 2210 posted 14 years ago by nico65
Custom sorting for events based on a custom field needs to be added to navigation-links.php requires plugin: http://wordpress.org/extend/plugins/ambrosite-nextprevious-post-link-plus/
0 1401 posted 14 years ago by hussong
Originally from: http://wordpress.mfields.org/2010/selective-page-hierarchy-for-wp_list_pages/
0 1247 posted 14 years ago by lawlesscreation
This function build page navigation links.\r\nParameters legend:\r\n- $items = total number of rows to be paginated\r\n- $perpage = how many rows to be displayed on a page\r\n- $maxlinks - how much page links to be build and shown for navigation ( <...
0 1134 posted 15 years ago by stz184
This is a way to have a navigation menu with active classes which are set according to what page is loaded. This only works on .php pages.
0 1652 posted 15 years ago by villagecreative
2 1490 posted 15 years ago by brainwaves
If you have your wordpress subpages organized by parent pages... and you dont want the parent pages "clickable" this will fix you right up...
0 1174 posted 15 years ago by mdesilets
0 1147 posted 16 years ago by Perun
This will create a Navigation from a MySQL database table names. It removes the table name "includes" by default so you can see how to remove any certain tables you wish to not use as a site section. Just plug in your MySQL database details and co...
3 1673 posted 16 years ago by jiggyhat
This is a snippet to assign an active class to active links when the navigation is included in a php file.
1 1361 posted 16 years ago by grazz
An example of how to write your own navigation with dynamic "active" classes.
3 1824 posted 16 years ago by kristarella
customized breadcrumbnavigation for PHPWCMS. Gives more control over styling and display. {MYBREADCRUMB:n}
0 1363 posted 17 years ago by localhorst
Very simple navigation. Style the id using CSS. Allows you to highlight the current page with CSS.
1 1776 posted 18 years ago by 1man
« Prev 1 2