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

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
halm
Forum Members
Forum Members
Posts: 103
Joined: Mon Jun 11, 2007 12:52 pm
Location: Malmö, Sweden

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

Post 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?
Last edited by halm on Tue Jul 03, 2007 1:57 pm, edited 1 time in total.
"One measures a circle, beginning anywhere" - Charles Fort
cyberman

Re: Inserting News Module detail page on separate page?

Post 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.
halm
Forum Members
Forum Members
Posts: 103
Joined: Mon Jun 11, 2007 12:52 pm
Location: Malmö, Sweden

Re: Inserting News Module detail page on separate page?

Post 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!
"One measures a circle, beginning anywhere" - Charles Fort
cyberman

Re: Inserting News Module detail page on separate page?

Post 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.
halm
Forum Members
Forum Members
Posts: 103
Joined: Mon Jun 11, 2007 12:52 pm
Location: Malmö, Sweden

Re: Inserting News Module detail page on separate page?

Post 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.
"One measures a circle, beginning anywhere" - Charles Fort
cyberman

Re: Inserting News Module detail page on separate page?

Post 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
halm
Forum Members
Forum Members
Posts: 103
Joined: Mon Jun 11, 2007 12:52 pm
Location: Malmö, Sweden

Re: Inserting News Module detail page on separate page?

Post by halm »

I have Album installed;
Captcha
Comments
FCKeditorX
MenuManager
Modulemanager
News
NuSOAP
and Search

May have to set new memory limit ...
"One measures a circle, beginning anywhere" - Charles Fort
cyberman

Re: Inserting News Module detail page on separate page?

Post by cyberman »

Do you need all of them?
halm
Forum Members
Forum Members
Posts: 103
Joined: Mon Jun 11, 2007 12:52 pm
Location: Malmö, Sweden

Re: Inserting News Module detail page on separate page?

Post by halm »

Don't know.
Uninstalled MenuManager, ModuleManager and nuSOAP. Will see what happens next ... Keep you posted!
"One measures a circle, beginning anywhere" - Charles Fort
cyberman

Re: Inserting News Module detail page on separate page?

Post by cyberman »

MenuManger is used for creating menus - this shouldn't deleted.
halm
Forum Members
Forum Members
Posts: 103
Joined: Mon Jun 11, 2007 12:52 pm
Location: Malmö, Sweden

Re: Inserting News Module detail page on separate page?

Post by halm »

*ouch* - I noticed ...

This helped, thanks a lot!
I never complimented you on your Raumschiff Enterprise avatar, did I?
;)
"One measures a circle, beginning anywhere" - Charles Fort
cyberman

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

Post by cyberman »

"Resistance is futile, you will be assimilated ..."  ;D
Post Reply

Return to “Modules/Add-Ons”