Does uninstalling Custom Module Builder Extension affects the custom created modules - vtiger

We are using vTiger CRM with its Extension Pack from VTExpers, Inc.
We used the Custom Module Builder Extension to Custom Modules Several times, now we want to Uinstall the extension.
My Question is:
What will happen to the Custom Created Modules, which have been created through this Extension, will they disappear as well, or they will remain Active in the CRM?
I want to keep the Custom Modules and remove (uninstall) the Extension it self.

They remain in your crm but your custom modules will not work after uninstalling Custom Module Builder
Simply modify YourCustomModuleName_Module_Model class and remove isActive method from class. you can find this class in the following path:
modules/YourCustomModuleName/models/Module.php

yes, created modules will be there

The modules will be there, beware as VT Experts uses ION Cube to encrypt most of their extensions so you have no idea what the code is doing.

Related

Ember JS for SCORM Compliance

Is there any references that explain how to make Ember JS Learning Content that will be used in the LMS (SCORM Compliance). I've already tried to ember build and put the imsmanifest.xml on the root folder(/dist). When I upload all the /dist folder's content to the LMS (cloud.scorm.com), the Ember JS app is not shown.
Is there any suggestion to make learning content using SCORM Compliance and Ember JS? I will use SCORM 2004 4th Edition. Thank you very much.
You have a couple options -
Is this untracked? Within the imsmanifest.xml you would label it's resource scormType as 'asset' or 'sco'. Hint: If you have no SCORM communication included within your EmberJS content, then its a asset.
If its tracked, you should set its resource scormType as "sco". This imply's your content is doing base things like Initializing and Terminating with the SCORM Runtime API (which in SCORM 2004 is the API_1484_11).
Example: https://github.com/cybercussion/SCOBot/blob/master/imsmanifest.xml
If this is the first time your hearing about the API, you'll need to consider what your goals are. Commonly curriculum will identify what data points are acceptable within your Shareable Content Object. You must Initialize and Terminate at minimum, but if you opt to track Score, Progress, Completion Status you'll need to integrate that into your existing work.
There are free JavaScript libraries available for interacting with the SCORM Runtime API. These will be called "SCORM Wrappers", "SCORM Content API" and there job is to locate the API_1484_11, and then begin to make Initialize, GetValue/SetValue, Terminate calls as needed. These libraries will range in features and functionality since the SCORM spec has been around since 2001+ and then enhanced in 2004.

Runtime Error on 'Editable' when using Glass.Mapper in Sitecore8.1

I have Sitecore8.1 MVC with Glass.Mapper.Sc package (from NuGet) installed. I need to use the 'Editable' method in my cshtml, but I keep getting a runtime error:
The name 'Editable' does not exist in the current context
Do I need other DLLs, or usings or config updates etc..?
Use #Html.Glass().Editable(). The HTML helper was introduced in 4.0.0.4. It allows you to skip inheriting from GlassView<T> and works with both controller and view renderings.
You have to use it in a Controller Rendering and not a View Rendering. Its in the Glass.Mapper.Sc.Web.Mvc.GlassView class. See this link for a working example.
http://www.seanholmesby.com/sitecore-mvc-page-editor-friendly-views-with-glass-mapper/

Vtiger Crm : Add new module and associate with exsiting module

I have created a new module for e.g. Resources Assigned and associated with existing module e.g Project through module designer (https://github.com/sardoj/VTModuleDesigner). Now i want to show new module 'Resources Assigned' in summary section of existing module 'Project'. I tried but is is not working properly. So what are the steps to show new added module in summary section of existing module.
you could use the related entities function on vtlib, this could work for you:
https://wiki.vtiger.com/index.php/Vtlib_Related_Entities
also you need a field to relate the two modules
if you need more help, please let me know

Accessing 't' (from r18n) in a rack-unit test of a Sinatra app

When using sinatra-r18n to handle internationalisation, the r18n lib exposes a variable t for use within your helpers, routes and templates, as per these instructions.
I have written a simple unit test using rack-unit to confirm that some of my pluralisations work but the test throws an error claiming t is nil.
I've tried referencing it via app.t, MySillyApp.t (where MySillyApp is the name of my Sinatra app), MySillyApp.settings.t etc and none of them give me access to the t I need.
What I am trying to achieve is a confirmation that my translation files include all the keys I need corresponding to plurals of various metric units my app needs to understand. Perhaps there is a more direct way of testing this without going via the Sinatra app itself. I'd welcome any insight here.
I had similar task to check localized strings in my Cucumber scenarios.
I've made working example.
Here you can find how strings got translated.
This file halps to understand how to add R18n support to your testing framework:
require 'r18n-core'
...
class SinCucR18nWorld
...
include R18n::Helpers
end
As you can see instead of rack/unit I'm using RSpec/Cucumber, sorry.

Retrieving Enterprise Project Types using Project Server Interface

I am currently building an app to programatically create projects in Microsoft Project Server using the web services exposed through the Project Server Interface (PSI).
I am able to create a project with an Enterprise Project Type using the QueueCreateProject method, however, I need to specify the GUID of the EPT which I don't want to hard code into the code.
Is there another web service or way to get the GUID of a specific EPT found by its name?
Also, can the same be done for custom fields in the same way?
I think what you're looking for is PSI Filter parameters. Check out this post for an example of retrieving the Guid of a custom field.
Really, I think the key is setting the filter criteria:
cfFilter.Criteria = new PSLibrary.Filter.FieldOperator(equal, nameColumn, customFieldName);
Where nameColumn is cfDataSet.CustomFields.MD_PROP_NAMEColumn.ColumnName and customFieldName is a value you pass in.
If you are like me, you want to do this for a lot of fields. I used a filter to query all the field names and MD_PROP_UID's and then just put it in a hashtable so I don't have to keep making PSI calls.
Disclaimer: I use 2007 but I'm assuming it is mostly the same for custom fields (not for the EPT part which I didn't include).
Here is an answer: https://stackoverflow.com/a/12267251/1594383
In short: the methods are available from Workflow service.