Members: 16,996
Threads: 38,866
Posts: 159,475
Online: 45

Newest Member: Kl_broka@rediffmail.com


Odoo.tv - Outdoor Television


Sedo - Domains kaufen und verkaufen das Projekt mambers.com steht zum Verkauf Besucherstatistiken von mambers.com etracker® Web-Controlling statt Logfile-Analyse

Go Back   Mambers.com > Mambo 4.5.1 > Mambo 4.5.1 General Talk

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 10.05.2005, 23:01   #1 (permalink)
Baby Mamber
 
Join Date: May 2005
Posts: 8
Mikeyjones is on a distinguished road
Default A quick and easy way to add template specific Graphic seperatorsbetween news articles

Only found out this by madly meddling with Php files, anywho..

Basically go into components/com_content/content.HTML.php

insert this in line 458

<div align="center"><img src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $template; ?>/images/yourimagename.jpg" width="imagewidth" height="imageheight" border="0"/>

replace the bolded out type with your image (including image folder, within your template) width and height.

This will allow you to have an image that is relevant to your current template..

I have used it on my site here: www.sequel-trilogy.net/start
Mikeyjones is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 11.05.2005, 00:06   #2 (permalink)
Professional Mamber
 
eyezberg's Avatar
 
Join Date: Apr 2004
Location: Gap / France
Posts: 860
eyezberg is an unknown quantity at this point
Default Re: A quick and easy way to add template specific Graphic seperatorsbetween news articles

You've got a great looking site there, congrats!
And thanks for sharing the trick here
__________________
joe / ex Mambo ex Doc Team
Eyezberg.com
eyezberg is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11.05.2005, 00:35   #3 (permalink)
Baby Mamber
 
Join Date: May 2005
Posts: 8
Mikeyjones is on a distinguished road
Default Re: A quick and easy way to add template specific Graphic seperatorsbetween news articles

Thanks!

Just looked at your eyezberg site, what is that your using to make your transitions between pages, where they fade over one another is that Javascript ?? its really cool, and gives me an idea for my new website design
Mikeyjones is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11.05.2005, 08:57   #4 (permalink)
Professional Mamber
 
eyezberg's Avatar
 
Join Date: Apr 2004
Location: Gap / France
Posts: 860
eyezberg is an unknown quantity at this point
Default Re: A quick and easy way to add template specific Graphic seperatorsbetween news articles

Nope, just do a view source, it's pure Microsoft, IE only stuff, search MS dev site for "transitions", there's more than 10 different ones..
__________________
joe / ex Mambo ex Doc Team
Eyezberg.com
eyezberg is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11.05.2005, 09:26   #5 (permalink)
Elite Mamber
 
-peter-'s Avatar
 
Join Date: Apr 2004
Posts: 1,283
-peter- is an unknown quantity at this point
Default AW: A quick and easy way to add template specific Graphic seperatorsbetween news arti

Hi eyez

try for your partnerlinks this code

Code:
<img onmouseover="opacity.fadeIn(this);" style="FILTER: alpha(opacity=30); opacity: 0.3; moz-opacity: 0.3" onmouseout="opacity.fadeOut(this);" src="path for your image" width="151" border="0" />
You can get another fadein and out speed where the 30 and 0.3 is ....


I have another question, is there any chance to make a different frontpage and and the articel page with one text?

Sorry for my bad english..

Greats Peter
-peter- is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11.05.2005, 23:37   #6 (permalink)
Professional Mamber
 
eyezberg's Avatar
 
Join Date: Apr 2004
Location: Gap / France
Posts: 860
eyezberg is an unknown quantity at this point
Default Re: AW: A quick and easy way to add template specific Graphic seperatorsbetween news arti

I'm not 100% sure I understand what you mean, but if you mean what I think you mean then I guess you can, yes, by inserting a check in your template's index.php to see if option and if option == com_frontpage (so: you are on the frontpage) and call one css; if not, call another
(is' das so verständlich? lol)
__________________
joe / ex Mambo ex Doc Team
Eyezberg.com
eyezberg is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +2. The time now is 10:48.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.