OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?

Joomla Real Estate

Go to bottom Favoured: 0

Alt Text on Images

propertyexpress (User)
Fresh Boarder
Posts: 16
graphgraph
User Offline Click here to see the profile of this user
Alt Text on Images 11 Years ago
Karma: 0  
Dear Sir/Mdm,

We are trying to insert Alt Text to all images on the

1. RealEstateManager Module
2. Slideshow Module

which are on the main page. We would like to have these Alt Titles to be the same as the Property Titles. Appreciate much your kind advice.

Hear from you soon!

Rgrds
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8285
graph
User Offline Click here to see the profile of this user
Re:Alt Text on Images 11 Years ago
Karma: 101  
Hello,

insert Alt Text to all images on the Real Estate manager modules

I will show for you for example for mod_realestate_manager_new_3.1

in file:
{site}/module/mod_realestate_manager_new/tmpl/default.php

You see:
Code:

$selectstring = "SELECT h.id, h.houseid, h.htitle, h.description, h.broker, h.image_link, hc.idcat
            nFROM #__rem_houses AS h
                nLEFT JOIN #__rem_categories AS hc ON hc.iditem=h.id
            nLEFT JOIN #__rem_main_categories AS c ON c.id=hc.idcat
            nWHERE ($s) AND h.published=1
                nORDER BY ".$sql_orderby_query." DESC LIMIT 0,$count;"; 


There are kye word "h.htitle"

after that we see:
Code:

foreach ($rows as $row) { 


so for you for tag image, image will look like:

Code:

<img src="<?php echo $imageURL; ?>"  hspace="15" vspace="2" border="0" height="<?php echo $coversize; ?>"  alt="<?php echo $row->htitle; ?>" />




Thanks,
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
Go to top
»