News 2.0

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
Alex_Leipzig

News 2.0

Post by Alex_Leipzig »

Just installed the latest News Module from SVN (working with 10beta2). That screwed it up completely:

Code: Select all

Fatal error: Call to undefined function: starttabheaders() in /data/homewww/isuew/webdir/cms/modules/News/News.module.php on line 1018
This is the code in the file:

Code: Select all

	                                 #The tabs
	                                 echo $this->StartTabHeaders();

	                                 echo $this->SetTabHeader('articles',$this->Lang('articles'));
	                                 echo $this->SetTabHeader('categories',$this->Lang('categories'));
	                                 echo $this->SetTabHeader('summary_template',$this->lang('summarytemplate'));
	                                 echo $this->SetTabHeader('detail_template',$this->Lang('detailtemplate'));

	                                 echo $this->EndTabHeaders();
What's wrong with the tabs here?
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm
Location: Fairless Hills, Pa USA

Re: News 2.0

Post by Ted »

The tab code has changed between beta2 and current svn.  Current News will only work on current CMSMS from svn.
Alex_Leipzig

Re: News 2.0

Post by Alex_Leipzig »

Would I have to update the whole CMSMS or just a few files?
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm
Location: Fairless Hills, Pa USA

Re: News 2.0

Post by Ted »

The whole thing...  I would put the News code back and wait for beta3 unless you're feeling daring.

We should have a definite date today for beta3's release.
pinthenet

Re: News 2.0

Post by pinthenet »

I have News 2.0 working from the daily snaphost (last night) now. It took a few tests (and debug) to realise that I have to change an article from Draft to Published before I could see anything....;-(
The only problem is that it still can't seem to parse the lang files - I always get
--Add Me - module:News string:help-- for example.

Am I right in assuming that additional templates are defined in the News/template directory and not in the DB? Selection is via summarytemplate= & detailtemplate= in the {cms_module tag module="news"}?

Finally, a general problem: admin throws
Notice: Undefined index: module in d:\develop\easyphp1-8\www\cms\lib\classes\class.admintheme.inc.php on line 122
at startup and for any menu selection

Sorry, forgot to say - it looks very good :-)

John
Alex_Leipzig

Re: News 2.0

Post by Alex_Leipzig »

wishy wrote:I would put the News code back
Did that and it's alright, except ... in the admin section, there's nowhere to edit the news!
And what about beta3?
pinthenet

Re: News 2.0

Post by pinthenet »

Just did an install of the daily snapshot on a different test installation (Linux) and I don't get the undefined index there. This was a 'cleaner' install- I had been messing about with files from svn on the other (Windows) installation - probably had a version conflict.

Stlll can't get the help for News though.

Will the final News include WYSIWYG editting?

John
jah
Forum Members
Forum Members
Posts: 147
Joined: Thu Dec 30, 2004 9:09 am
Location: Norway

Re: News 2.0

Post by jah »

Alex already mentioned the problems when selecting German as the language in this thread:

http://forum.cmsmadesimple.org/index.ph ... 931.0.html

I found the same problem with the Norwegian translation. Actually I did not realise that the existing lang files were not updated with the new items required for the new News module, so that was one side of the problem.

Secondly,  I see a very strange behaviour when translating the $lang['detailtemplate'] and $lang['summarytemplate'] items. If they are changed the output is deprecated as shown in the thread I referred previously. (You could try just changing them in the english language file. That will cause the same problem).

So Wishy, you could throw away the Norwegian translation I sent you yesterday. I'll have to rewrite them anyway.

Jon
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm
Location: Fairless Hills, Pa USA

Re: News 2.0

Post by Ted »

I think I might have an idea what this is all about.  I'm going to do some testing tonight to see if I'm right, though I really have limited time.  I'm realizing a deadline is closer than I thought...
Locked

Return to “Modules/Add-Ons”