OS Property support center

[SOLVED] Add additional tab to property info page

  • Davor
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 7 months ago - 9 years 7 months ago #48798 by Davor
Hello I would like to add another iframe or text tab in property info, so that I can have more tabs. How can this be done?
thank you
Last edit: 9 years 7 months ago by Davor.

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

More
9 years 7 months ago #48821 by Mr. Dam
Hi Davor,
It's possible. You can modify the source code of current theme (that you are using). The file will be:
components > com_osproperty > templates > current_theme > details.html.tpl.php
But we aren't sure with the way you enter the Property info (as you mentioned), you can add new fields into OS Property or using extra fields to contain this information.
I hope you are able to implement it.
Good luck
Dam

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

  • Davor
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 7 months ago #48824 by Davor
Yes I found the file. What I want to know is if the extra field can contain and display iframe? Like another video for example.
Thanks

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

More
9 years 7 months ago #48825 by Mr. Dam
Hi Davor,
You can try to add the HTML content into Textarea extra field. And then retrieve data and show it in the new tab.
Thanks
Dam

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

  • Davor
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 7 months ago #48840 by Davor
OK, will try to do that. Just to let others know. That I tried to ad iframe code into the textarea extra field and it works.
Best

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

Moderators: Mr. DamNguyen Phu Quan