Adding Panel on the Right side of the page

Tready

Joined: 2005-04-04
Posts: 3
Posted: Mon, 2005-04-04 11:34

Hi, Im trying to add a panel on the right side of the gallery to hold some php-based content.

I have been able to get the div code inserted above and below the html tags not not within the vital body tags.

Anyone know where I need to insert the code to achieve this?!

Cheers,

- Tready

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Mon, 2005-04-04 16:02

templates/global.tpl

 
Tready

Joined: 2005-04-04
Posts: 3
Posted: Mon, 2005-04-04 16:24

yeah - Ive experimented with including but could not get the code to function. It rejected the echo statements.

Is there way to use the
{include file="gallery:`$main.viewBodyFile`" l10Domain=$main.viewL10Domain}
statement to simply get php to require a php script?

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Mon, 2005-04-04 16:31

{php}include(...);{/php}

http://smarty.php.net/

 
Tready

Joined: 2005-04-04
Posts: 3
Posted: Mon, 2005-04-04 17:29

Works like a dream - thanks for your time.