Newbie: Creating new blocks?

Permalink
So I'm working with SimpleEvents. I have a few problems.
1. I need to change the CSS of the titles and text.
2. I need the events to be repeated on several pages, not just one. right now, every page that I want the event listing, I have to readd the event to that page. So if I want that one event on 4 different pages, I need to re-add that event to all 4 pages separately.

Ao for both of these issues it seems to be that I need to create a custom block for SimpleEvents. Is this right?
I'm having problems figuring out how to do this. Right now I am following the instructions here:http://chadstrat.com/blog/programming/custom-bl/...
and it says the following:
"Second, copy the view.php, view.css, and/or view.js from the core content block folder, and then paste those into your new owner_vars folder."
Where the heck is the CORE CONTENT BLOCK FOLDER? I go to ROOT > CONCRETE > BLOCKS but there is a long list of folders in there. How do I get there files?

Can anyone please guide me to clear simple instructions of tutorials?

Over this past week, I have learned a lot about C5. I like it a lot. Steep learning curve, but I'm getting the hang of it.
Learning to create custom blocks is my next goal that needs to be figured out by Monday. Thats when the site needs to be launched.
This is the sitehttp://www.tihmthaitraining.com/...
You can see the calendar underhttp://www.tihmthaitraining.com/index.php/basic-thai-massage...

How do I have this event on all classes page and the home page?

ludicrousman
 
jordanlev replied on at Permalink Reply
jordanlev
Not sure who gave you the impression that you need to create a custom block for this. Perhaps you meant "custom template"? But even that shouldn't be necessary for this.

1) Just add the CSS to your theme's stylesheet. As long as in your theme <head> you have the reference to your stylesheet *after* the <?php Loader::element('header_required'); ?> line, then your CSS should override the default for SimpleEvents. If you don't know what CSS selectors you need to alter, use Firebug or Web Inspector on a page of your site that has the SimpleEvents block in it to see what you need to do.

2) Use "Page Defaults" -- go to Dashboard -> Pages and Themes -> Page Defaults, click the "Defaults" button next to the page type you want this block added to. Whatever you put in the page defaults will automatically appear on all new pages of that type. If you want to add it to existing pages that don't already have the SimpleEvents block, click on the block after you've added it to Page Defaults and choose "Setup on Child Pages" from the popup menu.
ludicrousman replied on at Permalink Reply
ludicrousman
Man, that HELPED!!! Thanks. But another question for you.
OK, So I have one page type called Classes. Thats the template for all classes. Then I have another page type called home.
I need to have the same calendar events in both page types. How can I do this?
jordanlev replied on at Permalink Reply
jordanlev
I don't know how SimpleEvents works, but I would guess that there's a central storage of events that you manage through the dashboard, and the blocks all display that same data. If that's the case, then just add the block to both page type defaults and it should just work. If not, then you are going to need to ask the developer of that addon how to do it -- go to that addon's marketplace page, click the "support" link in the sidebar, and post your question there.