Vtiger6..One Field with Another Module - customization

I have a field named as Vendor in Products. I want to like this Vendor field with Vendors module so that It gives me list of vendors where I can add and select appropriate one.
How will I do it with code .. Where Will I place relations and module code.. In products.php or where?
or Can it be done through Vtiger UI?
Plz Guide
Thanks..

Related

How can I auto-populate a form with a native field from another record in NetSuite?

I am pretty new to NetSuite, and I am having an issue with a custom field. There is a native field on our Project form called project type (id: jobtype) and we are using it as a drop-down list to classify the project as Capital or Non-Capital, shown in the link. Project Field
I want to copy the field and have it on the Vendor bill form and have the field auto-populate with whatever the value is on the Project form. Basically, I just want the data to be duplicated on this other form. I tried creating a custom field and sourcing the Project record and I can see the field on the Vendor bill, but the value is blank and doesn't populate as either Capital or Non-Capital: Vendor Bill field
I cannot figure out why it isn't working, whether it's because it's a native field or I am sourcing something wrong. Any help would be appreciated, thank you!

Can't hide and add category on frontend in Prestashop 1.5

I'm new in Prestashop and I ask you about little help.
My client uses Prestashop 1.5 and she deleted one category and add one new category. Unfortunately we don't see these changes in category block on homepage and other pages.
Can you please help me how can I make these changes in admin? I looked for a solution in the category settings and in modules settings, but without success. I deleted cache in Prestashop and also in browser.
Can you please help me?
Thank you very much in advance.
Kind regards,
Jan Pavelka
picture of backend /
picture of frontend
What is name of this category module? This is blockcategories or it is different module? If it is different module maybe it has configuration page where you must edit displayed content like in module blocktopmenu.
Could:
Clear the cache from admin panel ;
Very often the themes and modules have a " cache " separate checks if there are options to delete it or you cache modules ;
If it appears also , try to look as if phpmyadmi in ps_category and ps_category_lang tables is still present that category (replace " PS_ " with the code you're using ) .
Let me know
Thanks guys for the great advice.
Finally, it was very simple (and stupid from my part). I only had a lower level of access to backend - that was the problem. For these things I need admin access.
Jan

Hybris ProductListPage does not find category

here is my question. I have one ProductListPage where I want to display a single product. I have a simple Product catalog with one category "TestCategory" and one product assigned to it "TestProduct". What I want is just to display the product in my Product List Page.
However, when I access the Product List Page, there is a message stating:
Category with code 'TestCategory' not found! (Active session catalogversions: ProductTestCatalog.staged, ContentTestCatalog.staged)
Both content and product catalogs are synched and everythings seems fine. I started an indexer operation wizard and it was successful, but nothing has changed, I keep getting this message, even though the category is existing - it even comes with the name "TestCategory not found" What should I do to find it?Can you provide any ideas or solution to this problem? Maybe the problem is in my Solr Configuraiton? If yes, any ideas how to fix it will be highly appreciated. Thanks! :))
The ProductDetails Page in the hybris Accelerator does not use SOLR so it is unlikely to be that.
The error suggests that the category TestCategory is not visible to the current user in the current session.
The Active Session catalogVersions should show Online catalogs only unless you are in Preview/LiveEdit. So this suggests something is wrong.
You should try to understand the SearchRestrictions in the Session.

Relation between main module and related module

I am using vtiger and i have created a module and add a document module as related module. I have added some functionality in document as: at least 3 document you have to select. But i want, when he added 3 documents and if he want to add more document then only one field will show when he click on add button.
Its mean I want to know in which table related module are managed?
Related module list is managed in vtiger_relatedlists table. And add function get_attachments from CRMEntity.php for related module to your module.php file to which you have to set relation. (this is just for your information if you don't know). Any question please let me know.

Opencart module development - Inject javascript/html code in some pages

I'm a beginner on Opencart and just started developing a module for Opencart which it must inject some lines of javascript and html code in these pages:
- Cart Page
- Product Page
- Confirmation Order Page
- Register form page
The official documentation doesn't have informations about how can i do that, I've tried to find a good documentation about OpenCart but I didn't find anything.
I need help. How can I do that?
Diggin necro topics;) :
The easiest way i think:
upload/catalog/view/theme/[themename]/template/product/product.tpl - here you can add your custom html for product page
[your theme name, you shouldnt overwrite default theme because it can cause damage after update]
It depends on where you're trying to insert the HTML/JavaScript.
Doing things the proper way in OpenCart, you're limited to the column-left, column-right, content-top, and content-bottom positions.
The files you'll need to create are:
admin/controller/module/mymodule.php
admin/language/english/module/mymodule.php
admin/view/template/module/mymodule.tpl
catalog/controller/module/mymodule.php
catalog/language/module/mymodule.php
catalog/view/theme/default/module/mymodule.php
To learn how to do this the first time, it's easiest to replicate an existing stock OpenCart module (preferably a simple one, such as information). Once you've replicated it you'll need to go through each of those files and replace any references to "information" with "mymodule".
After that, if you've done it properly, you should be able to navigate to Admin > Extensions > Modules and see your module in there. Then install it, use the "Add module" button to position the module on all the relevant layouts, hit save and hey presto you have a working module on the front-end.
To modify the front-end output, just edit catalog/view/theme/default/module/mymodule.php
If you want to insert your HTML somewhere other than the 4 available positions OpenCart gives you, position your module in the content-bottom position and use JavaScript/jQuery to inject some HTML where you want.
If this is for your own personal website then as Pawel S suggested it would be easiest to simply modify the relevant view files (ie. catalog/view/theme/[themename]/template/product/product.tpl), however if you're making a module which you plan to distribute then this should be a last resort.
Hope that helps!
I realize this is probably long dead by now, but if you're creating a module that needs to modify existing controllers, languages, models or views the correct tool to use is vQMod.
vQMod allows you to modify existing code on the fly using XML.
https://code.google.com/p/vqmod/