IProperty

Intellectual Property is a full-featured real estate extension for the Joomla! CMS

IPReserve

IPReserve is a reservation extension for IProperty.

IReport

Need to keep track of your IProperty stats? Meet IReport - a reporting tool for IProperty!

Work Force

Work Force is a staff listing extension for the Joomla! CMS. Show off your employees with style!

Report Card

Report Card is a testimonials extension for the Joomla! CMS. What are people saying about your company or product?

UTransport

Ultra Transport is a full-featured vehicle listing extension for the Joomla! CMS

Project Log

Project Log is a project management extension for the Joomla! CMS. The best part is, it's totally free!

Forums

Have pre-sales questions or need support for an existing subscription? Look no further - we have active support forums and pride ourselves on friendly and timely response!

The Thinkery

Not finding what you're looking for? Don't hesitate to contact us!

Before Posting...

Before posting questions in the forums, please be sure to read the FAQs by clicking on the FAQs link in the sidebar product menu. You must be logged in and have a valid subscription to access the SUPPORT FORUMS.
×
Support Policy Notice

As outlined in our Rules section (though never closely followed by our staff!), effective immediately we will no longer be taking time to provide customizations of our products.

Iproperty in a different approach

More
7 years 10 months ago #10042 by Atti
Atti replied the topic: Re: Iproperty in a different approach
Hi Jeff,
Thanks :)
Unfortunately the modification will not work for future releases.
What I did was two thing:
one is just to modify the language files. That is easy to do it again with a software like "mass replace"
The other was to added extra tabs and modify the forms. This involves more changes in more files and needs doing again.
It's a bit harsh to say but I'm not worried about the updates. The component is so well written that in my opinion it doesn't need to be updated from security reasons.

Let me know if u need any help.
A

Please Log in or Create an account to join the conversation.

More
7 years 10 months ago #10439 by ChrisP
ChrisP replied the topic: Re: Iproperty in a different approach
Atti wrote:

The other was to added extra tabs and modify the forms.

Let me know if u need any help.
A

Good afternoon Atti.

How hard was it to add the add the extra Tab called "Packages/Menus"

Have you also created a new admin panel for this in the backend so that they can add content to this tab ?

Please Log in or Create an account to join the conversation.

More
7 years 10 months ago #10451 by Atti
Atti replied the topic: Re: Iproperty in a different approach
Hi Chris,
I got this guide form Vinny and it is perfect. You can see that I copied the Description tab as it is a plain filed just what I needed.
If you need I can send you my modified files but you need to add the extra table to your database yourself.
If you cannot do that you can give me temp access to your phpmyadmin panel and I could help with that.
So here is the guide:
You would need to add your new field 'offers' to your #__iproperty db table. Then add that new field to your 'administrator/tables/iproperty_properties.php' and 'administrator/models/property.php' _initData() method.

From there, you can basically copy and rename one of the existing tabs ($pane->startPanel(...) to $pane->endPanel()) from your 'administrator/views/property/tmpl/default.php'. Assuming it will be a wysiwyg editor area, you can copy the description editor display ($this->editor->display( 'description'....)) and rename it to 'offers'. In the js at the top of the page, don't forget to add 'echo $this->editor->save('offers');' in the same area it saves the description.

That should now save offers when you apply or save a property listing in the admin. On the front-end you'll need to add your new field to the property object in 'helpers/property.php' so it can be used in the property view. In the 'views/property/tmpl/default.php' you can again basically copy, paste and rename one of the existing tabs and echo the offers (echo $this->p->offers). Hope this helps...

Please Log in or Create an account to join the conversation.

More
7 years 10 months ago - 7 years 10 months ago #10473 by ChrisP
ChrisP replied the topic: Re: Iproperty in a different approach
That all make sense, just to clarify what im want to create is a new tab + admin access to add content to the new tab BUT i also need to the tab to be hidden if no content has been added via the administration page.

Thanks for your time and help Atti, its much appreciated :)
Last Edit: 7 years 10 months ago by ChrisP.

Please Log in or Create an account to join the conversation.

More
7 years 10 months ago #10480 by Atti
Atti replied the topic: Re: Iproperty in a different approach
hm hm, I think this is not doable with the present frame work of IP. If you add the tab to the admin and the front it will be there even if the area is empty.
Please ask the support they might have some idea but I doubt it.
A

Please Log in or Create an account to join the conversation.

More
7 years 10 months ago #10482 by tim
tim replied the topic: Re: Iproperty in a different approach
You'd just want to do a check for the data before outputting the form tab--
if ($mydata) {
$pane->startPanel etc.
}

That way the front end tab never shows unless it has data. Thanks for helping with Chris' questions Atti.

Please Log in or Create an account to join the conversation.

Time to create page: 0.253 seconds