php - how to place an Alphabet bar on joomla category list -


in joomla 3 can load categories under 1 particular category order alphabet.

i want show alphabet bar below have created , placed on editing

layout/joomla/content/category-default.php

| | b | c | d | e | f | g | h | | j | k | l | m | n | o | p | q ....

the catergories should show

a

apple

art

b

breakfast

...

when click on alphabet letter in bar should go particular area(id) on list.

please tell if know how can group , place heading id category , need work on joomla files?

you use alternative layout on categories view. use jlayout alphabet bar. in foreach https://github.com/joomla/joomla-cms/blob/master/components/com_content/views/categories/tmpl/default_items.php#l18

you'd have check new letter , if there put letter heading.

the issue if there nothing under letter. still okay having link? if not you'd need plugin run query gather first letters of results.


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -