OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
Again - Advertisement: Featured clicks and shows (0 viewing) 
RealEstateManager component support
Go to bottom Favoured: 0
TOPIC: Again - Advertisement: Featured clicks and shows
#37654
dejansoftware (User)
Expert Boarder
Posts: 132
graphgraph
User Offline Click here to see the profile of this user
Re:Again - Advertisement: Featured clicks and shows 7 Months, 4 Weeks ago Karma: 0  
Change in css file that you suggested didn't work.

However, we went to look for the solution and we found something that I would like to share with you:

In "modulesmod_realestatemanager_featuredtmpldefault.php we change next lines of code

Line: 61 - 64
----------------
this code
Code:

 
    else {
        $img='<a href="'.JRoute::_($link1, false).'" target="_self"> <img src="'.$imageURL.'" alt="'.$row->htitle.'" 
    border="0" style="height: '.$image_height.'px; width: 100%;" /></a>';
    }




we replace with this one:

Code:

 
    else {
        $img='<a href="'.JRoute::_($link1, false).'" target="_self"> <img src="'.$imageURL.'" alt="'.$row->htitle.'" 
    border="0" style="height: '.$image_height.'px; width: '.$container_image_width.'px;" /></a>';
    }



and, one more thing

Line:244

this code

Code:

 
 <div style="position:relative; display:inline-block; float:left; margin-right:15px; width: <?php echo $container_image_width.'px'?>;">



we replace with this one:

Code:

 
 <div style="position:relative; display:inline-block; float:left; margin-right:15px;">



Now Module works as I expected

I do have one question for you. Can you check if this change will be ok with all features in this module that we do not use now, but sometime in future we might use.

I just need confirmation that our fix is ok.

Thanks
Dejan
 
Logged Logged  
  The administrator has disabled public write access.
#37685
admin (Admin)
Admin
Posts: 6045
graph
User Offline Click here to see the profile of this user
Re:Again - Advertisement: Featured clicks and shows 7 Months, 3 Weeks ago Karma: 68  
Dear Dejan

Excellent !

Thanks you !
 
Logged Logged  
  The administrator has disabled public write access.
Go to top
What are you looking for?
Anti-spam question: How many eyes has a typical person?