Want Customize Album List View Want Customize Album List View
 

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]

Main Menu

Want Customize Album List View

Started by mail2annachi, October 10, 2009, 10:56:21 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mail2annachi

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

Joachim Müller

Quote from: mail2annachi on October 10, 2009, 10:56:21 AM
in this website - http://www.tamilshots.com/
Site is down for me: loads endlessly. This is the tracerttraceroute 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

mail2annachi


mail2annachi


Joachim Müller

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.

mail2annachi

in album list view i want only links !

i don't want thumbnails & description

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

Joachim Müller

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?>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

mail2annachi

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

Jeff Bailey

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

Quote from: Joachim Müller on October 21, 2009, 09:12:24 AM
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
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

mail2annachi

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

Jeff Bailey

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

Navigate to
// 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
<!-- BEGIN c_spacer -->
<!-- END c_spacer -->

to
<!-- BEGIN c_spacer -->
/
<!-- END c_spacer -->


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

Joachim Müller

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.

mail2annachi

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 !....

Joachim Müller

Thanks for coming back and resolving your thread.
Quote from: mail2annachi on October 22, 2009, 08:15:20 AM
i paste slash in between begin & end album cell...
Then you have one trailing slash too much that you need to trim
Quote from: Joachim Müller on October 22, 2009, 08:09:58 AMyou'll have to come up with a way to trim the last one.