On Fri, May 13, 2016 at 8:21 PM, dullfig <da...@grmcompany.com> wrote:

> Hello:
>
> I have an app within minutes that is a collection of procedures. I want the
> procedures to display differently than the rest of the wiki, specifically I
> want to override the title of the pages. So each page is named with a
> number
> like "QP-001"; there is also a field in the class called "title", which is
> the actual title of the procedure. By keeping the page name separate from
> the title, I can allow the user to change the title without changing the
> procedure number (which once created should never change). So What I want
> to
> do is combine the page name and title into one and display it as the page
> name, like "QP-001 Procedure of all things".
>
>

>  How do I override the skin for any page that is displayed with the Class
> Sheet?


As per
http://extensions.xwiki.org/xwiki/bin/view/Extension/Sheet+Module#HWhatisasheet3F

"the sheet controls what is displayed in the title and the content area of
the view page."

So you don't need to override the skin. You can generate the title you want
from the class sheet title. Try something like "$doc.name $doc.title".

Hope this helps,
Marius


> is there a worked out example somewhere? I've been reading the wiki
> pages on overriding the skin, but I'm not sure how to apply it to my need.
>
> Dan
>
>
>
> --
> View this message in context:
> http://xwiki.475771.n2.nabble.com/Overriding-skin-for-a-class-sheet-tp7599436.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.
> _______________________________________________
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to