Add panel. (ALBUM_TITLE list) Add panel. (ALBUM_TITLE list)
 

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

Add panel. (ALBUM_TITLE list)

Started by running-frag, March 18, 2008, 11:52:14 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

running-frag

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}

Joachim Müller

Quote from: running-frag on March 18, 2008, 11:52:14 PMUse Coppermine Photo Gallery 1.4.10...
Then upgrade as a first step.

Quote from: running-frag on March 18, 2008, 11:52:14 PMI 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.

running-frag

Quote from: Joachim Müller on March 19, 2008, 07:45:51 AM
Then upgrade as a first step.
I don't want to change version. Because i've changed it a little, already..

Quote from: Joachim Müller on March 19, 2008, 07:45:51 AM
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?

Joachim Müller

Quote from: running-frag on March 19, 2008, 08:40:04 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.

Quote from: running-frag on March 19, 2008, 08:40:04 AM
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.

running-frag

Quote from: Joachim Müller on March 19, 2008, 08:43:42 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...


running-frag

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

Joachim Müller

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.

running-frag

Quote from: Joachim Müller 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...
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?

Joachim Müller

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

running-frag


running-frag

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

Joachim Müller

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.