Image Count Box

Phoca Gallery - image gallery extension
info@web-4.eu
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 07 Nov 2023, 13:15

Image Count Box

Post by info@web-4.eu »

Hi

I cant find the setting to activate the image count box at the category view.
Name of Category (123) = count box

Maybe this function isn't available anymore at the J4 (Version
4.5.5 )version?

Many thanks
Nadine
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47891
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Image Count Box

Post by Jan »

Hi,

Image

you can hide it per CSS (preferably in in template user.css):

Code: Select all

.pg-category-box-count {
   display: none;
}
Image

Jan
If you find Phoca extensions useful, please support the project
info@web-4.eu
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 07 Nov 2023, 13:15

Re: Image Count Box

Post by info@web-4.eu »

Hi there.

But i want to show it, not hide :o)

Current view:
https://web4-testserver.de/fotoclub-mai ... hp/galerie
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47891
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Image Count Box

Post by Jan »

Hi, it is displayed as default.

Which version of Phoca Gallery do you use? Do you use some template overrides? (e.g. for Phoca Gallery view outputs)

Jan
If you find Phoca extensions useful, please support the project
info@web-4.eu
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 07 Nov 2023, 13:15

Re: Image Count Box

Post by info@web-4.eu »

Dear Jan

Many thx for your fast reply.

I use Phoca Gallery Version 4.5.5 + Theme Standard.css
christine
Phoca Hero
Phoca Hero
Posts: 2738
Joined: 28 Nov 2010, 17:20

Re: Image Count Box

Post by christine »

Hi Nadine,

I'm just asking Jan now, if ev. relevant:

Hi Jan,
temporarily tried from a test page (any number of course)
I have:

Code: Select all

<div class="pg-category-box-title"><svg class="ph-si ph-si-category"><use xlink:href="#ph-si-category"> etc.
<div class="pg-category-box-title">

Image

Nadine has:

Code: Select all

<div class="pg-item-box-title category"> etc.
<div class="pg-item-box-title category">
missing:

Code: Select all

<span class="pg-category-box-count">(2)</span>
-------------------------------------------------------------------
Nadine:
Menue Typ is: List of Categories (Categories View)?

Kind regards,
Christine
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47891
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Image Count Box

Post by Jan »

Hi, the code

Code: Select all

<span class="pg-category-box-count">...</span>
is included in core (it does not matter which theme is set). So in case, this code is not included, maybe there is some template override :idea:
If you find Phoca extensions useful, please support the project
christine
Phoca Hero
Phoca Hero
Posts: 2738
Joined: 28 Nov 2010, 17:20

Re: Image Count Box

Post by christine »

Hi Nadine,
Jan wrote: 07 Nov 2023, 23:57 Hi, the code

Code: Select all

<span class="pg-category-box-count">...</span>
is included in core (it does not matter which theme is set). So in case, this code is not included, maybe there is some template override :idea:
Yes could be (Template Shaper Helixultimate). Check it please resp. try temporary if it will be OK with Standard Template Cassiopeia (just for testing purposes).

Kind regards
Christine
info@web-4.eu
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 07 Nov 2023, 13:15

Re: Image Count Box

Post by info@web-4.eu »

Hi

I changed to default joomla template. Still no counting box.

https://prnt.sc/5596h99fobp2

Sorry
Nadine
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47891
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Image Count Box

Post by Jan »

Are you really sure, you run the version 4.5.5?

Jan
If you find Phoca extensions useful, please support the project
Post Reply