[solved] News Module Question

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
rbaby
Forum Members
Forum Members
Posts: 144
Joined: Thu Feb 07, 2008 10:28 pm

[solved] News Module Question

Post by rbaby »

Hey guys,

How do I get the News to show up like a blog--instead of summary and photo with a [more] link, just show the entire article one on top of the other?
Last edited by rbaby on Tue Feb 19, 2008 11:11 pm, edited 1 time in total.
hinti
Forum Members
Forum Members
Posts: 30
Joined: Wed Feb 08, 2006 2:00 pm

Re: News Module Question

Post by hinti »

If you want to hide the morelink, then go to Content->News

into the summary template you'll find

Code: Select all

<div class="NewsSummaryMorelink">
		[{$entry->morelink}]
	</div>
delete it and save.

that was it.

another solution:

http://dev.cmsmadesimple.org/projects/blogms/

Best way over ModuleManager -> B -> Blog

Greets
Vin

Re: News Module Question

Post by Vin »

To prevent summary form showing in 'add news', tick the 'Hide summary field ...' checkbox in Options (or Preferences) tab in News.
rbaby
Forum Members
Forum Members
Posts: 144
Joined: Thu Feb 07, 2008 10:28 pm

Re: News Module Question

Post by rbaby »

Thanks for taking the time to answer my question.  I couldn't find the "Summary" checkbox you were referring to I'm afraid--and I tried to utilize the Blog version...it doesn't allow me to just show all entries (similar to this page: http://see-spot-stay.com/Dogs_for_Adoption_Dogs.html - this is static but this is basically the same idea, just entries one on top of the other); the blog shows me links which I have to click into.

Please let me know if I am doing anything wrong so I can try again--or if there are any other options I may have.

Thanks again.
Vin

Re: News Module Question

Post by Vin »

In News, when adding a new news (or article, if you want to call it like that), you can see two fields (two instances of WYSIWYG editor, if you have it enabled) - the first is optional and is for summary, the second one is mandatory and for the complete content of the article.

Checking the "Hide the summary field when adding or editing articles:" checkbox in the Options tab (the last tab) of the News module (when accessed from admin in Content > News ) and confirming by Submit button hides the summary field, so that you don't type anything into summary field accidentally.

If there is nothing in the summary field, the "morelink" is not shown... Getting the idea?
rbaby
Forum Members
Forum Members
Posts: 144
Joined: Thu Feb 07, 2008 10:28 pm

Re: News Module Question

Post by rbaby »

Thank you Vin!  I removed the summary, but I was having difficulty finding that checkbox--nontheless it works now. 

How do I remove the link on the header?  I couldn't find the anchor label, only the {entry->titlelink}

Thank you again everybody.
Last edited by rbaby on Mon Feb 11, 2008 9:17 pm, edited 1 time in total.
Vin

Re: News Module Question

Post by Vin »

Yeah, the {$entry->titlelink}. I have run into this once, too. Well, simply replace it with {$entry->title} ;)
rbaby
Forum Members
Forum Members
Posts: 144
Joined: Thu Feb 07, 2008 10:28 pm

Re: News Module Question

Post by rbaby »

BAH! Logic!  Thanks Vin! :)
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: News Module Question

Post by Dr.CSS »

[solved] ?...
Post Reply

Return to “Layout and Design (CSS & HTML)”