Cotonti / Open Source PHP Content Management FrameworkContent Management Framework

Forums / Cotonti / Support / random logos after refresh

please help

backa
#1 2009-07-02 18:31


Members

hello, i am new here.

i was using LDU ages ago and i had a random logo function. when i refresh the page, the header logo changes.

is it possible to make that function work on cotonti, sed-dark skin ?


thank you for your help
pieter
#2 2009-07-02 20:23


Translators
Thanked: 7 times

Do you mean this?
http://www.kruisstraat89.be/ and click some times F5 to refresh.

I'm using banner rotate v.1
... can we help you ...
backa
#3 2009-07-02 23:15


Members

yes exactly!

another question:

does seditio plugins work with cotonti or i need to change somethin?

ps. i cant download that banner rotate, link is dead

This post was edited by backa (2009-07-02 23:22, 4 years ago)
Lombi
#4 2009-07-02 23:50


Writers
Thanked: 1 time

Most work, yep.
<a href="http://www.domenlo.com">Surreal Art</a>
pieter
#5 2009-07-03 01:46


Translators
Thanked: 7 times

This plugin works.
This is the version I use: http://www.cotonti.com/datas/users/banner_rotate_64.zip

I will add it to downloads too.

UPDATE:It is added to the download section, but waiting for validation.
... can we help you ...

This post was edited by pieter (2009-07-03 01:55, 4 years ago)
backa
#6 2009-07-03 03:53


Members

thank you all for your great support!

anybody can help me installing rotate banners ? i dont know where to put the codes in header.tpl and so on

This post was edited by backa (2009-07-03 04:04, 4 years ago)
pieter
#7 2009-07-03 22:36


Translators
Thanked: 7 times

Maybe I will have a look at it tonight.
... can we help you ...
backa
#8 2009-07-03 23:31


Members

it would be really great pieter!


waiting for your fixes: )
pieter
#9 2009-07-05 17:18


Translators
Thanked: 7 times

I took some time, but here it is:
Skin with adaptations

The change I made in the skin above:1. In header I added:
<div id="banner">
  <img src="skins/{PHP.skin}/img/banner.jpg" alt="Sed-Dark banner" /> 
</div>

2.In css
#banner {float:left;margin-top:2px;margin-left:10px}

3.Logo was deleted in SED-Dark_HD.gif and placed in banner.jpg

If you install the skin, all will look the same.

If you want to but rotating banner on the site,
1. Follow the instructions first to install the banner-plugin.
2. Change in header the following:
<div id="banner">
  <img src="skins/{PHP.skin}/img/banner.jpg" alt="Sed-Dark banner" /> 
</div>

into
<div id="banner">
  {HEADER_SHOW_BANNER1} 
</div>


Good Luck and let me know it it works.
Maybe give us a link if it is done.

--------------------------------------------
--------------------------------------------
EXAMPLE: http://www.broens.be
--------------------------------------------
--------------------------------------------
... can we help you ...

This post was edited by pieter (2009-07-05 17:56, 4 years ago)
backa
#10 2009-07-07 03:57


Members

um can you send me the css and header tpl files ? it seems i cant manage to put the code into right place

<body>
    <div id="top">
        <div id="container">
            <div id="header">
                <div id="userBar">

                    <div class="userBarR"></div>
                    <strong><center>Welcome to JDM Brothers SLR:R Mods Website!</strong>

                </div>
                <div id="navBar">
                    <div class="text">{PHP.cfg.menu1}</div>
                    <div class="homeLink"><a href="{PHP.cfg.mainurl}" title="{PHP.L.Home}">{PHP.L.Home}</a></div>
                </div>
            </div>
            <div id="content">


where to put the code of header.tpl ?

This post was edited by backa (2009-07-07 04:04, 4 years ago)
pieter
#11 2009-07-07 04:24


Translators
Thanked: 7 times

Just download the skin. See previous post. Click on Skin with adaptation.

Change in header.tpl
<img src="skins/{PHP.skin}/img/banner.jpg" alt="Sed-Dark banner" />
into
{HEADER_SHOW_BANNER1}
... can we help you ...
backa
#12 2009-07-07 04:27


Members

oh gee, i didnt saw that it was for download mate, sorry im goin to check this out right now! thanks!
pieter
#13 2009-07-07 04:34


Translators
Thanked: 7 times

Let me know and send us a link if it works.
... can we help you ...
backa
#14 2009-07-07 06:44


Members

cool it works! ive managed to add it correctly!
thank you pieter for your work!

heres a link to my website:

http://jdmbros.hoxt.me