That works PERFECT!! thanks a bunch, hadn’t thought of doing it that way.
Dan
From: Marius Dumitru Florea [via XWiki]
Sent: Sunday, May 15, 2016 5:35 AM
To: dullfig
Subject: Re: Overriding skin for a class sheet
On Fri, May 13, 2016 at 8:21 PM, dullfig <[hidden email]> 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#HWhatisas…
"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-tp75994…
Sent from the XWiki- Users mailing list archive at
Nabble.com.
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
--------------------------------------------------------------------------------
If you reply to this email, your message will be added to the discussion below:
http://xwiki.475771.n2.nabble.com/Overriding-skin-for-a-class-sheet-tp75994…
To unsubscribe from Overriding skin for a class sheet, click here.
NAML
--
View this message in context:
http://xwiki.475771.n2.nabble.com/Overriding-skin-for-a-class-sheet-tp75994…
Sent from the XWiki- Users mailing list archive at
Nabble.com.