Hi.
My site is: www.cartiere.ro

I want to put banner.module in top of site_slogan

PS. I'm not a programmer of php.

Thank's for your help.

Comments

Dublin Drupaller’s picture

(Do you mean the scrolling text banner on the front page?)

you could use the MISSION to paste in the code for the scrolling text banner.

go to ADMINISTER -> SETTINGS and you will see the MISSION text area.

Dub

Dublin Drupaller’s picture

if you meant put the scrolling text banner inside your header...you need to paste the code into your page.tpl.php file.

Just open it in a text editor and look for where the code near the top that inserts the LOGO and SITE SLOGAN is located.

you don't need to be a php programmer to do that. It's not unlike pasting HTML code.

Dub

gelusi’s picture

thank's for your fast answer

but: I want to use banner.module with this theme

where I must to put (which file from theme directory)

ex: In slash.theme I put something like this:
$output .= banner_display(); on line 56

Dublin Drupaller’s picture

page.tpl.php

gelusi’s picture

ok ... page.tpl.php

but what I must put in this file ? what line? what code? this is my question !?!?!?

Dublin Drupaller’s picture

I've never used the banner module...but if you look at the documentation that came with it, it should tell you.

Based on what you did with another theme, try this (this is a wild guess...best to read the documentation that came with your banner.module)

<?php return banner_display(n); ?>

Where n = the banner ID you want to display.

hope that helps

Dub

gelusi’s picture

not work ....
:(

sangamreddi’s picture

you need to provide the 'n' value. What did you put for 'n'. N is the number of the group.

gelusi’s picture

n is a number of one my users
ex: 0 for admin
17 for another user

I put 0 and don't work

nobody know how I put banner.module in this theme?

sangamreddi’s picture

N is not teh user id or something. Banner module creates groups for banner display and categrorization. the 'n' reffers to teh groupd id. Please reffer banner module documentation for mroe info.

gelusi’s picture

done

I put this line in page.tpl.php:

<?php print banner_display(n); ?>

thank's for help

sangamreddi’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)