Loading...
 
Features / Usability

Features / Usability


$avatar

posts: 2

Hi there!!

First off, I'm not english, so excuse my poor writed english.

I'm working on a new custom theme for Tiki Wiki 6.0 Beta 3. I've got all configured as I want, except the main header.

On the header I have a custom module (based on tiki-site_header_popup.tpl) that when you're not logged on the web, it shows an image and some text explaining what the users will get if they become a registered users.

Actually this is done, but the real problem I've got is to show the user's avatar when they're logged in. With the variable $avatar, I can show it, but only in the tiki-user_information.php page.

I think that the solution is to make the database call in every page, but I don't know how to...

Any ideas how to add php code with database access granted on a .tpl file?

Thank you!!

There are no comments at this time.

Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting