JoomlaBear Forums
Welcome, Guest
Please Login or Register.
Lost Password?
_GEN_GOTOBOTTOM Post Reply Favoured: 0
TOPIC: Nifty layout
#93
Big Bear (Admin)
Admin
Posts: 220
graph
User Offline Click here to see the profile of this user
Re:Banner 2007/09/23 13:57 Karma: 17  
I have added another module position to Nifty Theme and published it in the downloads area. NiftyTheme 1.1

http://joomlabear.com/Downloads/

It has the module position "Advert1" in which to publish the ads as seen in the Demo http://nifty.joomlabear.com/

We use the Adsense module from http://www.joomlaspan.com/portal/

Post edited by: Big Bear, at: 2007/09/23 13:59
  The administrator has disabled public write access.
#95
ibarto (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Re:Banner 2007/09/23 17:41 Karma: 0  
Thanka a lot...

your theme it's very nice... I will use for my web site http://www.iPodMania.it (see it on the test area http://test.iPodmania.it)

best cioa
andrea
  The administrator has disabled public write access.
#98
Big Bear (Admin)
Admin
Posts: 220
graph
User Offline Click here to see the profile of this user
Re:Banner 2007/09/24 09:41 Karma: 17  
Nice work Andrea!

Perhaps when you have finished the new site you could post a link in our Showcase forum.
  The administrator has disabled public write access.
#101
ibarto (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Re:Banner 2007/09/25 19:32 Karma: 0  
Do you think that it's possible to insert anoter little banner near the main one??

in wich part of the code??

<?php if (mosCountModules('advert1')) { ?>
<div id="ad" >
<?php mosLoadModules ( 'advert1',-2 ); ?>
</div>
<?php } ?>

thanks
andrea
  The administrator has disabled public write access.
#102
Big Bear (Admin)
Admin
Posts: 220
graph
User Offline Click here to see the profile of this user
Re:Banner 2007/09/26 00:49 Karma: 17  
Hi Andrea,

If you want it to be just above or just below the other banner then you can simply duplicate the code and give the DIV a different ID and change the module to another one of the default modules available.

e.g. (original code followed by another module position that would be published just below the first.)

Code:

 <?php if (mosCountModules('advert1')) { ?> <div id="ad" > <?php mosLoadModules ( 'advert1',-2 ); ?> </div> <?php } ?> <?php if (mosCountModules('advert2')) { ?> <div id="ad-2" > <?php mosLoadModules ( 'advert2',-2 ); ?> </div> <?php } ?>



You only need the DIV ID so you can target it in the CSS stylesheet <div id="ad-2"> and you can obviously give it any ID name you want.

In the stylesheet you'll add:

Code:

 #ad-2 { }



and then you can put your styles between the curly brackets.

e.g.

Code:

 #ad-2 { padding-top10px; }



would give you 10 pixels of spacing between the two blocks.

Hope this helps.
  The administrator has disabled public write access.
#286
tclauss (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Re:Nifty layout 2007/11/29 01:46 Karma: 0  
Sorry I ment to create a new thread, and not post into this one.

moved it to here.

Post edited by: tclauss, at: 2007/11/29 01:55
  The administrator has disabled public write access.
_GEN_GOTOTOP Post Reply
Powered by FireBoardget the latest posts directly to your desktop
Professional Joomla Hosting With HostPapa

Help keep JoomlaBear alive!

Enter Amount:

Who's Online

We have 3 guests and 2 bears online

JoomlaBear Stats

BEARS: 9599
Articles: 107
Visitors: 569326

Latest Templates

  • Subtle Grey Bear Joomla 1.0+ 
  • PolarBear Template 1.0+ 

Latest Comments

Login Form






Lost Password?
No account yet? Register