OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
RealEstateManager component support
Go to bottom Favoured: 0
TOPIC: images for categories
#3361
imkejoemrati (User)
Junior Boarder
Posts: 33
graphgraph
User Offline Click here to see the profile of this user
images for categories 4 Years, 10 Months ago Karma: 0  
i made 3 categories and i want to change the folder image . I tried uploading to this folder ........../components/com_realestatemanager/images
But still cannot select the image for the diffrent categories.
How can i change the images?
 
Logged Logged  
  The administrator has disabled public write access.
#3363
admin (Admin)
Admin
Posts: 4882
graph
User Offline Click here to see the profile of this user
Re:images for categories 4 Years, 10 Months ago Karma: 61  
First of all for every category in Real Estate manager you may set self images.

For that you need upload yours images to folder:
{yours site}/images/stories/

after that for every property category - in Ral estate category manager - you will can set self image

For replace current common image for all properties in real estate manager - you wll need replace below image:

{yours site}//components/com_realestatemanager/images/folder.png

Thanks,
OrdaSoft team
 
Logged Logged  
  The administrator has disabled public write access.
#3365
imkejoemrati (User)
Junior Boarder
Posts: 33
graphgraph
User Offline Click here to see the profile of this user
Re:images for categories 4 Years, 10 Months ago Karma: 0  
perfect.
thank you
 
Logged Logged  
  The administrator has disabled public write access.
#3372
admin (Admin)
Admin
Posts: 4882
graph
User Offline Click here to see the profile of this user
Re:images for categories 4 Years, 10 Months ago Karma: 61  
You may vote for us on joomla.org and write excellent review


Thanks,
OrdaSoft team
 
Logged Logged  
  The administrator has disabled public write access.
#3397
imkejoemrati (User)
Junior Boarder
Posts: 33
graphgraph
User Offline Click here to see the profile of this user
Re:images for categories 4 Years, 10 Months ago Karma: 0  
i replaced the images, it looks great. Is there a way that i can change the size of images for the categories. it scaled to 48 X 48.
 
Logged Logged  
  The administrator has disabled public write access.
#3398
admin (Admin)
Admin
Posts: 4882
graph
User Offline Click here to see the profile of this user
Re:images for categories 4 Years, 10 Months ago Karma: 61  
Hi,

For change image size for category in real estate manager you need open file:
{yours site}/components/com_realestatemanager/realestatemanager.html.php

There are find function:
showInsertSubCategory

and in it replace so code
Code:

<?php
if ( ($params->get( 'show_cat_pic')) && ($cat_all[$i]->image != "")) {?>
   <img src="./images/stories/<?php echo $cat_all[$i]->image;?>" alt="picture for subcategory" height="48" width="48" />&nbsp;
<?php
} else  {?>
<img src="./components/com_realestatemanager/images/folder.png" alt="picture for subcategory" height="48" width="48" />&nbsp;
  <?php }?>
</td>



e.g to
Code:

<?php
if ( ($params->get( 'show_cat_pic')) && ($cat_all[$i]->image != "")) {?>
   <img src="./images/stories/<?php echo $cat_all[$i]->image;?>" alt="picture for subcategory" height="16" width="16" />&nbsp;
<?php
} else  {?>
<img src="./components/com_realestatemanager/images/folder.png" alt="picture for subcategory" height="16" width="16" />&nbsp;
  <?php }?>
</td>

 
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?