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: Want Customize Album List View  (Read 9104 times)

0 Members and 1 Guest are viewing this topic.

mail2annachi

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Want Customize Album List View
« on: October 10, 2009, 10:56:21 am »

hi, this is my site - http://actressarchives.org/ [Edit GauGau] Warning: link leads to advert screen before leading to the gallery

in my site  i want to change my album list view like this

in this website - http://www.tamilshots.com/

plz tell me how to do this
« Last Edit: October 11, 2009, 08:47:25 pm by Joachim Müller »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Want Customize Album List View
« Reply #1 on: October 11, 2009, 08:51:35 pm »

in this website - http://www.tamilshots.com/
Site is down for me: loads endlessly. This is the tracert
Code: [Select]
traceroute to tamilshots.com (38.99.65.171), 30 hops max, 60 byte packets
 1  192.168.0.1 (192.168.0.1)  4.174 ms  4.302 ms  4.530 ms
 2  217.0.118.45 (217.0.118.45)  48.013 ms  50.796 ms *
 3  * * *
 4  * * *
 5  * * *
 6  * * *
 7  * ae-92-92.ebr2.Frankfurt1.Level3.net (4.69.140.29)  46.844 ms  49.508 ms
 8  ae-41-41.ebr2.Washington1.Level3.net (4.69.137.50)  143.370 ms  145.707 ms  148.840 ms
 9  ae-72-72.csw2.Washington1.Level3.net (4.69.134.150)  164.487 ms  165.444 ms  165.745 ms
10  ae-74-74.ebr4.Washington1.Level3.net (4.69.134.181)  184.556 ms  184.919 ms  185.507 ms
11  ae-3-3.ebr1.NewYork1.Level3.net (4.69.132.94)  178.550 ms  181.154 ms  185.785 ms
12  ae-71-71.csw2.NewYork1.Level3.net (4.69.134.70)  188.960 ms  190.728 ms  148.658 ms
13  ae-74-74.ebr4.NewYork1.Level3.net (4.69.134.117)  161.116 ms  149.451 ms  162.481 ms
14  ae-2.ebr4.SanJose1.Level3.net (4.69.135.185)  225.484 ms  220.377 ms  221.708 ms
15  ae-74-74.csw2.SanJose1.Level3.net (4.69.134.246)  234.151 ms  234.331 ms  234.693 ms
16  ae-2-79.edge8.SanJose1.Level3.net (4.68.18.84)  219.049 ms  221.351 ms  217.986 ms
17  BANDCON.edge8.SanJose1.Level3.net (4.53.30.46)  221.538 ms  219.363 ms  221.670 ms
18  core2.sj2.centralhost.com (38.99.110.202)  223.685 ms  218.459 ms  220.746 ms
19  38.99.64.249 (38.99.64.249)  225.787 ms  219.847 ms *
20  * * *
21  * * *
22  * * *
23  * * *
24  * 38.99.65.171.nativehosting.com (38.99.65.171)  221.940 ms  226.703 ms
Logged

mail2annachi

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Want Customize Album List View
« Reply #2 on: October 18, 2009, 09:34:45 am »

now this site working - http://www.tamilshots.com/


some reference sites - http://www.melisai.com/gallery/
Logged

mail2annachi

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Want Customize Album List View
« Reply #3 on: October 18, 2009, 09:35:28 am »

i want album list view like this
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Want Customize Album List View
« Reply #4 on: October 20, 2009, 08:48:18 am »

Your reference to a gallery that is running 4images is invalid. Looks like you're just trying to spam this forum thread. Post your actual issue, clarifying what you actually want to accomplish using words. If you fail to do that, I'll delete this thread because it looks like board spam to me.
Logged

mail2annachi

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Want Customize Album List View
« Reply #5 on: October 21, 2009, 06:48:22 am »

in album list view i want only links !

i don't want thumbnails & description

how to remove thumbnails & description in album list view...
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Want Customize Album List View
« Reply #6 on: October 21, 2009, 09:12:24 am »

