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: Add panel. (ALBUM_TITLE list)  (Read 5693 times)

0 Members and 1 Guest are viewing this topic.

running-frag

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Add panel. (ALBUM_TITLE list)
« on: March 18, 2008, 11:52:14 pm »

hi2all Please help me. I want to make some panel such as you can see in attachment... And there i want to see the names of albums i have. (maybe there wiil be a DIV or something else) But i can't understand, how can i get array with TITLEs in function -> $template_cat_list. And how make so, that this column accept value by himself (by script).... (now there is -> rowspan="100" =| ) I hope my idea is understanded.....
Use Coppermine Photo Gallery 1.4.10... I like it...

PS: Sory for my English, i'm from Ukraine.. Don't like use translaters. ;)

[Edit] Removed duplicate attachment {SaWey}
« Last Edit: March 19, 2008, 04:53:05 am by SaWey »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Add panel. (ALBUM_TITLE list)
« Reply #1 on: March 19, 2008, 07:45:51 am »

Use Coppermine Photo Gallery 1.4.10...
Then upgrade as a first step.

I want to make some panel such as you can see in attachment.
Add a right-handed sidebar by editing themes/yourtheme/template.html accordingly and populate that bar with static content for a start. Then go on to the next step.
Logged

running-frag

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Add panel. (ALBUM_TITLE list)
« Reply #2 on: March 19, 2008, 08:40:04 am »

Then upgrade as a first step.
I don't want to change version. Because i've changed it a little, already..

Add a right-handed sidebar by editing themes/yourtheme/template.html accordingly and populate that bar with static content for a start. Then go on to the next step.
I don't understand, have i to changed function to preview the {ALBUM_TITTLE}... If I insert new panel in tempalte.php will it show me my album names?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Add panel. (ALBUM_TITLE list)
« Reply #3 on: March 19, 2008, 08:43:42 am »

I don't want to change version. Because i've changed it a little, already..
That's not an option. It's mandatory to upgrade for security reasons. You won't lose your changes if you did as suggested in the docs and created a custom mtheme where your changes went into. If this is not the case, take a note of your changes to the core code and re-appyl them after upgrading. Note: I'm not suggesting that you perform a fresh install - I'm suggesting an upgrade that will not harm your gallery's content.

If I insert new panel in tempalte.php will it show me my album names?
No, it will display a static side bar for a start. Populate that side bar with dynamic content in the next stage. As a first step, you'll need to create the empty side-bar.
Logged

running-frag

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Add panel. (ALBUM_TITLE list)
« Reply #4 on: March 19, 2008, 11:05:04 am »

That's not an option. It's mandatory to upgrade for security reasons. You won't lose your changes if you did as suggested in the docs and created a custom mtheme where your changes went into. If this is not the case, take a note of your changes to the core code and re-appyl them after upgrading. Note: I'm not suggesting that you perform a fresh install - I'm suggesting an upgrade that will not harm your gallery's content.
Ok. Do as you say...

Logged

running-frag

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Add panel. (ALBUM_TITLE list)
« Reply #5 on: March 19, 2008, 10:06:27 pm »

So.. I've got something like that.. Attachment... What should I do next?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Add panel. (ALBUM_TITLE list)
« Reply #6 on: March 20, 2008, 07:41:37 am »

I assume that your custom placeholder token {links} comes after the {GALLERY} placeholder token. The {GALLERY} token is a separator between the stuff that  goes into the header and footer, so you will need to modify the pagefooter function accordingly. If this sounds too complicated for you, use the {CUSTOM_FOOTER} token instead of your custom token {links}. If this is an option for you, do as I suggested and replace {links} with {CUSTOM_FOOTER}. Then create a custom PHP file that is suppossed to create the content of the placeholder. Finally, go to coppermine's config and set the path to your custom footer there.
Logged

running-frag

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Add panel. (ALBUM_TITLE list)
« Reply #7 on: March 20, 2008, 12:33:03 pm »

I assume that your custom placeholder token {links} comes after the {GALLERY} placeholder token. The {GALLERY} token is a separator between the stuff that  goes into the header and footer, so you will need to modify the pagefooter function accordingly. If this sounds too complicated for you...
I don't think so... As i see in temp themes/mytheme/template.html there isn't such values to change. (In fisrt post i edit include/themes.inc.php... ) Where i can add this options? Page?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Add panel. (ALBUM_TITLE list)
« Reply #8 on: March 20, 2008, 07:26:12 pm »

You mustn't edit include/themes.inc.php - under no circumstances. Undo your edits there!
Post a link to your gallery for a start.
Logged

running-frag

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Add panel. (ALBUM_TITLE list)
« Reply #9 on: March 20, 2008, 09:18:15 pm »

It's in LAN..  :( For example http://anime.datasvit.net/gallery/... It's the same.
Logged

running-frag

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Add panel. (ALBUM_TITLE list)
« Reply #10 on: March 23, 2008, 08:30:42 pm »

Joachim Müller and what next? Or i did\say something wrong?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Add panel. (ALBUM_TITLE list)
« Reply #11 on: March 23, 2008, 08:32:45 pm »

No. But I can't help you if I can't see it. If your site is only accessible on the LAN and not the internet, you'll have to figure this out by yourself.
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 15 queries.