OS Property support center
SOLVED !!! propertyprint.php Customisation
- What No Website
-
Topic Author
- Offline
- Platinum Member
-
- Full Stack Developer
Less
More
9 years 1 month ago - 9 years 1 month ago #79734
by What No Website
Joomla & Hand Coded Web Design
What no Website
SOLVED !!! propertyprint.php Customisation was created by What No Website
Hi
I'm creating a new template file based on Bootstrap and everything was going well until I tried to pull property details and features out.
I get the following error:
Fatal error: Call to a member function setQuery() on a non-object in /home/XXXXXX/public_html/components/com_osproperty/helpers/layouts/propertyprint.php on line 141
I'm creating a new template file based on Bootstrap and everything was going well until I tried to pull property details and features out.
I get the following error:
Fatal error: Call to a member function setQuery() on a non-object in /home/XXXXXX/public_html/components/com_osproperty/helpers/layouts/propertyprint.php on line 141
Code:
$db->setQuery("Select a.* from #__osrs_amenities as a left join #__osrs_property_amenities as b on a.id = b.amen_id where a.category_id = '".$k."' and b.pro_id = '$row->id'");
Joomla & Hand Coded Web Design
What no Website
Last edit: 9 years 1 month ago by Mr. Dam.
Please Log in or Create an account to join the conversation.
- What No Website
-
Topic Author
- Offline
- Platinum Member
-
- Full Stack Developer
9 years 1 month ago #79735
by What No Website
Joomla & Hand Coded Web Design
What no Website
Replied by What No Website on topic propertyprint.php Customisation
Whoops, fixed. Found the connector:
Code:
<?php $db = JFactory::getDbo();?>
Joomla & Hand Coded Web Design
What no Website
Please Log in or Create an account to join the conversation.
Moderators: Mr. Dam, Nguyen Phu Quan
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.