Easy News

Permalink
Hey,

I'm using Easy News. Is it possible to define an area were Easy News List is automatically included?

And another question. Kan I display all News on the News Page, maybe like a minimalistic version of a blog.

BillySpoon
 
BillySpoon replied on at Permalink Reply
BillySpoon
There has to be a away! Ideas?
madeforspace replied on at Permalink Reply
madeforspace
Hi Billy

You can hard code a block into a page type in your theme if you like
http://www.concrete5.org/documentation/how-tos/developers/hardcode-...

You have other option too by hard coding in a scrapbook with a specific name.
See if the first option does what you want and let us know.

Sorry no idea on the second question, I have never used Easy News so not sure what you can do with it.
Maybe ask a question of the developer in the Q&A or Support section for the AddOn.

Hope that helps

Alex
BillySpoon replied on at Permalink Reply
BillySpoon
$list = BlockType::getByHandle('easynews_list');
$list->controller->num ='4';
$list->controller->ctID ='2';
$list->controller->displayAliases ='1';
$list->controller->paginate ='1';
$list->controller->cParentID ='cEverywhereField';
$list->controller->orderBy ='public_desc';
$list->render('view');


I used this but nothing happend.
My Easy_news_list block is under packages/easynews/blocks/easy_news_list and not under /concrete/blocks. Could that be the problem?

And where do i get the cParentID?
madeforspace replied on at Permalink Reply
madeforspace
Hi Billy

I think it best you contact the developer in the support section of the Add On.

I would normally modify a block by copying it into the /blocks folder and not directly in the /packages folder and NEVER edit or add anything in the /concrete folder (that's a No Go Zone).

I would normally find a page cID by going to the page and putting it into edit mode and looking at the URL in the browser.

Did you put the code you mentioned into the page template in your theme?

Alex