Page Builder Tutorial?

Can someone point me to how to build a page?  I understand how to add an RSS feed or an HTML block, but am trying to figure out how to add pages within a module.  It has something to do with sys_page_compose_pages, I'm sure, but I can't figure out the relationship between the page blocks and calling module methods.

I've read over the How to make a Module tutorial several times, I think now what I need is a more advanced module, something like modzzz's school module, where you have a significant, system-level extension to the system.  (I bought the schools module, and am walking through it, but it'd be so much better to read documentation and a tutorial rather than reading the code and guessing).

I figure it might be around somewhere, a "to add a page block that calls a module, do this" kind of thing.  Any suggestions on where to start?

Thanks!

Tac

Quote · 27 Nov 2010

go join mrpowless.com and go thru the toots there...if it doesnt exist...you can request it and I will make it....please be specific....I had a guy say I want "brief, but comprehensive, description of the D7 CSS's" I make free 30-40 second toots on how to do things in dolphin...all free video toots.

to answer here, you can add php blocks to the table you said just make sure its all lowercase...if your page was called family tree:

INSERT INTO `sys_page_compose_pages   VALUES ('family_tree_main',

INSERT INTO `sys_page_compose` VALUES ('family_tree_main', '998px', 'light block', '_family_tree_block_right', '2', '0', 'right', '', '1', '49', 'memb', '0');

'right' is a function in your module class

getBlockCode_Right(){

echo "lol";

}

see the relation?

for the service methods simply search the module for "function service"  then with that info you can change echo "lol"; with the

BxDolService::call('avatar', 'get_site_avatars', array($iPage));

 

I personally dont think text cuts it. thats why I do video toots. hope this helped you.

I have video tutorials to help you mrpowless.com
Quote · 27 Nov 2010

Thanks, this is very helpful.  So when I install the module, I add the sys_page_compose_pages rows?  Then when I go to build a page, they'll show up as "blocks"?

I didn't follow the part about Service Methods, nor understand when I'd use that service call.

I'll join your site now.

Thanks,

Tac

Quote · 27 Nov 2010

text is tough...you will have to see it..then try a few examples on your own.

I have video tutorials to help you mrpowless.com
Quote · 27 Nov 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.