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: $cat=??  (Read 4100 times)

0 Members and 1 Guest are viewing this topic.

rgroen

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 30
$cat=??
« on: January 08, 2004, 10:54:24 pm »

I Have the following code in my language file:

Code: [Select]

$lang_meta_album_names = array(
        'random' => 'Willekeurige foto\'s',
        'lastup' => '<a href="thumbnails.php?album=lastup&cat=">Laatste toevoegingen',
        'lastcom' => '<a href="thumbnails.php?album=lastcom&cat=">Laatste commentaar',
        'topn' => '<a href="thumbnails.php?album=topn&cat=">Meest bekeken',
        'toprated' => '<a href="thumbnails.php?album=toprated&cat=">Best beoordeeld',
        'lasthits' => 'Laatst bekeken',
        'search' => 'Zoek resultaat'
);


But how can I get the categorie number at the end. And can I get nice titles?

Thnx
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: $cat=??
« Reply #1 on: January 09, 2004, 09:17:19 am »

Ramon,

this can't be done inside the language file, but needs code modification inside index.php.

Quote from: "rgroen"
And can I get nice titles?

What are nice titles anyway?

GauGau
Logged

rgroen

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 30
$cat=??
« Reply #2 on: January 09, 2004, 09:33:47 am »

Wich modification are needed in de index.php?

I really want this on my album.

Thnx
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
$cat=??
« Reply #3 on: January 09, 2004, 09:47:21 am »

as I don't see the benefit I won't code it, you'll have to dig into it yourself, sorry.

GauGau
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 18 queries.