OS Property support center

“Property listing” as a top menu...?

  • Vadim
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
12 years 11 months ago #19324 by Vadim
Can a “Property listing” be added as a top menu like a “Category listing” or a “Company listing”?

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

More
12 years 11 months ago #19328 by Dang Thuc Dam
Replied by Dang Thuc Dam on topic Re: “Property listing” as a top menu...?
Hi,
You can do it by edit this file
components > com_osproperty > helpers > common.php
Function buildToolbar($view = '') line 1083
Before
$html .= '</div>';
$html .= '<div class="ipclear"></div>';

You can add

$html .= '<a href="'.JRoute::_('index.php?option=com_osproperty&task=property_listing&Itemid='.JRequest::getVar('Itemid')).'">'.JText::_('Property listing').'</a>';

Good luck!
Dam
The following user(s) said Thank You: Vadim, Patrik

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

  • Vadim
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
12 years 11 months ago - 12 years 11 months ago #19339 by Vadim
Thanks Dam,
but how can I add a new label "Property listing" to the list of translation "Translate labels"?

I added a "Property listing" tab to a top menu, but how to add the top menu to a Property listing layout?
Last edit: 12 years 11 months ago by Vadim.

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

More
12 years 11 months ago #19373 by Dang Thuc Dam
Replied by Dang Thuc Dam on topic Re: “Property listing” as a top menu...?
Hi,
You can use OS_PROPERTY_LISTING instead of Property listing.
And in the language file
language > en-GB > en-GB.com_osproperty.ini, you can define the value of it like bellow
OS_PROPERTY_LISTING="Property listing"
The same for other languages in other folders.
Good luck!
Dam
The following user(s) said Thank You: Vadim

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

  • Vadim
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
12 years 11 months ago #19377 by Vadim
Thanks Dam,
I added a "Property listing" tab to a top menu, but how to add the top menu to a Property listing layout?

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

  • Vadim
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
12 years 11 months ago #19543 by Vadim
Do you have any idea how to add the top menu to a Property listing layout?

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

  • Vadim
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
12 years 10 months ago #20006 by Vadim
Can I finally get an answer, how to add the toolbar to the property listing layout?

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

More
12 years 10 months ago #20009 by Dang Thuc Dam
Replied by Dang Thuc Dam on topic Re: “Property listing” as a top menu...?
Hi, You want to add the top menus "Back, Agent register v.v." in the page listing all properties? Can you send me the link, i need to check it a bit.
Thank you
Dam

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

  • Vadim
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
12 years 10 months ago #20013 by Vadim
Hi,
yes I mean the toolbar (top menu), which is defined in components/com_osproperty/helpers/common.php starting from the line 1076 "Build toolbar".
I can see it with the link ...?task = property_listing, but not in a property listing view Layout (components/com_osproperty/views/ltype) from a menu item.
The toolbar is displayed on a page ...?task = property_listing with the div tag <div id = "ip_toolbar"...

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

  • Vadim
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
12 years 9 months ago #21302 by Vadim
Hi Dam,
I sent the access data to your email. Can I get an answer to my question?

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

Moderators: Dang Thuc DamNguyen Phu Quan