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.
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
Comment #1
Dublin Drupaller commented(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
Comment #2
Dublin Drupaller commentedif 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
Comment #3
gelusi commentedthank'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
Comment #4
Dublin Drupaller commentedpage.tpl.php
Comment #5
gelusi commentedok ... page.tpl.php
but what I must put in this file ? what line? what code? this is my question !?!?!?
Comment #6
Dublin Drupaller commentedI'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
Comment #7
gelusi commentednot work ....
:(
Comment #8
sangamreddi commentedyou need to provide the 'n' value. What did you put for 'n'. N is the number of the group.
Comment #9
gelusi commentedn 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?
Comment #10
sangamreddi commentedN 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.
Comment #11
gelusi commenteddone
I put this line in page.tpl.php:
thank's for help
Comment #12
sangamreddi commentedComment #13
(not verified) commented