Hello!
At first, let me say Im sorry for my bad english. I hope this wont be just a waste of your time.
I want to change the coppermine home-page layout. For this purpose i decided to use cpmfetch plugin in combination with some 3-column-coppermine-templates
[like "Andreas09" e.g. (see
http://coppermine-gallery.net/demo/cpg14x/index.php?theme=andreas09)]
The goal is to display recently added pictures in the left column of the 3-column-template (cpmfetch code and the main content side by side). So I want to insert cpmfetch code into (or below) the sub menu located in the left column.
I dont know how to do this.
I´ve read some posts describing how to add the php code into the page but none of them fit to my issue.
As it is impossible to put the code directly into template.html, the answer is to create a {CUSTOM_TOKEN} in template.html and to replace the {CUSTOM_TOKEN} in the corresponding function in theme.php file, isnt it ?
The question is: Where to edit the code and how ?
As i dont understand the code enough, i failed when trying to do this. I ask for help.
(I found some explanations in similar postings, but none of them fit to my issue.)
Thank you for any help.
------------------------------------------------------
Shall I edit the custom menu function ?
[Andreas09 theme.php]
// HTML template for sub menu
$template_sub_menu = <<<EOT
<ul>
<!-- BEGIN custom_link -->
<li><a href="{CUSTOM_LNK_TGT}" title="{CUSTOM_LNK_TITLE}">{CUSTOM_LNK_LNK}</a></li>
<!-- END custom_link -->
<!-- BEGIN album_list -->
<li><a href="{ALB_LIST_TGT}" title="{ALB_LIST_TITLE}">{ALB_LIST_LNK}</a></li>
<!-- END album_list -->
<li><a href="{LASTUP_TGT}" title="{LASTUP_LNK}">{LASTUP_LNK}</a></li>
<li><a href="{LASTCOM_TGT}" title="{LASTCOM_LNK}">{LASTCOM_LNK}</a></li>
<li><a href="{TOPN_TGT}" title="{TOPN_LNK}">{TOPN_LNK}</a></li>
<li><a href="{TOPRATED_TGT}" title="{TOPRATED_LNK}">{TOPRATED_LNK}</a></li>
<li><a href="{FAV_TGT}" title="{FAV_LNK}">{FAV_LNK}</a></li>
<li><a href="{SEARCH_TGT}" title="{SEARCH_LNK}">{SEARCH_LNK}</a></li>
</ul>
Or another place in theme.php ? (attached as txt file)
Or am I absolutely wrong ?