How to have number of pics + albums next to Categories ? How to have number of pics + albums next to Categories ?
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

How to have number of pics + albums next to Categories ?

Started by Rodinou, October 19, 2003, 10:19:21 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Rodinou

Although I saw it on Tarique's webpage and post it in a lot of requests, I know it's possible, 'cause I saw it :)

Thanx : indeed, a lot of people think (?!!!!) there are no album ... arghhhh

Tarique Sani

Hey Rod, My site usually runs a "more than latest" copy of CPG so while whatever you see there is posible it may not ever be in release  - but the feature you want should be there already in the release

Did you change anything in the theme files?
SANIsoft PHP applications for E Biz

Rodinou

Some minors only :)

The Scrollbar CSS mod I have posted, and I have removed 1 or 2 options in front 'cause in French the layout was not very nice :)

I see WHERE I have to change, but I don't know WHAT put :)

Tarique Sani

SANIsoft PHP applications for E Biz

Rodinou

I have realized a screenshot :) Drawing sometimes is better than explanations :)

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.sortons.net%2Ftarique.gif&hash=f52069575a61ea974a017205628eb4b7beee6e8a)

Tarique Sani

Yes indeed pictures are better - what you want is not available even on my website.... or may be you can do another picture?
SANIsoft PHP applications for E Biz

Rodinou

Tarique !!!!!

You're joking no ? :)


Category Albums Pictures
 Themes
This category will contain albums with photos which I have clicked based on themes from challenges  
 4 20


I read NEXT TO THE CATEGORY THEME

4 album                             20 pics ...


And I see below

4 albums ... with 20 pics !!!

GRMBL !!! :)

DefenceTalk.com

Rod, I share the same problem.

www.defencetalk.com/pictures < you don't see any stats under "albums - Catgories" I would like it if it showed how many pics and how many categories... etc.
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.defencetalk.com%2Fpictures%2Fsignature_cpg.php&hash=c0098ed5314d39beb9e8799c7c8787a9a0353b45)

Tarique Sani

Quote from: "Rodinou"Tarique !!!!! You're joking no ? :)
No I am not joking serious ...

BUT now I understand that you are not getting albums and categories in the place where you are indicating BECAUSE that category has only sub-catagories but  no albums are there directly under those catagory. Pardon but I dont know French

Hmmm... now that I look at it there should be column to indicate how many sub-categories are there inside a given category....
SANIsoft PHP applications for E Biz

Rodinou

In this case, I'll redo the code ...

indeed ... all code is only

<tr>
  <td>
     content php
  </td>
</tr>

Or ... if we want to add another row ... it causes a problem :)

The better code to realize is doing "closed tables"

If blabla

<table>
 <tr>
  <td>
   <? echo "blabla"; ?>
  </td>
 </tr>
</table>

In this case, one table ... could have

One
Two
Three
or more (?) columns without masterbrain with the famous "Colspan= ..."

:)

No ?

But here ... the top would be


Name of the categorie                                Number Pics            Number Albums