I'm trying to create my first custom module in Sugar CRM CE.
I have created a new folder in the "/modules" folder and then placed core files so that the module appears as a new tab in top module menu bar.
At first I want this module to create and search through the contacts data but i have no idea where to write code. Can anyone please help?
Why not use Module Builder in the product to build the module?
Related
I'm almost new to Yocto. And I want to add a component to Yocto.
If the component is just a file, and it doesn't need to be compiled, I can easily add this to Yocto.
I can add that component to base-files, but I want to do this by making new package, NOT by a way that dependent with base-files. But I don't know how to, for now.
Could you give me a good example?
you can see the recipe of base-files in poky/meta/recipies-core/base-files
for your issue you can create a basefiles_%.bbappend and copy your files to your destination folder inrfs
I have a zend framework project, all written in one Module. Under this Module you find a controller directory, Model directory and view directory. I am looking for a perspective to devide this Module into many, each with its controllers, models and views. would you supply me with some references to read more about this.
Thanks in advance.
You should not divide your module, but introduce several modules. Each module has its own config, src and view folder. Inside the src folder is another folder (same name as Module) and in this src folder you find controller, view and model folders (and more depending on the project).
So something like this:
As far as I know this is the correct layout in a ZF2 application.
You can also read on folder structure in the ZF2 documentation.
And on ZF2 project structure here
And on setting up a module here in the ZF2 user guide
So I am to change the icons for my custom module. My module is of the file type and I want the icons to be that of the sales type. I need the module to be of file type in order to have the upload file field however.
So I have tried replacing all the files for my custom module in custom/themes/default/images/ with files from a custom sales module but that hasn't worked.
I have also tried to edit the menu.php file but it doesn't exist so I couldn't.
I'm using Sugar 6.5.5 CE edition.
Thanks
Ok so the problem I think was that it needed a quick repair and rebuild.
I tried include only zend mail part in my program and entire zf is not included.Is it possible to use particular components of zf rather using entire zend.How can i include only zend mail in my program?
Yes it is possible.
There is a project at http://epic.codeutopia.net/pack/ that allows you to download a zip file of the specific components you need. However, it is limited in selection of versions.
You can also manually extract the files you need from a downloaded copy of the framework. You must make sure that you get all the dependencies. The components are supposed to have very low dependency on others so you shouldn't need the entire MVC stack, for example, just to use the Zend_Mail component. You might, however, have to grab Zend_Exception, but I'm not sure.
After you get the source, you will just include it like any other script. In your case it might look as follows.
<?php
require_once "/path/to/Zend/Mail.php";
$mailer = new Zend_Mail();
//code
im making a software using C#.net ..and want to give it to users
Which file of my C# project i should give to a user for just use my software but they cant modified it.....how i make that type of file?
Which file of my C# project i should
give to a user
You should give none of the files that are part of your C# project. Provide only the compiled assemblies or if you already have a setup project that generates a deployment package such as an MSI, provide the resulting MSI.
You must create setup file and provide that much only.And your set up must contains serial key.If you dont know how to create serial key during setup creation then click here