css-tricks.com

Permalink 1 user found helpful
Very helpful website maybe I'm going to port some of their concepts to to concrete's widgets

My favorite is:
http://css-tricks.com/examples/InfoGrid/...

Wonderfull what you can do with HTML5

DragonReeper
 
Mnkras replied on at Permalink Reply
Mnkras
wow, thats cool, hard to implement though...
DragonReeper replied on at Permalink Reply
DragonReeper
Isn't all javascript?

Anyway that's what makes Concrete5 so special, makes the difficult things easy.
Mnkras replied on at Permalink Reply
Mnkras
hehe i mean't to program ;) to make editing it easy ;)
DragonReeper replied on at Permalink Reply
DragonReeper
Just cause you made me curios now I'm going to look at the source code.

5 minutes later:
Javascript makes me head hurt
DragonReeper replied on at Permalink Reply
DragonReeper
Okay I figured out how to do it,
you have to edit the php file...


Ummm I've never made a block before :( monitor this thread for updates on my personal stuggle against the curse of the Curlly brackets "{php}"
DragonReeper replied on at Permalink Reply 1 Attachment
DragonReeper
This is as far as I've come, only how do I make it add content to the blocks database content thingy
Mnkras replied on at Permalink Reply
Mnkras
/facepalm

take a look at the core blocks in

/concrete/blocks to see how blocks work,

most of it should be in the controller.php, the edit.php is called when the block is put in edit mode, view when the final product is being viewed, add when the block is added, etc
DragonReeper replied on at Permalink Reply
DragonReeper
See I told you brackets give me headaches, okay I'm going to try again. :P

[Edit]:You know that feeling you get when you watch someone in a movie get hit by a train, well I feel like that someone getting hit by a train.

[Editx2]:Oh and thanks for leaving comments people, I can understand zip of whats going on

[Editx3]:So you're saying controller has to create all the variables and view,add,edit etc must work with them?