#1
Posted 09 November 2011 - 10:31 AM
For example I would like to create a new class called color:
- From which class, controllers, views should I inherit?
- How to define the class and configure it so all tables are created during install (or post-install)
- How to secure it?
- How to add it to the menu? (principal or admin)
#2
Posted 09 November 2011 - 03:57 PM
Jason Green
Zurmo Team
Need support? Upgrade now
#3
Posted 10 November 2011 - 09:03 PM
A TechnicalColor is a class with an ID, Name, Description, Image, Red value, Green value, Blue value.
A MarketingColor is a class that references a TechnicalColor and has a an ID, Name, Description, Season (ValueList)
An Oportunity can have 0 or more MarketingColor
An Oportunity can have 0 or more Size
An article (Marketing Color/Size combination) can be generated selecting a size and a Marketing Color.
An article has some extra attributes as Color, Size, Status, SKU, Description, price, etc..
I hope this will explain the use-case.
Regards
#4
Posted 11 November 2011 - 03:47 PM
Jason Green
Zurmo Team
Need support? Upgrade now
#5
Posted 11 November 2011 - 06:27 PM
I hope this helps. Please let us know if you have more questions. I will be adding to this as I get time, but at least with the example custom instance, you should be able to get started correctly.
Also - remember to turn on debug in debug.php and also keep in mind that during development things will cache, so you might want to turn off caching during development. I like to personally keep it on, but if i ever need to clear the cache i will add the parameter &clearCache=1 to the url if I am refreshing a page. This will force the cache to clear.
Jason Green
Zurmo Team
Need support? Upgrade now
#6
Posted 13 November 2011 - 06:29 PM
I used windiff to check the differences between the standard zurmo project and this baseline and there are many of them:
- The whole animals module is new
- Many other files are different due to Unix-Windows commands
I also had problems installing this version....After the settings page the page stays blank.
I hope you will have some time to explain the process step by step.
#7
Posted 14 November 2011 - 09:57 PM
Jason Green
Zurmo Team
Need support? Upgrade now
#8
Posted 15 November 2011 - 06:53 PM
What i would like to do is a skype IM chat with you to go over the zurmozoo customizations. This will help me understand more of what kind of instruction you are looking for so i can improve the wiki article. I will PM you my info.
Jason Green
Zurmo Team
Need support? Upgrade now
#9
Posted 15 November 2011 - 08:19 PM
I found the problems
in DatabaseMaxAllowedPacketSizeServiceHelper.php line 47 I had to replace checkDatabaseMaxAllowedPacketsSize by getDatabaseMaxAllowedPacketsSize
in DatabaseMaxSpRecursionDepthServiceHelper.php line 47 I had to replace checkDatabaseMaxSpRecursionDepth by getDatabaseMaxSpRecursionDepth
But there is also a missing function in DatabaseDefaultCollationServiceHelper.php as the InstallUtil.php file does not have any method related to collation.
Maybe I got the wrong InstallUtil.php ?
#10
Posted 15 November 2011 - 11:34 PM
Jason Green
Zurmo Team
Need support? Upgrade now
#12
Posted 17 November 2011 - 08:23 PM
Jason Green
Zurmo Team
Need support? Upgrade now
Also tagged with one or more of these keywords: data, model, extend
Zurmo Discussions →
Tips and Tutorials →
New moduleStarted by samanek.improvisio, 18 Apr 2013 |
|
|
||
Zurmo Discussions →
Tips and Tutorials →
DefaultDataMaker from other moduleStarted by k1000o, 08 Jul 2012 |
|
|
||
Zurmo Discussions →
General Discussion for Zurmo →
Zurmo Diagram - Model RelationsStarted by k1000o, 25 Jan 2012 |
|
|
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users










