Block and packages

Permalink
hello, everyone I am new in concrete5 developer. I check all the documentation.
I didn't get proper tutorial about how to create package with multiple block, including database interaction, single page, custom stylesheet and jquery. Can anyone help me to this stuff.I would be so much thankful those who response me to this question step by step.

Core Version - 5.7.5.2

 
c5dragon replied on at Permalink Reply
c5dragon
dipesh replied on at Permalink Reply
Hello, c5dragon thank you for your quick response. As i check link i didn't get sufficient resource to cover as i am new developer. Will you please provide me link with an example which illustrate all file folder and source code.

similarly i download Scaffolder package from github(https://github.com/c5labs/package-boilerplate) i didn't get db.xml file. Shall i create manually or it is mention any where else.

Hoping your great response.
ramonleenders replied on at Permalink Reply
ramonleenders
A package doesn't have to include a db.xml file. Only if it needs extra tables, that aren't tables used by Block Types of the package. So it all comes down to what you want to do with your package... Best to do some trial and error. Look at other Add-Ons, for example the "Community Store".

https://github.com/concrete5-community-store/community_store...

Look at code and try things yourself locally. If you have troubles, ask specific questions about the troubles you are facing. You can be new, but we can not cover EVERYTHING that is needed to create ANYTHING.
dipesh replied on at Permalink Reply
Hello ramonleenders,
Thank you for your great support.
ramonleenders could you please clear me how can i create single page including multiple block in my packages.
ramonleenders replied on at Permalink Reply
ramonleenders
Not sure what you mean with that. You want to create a page in your site and add blocks programmatically?

If not, you can add a page in the sitemap and drag/drop the blocks onto the page?
dipesh replied on at Permalink Reply
Thank you for your response.
I meant to say. Could it be possible, Showing one menu Icon in tools. When drag that icon in page i need all views and functionality of multiple block created in package. I don't need each block icon in tools bar. I want to compact all block in one icon in tool bar.