Package/Application Documentation
Permalink
Hello Community!
Due to the lack of documentation for the Package/Application system in C5 I decided to dig (took most of the day!) into the C5 code and get it sorted out. I think this is crucial and important feature to add large scale functionality to C5 (If used properly!).
I was not sure of the best place to post this and what medium to use so I have attached a pdf.
I can try to answer any questions on this to a certain extent (I am not a help desk :) ).
Enjoy!
Due to the lack of documentation for the Package/Application system in C5 I decided to dig (took most of the day!) into the C5 code and get it sorted out. I think this is crucial and important feature to add large scale functionality to C5 (If used properly!).
I was not sure of the best place to post this and what medium to use so I have attached a pdf.
I can try to answer any questions on this to a certain extent (I am not a help desk :) ).
Enjoy!
Hmm the forum denied me to post a open document format (.odt) so I exported to a .doc .. Hopefully it kept the formatting intact enough
I have tried the install as documented and came up with one modification:
You need to edit the first line to read:
and edit the line toward the end to read:
Notice the $pkg instead of $this.
You need to edit the first line to read:
$pkg = parent::install();
and edit the line toward the end to read:
$messages .= BlockType::installBlockTypeFromPackage($file,$pkg,0);
Notice the $pkg instead of $this.
well $this is the package but sure why not if you like it better :)
It wasn't working with $this, so I added the $pkg and it started working for me.
http://www.concrete5.org/index.php?cID=2684
woulda added damiro's change to the message line but wasn't 100% where the $pkg line before it should really go.
thx!
woulda added damiro's change to the message line but wasn't 100% where the $pkg line before it should really go.
thx!
Thx!