Skip to content

jensensen/NLU_FF_AC_QD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 

Repository files navigation

NLU_FF_AC_QD

v1.9.9

Description:

Whenever you need/want to display the number of articles of any site structure level next to the name of the category, the script does it.

This is the quick and dirty solution! This is the original NAV_LIST_UL of flip-flop that was incorporated by OG and now has been extended with --> easily add the number of articles within a certain site structure level.

The script works exactly like the original NAV_LIST_UL, because it's based on the same function.

Basics to read --> https://forum.phpwcms.org/viewtopic.php?t=12165

For those who are interested why I chose this name:

  • NLU = NAV_LIST_UL
  • FF = flip-flop
  • AC = article count
  • QD = quick and dirty

You can use it as RT = replacement tag with the same prominent parameters and features as usual, but instead NAV_LIST_UL just type: NLU_FF_AC_QD... Read also http://phpwcms.org and Knut's (aka flip-flop's) [HowTo Wiki]:

and:

==> RTFM: https://forum.phpwcms.org/viewtopic.php?f=8&t=17891 and read also: ==> slackero/phpwcms#13

New in v1.9.9

Optimized for new phpwcms versions, that were released on Febuary 2022. Works well with almost all modern versions of phpwcms and PHP 7.x and 8.x

<nav class="collapse navbar-collapse" role="navigation">
{NLU_FF_AC_QD:PBA,0,2,active|nav nav-pills,active}
</nav>
{NLU_FF_AC_QD:BAH,0,,active|nav navbar-nav,active}
{NAV_LIST_UL:BA,0,,,active,,,,0|100x100x1|teaser:10|outside|<div class="dropdown-menu">[IMAGE]<img src="[%IMAGE%]" alt="[%IMAGE_NAME%]" class="dropdown-image" />[/IMAGE][TEXT]<div class="dropdown-text">[%TEXT%]</div>[/TEXT]</div>}

Quick start

Clone the repo: https://github.com/jensensen/NLU_FF_AC_QD.git.

Bug tracker

Have a bug? Please create an issue here on GitHub that conforms with necolas's guidelines.

Report issue.

Share with us and me

phpwcms is no longer active on social media. Please use the phpwcms support forum or Github to share your thoughts. Keep up to date on announcements and more by following the creator.

Creator

jensensen

Copyright and license

Copyright 2008-2024 jensensen

Licensed under the GNU General Public License, Version 2 (the "License"); you may not use this work except in compliance with the License. You may obtain a copy of the License in the LICENSE file, or at:

https://opensource.org/licenses/GPL-2.0

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.