Page 1 of 1

Inserting News Module detail page on separate page?[SOLVED]

Posted: Mon Jul 02, 2007 1:40 pm
by halm
Well, subject says it all I hope.  ::)

I'd like to use the News module for a minimalist blog. Therefore, the detail page should be a page in itself (not the main page).
Guess I should use the {detailpage='pagealias'} tag - but if that's the case, where to put it? In the summary template?

Re: Inserting News Module detail page on separate page?

Posted: Mon Jul 02, 2007 1:58 pm
by cyberman
Create a page (not shown in menu). Then you have only call news module with your posted parameter like this

{news detailpage='pagealias'}

If you have a summary on news with a link "Read more" und you click this link the target for this will be your predefined page.

Re: Inserting News Module detail page on separate page?

Posted: Mon Jul 02, 2007 2:11 pm
by halm
cyberman wrote: Create a page (not shown in menu). Then you have only call news module with your posted parameter like this

{news detailpage='pagealias'}

If you have a summary on news with a link "Read more" und you click this link the target for this will be your predefined page.
So {news detailpage='pagealias'} should be on the page where I want the news detail? or in the summary template?
You'll have to excuse me, I'm a newbie, and an artist to boot!

Re: Inserting News Module detail page on separate page?

Posted: Mon Jul 02, 2007 2:39 pm
by cyberman
Insert posted solution where you want (content, template ...) - not in created detail page.

The parameter detailpage tells module only which page should use for detail page.

Re: Inserting News Module detail page on separate page?

Posted: Mon Jul 02, 2007 3:18 pm
by halm
Um ... tried to put the string in summary template.
Now I got Fatal error: Allowed memory size of 11534336 bytes exhausted (tried to allocate 46080 bytes) in .../modules/News/lang/en_US.php

I appreciate your help, I'm sure the problem is just me being thick.

Re: Inserting News Module detail page on separate page?

Posted: Mon Jul 02, 2007 4:02 pm
by cyberman
Please tell me which modules do you have installed ... the error said that CMSms needs more memory then you allowed.

There are two ways - you reduce your install (deinstalling and deleting of all unused modules) or you try to set a new memory limit. Please read here

http://forum.cmsmadesimple.org/index.ph ... l#msg33274

Re: Inserting News Module detail page on separate page?

Posted: Mon Jul 02, 2007 4:25 pm
by halm
I have Album installed;
Captcha
Comments
FCKeditorX
MenuManager
Modulemanager
News
NuSOAP
and Search

May have to set new memory limit ...

Re: Inserting News Module detail page on separate page?

Posted: Mon Jul 02, 2007 8:03 pm
by cyberman
Do you need all of them?

Re: Inserting News Module detail page on separate page?

Posted: Mon Jul 02, 2007 8:54 pm
by halm
Don't know.
Uninstalled MenuManager, ModuleManager and nuSOAP. Will see what happens next ... Keep you posted!

Re: Inserting News Module detail page on separate page?

Posted: Tue Jul 03, 2007 6:29 am
by cyberman
MenuManger is used for creating menus - this shouldn't deleted.

Re: Inserting News Module detail page on separate page?

Posted: Tue Jul 03, 2007 1:56 pm
by halm
*ouch* - I noticed ...

This helped, thanks a lot!
I never complimented you on your Raumschiff Enterprise avatar, did I?
;)

Re: Inserting News Module detail page on separate page?[SOLVED]

Posted: Tue Jul 03, 2007 5:24 pm
by cyberman
"Resistance is futile, you will be assimilated ..."  ;D