Apply theme to Classic ASP website? - vbscript

One client asked about their website which was developed in Classic ASP with JavaScript and VBScript. I have very limited knowledge about Classic ASP because I have been doing ASP.Net all my life.
My question is, is it possible to change the theme for the website without having to touch any of the programming part? I mean only the interface/look of the website by using any ready template theme like themeforest or else.
I hope anyone here can advice me about this.

This is generally done using Include files that write HTML for headers, footers, navigation, etc. Create a sample HTML file that draws the look you want for your ASP Web App and leave a placeholder in the content area where already-existing content should go. Then split up the area before the existing content (theHead.inc) and after (theFooter.inc), and use Include in all files to place the HTML before and after the content, respectively.

Related

SonarQube page extension with html possible?

I just read about extending SonarQube with custom pages. All examples I have found consist only of javascript files.
Is it possible to have html files as well or is it javascript only? If it is javascript only then the whole feature is completely useless as nobody wants to create all the html elements with javascript.
It's Javascript only.
However, there's a guide on how to use React to create the HTML elements, which makes it a lot more bearable. Try it!

Microsoft Web Matrix

Pretty easy question I hope: does anyone know of a tool that will effectively scrape sites built with Microsoft Matrix? I could write the code in python, but it will take me way longer than I think I want to dedicate to the task, namely because of the really bad and ugly HTML generated by Matrix.
I have tried Web Harvey, Helium Scraper, and I tried the Web Scraper plugin for Chrome. WebHarvey choked on the HTML and couldn't load subsequent pages. Helium Scraper was able to move from one details page to another (the Next links were followed) but content from within the details pages was not lifted out. The Chrome plugin web scraper was not able to navigate links, with the popup window displaying an error page. My gut is telling me that this has to do with uniquely ASP.net things, but I could be wrong.
Any pointers or suggestions appreciated.
You know there are two completely different versions of Microsoft Web Matrix right? There's the one from 2003; i have no idea what its html looks like. There's the one from 2011 to current which uses razor cshtml source files to produce its html. In the 2011+ one, you write the html by hand; there's no drag and drop, and so it's unlikely you'll get consistent html from site to site.

Design View for ASP.NET MVC3 Views

Is there a Design View in ASP.NET MVC3 ?
There is no 'Design' view in MVC, like there is in Forms. However your views are just HTML so you can use any HTML editor, although they will not be able to interpret the Razor syntax.
What most people do is make changes to the HTML, save (you don't have to recompile,) and refresh your browser. Google Chrome has a very help full tool built in (Firebug or something like it.) Just right click on the page and select Inspect Element. This will come in very handy.
Also one thing to think about since you're new to MVC is that you can easily use most any css themes that you can find online to make the site look very different out of the box.

MVC Razor GUI and Coder Working Together

I would really like to use the MVC and Razor technology for my web application. The problem I am running into is that I am the coder and will be working with a HTML GUI designer.
I only see 2 ways for the GUI person to work at this point.
Install Visual Studio and open the whole solution and work like I am working, except he would stick to the CSHTML files.
Use his favorite HTML editor or notepad and edit the CSHTML files manually and then also have something like IIS Express installed with the app configured so that they can refresh the page they are working on.
Neither of these seems productive or intuitive. I would love to see the GUI person able to use a tool like Expression Web or other tools that allow you to see the design and html at the same time. Having tools available for shading and colors and positioning would be good.
Now I understand why it is this way. It is because of the processing that Razor does to render the pages. This is most true by the fact that most of the cshtml pages themselves are not complete pages. They are meant to live inside of a _layout page.
Isn't there something, though, that can at least show the basic rendering during editor?
What are other people doing?
You have a few options. AFAIK there is no WYSIWYG HTML editor that understands Razor. So, either your designer must work in straight html, or...
1) The designer works in pure HTML files. They give you those files, and you adapt them to Razor. If they need to make changes, you can track those changes with a diff tool (from the previous version) or use a version control system to compare versions of the raw html. Then you apply those changes to your Razor files.
2) Your designer works in .aspx files, which Expression Web understands. You could convert the WebForm syntax to Razor syntax. Again, you are spent doing lot of work, but probably less work than the pure HTML way of doing things, because the designer will have designed the code for master pages. These can be relatively easily adapted to Layouts.
It would be nice if the next version of Expression understands Razor.

Asp.Net MVC 3 Free Text Editor with File Upload

I spent all day yesterday looking for a text editor for my Asp.Net MVC 3 application without any joy. What I am looking for is a text editor that I will use to allow a user to add a news story. Therefore, it would be nice if when using the editor the user, as well obviously adding text, could embed an image by hitting an image icon and browsing to their local drive. And also to highlight text, ie 'Further Info', and be able to link to a document which they can also upload.
I know you might think reading this that there are loads of tutorials etc on the Web that already explain that, but after a full day of researching yesterday I have not been able to find any. Either the documentation is for asp.net Web Forms, or PHP etc, but I can find hardly any info on how to implement this for MVC.
I know that the likes of CKEditor and TINYMCE are availble, but I can find no information on how to implement these to my requirements stated above.
If anyone knows of any tutorials or even any alternatives that I could use it would be very much appreciated.
This might be what you are looking for. A solution for tinymce: http://www.xdevsoftware.com/blog/post/TinyMCE-Image-Upload-Plugin-for-ASPNET.aspx

Resources