Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: sub categories on one line  (Read 3005 times)

0 Members and 1 Guest are viewing this topic.

drwtwn312

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
sub categories on one line
« on: November 23, 2004, 07:51:00 am »

Is there any hacks or addons that would let me put the different a-z on one line linking to the categories  if i went a-z twice it would be horribly long and would not look good at all.

www.true-metal-forum.net/ratings/
« Last Edit: December 01, 2004, 11:39:54 am by GauGau »
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: sub categories on one line
« Reply #1 on: November 23, 2004, 01:43:40 pm »

I can see why this would be required on your site.  As far as I know this has not been coded yet.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: sub categories on one line
« Reply #2 on: November 23, 2004, 02:48:33 pm »

Well I thought there may be a way to work this, not as a hack, just a workaround, and it's quite easy, just tedious.

Create all the categories.  Your first main cat (metal) id is 2, then do the 26 subcats(you already have the first 2, ids 5 & 6), so they would have ids 5 - 30.

Now edit the properties of the main cat (cat 2), and use bbcode to include a link to each cat in the category description, for example, for you 'Metal' cat;

Code: [Select]
[url=http://www.true-metal-forum.net/ratings/index.php?cat=5]A[/url], [url=http://www.true-metal-forum.net/ratings/index.php?cat=6]B[/url], [url=http://www.true-metal-forum.net/ratings/index.php?cat=7]C[/url], [url=http://www.true-metal-forum.net/ratings/index.php?cat=8]D[/url], [url=http://www.true-metal-forum.net/ratings/index.php?cat=9]E[/url], [url=http://www.true-metal-forum.net/ratings/index.php?cat=10]F[/url], [url=http://www.true-metal-forum.net/ratings/index.php?cat=11]G[/url], [url=http://www.true-metal-forum.net/ratings/index.php?cat=12]H[/url], [url=http://www.true-metal-forum.net/ratings/index.php?cat=13]I[/url], [url=http://www.true-metal-forum.net/ratings/index.php?cat=14]J[/url], [url=http://www.true-metal-forum.net/ratings/index.php?cat=15]K[/url], [url=http://www.true-metal-forum.net/ratings/index.php?cat=16]L[/url], [url=http://www.true-metal-forum.net/ratings/index.php?cat=17]M[/url], [url=http://www.true-metal-forum.net/ratings/index.php?cat=18]N[/url], [url=http://www.true-metal-forum.net/ratings/index.php?cat=19]O[/url], [url=http://www.true-metal-forum.net/ratings/index.php?cat=20]P[/url], [url=http://www.true-metal-forum.net/ratings/index.php?cat=21]Q[/url], [url=http://www.true-metal-forum.net/ratings/index.php?cat=22]R[/url], [url=http://www.true-metal-forum.net/ratings/index.php?cat=23]S[/url], [url=http://www.true-metal-forum.net/ratings/index.php?cat=24]T[/url], [url=http://www.true-metal-forum.net/ratings/index.php?cat=25]U[/url], [url=http://www.true-metal-forum.net/ratings/index.php?cat=26]V[/url], [url=http://www.true-metal-forum.net/ratings/index.php?cat=27]W[/url], [url=http://www.true-metal-forum.net/ratings/index.php?cat=28]X[/url], [url=http://www.true-metal-forum.net/ratings/index.php?cat=29]Y[/url], [url=http://www.true-metal-forum.net/ratings/index.php?cat=30]Z[/url]
Then go into config, and set the ' Number of levels of categories to display' to 1, and the ' Show first level album thumbnails in categories' to No.

This is what you should then see;
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

drwtwn312

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: sub categories on one line
« Reply #3 on: November 23, 2004, 07:02:13 pm »

well that would be exactly what I am looking for, I will have to try it when I get home from school.. Thanks for your help
Logged

drwtwn312

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: sub categories on one line
« Reply #4 on: November 23, 2004, 08:16:42 pm »

sorry for double post....

but that is going to work just great thank you much for your help ;)

Drew
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 16 queries.