OK, I understand now what you're trying to accomplish, although I can't see why anyone would want to do that: the reference page looks like a link farm page (and that's probably what it is). There are better scripts to come up with link farms; coppermine is suppossed to be used by humans and not just eye candy for a spider. Anyway, it's your gallery and not mine; here's what you need to do: to change a particular part of coppermine's output, you need to edit themes/yourtheme/theme.php with a plain text editor, find the section in it that controls a particular part of the output (the album list in your case) and modify that section accordingly. If a particular section that you want to control doesn't show in your custom theme's file theme.php, copy the corresponding section (and only the section you want to control!) from themes/sample/theme.php into a new line before
Code: [Select]
?>of the file themes/yourtheme/theme.php
Then start editing your theme accordingly. Attached is a theme that basically does what you're asking for, edited in a crude manner that leaves room for improvement. It should give you an idea what to do. If you want to figure out what exactly I did, compare the custom theme I created with the untouched original and with the sample theme (using a diff viewer life Winmerge).

Joachim
Logged

mail2annachi

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Want Customize Album List View
« Reply #7 on: October 21, 2009, 08:40:26 pm »

millions of thanks for theme !  :)

I need another favor !...

i want slash in between album list

like this

Neha Dhupia / Celina Jaitley / Aishwarya Rai / Freida Pinto / Gul Panag / Jiah Khan / Kareena Kapoor
Logged

Jeff Bailey

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1322
  • Fishing relaxes me.
    • Bailey Family Co.
Re: Want Customize Album List View
« Reply #8 on: October 21, 2009, 09:21:16 pm »

Do as Joachim said or start a new thread. There is a strict one question per thread rule.

Then start editing your theme accordingly. Attached is a theme that basically does what you're asking for, edited in a crude manner that leaves room for improvement. It should give you an idea what to do. If you want to figure out what exactly I did, compare the custom theme I created with the untouched original and with the sample theme (using a diff viewer life Winmerge).

Locking
Logged
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

mail2annachi

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Want to Customize Album List View - II
« Reply #9 on: October 22, 2009, 06:28:09 am »

my site - http://actressarchives.org/

thank you(admin) for previous support & fruity theme

now i need another favour

how to add slash in between album list link

like this

Aishwarya Rai / Celina Jaitley / Freida Pinto / Gul Panag / Jiah Khan / Kareena Kapoor
Logged

Jeff Bailey

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1322
  • Fishing relaxes me.
    • Bailey Family Co.
Re: Want to Customize Album List View - II
« Reply #10 on: October 22, 2009, 07:57:03 am »

I'm not sure if this is exactly how to do it but try this:

Navigate to
Code: [Select]
// HTML template for the album list
$template_album_list_cat = <<<EOT

<!-- BEGIN c_album_cell -->
                        <span class="alblink"><a href="{ALB_LINK_TGT}"><b>{ALBUM_TITLE}</b></a></span>
                        {ADMIN_MENU}

<!-- END c_album_cell -->
<!-- BEGIN c_row_separator -->
<!-- END c_row_separator -->
<!-- BEGIN c_spacer -->
<!-- END c_spacer -->
inside of theme.php

then edit
Code: [Select]
<!-- BEGIN c_spacer -->
<!-- END c_spacer -->
to
Code: [Select]
<!-- BEGIN c_spacer -->
/
<!-- END c_spacer -->

Hope that works for you.
Logged
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Want to Customize Album List View - II
« Reply #11 on: October 22, 2009, 08:09:58 am »

The spacer determines the space between rows and therefor isn't what you're looking for as far as I remember out of the back of my head. You need to specify the delimiter as row separator instead, and you'll have to come up with a way to trim the last one.
How come you started a separate thread if your initial thread got locked? Merging the two and unlocking them. But: I did all that I'm ready to do on this aspect. Now you perform a diff. Show us you at least tried it for yourself before asking more on this issue. As I told you already: I think you're trying to convert coppermine into a linkfarm script. You can do that if you want to, but I'm reluctant to help you more with it. I have showed you what to edit, now it's up to you. Don't expect to be spoon-fed.
Logged

mail2annachi

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Want Customize Album List View
« Reply #12 on: October 22, 2009, 08:15:20 am »

its working   :)

i paste slash in between begin & end album cell...

<!-- BEGIN c_album_cell -->
                        <span class="alblink"><a href="{ALB_LINK_TGT}"><b>{ALBUM_TITLE}</b></a></span>
                        {ADMIN_MENU}
 /
<!-- END c_album_cell -->

thanks !....
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Want Customize Album List View
« Reply #13 on: October 22, 2009, 08:25:04 am »

Thanks for coming back and resolving your thread.
i paste slash in between begin & end album cell...
Then you have one trailing slash too much that you need to trim
you'll have to come up with a way to trim the last one.
Logged
Pages: [1]   Go Up
 

Page created in 0.06 seconds with 19 queries.