Hello,
The following template variants do not work for me:
I have section number 101, with articles in fa and en languages in it.
I have also files article.html for the main site’s language which is
fa, and article.en.html for the en language articles. Both work fine
in general.
I created two other variants to apply articles in section 101 with two
separate languages. They are: article=101.fa.html and
article=101.en.html
SPIP ignores these two variants and proceeds article.html for fa
language articles, and article.en.html for en language articles in
section 101, like the other sections.
The question is: where is my mistake, and how can I impalement those
two new variants?
Another question: How can I make a variant, targeting specific
article for example article2425.html without effecting other articles
in the same section?
Thank you
Kamran
Hi,
I am not sure if it is a bug, but I sent an email to spip@rezo.net.
I will update this list as soon as I have the answer.
Kamran
On Tue, Jul 4, 2017 at 5:25 PM, Gilles Vincent <gilles.vincent@gmail.com> wrote:
Hi,
You should create a ticket if you consider that it's a bug. https://core.spip.net/projects/spip/issues
You can also ask on the list spip@rezo.net : the core developpers read it.
.Gilles
On Tue, Jul 4, 2017 at 5:05 PM, Kamran Mir Hazar <mirhazar.kamran@gmail.com>
wrote:
Hello,
The following template variants do not work for me:
I have section number 101, with articles in fa and en languages in it.
I have also files article.html for the main site’s language which is
fa, and article.en.html for the en language articles. Both work fine
in general.
I created two other variants to apply articles in section 101 with two
separate languages. They are: article=101.fa.html and
article=101.en.html
SPIP ignores these two variants and proceeds article.html for fa
language articles, and article.en.html for en language articles in
section 101, like the other sections.
The question is: where is my mistake, and how can I impalement those
two new variants?
Another question: How can I make a variant, targeting specific
article for example article2425.html without effecting other articles
in the same section?
Thank you
Kamran