OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
Can't insert java script code (0 viewing) 

Joomla Real Estate

Go to bottom Favoured: 0

Can't insert java script code

bookandgo (User)
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Can't insert java script code 5 Years, 6 Months ago
Karma: 0  
Hi,
I am trying to insert java script code on house description (using sourcerer plugin), but it would not work. A part of the code is cut off when saving the changes.

Is there a way to insert it?
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8366
graph
User Offline Click here to see the profile of this user
Re:Can't insert java script code 5 Years, 6 Months ago
Karma: 102  
Hello

for add to Joomla Real Estate Manager (ordasoft.com/Real-Estate-Manager-Software-Joomla.html) possibility save in house description Javascript

You need
in Joomla Global settings -> Site-> Default Editor, Please set NONE

in file
{your site}/administrator/components/com_realestatemanager/realestatemanager.php

Please find function
Code:

function saveHouse($option, $task) 


and code
$post = JRequest::get('post', JREQUEST_ALLOWHTML);

Please replace to
Code:

$post = JRequest::get('post', JREQUEST_ALLOWRAW);


Please backup this file first

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