| Hi all This is the module code: Code: <?php the id class "Content-title_" has a background image of 580px 65px plus the text format. I need that image to be linked to the home page. Im not good at this and the guy who did this does not work with me anymore. This is the div:defined('_VALID_MOS') or die('Direct Access to this location is not allowed.'); global $mainframe, $database, $option; if($option == "com_content"){ $database->setQuery("SELECT `title` from #__content WHERE `id` = {$_REQUEST['id']}"); if(!$database->query()){ die($database->stderr()); }else{ $title = $database->loadResult(); } echo "<div id=\"content-title_\"> {$title}</div>\n"; } ?> Code: #content-title_ { font-family:Verdana, Arial, Helvetica, sans-serif; font-style:normal; position: relative; left: 0px; top: 0px; width: 580px; height: 65px; padding: 40px 0px 0px 15px; float: left; background: url(../images/content-title-bg.jpg) no-repeat; font-size: 16px; fo How can I add the link to that image? I dont mind to add the image inside the module but I really need that image linked. Thank you in advance! |
Forum 





Author



Logged





