anycontent.php in a 'sidebar' anycontent.php in a 'sidebar'
 

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

Main Menu

anycontent.php in a 'sidebar'

Started by filmar, December 09, 2004, 08:39:16 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

filmar

I would like to use the 'anycontent' for some general text and maybe some links and stuff. But I can only define the order where it comes in the 'body'. Is it possible to place it on the left side, with the categories and albums and ... beside it?

Many thanks in advance,

FilMar

Justttt

if you where to place it at the side you do know its only home content and wil be losed when accesing other pages it should be possible i will have ago and if i do it before someone els helps yous i wil post
J U S T T T T

filmar

Thanks Just, and I understand that its only in the 'homepage', that is what I want.  :D

The site is http://www.filmar.ftkm.be/album/index.php and it is the 'Welkom...' part that I rather like to see on the left side and not on top like now.

Many thanks in advance,

FilMar

koffee

Quote from: filmar on December 09, 2004, 08:39:16 PM
I would like to use the 'anycontent' for some general text and maybe some links and stuff. But I can only define the order where it comes in the 'body'. Is it possible to place it on the left side, with the categories and albums and ... beside it?

Many thanks in advance,

FilMar
I'd like to know it too :-(

humphrey

I'm not sure how your site is layed out.
However you can probably insert the following line in your theme.php file, if you can find where you want to put it.
<?PHP include "anycontent.php"; ?>
For my site, I didn't do it that way.  I just put the links straight into my theme.php file.
Anyway, have a look at my site http://www.humphreysphotogallery.com, and if that's the kinda thing u wanna do, I'll send u my theme.

Humphrey

Joachim Müller

Long version: this is all a matter of theme setup. The content that get's included using anycontent.php goes into the place you defined using the {GALLERY} token in themes/yourtheme/template.html, but you can only determine the vertical position within your settings of "the content of the main page" in coppermine config. If you want some custom code to show up to the left or right of the {GALLERY} section, you simply can not use anycontent.php - that's just not what it was designed to do. Instead, you need a "custom header" (search the forum for this keyword) - that doesn't necessarily need to be on top of something, it can be to the left of the {GALLERY} section as well (as in terms of html mark-up and page creation it comes before {GALLERY}).

Short version: can not be done with anycontent.php, search for "custom header".

Joachim