[opencms-dev] v8news: Automatically assign to a category based on the user
Andreas Gily
andreas.gily at cardsys.at
Tue May 14 09:58:00 CEST 2013
Maybe you could define a user value as default for the category element in your XSD like I did with my "AuthorName" element...
<xsd:annotation>
<xsd:appinfo>
<defaults>
<default element="AuthorName" value="%(currentuser.firstname) %(currentuser.lastname)"/>
</defaults>
</xsd:appinfo>
</xsd:annotation>
cheers,
Andreas
Am 14.05.2013 um 09:34 schrieb Yves Glodt <yg at mind.lu>:
> Hi,
>
> in a company Intranet we would like to omit manual category selection for blog posts (based on v8news).
>
> The goal would be that when user A creates a new item through the ADE, the category would automatically be set to DepartmentOfUserA.
>
> Is that possible with stock v8news ?
>
> (A static mapping of user->catergory would be perfectly fine)
>
> Best regards,
> Yves
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4151 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20130514/20d52b91/attachment.bin>
More information about the opencms-dev
mailing list