Seite 1 von 1
wE 7: image referenced documents
Verfasst: Fr 18. Mär 2016, 11:29
von ounos
Code: Alles auswählen
<?php
$doc = new we_webEditionDocument();
...
$doc->setElement('my-textarea', '<a href="document:1">Link</a>');
$doc->we_save();
?>
The link is working properly, but when I check the image's (document:1)
Information tab, the document is not in
referenced by list.
Any way to create this reference ? Is this not supposed to work the same way like clicking
Save button ? Thank you in advance.
Re: wE 7: image referenced documents
Verfasst: Fr 18. Mär 2016, 12:09
von WBTMagnum
JFTR: Lukas mentioned something regarding this issue in
ticket 10425 (see
comment #c38246). But I'm still not sure if the media-link creation should work in that case or not.
Cheers,
Sascha