Where can I locate quick preview file or rather how to hide quick preview in vtiger crm 7.1.0? - vtiger

I tried checking over the world of internet on how can I hide quick preview or edit the content of quick preview but to no luck I can't seem to find any answer nor a question about quick preview. Even I tried searching the files inside vtiger but can't seem to find any clue to where I can locate it and since there are too many files inside. Can anyone help me?
By the way I'm using Vtiger CRM 7.1.0

After a thorough checking on the folders inside vtigercrm I was able to successfully hide quick preview though when I found out how to hide it I didn't went on searching how I can edit the content of quick preview.
This is how to do it:
go to /var/www/html/vtigercrm_maxicare/modules/Vtiger/views
and edit List.php
Comment out this line
$viewer->assign('QUICK_PREVIEW_ENABLED', 'true');
Or you can just comment out the entire condition
$moduleModel = Vtiger_Module_Model::getInstance($moduleName);
if($moduleModel->isQuickPreviewEnabled()){
$viewer->assign('QUICK_PREVIEW_ENABLED', 'true');
}

Related

Why does the VS Solution Explorer Script Documents list keep growing and how do I use those links?

When we debug an MVC5 application, links are provided to access the running scripts as shown below. This is for a basic MVC5 application that has had absolutely no modifications:
If we simply refresh the screen 3 times on the home page, the list displayed gets longer as shown below:
I've never really tried to debug a script yet. I have used the html links to view pages and I understand I can open one of the .js files, set a breakpoint and try to debug a script. But why are there so many links?. I would have thought I only need a single link for any given script or page that is in progress; that the links would go away when the script or page is no longer active. Clearly I'm missing something about the constantly growing list.
Could someone provide a brief explanation of this feature and how I will use it. My book on Visual Studio mentions this feature, but doesn't provide enough text for me to get a handle on this aspect of the feature.
This looks like a bug in the Edge debug adapter. Specifically, the adapter is supposed to send an event when the page refreshes (or a navigation occurs) to clear out old scripts that are no longer valid for the new execution context (here's a link to the event description in the debug adapter protocol if you're curious).
We've opened an issue on the GitHub project where you can track the progress of the fix.
For a workaround in the mean time, if you click on the bottom-most duplicate script in the list, that should be the latest loaded version, and should work without error.
*EDIT:
We've got a fix for the issue which should be out with 16.2 Preview 2 of Visual Studio.

Are you able to get hints from what template a message is coming from with dev tools?

I have this website that I'm editing for a friend and they want to get rid of this message at the checkout screen but their boss doesnt know who implemented it. Its an error message at the top in read that says "If you are having trouble checking out, please contact us at sales#cbobaby.com" and is in the check out page. This is an open cart website and I only work with wordpress sites so I'm having trouble figuring out where the source of the message is coming from. I've dug through some of the template files in the theme and I can't seem to find or delete anything that gets rid of it. My question is if there is anything in Chrome dev tools that would help me identify the source or template it lives in? I only use dev tools for adjusting css but I know there's so much more you can do it with. Thanks.
No, DevTools can't relate your front-end code to what generates it for the DOM. For the exact same reason we are unable to persist edits in the DOM to your source.
You need to use grep, or some code editor with "find all" functionality and look for some part of the string. If that fails, search your database and see if it is coming out of there. You can then either edit the database and hope nothing breaks, or try to back-track through the application logic to find where is calling that part of the DB. It should give you some ground as to where to look.
In the Sources tab, you can see the resources, that are loaded when you are on a particular page. You can also use the Inspect tool in the Elements tab to find the element that hosts that bit of text to narrow things down in your search.
To add to this, if content is generated on the server side, the resources you see will likely be a merge from multiple generated sources, e.g. with templates in your case. You can search your solution for aspects of the DOM elements you see in Chrome Developer Tools, but look for the static parts instead of the dynamic parts. For example, the text itself won't be part of the template file, a placeholder will exist - a CSS class could be useful.

Sitecore 8 ribbons missing from toolbar

Suddenly all ribbons are not coming in Sitecore 8 one of my project.
For example If I am going in publish menu I cannot see any option there.
To solve this issue, I have updated all three folders and config file "sitecore,sitecore_modules,sitecore files & web.config" but still ribbons are not coming for me.
Please assist me what can be solution for this issue.
Thanks all for your effort. I just copied fresh "Content Editor.js" in Content Manger folder and my problem solved.
I believe your ribbons are just collapsed (not expanded). To expand them back there is a little check on the right hand side of the screen. Check the screenshot for reference
I also have same problem and this issue usually coming by difference the version sitecore when you want to integrate with your solution. Try with another sitecore (sitecore,sitecore_modules,sitecore files) version that it

ShowEditor and Rich Text Field is not displaying in sitecore 7.1 application

We have migrated an application from sitecore 6.2 to sitecore 7.1.
We are facing an issue related to Rich Text Field which is not showing up when I open a content item. The Show Editor is also not popping up the Rich Text Editor for editing.
When I am facing this kind of issues after upgrading I tend to put tickets # support.sitecore.net and dig some deeper into it myself. What I normally do is get a clean web.config + complete fresh bin folder of the Sitecore version I've upgraded to. Also I make sure that I grab the /sitecore folder with it.
Then I will compare the fresh bin with the solution bin and replace any assemblies that are not the same. From there I will also do a folder compare (using beyond compare or any other good compare tool) to make sure I got all the necessary files from there. Also I make sure that I look for any posts on the Sitecore forum containing the same problems. Don't forget to view your logs, as they will sometime help you find your problem quicker.

How to display directory browser tree like control using coldfusion tags only?

Few months back when I was trying some features of Coldfusion then i found that we can have directory browser control on webpage using very simple tag. But I don't remember that tag now. I remember it was an applet. I have found cftree tag but it needs bind operation and few lines of coding to display directory structure. I am not able to google it. Can anyone please help?
I have found answer to my own question at below link:
http://www.tek-tips.com/viewthread.cfm?qid=691047
Thanks if anyone tried finding solution to my problem.
I think its cfdirectory tag or cftree you have been looking for.