Page 1 of 1

Fetching subject scheme description to CSS/LESS author view

Posted: Thu Dec 09, 2021 3:54 pm
by xephon
Hi,

is it possible to fetch the <navtitle> via author view CSS/LESS? In this example, I'd like to show the full document type name "Installation Manual" as defined in the assigned subject scheme map in the author view.
image.png

Code: Select all

<subjectdef keys="installation-manual">
  <topicmeta>
    <navtitle>Installation Manual</navtitle>
  </topicmeta>
</subjectdef>

Thanks a lot in advance
Stefan

Re: Fetching subject scheme description to CSS/LESS author view

Posted: Tue Dec 14, 2021 1:47 pm
by alex_jitianu
Hello,

The combo box form control doesn't know how to render the navtitle. I have added a improvement request for this and we will write on this thread when we release this improvement. Meanwhile, you could use a single selection Popup form control instead, because this form control knows how to render a navtitle.

Code: Select all

*[class~="topic/ph"]:after(10) {
    content: 
        " Audience: " 
        oxy_popup( 
            edit, '@audience',
            selectionMode, single
            );

}
Best regards,
Alex