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.
Related
How to add the Language icon image in liferay 7(liferay-ce-portal-7.0-ga4).
I have followed the steps mentioned in following article,
https://web.liferay.com/web/salman.khan/blog/-/blogs/add-a-new-language-to-liferay-detailed-step-by-step-
After the language configuration I can be able to see the languages but not the flags on web content forms.
So I created the custom theme to add the language file and added th_TH.png file in theme\src\images\language\th_TH.png. But din't work.
Then I tried the implementing the lexicon-icon approach mention in,
how can i add a new language in liferay 7?
Still I am not able to see the language images.
Please refer the screenshot for details,
Theme-layout and file location
To add a custom icon that is not supported yet you need to add 2 artefacts into the theme. Liferay using 2 things for displaying icons. Somewhere it uses png flag and somewhere svg you need to adjust both.
Have a look at this sample project. https://github.com/mir333/custom-flag-admin-theme
It takes the admin theme of Liferay (it is a copy so it needs to be kept in sync with updates) and adds a new flag to the admin theme. The magic is in adding the flag into the lexicon. Under the hood, it takes the added flag svg files and recompiles the icons.svg files to include it.
To anyone who still have issue showing the flag, I just want to point out that this helped me: https://stackoverflow.com/a/45907250
As described, open the icons.svg and add your flag's svg code in as a symbol with the id "xx-yy" (your language and country code, in lowercase).
The flag does not magically generate just from putting the flags-xx-YY.svg file into lexicon folder, not for me at least.
I have built an addon and that has custom listview for Contacts module.
The filepath is /custom/modules/Contacts/views/view.list.php.This file has listViewProcess() function with my custom code.
Installing the addon will copy this file.
But if someone already had this file it will be replaced.
How can I overcome this?
Overall, you can't automatically overwrite and respect the existing file at the same time. Your best bet is probably to use a pre_execute script to display a warning/explanation of what is happening to that file. If you're planning to support Sugar's OnDemand service, that's about all you can do. If you're CE-only or not worried about OnDemand, though, you could use a file_exists check and adjust your warning or abort mission, maybe even back-up the existing file.
I'm experimenting an issue when I export customizations made by Studio tool, any custom fields are not exporting. I mean, when I load the package created in developer server to the production server, there are not custom fields in EditView, there are "native" fields only.
I'm using SugarCRM 6.1.6 (I know, it is an old version, but I can't update it right now)
Regards
Mauricio M.
You may just need to do a repair and rebuild - that's the likely quick fix. Alternatively, ensure that the package on the dev server exported both the custom fields and the custom layout metadata (i.e. the edit and detail view layouts). If it did, double check the permissions in custom/modules//metadata to ensure that the files were able to be uploaded and are readable by the web server.
I want to do some changes in magento theme actually product detail page, but I am unable to find that what theme it is. There are 4 directories where files can be.
In app/design there are 2 directories, default and base and then further more
And same is hierarchy in skin folder
So is there some place where I can see that which files are being used or is there some variables or functions in magento that I can use to check that from where it is getting file. I don't know much about magento and zend framework. I tried to echo some content in product_controller but it seems that I am not printing output in write file. So what can be the way for me to know that where is the file of product detail page view where I can add a form and some link, is there any sort of custom HTML in magento that I can add in product detail page? I actually want to have a form in it that will take it to anohter page that I will create in magento and that page will use some data from form. Or if there is some extension for it?
Please tell if you know any thing about it , that is really appreciated.
thanks
You can find out where your themes set from
System > Configuration > Design
System > Design
turn on template hints from System > Configuration > Developer
or you can add print_r(get_included_files()); to the end of index.php to see what files are actually used in current php page
You can find out which is set from following place
System > Configuration > Design
System > Design
here you can see the name of theme who layout,templates and skin is used
then u can explore the folder having the same name as files from that folder are in use.
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