List Manager Forum

Editor destroyed link

User moon_822 2012-12-13 09:58:58

Hello

I've created a link in the backend
<a href="Datenblatt/Maschine.pdf" target="_blank">Download</a>

I open the link in the frontend in HTML mode, it looks like this:
<a href="" target="">Download</a>

I then save the record, the link will be destroyed
<a target="">Download</a>

I hope they can help me!!

Thank you

Moonsoft support 2012-12-13 11:46:05

Hello,
we don't modify the information provided by the editor, so if some code dissapears when saving through the editor, it is usually related to some editor configuration. Some of them include parameters to do code 'cleaning', or filter content, that may cause loosing information.


Please double-check your editor configuration, let us know which are you using in case we can provide more information about its options, and confirm if the information is really lost, checking the data also through the backend to discard any front-end plugin undesired effect.

Thanks, regards

User moon_822 2012-12-13 17:47:47

Hello,

I have the JCE editor and joomla version changed to 2.7.
then I have a link in the backend

* An amount (Link Manager of JCE):
/ Joomla27/datenblatt/maschine.pdf

* And in the LM (Link Manager of JCE)
/ Joomla27/datenblatt/maschine.pdf


I open the article in the frontend and
* Edit the link (Link Manager of JCE)
/ Joomla27/datenblatt/maschine.pdf < OK

I open the frontend and the LM
* Edit the link (Link Manager of JCE)
"/ Joomla27/datenblatt/maschine.pdf" Error (double "")

is in store this links it
http://localhost/Joomla27/%22/SerWeMa25/datenblatt/maschine.pf%22
or according to HTML
<p /> <a pdf="" maschine="" datenblatt="" serwema25="" /> download

Edited by moon_822 - 13.12.2012 17:48

Moonsoft support 2012-12-14 10:49:42

Hello,
ok, then the issue could be related with the edition of the data, more than with saving step. Please try this, we have it working here with JCE latest version and joomla 2.5:

Edit

JOOMLA/modules/mod_listmanager/assets/js/listmanager.js (line 694)

Replace this section

/*var data_replaced=replaceAll(values.getData(elem.id).getValue(),'"','"');
data_replaced=replaceAll(data_replaced,"'",''').replace(/(\r\n|\n|\r)/gm,"");
Browser.exec("setContentEditor"+seed+"('"+'fld_'+elem.id+"','"+data_replaced+"')");*/


with this line

setContentEditor('fld_'+elem.id,values.getData(elem.id).getValue());


Edit

JOOMLA/modules/mod_listmanager/tmpl/content.php (line 168)

Replace this line:

//function setContentEditor ?php echo $seed; ? > (editor,value){


with this one

function setContentEditor(editor,value){


and keep your editor options using relative urls. Check again the result and let us know if you have more issues.

Thank you, regards

Edited by MSTeam - 14.12.2012 10:50

User moon_822 2012-12-14 11:12:16

Hello

thanks for your quick help. it works.

The support is outstanding!

Thank you!!!!

...
Support/development

Perfect for small code changes or to correct any bug at your site

Buy now!
...
CalcBuilder

Create dynamic calculators

Buy now!