Advanced search  

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

Pages: [1]   Go Down

Author Topic: How to have number of pics + albums next to Categories ?  (Read 5195 times)

0 Members and 1 Guest are viewing this topic.

Rodinou

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 346
  • Tournicoti, Tournicota
    • http://www.sortons.net
How to have number of pics + albums next to Categories ?
« on: October 19, 2003, 10:19:21 pm »

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

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 2712
    • http://tariquesani.net
How to have number of pics + albums next to Categories ?
« Reply #1 on: October 20, 2003, 04:26:46 am »

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?
Logged
SANIsoft PHP applications for E Biz

Rodinou

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 346
  • Tournicoti, Tournicota
    • http://www.sortons.net
How to have number of pics + albums next to Categories ?
« Reply #2 on: October 20, 2003, 10:36:59 am »

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

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 2712
    • http://tariquesani.net
How to have number of pics + albums next to Categories ?
« Reply #3 on: October 20, 2003, 10:51:20 am »

http://www.sortons.net/photos/ shows me number of albums + photos fine

Where is the problem?
Logged
SANIsoft PHP applications for E Biz

Rodinou

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 346
  • Tournicoti, Tournicota
    • http://www.sortons.net
How to have number of pics + albums next to Categories ?
« Reply #4 on: October 20, 2003, 12:13:00 pm »

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

(http://www.sortons.net/tarique.gif)

Tarique Sani

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 2712
    • http://tariquesani.net
How to have number of pics + albums next to Categories ?
« Reply #5 on: October 20, 2003, 12:32:08 pm »

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

Rodinou

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 346
  • Tournicoti, Tournicota
    • http://www.sortons.net
How to have number of pics + albums next to Categories ?
« Reply #6 on: October 20, 2003, 04:35:18 pm »

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

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 230
    • http://www.defencetalk.com
How to have number of pics + albums next to Categories ?
« Reply #7 on: October 20, 2003, 04:40:39 pm »

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.
Logged
(http://www.defencetalk.com/pictures/signature_cpg.php)

Tarique Sani

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 2712
    • http://tariquesani.net
How to have number of pics + albums next to Categories ?
« Reply #8 on: October 20, 2003, 05:14:27 pm »

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....
Logged
SANIsoft PHP applications for E Biz

Rodinou

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 346
  • Tournicoti, Tournicota
    • http://www.sortons.net
How to have number of pics + albums next to Categories ?
« Reply #9 on: October 20, 2003, 05:33:10 pm »

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
Pages: [1]   Go Up
 

Page created in 0.042 seconds with 19 queries.