Forums / Cotonti / Extensions / All news on one page.php?id=X

booka
#1 2009-06-15 01:49
Dear All!!!

For some reasons I must fill index.php with some static intro text, and it's needed that all news can be seen in new page like page.php?id=4 just as it can be seen by default on the index page.

Can you advise something?
booka
SunChase
#2 2009-06-15 02:00
As i understand you want to make something like a welcome page.I think you dont need to change the index page.I dont remember where,but i think you can manualy set the default page link
[url=http://ka13.orgfree.com]KA13[/url] - The essence of creativity
booka
#3 2009-06-15 02:21
I used homepage plugin to do that. But I need all news on th different page...
booka
SunChase
#4 2009-06-15 03:22
hmmm.Maybe just give a link to the category,on which are the news stored
[url=http://ka13.orgfree.com]KA13[/url] - The essence of creativity
pieter
#5 2009-06-15 04:40
Try to change the plugin.

Go to /plugins/news and change the tags in news.php
like:
[BEGIN_SED]
File=plugins/news/news.php
Version=122
Updated=2008-feb-18
Type=Plugin
Author=Neocrome
Description=
[END_SED]

[BEGIN_SED_EXTPLUGIN]
Code=news
Part=homepage
File=news
Hooks=page.tags
Tags=page.tpl:{INDEX_NEWS}
Minlevel=0
Order=10
[END_SED_EXTPLUGIN]

==================== */

Don't forget to reinstall the plugin. I'm not sure it will work.

This is what I do when I have a plugin for index and I need it for eg header.
... can we help you ...
booka
#6 2009-06-15 22:53
thanks, I'll try to do it

but how to show it only in one page? not at the all pages? )

Fatal error : SQL error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND tag_area = 'pages'' at line 1

tried, but error... probplem with tags, how to fix it?
booka
This post was edited by booka (2009-06-17 04:08, 14 years ago)