Forums / Cotonti / Support / NEWS plugin tags for categories with dash in it

Eugene
#1 2012-02-03 12:02

Can you advise me, what kind of tag I must have in NEWS plugin for Category with dash?

Example: category code =  "remont-domov"

I put (in index.tpl) tag {INDEX_NEWS_REMONT_DOMOV} - and I guess it is not right...

The thing is - this site on old version 0.6.14 - and maybe it was solved in some release. But may be I'm wrong. What is the right way?

esclkm
#2 2012-02-03 13:36

{INDEX_NEWS_REMONT-DOMOV} ???

littledev.ru - мой маленький зарождающийся блог о котонти.
снижение стоимости программирования и снижение стоимости производства разные вещи. Первое можно скорее сравнить с раздачей работникам дешевых инструментов, чем со снижением зарплаты
Eugene
#3 2012-02-03 14:35

it is not parsing... (((

it goes to be like the text: "{INDEX_NEWS_REMONT-DOMOV}" - just put like this text string...

For sure, esclkm, I tried that... )

lukgoh
#4 2012-02-04 21:12

I'm not sure how similar 0.6.14 is to the latest version of Siena, but have you made sure that you have configured the news plugin to parse that tag? Because if you have it should tell you what tag to use to show that particular category... 

The options should be: category - news per page - post length limit - tag - tpl. Just make sure that category is set to "remont-domov" and copy and paste what ever is displayed for that under "tag". 

Hope this helps.

Luke.

Eugene
#5 2012-02-06 09:05

No, Luke, that's very obvious...

This category is not working both in Genoa and Siena.

I'll try to put it on GitHub...

urlkiller
#6 2012-02-06 09:08

yeah...

1. insert TAG into index.tpl -> {INDEX_NEWS_REMONT-DOMOV}
2. add new category to news configuration -> "news_main,remont-domov" (!!! the first category used IS always {INDEX_NEWS} only the second can be accessed with the new tags)
3. have fun

is that working for you?

URL shortener: <a href="http://bbm.li/!7AD5C7">http://bbm.li/!7AD5C7</a>
lukgoh
#7 2012-02-06 11:15

Or, you could just rename the category code, without the hyphen "-"...

Eugene
#8 2012-02-07 06:30
#33064 lukgoh:

Or, you could just rename the category code, without the hyphen "-"...

 

thanks, bro!! ))

but esclkm just fixed this bug here