Pathway Icon

Discuss the development and implementation of Joomla! 1.0.x templates here.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Locked
User avatar
SiteBuilder
Joomla! Apprentice
Joomla! Apprentice
Posts: 35
Joined: Fri Aug 19, 2005 6:25 pm
Location: Bend, Oregon

Pathway Icon

Post by SiteBuilder » Wed Aug 24, 2005 2:45 pm

OK, its probably been asked a million times before (sorry), is there anyway to modfiy the pathway icon (orange triangle) without replacing it?
Another word can you use css to replace that image?

this seems like one of those copyright-replacement type issues. Any modularization of this in the future? (or that I'm missing now)  ;D

thanks,
Scott
Scott Barnes

User avatar
sc00zy
Joomla! Exemplar
Joomla! Exemplar
Posts: 9529
Joined: Thu Aug 18, 2005 9:07 am
Location: Assen, Netherlands
Contact:

Re: Pathway Icon

Post by sc00zy » Wed Aug 24, 2005 2:53 pm

You'll have to edit /includes/pathway.php and replace arrow.png with the image you like.
Arjan Menger
http://www.welldotcom.nl - Professionele Joomla! Design, Ontwikkeling en Hosting
http://www.joomlaideal.nl - iDEAL betaalmethode voor Joomla! en Virtuemart

User avatar
SiteBuilder
Joomla! Apprentice
Joomla! Apprentice
Posts: 35
Joined: Fri Aug 19, 2005 6:25 pm
Location: Bend, Oregon

Re: Pathway Icon

Post by SiteBuilder » Wed Aug 24, 2005 2:58 pm

that's what I figured.  :P  Any talk of making this a module (or easier) in later releases of #ambo?

thanks
Scott Barnes

User avatar
rcarver
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 204
Joined: Thu Aug 18, 2005 10:24 pm
Contact:

Re: Pathway Icon

Post by rcarver » Wed Aug 24, 2005 5:01 pm

If you add an arrow.png to your template/image directory with the image you want to use, the pathway module should pick it up....

Code: Select all

	$imgPath =  'templates/' . $mainframe->getTemplate() . '/images/arrow.png';
	if (file_exists( "$mosConfig_absolute_path/$imgPath" )){
		$img = '<img src="' . $mosConfig_live_site . '/' . $imgPath . '" border="0" alt="arrow" />';
	} else { 
		$imgPath = '/images/M_images/arrow.png';
		if (file_exists( $mosConfig_absolute_path . $imgPath )){
			$img = '<img src="' . $mosConfig_live_site . '/images/M_images/arrow.png" alt="arrow" />';
		} else {
		    $img = '>';
		}
	}
This is from the 4.5.2 source, but I'm pretty sure that codes been in there for a while.
Randy Carver - carver-family.com

There are 10 types of people in this world.  Those that understand binary and those that don't.

User avatar
SiteBuilder
Joomla! Apprentice
Joomla! Apprentice
Posts: 35
Joined: Fri Aug 19, 2005 6:25 pm
Location: Bend, Oregon

Re: Pathway Icon

Post by SiteBuilder » Wed Aug 24, 2005 5:04 pm

Right, thanks.  I'm just trying to put together a couple templates, and would hate for people to have to do something other than install the template, i.e. upload the arrow.png.

Scott
Scott Barnes


Locked

Return to “Templates & CSS - 1.0.x”