Thursday, July 1, 2010

Edit Color and Font on com_google

[download 3d google map from com_google]

Ple open default.php file from component folder

components->com_google->views->google->tmpl->default.php file

see line 241 to 260,





<table border="0" cellpadding="4" cellspacing="5">
<tr>
<td valign="top">
<div align="left">
<p><strong><?php echo $conArr[0]->greeting; ?></strong></p>
<p><?php echo nl2br($conArr[0]->mapAddress); ?></p>
<p><label id="contact_emailmsg" for="contact_email">
<?php echo JText::_( 'GOOGLE_CON_TP' );?>
</label>: <?php echo $conArr[0]->mapTp; ?></p>
<p><label id="contact_emailmsg" for="contact_email">
<?php echo JText::_( 'GOOGLE_CON_PHONE' );?>
</label>: <?php echo $conArr[0]->mapPhone; ?></p>
<p><label id="contact_emailmsg" for="contact_email">
<?php echo JText::_( 'GOOGLE_CON_FAX' );?>
</label>: <?php echo $conArr[0]->mapFax; ?></p>
<p><label id="contact_emailmsg" for="contact_email">
<?php echo JText::_( 'GOOGLE_CON_YOUR_EMAIL' );?>
</label>:<a href="mailto:<?php echo $conArr[0]->mapEmail; ?>"> <?php echo $conArr[0]->mapEmail; ?></a></p>
</div>
</td>
<td>




you can style above part as per your web page css

wAp

2 comments: