michael-chung |
|
---|---|
Hi all members and staff, First of all, i want to congrats all members and staff for working and making something useful in webdeveloping.
I have one question: At index.tpl we add {INDEX_NEWS} to add the description of news category. I want to add description of articles and other categorys created in administration panel. So, my question is what's the tag: {INDEX.....} so, when i add that tag at index.tpl i can show the articles, or another category that is already created in admin panel.
Thank you for your consideration,
regards, Michael |
esclkm |
|
---|---|
genoa or siena?
in siena you will see - in admin area - configuration - news littledev.ru - мой маленький зарождающийся блог о котонти.
снижение стоимости программирования и снижение стоимости производства разные вещи. Первое можно скорее сравнить с раздачей работникам дешевых инструментов, чем со снижением зарплаты |
michael-chung |
|
---|---|
Main (first) news category is displayed on main page using {INDEX_NEWS} tag in index.tpl.
Other news categories are displayed on main page using {INDEX_NEWS_CATEGORYCODE} tag in index.tpl. Use news.categorycode.tpl file(s) to customize appearance of each news category.
This is in administration panel.So, i tryed already like that {INDEX_NEWS_CATEGORYCODE} but still doesn't show nothing.
|
esclkm |
|
---|---|
do you use cotonti genoa???
littledev.ru - мой маленький зарождающийся блог о котонти.
снижение стоимости программирования и снижение стоимости производства разные вещи. Первое можно скорее сравнить с раздачей работникам дешевых инструментов, чем со снижением зарплаты |
michael-chung |
|
---|---|
I use cotonti version 0.6.16 genoa.I can find the tags and than fix it but it's waste of time to check all files for that, cuz tags are in seperated files.So, if u can give it to me how to show articles or another category created in admin panel i will appreciate it deeply. Added 20 minutes later: Any help about that...? |
|
This post was edited by michael-chung (2011-11-19 13:59, 13 years ago) |
tensh |
|
---|---|
change "categorycode" to the code of your category. if you have a category articles (list.php?c=articles), then it would be: {INDEX_NEWS_ARTICLES}, news.articles.tpl Don't forget to add all needed category codes in the plugin settings, comma separated Does it work now? |
esclkm |
|
---|---|
insert categories like in config: news,articles,links
use tags: {INDEX_NEWS}, {INDEX_NEWS_ARTICLES}, {INDEX_NEWS_LINKS} littledev.ru - мой маленький зарождающийся блог о котонти.
снижение стоимости программирования и снижение стоимости производства разные вещи. Первое можно скорее сравнить с раздачей работникам дешевых инструментов, чем со снижением зарплаты |
michael-chung |
|
---|---|
Thanks for replying and traying to help me. I already have tryed that, but doesn't work.You can try guys if u have any page of cotonti in that version, is not working.Sayind in different words, this is not the right tag for articles or fo added category in administration panel. I hope one of administrator will reply here and tell us about the tag which they have used for articles and what code will be when we add new category.
Thanks |
tensh |
|
---|---|
Show us your index.tpl code :) You can also think about replacing only the news plugin from plugins folder with the news plugin from cotonti Genoa 0.6.20. Anyways, I recommend updating to genoa 0.6.20, it's very, very good! |
michael-chung |
|
---|---|
Guys please first try than post a comment.I upgraded in 0.6.20 still doesn't work. Here is the index.tpl code:
<!-- BEGIN: MAIN -->
In administration panel to category is regular one, cuz i just installed the new version, but still doesn work and didnt show in this case articles that are already created.Here i puted the tag to polls content, but also i have tryed in other contents but still not working.Thanks |
tensh |
|
---|---|
And did you add articles to the plugins settings as well? |
michael-chung |
|
---|---|
thanks for help guys. I fixed the problem, creating a new database.Now it's works. Thank you, but i will still discussing this problem, how could be fixed without database, because maybe other members will have same problem. Anyway, thank you all here for support |