Hello,
Does someone made Template for Blog?
I'm surprise that is not part of XWiki 3.1
You mean a document template for blog posts? No, it's not in the
sources, but it should be easy to create one.
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
Sorry for later response.
Yes, that exactly what I mean.
I've made a try with XWiki 2.7, but Post creation date field is one
from template :-/
I will retry on XWiki 3.1 and take you in touch.
Arnaud
Sorry for later response.
Yes, that exactly what I mean.
I've made a try with XWiki 2.7, but Post creation date field is one
from template :-/
I will retry on XWiki 3.1 and take you in touch.
Ah, yes, you have to cheat a bit.
1. Edit the BlogPostClass and uncheck the "Empty is today" checkbox from
the Publish Date field
2. Create the template, leaving the publish date empty
3. Re-check the Empty is today checkbox in the class
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
2011/9/15 Vincent
Massol<vincent(a)massol.net>et>:
On Sep 15, 2011, at 12:27 AM, Sergiu Dumitriu wrote:
On 09/14/2011 03:56 PM, Arnaud bourree wrote:
> Hello,
>
> Does someone made Template for Blog?
> I'm surprise that is not part of XWiki 3.1
You mean a document template for blog posts? No, it's not in the
sources, but it should be easy to create one.
Sorry for later response.
Yes, that exactly what I mean.
I've made a try with XWiki 2.7, but Post creation date field is one
from template :-/
I will retry on XWiki 3.1 and take you in touch.
Ah, yes, you have to cheat a bit.
1. Edit the BlogPostClass and uncheck the "Empty is today" checkbox from
the Publish Date field
2. Create the template, leaving the publish date empty
3. Re-check the Empty is today checkbox in the class
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
I try it on both 2.7 and 3.1 instance without success.
I found in same time that there is one template BlogPostTemplate and
only BlogPostTemplateProvider is missing
But in any case, page created from template has never BlogPostClass object
May be something more to do to copy template object into new page?
Arnaud.
2011/9/15 Vincent
Massol<vincent(a)massol.net>et>:
On Sep 15, 2011, at 12:27 AM, Sergiu Dumitriu wrote:
> On 09/14/2011 03:56 PM, Arnaud bourree wrote:
>> Hello,
>>
>> Does someone made Template for Blog?
>> I'm surprise that is not part of XWiki 3.1
>
> You mean a document template for blog posts? No, it's not in the
> sources, but it should be easy to create one.
What Sergiu means is:
http://extensions.xwiki.org/xwiki/bin/view/Extension/Administration+Applica…
Is that what you meant?
Sorry for later response.
Yes, that exactly what I mean.
I've made a try with XWiki 2.7, but Post creation date field is one
from template :-/
I will retry on XWiki 3.1 and take you in touch.
Ah, yes, you have to cheat a bit.
1. Edit the BlogPostClass and uncheck the "Empty is today" checkbox from
the Publish Date field
2. Create the template, leaving the publish date empty
3. Re-check the Empty is today checkbox in the class
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
I try it on both 2.7 and 3.1 instance without success.
I found in same time that there is one template BlogPostTemplate and
only BlogPostTemplateProvider is missing
But in any case, page created from template has never BlogPostClass object
May be something more to do to copy template object into new page?
Sorry, I forget to put space in template name, so XWiki create empty
page as XWiki.BlogPostTemplate doesn't exist.
With Blog.BlogPostTemplate, everything look good.
Arnaud.