forum.coppermine-gallery.net

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: Rodinou on October 19, 2003, 10:19:21 pm

Title: How to have number of pics + albums next to Categories ?
Post by: Rodinou 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
Title: How to have number of pics + albums next to Categories ?
Post by: Tarique Sani 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?
Title: How to have number of pics + albums next to Categories ?
Post by: Rodinou 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 :)
Title: How to have number of pics + albums next to Categories ?
Post by: Tarique Sani on October 20, 2003, 10:51:20 am
http://www.sortons.net/photos/ shows me number of albums + photos fine

Where is the problem?
Title: How to have number of pics + albums next to Categories ?
Post by: Rodinou on October 20, 2003, 12:13:00 pm
I have realized a screenshot :) Drawing sometimes is better than explanations :)

(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.sortons.net%2Ftarique.gif&hash=f52069575a61ea974a017205628eb4b7beee6e8a)
Title: How to have number of pics + albums next to Categories ?
Post by: Tarique Sani 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?
Title: How to have number of pics + albums next to Categories ?
Post by: Rodinou 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 !!! :)
Title: How to have number of pics + albums next to Categories ?
Post by: DefenceTalk.com 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.
Title: How to have number of pics + albums next to Categories ?
Post by: Tarique Sani 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....
Title: How to have number of pics + albums next to Categories ?
Post by: Rodinou 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