OS Property support center

New tabs with extra fields data

More
12 years 1 month ago #29169 by jc
Hello Dam,

I opened this but with a bad explanation. I want to display in new tabs in the frontend property page, default tabs and two new tabs with the data of extra fields. I attach an example what i want

File Attachment:

File Name: tabs_2013-04-15.txt
File Size:0 KB
Attachments:

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

More
12 years 1 month ago #29192 by Mr. Dam
Replied by Mr. Dam on topic Re: New tabs with extra fields data
Hi,
We are understand what you want, but unfortunately, it's impossible to move extra field and extra field groups from slides to tabs.
Thanks
Dam

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

More
12 years 1 month ago #29210 by jc
Replied by jc on topic Re: New tabs with extra fields data
Hi Dam,

But there's no way to display extra fields in new tabs? You mentioned something about OSHELPER function to display fields. There's no way to call values of extra fields? Please, i need something to change the layout display, because the amount of data is large to show in slides.

Any idea?


Thanks,

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

More
12 years 1 month ago #29212 by Mr. Dam
Replied by Mr. Dam on topic Re: New tabs with extra fields data
Hi JC,
To change from other information to several tabs, we need to know about php Joomla coding. And i will list the files and function that you can read the source code and make the changes manually.
The files related
components > com_osproperty > templates > default > details.html.tpl.php
components > com_osproperty > templates > default > small.details.html.tpl.php

The code to get the extra fields and show them in first tab after
if(count($row->extra_field_groups) > 0){
........
}

Look at bellow code, it's the source code to make new tab (Walk score)
<div class="jwts_tabbertab" title="<?php echo JText::_('OS_WALK_SCORE')?>">
<h2><a href="javascript:void(null);" name="advtab"><?php echo JText::_('OS_WALK_SCORE')?></a></h2>
<div style="margin: 10px 10px 0 10px">
<?php
echo $row->ws;
?>
</div>
</div>

You can check those code and i hope you can make the change by yourself
Dam

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

More
12 years 1 month ago #29269 by jc
Replied by jc on topic Re: New tabs with extra fields data
Hi Dam,

I tried with you told me, but i don't understand all. By other way, i attach you what i modified in code. It works, i have a tab with either extra fields groups, but konw lightbox don't work.

Is there a way to put the image thumbnails on the right of the main image?

Thanks,

File Attachment:

File Name: change.txt
File Size:47 KB
Attachments:

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

More
12 years 1 month ago #29270 by Mr. Dam
Replied by Mr. Dam on topic Re: New tabs with extra fields data
Hi,
To put the thumbnail photos to the right of the main photo, please change function photogallery in file
components > com_osproperty > helpers > common.php
Thanks
Dam

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

More
11 years 2 months ago #41888 by Anirudh Kumar
Replied by Anirudh Kumar on topic Re: New tabs with extra fields data
I am searching for it, can you help me to achieve it, if you have already did it.

Cheers,
Anirudh.

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

More
11 years 2 months ago #41894 by Mr. Dam
Replied by Mr. Dam on topic Re: New tabs with extra fields data
Hi,
I have answered you through Ticket system
Thanks
Dam

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

Moderators: Mr. DamNguyen Phu Quan