How to add username in part of the theme How to add username in part of the theme
 

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

How to add username in part of the theme

Started by MisterX, March 21, 2007, 06:14:01 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

MisterX

Hello,

I've made a custom theme for a site. There is one thing which I would like to do at this point which is to put some text on the page that says "Hello *username*" or something generic like that.

Where can I get this information so that I can stuff it in my template?

I searched yesterday and the day before but didn't find anything like what I am looking for.


Joachim Müller


MisterX

That didn't do anything for me. How does this file get included because I suspect that the code inside is not running.

MisterX

Well I scratched around and the only way I could get something remotely close to what I needed was to...

Go to  Config --> Album List View --> The content of the main page

Inside that text box area I put in:

anycontent/breadcrumb/catlist/alblist/random,2/lastup,2

Which shows my anycontent on the index page just before all the albums and just after the menu.

Close enough for me but would have preferred to put it inside my template somehow so that I can place it exactly where I want it.