Do I need to include jquery with kendo - kendo-asp.net-mvc

Hi I'm using the Kendo ASP.NET MVC Wrapper and was wondering do I need to include the jquery? I really want to use a jquery plugin e.g. http://www.jacklmoore.com/colorbox/guide/ and was wondering if I have to include jquery to use the plugin or would it not be necessary as jquery is already included in the kendo stuff?
Vince.

Check your markup to see if it's referenced.

Related

Where to put template level style in ember project

In my ember js project I have a style sheet where it should only available inside the given template how do I achieve that properly? I mean where to put that style sheet?
And how do I reference it to my template?
Create css file under styles/style1.css and include that file in styles/app.css like #import 'style1.css';.
If you would like to specify component specific css stylesheets then you can try ember-component-css addon.

do we have to use static-content:deploy for every small change in our custom jascript in magento

i am creating one custom javascript file in magento admin side.i need to use static-content:deploy every time to reflect the change in javascript .so it's taking very long time to see the output.so what is the standard way to use the custom javascript snippet
Suggestion is to have that JS as online JS rather then in .JS file.

Dreamweaver type templates in Aptana

I am designing a very small website using basic HTML. I usually use a CMS but it has been a while since I did just HTML files, I was wondering if there was some sort templating where you can have like areas like a "Master template" and when a section is changed or added to the rest of the HTML pages that have those sections change with it. Like a common header and footer so I don't have to make the changes in each page if I need to make a change to an element.
I am using AptanaStudio 3 and was wondering if there was a feature like that as there is in Dreamweaver. I don't have Dreamweaver installed on my new computer, so taht is not an option.
Thanks in advance
You can try server-side includes (SSI): http://www.htmlgoodies.com/beyond/webmaster/article.php/3473341/SSI-The-Include-Command.htm

OpenCart: Creating a standalone Ajax page

I'm working on an OpenCart project. I'm creating a "quick view" effect on the special products on the homepage where if people mouse over the item, a popover displays including a bigger image and an add to cart button.
I'm trying to create an Ajax page where I can use in my js to call and get the details of the product.
My ajax file works fine as far as looking at the passed query string and returning some data; I just don't know how I can include the opencart core files, or module files where I can use to get the details.
I hope I'm making sense.
The easiest and best method would be to use the framework itself and simply use the methods provided to get the data you want. You can read the basics about how to use the framework here assuming you are a php developer and have a basic grasp of OOP and MVC

Customizing Dojo Widgets

How do I customize an existing Dojo widget? I'm using dojo version 1.3. In the previous versions we had the html file under templates folder. Do I need to edit the source code directly.
I need to add an image to Accordion widget. Can someone please help me in customizing it?
Thanks in advance.
First, grab the existing template from the dojo library. This'll be your starting point.
Then, create your own widget that inherits from AccordionContainer, but specify your own html template:
dojo.declare("MyWidgets.Accordion", dijit.layout.AccordionContainer, {
templatePath: dojo.moduleUrl("MyWidgets","Accordion.html");
});
(dojo.moduleUrl is a nice way of specifying folder paths so the dojo library can find and inline them when you package up your final product).
This way, you leave the original source intact, but can set your own html and override any methods as needed.
That HTML template is still there in the templates folders. You just need to download the source release. Depending on your needs you could 1) set the content by adding children, 2) write custom widget inheriting it or 3) use it as a part of compound widget. Inheritance in Dojo way is simple:
dojo.declare("my.Accordion", dijit.layout.AccordionContainer, {
// your methods...
});
I think you could extend the existing widget rather than modifying it.