Go Back   Mosets Community > Archives > Mosets Hot Property 1.0 > Discussions, Troubleshooting and Problems

 
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-21-2012, 12:43 AM
rodrigoquintero rodrigoquintero is offline
Mosets'd
 
Join Date: May 2012
Posts: 1
Default showing information

Hi everyone
I was wondering if you can help me with this issue I have

First of all, I'm trying to get the mod_hotproperty_properties show the information of each property besides the name, because it only shows that only characteristic

Second, I have the same issue with the mod_hotproperty_types, because it only shows the categories, and I cannot make it show the description and all of the others properties

Can anyone help me?

edit:
for reference i need it showing like in the demo
http://demo.mosets.com/hotproperty/

but instead it shows it like this
http://anc.com.co/joomla/

the part where it says "inmuebles disponibles" is where the hotproperty_types is located

thanks

Last edited by rodrigoquintero; 06-21-2012 at 04:57 AM.
  #2  
Old 09-26-2012, 01:17 AM
gray gray is offline
Mosets'd
 
Join Date: Apr 2006
Posts: 901
Default

this is because model extracts only data from main property table. it's necessary to add
'PropertyField' => array()
like here
PHP Code:
$model =& $hotproperty->getModel('Property');
$properties $model->getData('all'array_merge_recursive($conditions, array(
    
'where' => array(
        
'Property.approved' => 1,
        
'Property.published' => 1,
        array(
            
'OR' => array(
                
'Property.publish_up' => $nullDate,
                
'Property.publish_up <=' => $now->toMySQL()
            )
        ),
        array(
            
'OR' => array(
                
'Property.publish_down' => $nullDate,
                
'Property.publish_down >=' => $now->toMySQL()
            )
        )
    ),
    
'limit' => $params->get('count'),
    
'contain' => array(
        
'PropertyField' => array(), // hack - not in original module
        
'Featured' => array(),
        
'Photo' => array(
            
'limit' => 1,
            
'order' => array('Photo.ordering' => 'ASC')
        )
    )
)));
$total $model->getTotal(); 
__________________
4HP: Slideshow Module New!
www.topcomhomes.com
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +8. The time now is 06:39 AM.

Copyright © 2005-2010 Mosets Consulting

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.