wE 7: image referenced documents

Benutzeravatar
ounos
Member
Beiträge: 44
Registriert: Mi 6. Aug 2014, 11:09

wE 7: image referenced documents

Beitragvon ounos » Fr 18. Mär 2016, 11:29

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.

WBTMagnum
webEdition Partner
webEdition Partner
Beiträge: 1825
Registriert: Di 7. Mär 2006, 16:50
Wohnort: Wien
Kontaktdaten:

Re: wE 7: image referenced documents

Beitragvon WBTMagnum » Fr 18. Mär 2016, 12:09

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


Zurück zu „webEdition Basic Version“

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 8 Gäste