jQUery chosen which files to include for using it - jquery-plugins

i am new to chosen.js .i download release 1.0.0 . when i download it contains a lot of file .in which i think we have to include chosen.min.css and chosen.jquery.min.js in our html page.i am confirming my assumption is correct or not ?? or we have to include other files also in our html page to run chosen method properly ??

Related

How to change jQuery version in magento 1.9.3.4

I am new in magento and cms in general so my question is what are the steps to accomplish this task ? i have found solutions for newer version. Extension that i downloaded require jQuery > 1.8 and i found out that my actual version is 1.7.2.
Any help is appreciated.
First on your page press CTRL + U (if chrome), than CTRL + F. type jquery, find line where ..scrip... src="...jquery.1.7.2...> (you need jquery file, not jQuery plugin or smth.) this step for find name of jquery file, becouse it can be jQuery.min.1.7.2.js jQuery.1.7.2.js and etc...)
Copy file name
Open any IDE or smth. For load magento project files if you haven't it. Use function like Find in folder, and look for copied name. It should be in theme layouts folder or base layouts folder.
Download right jQuery version and put it where is old one.
Comment that line where xml loads old jQuery, and load new one in local.xml.
(or just replace in that xml, but it is bad practice, better make changes in local.xml)

Do we have a simple example for DOMPDF?

I downloaded dompdf from : https://github.com/dompdf/dompdf
I included the library in my application
$dompdf = new DOMPDF();
$dompdf->load_html($html);
$dompdf->set_paper('A4', 'Portrait');
$dompdf->render();
but i got the following error "/php-font-lib/classes/Font.php" is missing
Does anyone know where I can find a simple working example on how to get started with dompdf?
The php-font-lib folder is a link to a different repository: https://github.com/PhenX/php-font-lib
You should download that too and copy the contents of the src/FontLib folder as a 'classes' subfolder in the php-font-lib directory. Then you'll be able to load the Font class.
You downloaded the source code, which is more for developers. What you want to do is go to the dompdf releases page and click on one of the green download buttons (e.g. the one labeled dompdf-0.6.1.zip for the current release). These downloads include all the files you need.
There are other ways of getting dompdf as well. Go to the Easy Installation section of the read me for more information.

Is there software I can use to view my Markdown files as a wiki, with relative links, on Windows

Our team has installed the Markdown Mode extension in Visual Studio on our Windows PCs, and we're happy with that as an editor for Markdown files, but we need a way to generate a wiki from those files where we can click on links that cross-link the files of the wiki. I've been trying to find something, but haven't had any success getting something running.
I tried creating an empty web application and pasting in the html file from here http://dynalon.github.io/mdwiki/#!index.md and naming it index.html, and adding a couple of md files to the same directory that I set to always copy to the build directory, but I got 404-3 errors when it tried to access the .md file.
I see a couple of tools that look possibly good but need Python or Ruby installed, which isn't ideal: http://markdoc.org/quickstart or http://helloform.com/projects/commonplace/
I see this ASP.NET control for embedding a Markdown file into a page http://wikicontrol.codeplex.com/ but the control is for VS 2010 so clearly is not being actively maintained, plus to use it I'll need to build something to take the relative links and find the related .md files and load them up in MVC - sounds like a hassle to get working, and it will require me to put MVC in my docs project.
Is there something that is just designed so that I can put an html file or similar in a directory with a root .md file and have it just immediately act like a wiki and allow navigation between them?
We have decided to use MarkdownDeep NuGet package and a single MVC controller to handle this. The MVC controller looks at the requested path, uses it to figure out the location of the Markdown file, reads that file and renders it to HTML and returns the HTML.

app_code folder

Normally I only copy the dll files in the bin folder to update the website, when changing the codebehind.
I have made a change to a code file located in the app_code folder.
I have published the site and updated the bin folder with a lot of app_webxxx.dll files.
Now I get a parser error: Could not load the assembly 'App_Web_syn42ext
Is it possible to only update the dll files or do I need to update all aspx files everytime I make a change to get the website running ?
You need to do it as well, you need to update web pages as well, because if you will see when you publish the webpages in aspx page, on header tag, the reference of cs file upgrades itself.
So whenever you will publish there will be some random giud generated and will appended to file name, basically it reference to the name space.
So you will need to update web pages as well.

Jqgrid in a asp.net page in a subfolder not working due to js and css file paths

I have implemented jqgrid within asp.net 3.5 vs2010. It is working fine as long as the asp.net page is onthe root folder, but when I move the page to a subfolder it tries to look for the js and css files with the foder under subfolder. The js and css files are in a folder under the root folder.
I am using the folowing code to reference to jquery files:
What it does is it appends the subfolder name to the path and the application is not able to find the js and css files. e.g /Scripts/jquery.jqGrid.js
How do I reference the js and css files under the html tag of asp.net page?
If you use developer version of jaGrid you have to modify the variable pathtojsfiles from the jquery.jqGrid.js depend on the path where you place jqGrid on your site.
I recommend you to include all files listed in jquery.jqGrid.js instead of using jquery.jqGrid.js. See this and this answers for more information.

Resources