Hi,
I want to have some particular articles (not sections) with different design, for example article4762. How to name new designed page for article4762?
Thanks
Kamran
Greeting,
I didn’t find the way to assign the specific template to article through naming template,
but for such task we use the plugin « Composition » ( http://contrib.spip.net/Compositions-2-0)
You have to
install the plugin
make a special design for your article
assign it to any article you wish your template through the private space
This is very powerful customization plugin so I make a look at him anyway.
Best regards,
Serge
2012/8/7 <kamran_mirhazar@yahoo.com>
Hi,
I want to have some particular articles (not sections) with different design, for example article4762. How to name new designed page for article4762?
ThanksKamran
spip-en@rezo.net - http://listes.rezo.net/mailman/listinfo/spip-en
Hi,
one solution is to use keywords for that :
if the article number 4762 is inside the section 123, the template article=123.html can contain something like that :
<BOUCLE_design1(ARTICLES){id_article}{titre_mot=specific_design}>
[the specific design]
</BOUCLE_design1>
<BOUCLE_design2(ARTICLES){id_article}>
[usual design]
</BOUCLE_design2>
[error 404]
<//B_design2>
<//B_design1>
.Gilles
On Tue, Aug 7, 2012 at 8:53 PM, <kamran_mirhazar@yahoo.com> wrote:
Hi,
I want to have some particular articles (not sections) with different design, for example article4762. How to name new designed page for article4762?
ThanksKamran
spip-en@rezo.net - http://listes.rezo.net/mailman/listinfo/spip-en
On Wed, Aug 8, 2012 at 8:50 AM, Serge Markitanenko <serge.markitanenko@gmail.com> wrote:
Greeting,
I didn’t find the way to assign the specific template to article through naming template,
but for such task we use the plugin « Composition » ( http://contrib.spip.net/Compositions-2-0)
Yes, this is effectively the best solution.
A little more complex than using keywords, but more complete.
Note that it changes your private interface everywhere, so if you only have a specific need, it’s may be too much.
You have to
install the plugin
make a special design for your article
assign it to any article you wish your template through the private spaceThis is very powerful customization plugin so I make a look at him anyway.
Best regards,
Serge2012/8/7 <kamran_mirhazar@yahoo.com>
Hi,
I want to have some particular articles (not sections) with different design, for example article4762. How to name new designed page for article4762?
ThanksKamran
spip-en@rezo.net - http://listes.rezo.net/mailman/listinfo/spip-en
spip-en@rezo.net - http://listes.rezo.net/mailman/listinfo/spip-en