Showing all articles

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
knotty

Showing all articles

Post by knotty »

One day into CMS simple. I can get one article to appear on the front page by setting it as default. But, how can I show many articles like in a blog style so I can scroll through them?

Thanks...knotty
Last edited by knotty on Wed Jun 07, 2006 7:36 pm, edited 1 time in total.
FinnK

Re: Showing all articles

Post by FinnK »

You can use the newsmodule for that. Probably you have to modify the summary and detail templates, or make your own templates to suit what you want to do.

Perhaps there is a blog module too now?
knotty

Re: Showing all articles

Post by knotty »

I checked for a blog module and didn't find one. I'll play with the news module.

Thanks..knotty
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Showing all articles

Post by Dr.CSS »

knotty

Re: Showing all articles

Post by knotty »

Hi Mark,
I downloaded the blog module but I would like  to get a bit more familiar with the whole CMS thing. I'm not even sure how to get articles to show up in the right place.

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

Re: Showing all articles

Post by Dr.CSS »

in the Content » Pages » Edit Page: yourpage....
content 'box' add...

{cms_module module="blog" category="general"} or category="whatever" or no category will show all 'blogs'

if you goto Extensions » Modules on the right you will see  Help  clik that to get all the parameters it takes...
under Content in admin menu you should see Blog clik that and add 'Blog' article...
knotty

Re: Showing all articles

Post by knotty »

Ok, all done and the blog module is working fine.

One thing, When I go to the front page, I see HOME in bold right above the blog title  and a link which will open the article. I don't have any other articles in the system.

Is there a way to just have all the blog posts opened automatically on the front page without having to click on the link?

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

Re: Showing all articles

Post by Dr.CSS »

it defaults to the summary template...
in the Help you will see how to change default...
basically...
copy detail template into an editor, such as note pad, i use the free PSPad editor it has syntax hilite, give it a name, upload it to modules/blog/templates folder, call it in tag  {cms_module module="blog" summarytemplate="nameofyourtemplate.tpl"}
you can delete calls like...
{if $entry->summary}


{eval var=$entry->summary}


{/if}

just the call, leaving everything else, the other stuff will show in source view of your page but not on the page...
knotty

Re: Showing all articles

Post by knotty »

Thank you very much Mark, now I have enough to play with for a while.

knotty
Locked

Return to “CMSMS Core”