Fetching subject scheme description to CSS/LESS author view

Post here questions and problems related to editing and publishing DITA content.
xephon
Posts: 140
Joined: Mon Nov 24, 2014 1:49 pm
Location: Greven/Germany

Fetching subject scheme description to CSS/LESS author view

Post 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
image.png (40.39 KiB) Viewed 622 times

Code: Select all

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

Thanks a lot in advance
Stefan
stefan-jung.org – Your DITA/DITA-OT XML consultant
alex_jitianu
Posts: 1008
Joined: Wed Nov 16, 2005 11:11 am

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

Post 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
Post Reply