Page 1 of 2

Help wanted for the News module

Posted: Tue Apr 19, 2005 2:37 pm
by Alex_Leipzig
Hi all,

I do like the new admin, although the German version is too large for a 1024 screen. Anyway, the reference for the News module is gone. I only see the following:
Help for the News module
--Add Me - module:News string:help--
Suggestions, anybody?
And what are the tabs "Display Template" and "RSS Template" for?

AD

Re: Help wanted for the News module

Posted: Tue Apr 19, 2005 2:58 pm
by piratos
Was meinst Du genau ?

Re: Help wanted for the News module

Posted: Tue Apr 19, 2005 3:24 pm
by Alex_Leipzig
Ich bräuchte halt die ganzen Parameter für den Einbau in meine Seite (Sortierung, Datumsformatierung, Anzeige XML-Button usw.).

Re: Help wanted for the News module

Posted: Tue Apr 19, 2005 4:19 pm
by piratos
Nimm am besten die 0.10 beta2  , da steht auch eine komplett deutsche Übersetzung drin. Nach meinen Feststellungen läuft diese beta2 sauber.

Du solltest da noch das Styles.css vom admin etwas verändern (siehe hier die folge zur beta2), da das Original eine verdammt große Schrift hat.

Hier auf die schnelle:
Wie wird es eingesetzt ?

Der einfachste Weg ist der Gebrauch in Verbindung mit dem cms_module tag.
Damit wird das Modul automatisch in Ihrem Template oder Seite eingefügt, wo auch immer Sie es wüschen.
Der Code für den Tag sieht in etwa so aus:

{cms_module module="news" number="5" category="Meine Kategorie"}
Welche Parameter gibt es ?

    * (optional) number="5" - Maximal anzuzeigende Einträge =- ohne Parameter werden wird alles angezeigt.
    * (optional) dateformat - Datum/Zeit Format (Das Format muss dem der PHP - Date - Funktion entsprechen.).
    * (optional) makerssbutton="true" - Erzeugt ein Button mit einem Link zu einem RSS -Feed zu einem Eintrag.
    * (optional) swaptitledate="true" - Schaltet die Reihenfolge von Datum und Titel.
    * (optional) category="Meine Kategorie" - Zeigt nur Einträge dieser Kategorie an. Ohne Parameter werden alle Kategorien angezeigt.
    * (optional) summary="page" - Aktiviert die zusammenfassende Methode.Links werden mit dem Titel ausgegeben und der Inhalt wird gemäß dem Parameter length gekürzt.
    * (optional) length="80" - Wird für die zusammenfassende Methode benötigt. Jeder Artikel wird auf Anzahl der Anschläge gekürzt, die hier vorgegeben sind.
    * (optional) showcategorywithtitle="true" - Veranlaßt die Anzeige der Kategorie nebst Titel.
    * (optional) moretext="Mein Text..." - Hier den Text vorgeben, der dann erscheint, wenn ein Artikel länger ist, als über den parameter length vorgegeben. Die Voreinstellung ist "more...".
    * (optional) sortasc="true" - Sortiert Einträge in aufsteigende Folge schneller, als in absteigender (nach Datum).

Re: Help wanted for the News module

Posted: Tue Apr 19, 2005 4:44 pm
by Alex_Leipzig
Vielen Dank für die schnelle Antwort! Hilft mir wirklich weiter.

Re: Help wanted for the News module

Posted: Tue Apr 19, 2005 4:50 pm
by Ted
Does any of this explain why the help text isn't working?  It works fine for my on my svn install.

Re: Help wanted for the News module

Posted: Tue Apr 19, 2005 5:13 pm
by Alex_Leipzig
Hi Wishy,

not sure about this. But here's another issue: when I login, I'm forwarded to the required page "ToDoListe" but with a session ID:
What I see is the error message page (Page not found).

Re: Help wanted for the News module

Posted: Tue Apr 19, 2005 5:22 pm
by Ted
I thought I fixed the trans_sid thing...

Guess I'll have to keep looking for the solution.

Re: Help wanted for the News module

Posted: Tue May 03, 2005 1:18 pm
by Alex_Leipzig
Argh!!!! My news module still doesn't work and that's killing me!

I have the following code on the display page:

Code: Select all

{cms_module module='news'}
Nothing special, right? And I have news items entered in the admin section with the correct dates and everything, but they just don't show up.

I'm using CMSms the latest release (beta2), database is MySQL 3.23.44 and server:

Code: Select all

SERVER_SOFTWARE 	Apache/1.3.19 (Unix) mod_ssl/2.8.1 OpenSSL/0.9.6 PHP/4.2.3
Please, help! I don't really understand the news admin section in beta 2, especially the new tabs template and rss

The news text in listmodule still doesn't work either...

Re: Help wanted for the News module

Posted: Tue May 03, 2005 1:50 pm
by Ted
Well, don't worry.  I'm pretty much done the rewrite of News that will be in beta3.  Just hold out for a few more days.  :)

Re: Help wanted for the News module

Posted: Tue May 03, 2005 2:24 pm
by Alex_Leipzig
Oh, I definitely will. I just read this hymn (http://forum.cmsmadesimple.org/index.ph ... 703.0.html) and still agree with the guy to a 100 %. I also tried several systems before and was especially unhappy with Mambo.

Thanx!

Re: Help wanted for the News module

Posted: Tue May 03, 2005 2:34 pm
by Ted
I looked a little deeper at Mambo last week, just to see what people were talking about (obviously not here, but in the cms world in general).  I agree that it's complicated, but they definatly have a level of maturity that we don't yet.  The menu builder is interesting and the overall look of it is nice and unified.  There are some things I'd like to learn from Mambo, but at the same time, don't become as complicated or hard to customize.  It's all about playing the balancing game.  We're getting close, but I don't think we will be true competition until after a rewrite of a lot of the core.

Anyway, I'd glad you're sticking it out.  I think 0.10 is going to be a great product, and hopefully be a very close relative to 1.0.

Re: Help wanted for the News module

Posted: Tue May 10, 2005 1:50 pm
by Alex_Leipzig
wishy wrote: Does any of this explain why the help text isn't working?  It works fine for my on my svn install.
Well, thanks to SVN my news module is working now - although only in the "default" mode. none of the parameters have any effect. here's the code:

Code: Select all

{cms_module module='News' showcategorywithtitle='true' dateformat='d. F' length='100' swaptitledate='true' moretext='weiter' makerssbutton='true'}
also, the text help doesn't work and the two tabs in the news admin show this:
--Add Me - module:News string:articles--
--Add Me - module:News string:categories--
and so on...

Re: Help wanted for the News module

Posted: Tue May 10, 2005 1:59 pm
by Ted
Yeah, I committed a little early to let WiseQ fix up some of the admin html for me.  It's definatly not ready yet  I need to find some time to work on it, as life has been a little busy in the last week or two.

Re: Help wanted for the News module

Posted: Tue May 10, 2005 2:59 pm
by Alex_Leipzig
Oh, and here's some more:
Warning: Missing argument 5 for createtextarea() in /data/homewww/isuew/webdir/cms/lib/classes/class.module.inc.php on line 1200
Fatal error: Cannot redeclare class fckeditor in /data/homewww/isuew/webdir/cms/modules/FCKeditorX/FCKeditor/fckeditor.php on line 25
when I try to edity news entries