OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
Change house description length (0 viewing) 

Joomla Real Estate

Go to bottom Favoured: 0

Change house description length

shimda (User)
Junior Boarder
Posts: 26
graphgraph
User Offline Click here to see the profile of this user
Gender: Female Location: Germany Birthdate: 1987-06-23
Change house description length 6 Years, 8 Months ago
Karma: 0  
Hello Ordasoft,

I just want to ask if its possible to change the length of the house description? I'm using the single category view and the list template.

I thought it could be the List.php at /components/com_realestatemanager/views/alone_category/tmpl with the code "$input_text, $limit = 50" but I guess this was not the correct location.

Can you tell me, where I can change that? The problem is, I've put an module into the description and now I can see it at the list on some houses. So I want to decrease the limit of words.

Thank you for your help.
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8367
graph
User Offline Click here to see the profile of this user
Re:Change house description length 6 Years, 8 Months ago
Karma: 102  
Dear

For show description for house in Real estate manager, in list view, file:
{file}/components/com_realestatemanager/views/alone_category/tmpl/List.php

we use below code:

Code:

    positions_rem(words_limit($row->description, 20, '...')); 


Please change 20 to some other

Please backup file first

Regards
Andrew
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
shimda (User)
Junior Boarder
Posts: 26
graphgraph
User Offline Click here to see the profile of this user
Gender: Female Location: Germany Birthdate: 1987-06-23
Re:Change house description length 6 Years, 8 Months ago
Karma: 0  
Hello Andrew,

thank you very much for your answer. I'm glad that I was almost on the correct location for changing some code. Unfortunately it doesn't help to hide the module which I've put into the text via loadposition.

But I had another solution. I've put another class to the description and to my module and made a display: none to the CSS code. It's really simple, but it was the better solution for me. But I will note your advice for any changes in future.
Logged Logged
Last Edit: 2018/04/16 08:16 By shimda.
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8367
graph
User Offline Click here to see the profile of this user
Re:Change house description length 6 Years, 8 Months ago
Karma: 102  
Dear

Code:

it doesn't help to hide the module which I've put into the text via loadposition.

For hide the module, you need from code before remove "positions_rem"

Regards
Andrew
Ordasoft team
Logged Logged
The administrator has disabled public write access.
Go to top
»