Cotonti / Open Source PHP Content Management FrameworkContent Management Framework

Форуми / Cotonti / Support / random logos after refresh

please help

backa
#1 02.07.2009 18:31
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 02.07.2009 20:23
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 02.07.2009 23:15
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

Відредаговано: backa (02.07.2009 23:22, 13 років тому)
Lombi
#4 02.07.2009 23:50
Most work, yep.
<a href="http://www.domenlo.com">Surreal Art</a>
pieter
#5 03.07.2009 01:46
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 ...

Відредаговано: pieter (03.07.2009 01:55, 13 років тому)
backa
#6 03.07.2009 03:53
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

Відредаговано: backa (03.07.2009 04:04, 13 років тому)
pieter
#7 03.07.2009 22:36
Maybe I will have a look at it tonight.
... can we help you ...
backa
#8 03.07.2009 23:31
it would be really great pieter!


waiting for your fixes: )
pieter
#9 05.07.2009 17:18
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 ...

Відредаговано: pieter (05.07.2009 17:56, 13 років тому)
backa
#10 07.07.2009 03:57
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 ?

Відредаговано: backa (07.07.2009 04:04, 13 років тому)
pieter
#11 07.07.2009 04:24
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 07.07.2009 04:27
oh gee, i didnt saw that it was for download mate, sorry im goin to check this out right now! thanks!
pieter
#13 07.07.2009 04:34
Let me know and send us a link if it works.
... can we help you ...
backa
#14 07.07.2009 06:44
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