Does CKEditor support writing html-formatted emails? - ckeditor

Our users need to author html-formatted emails. As you may know, there are lots of idiosyncrasies specific to crafting html-formatted emails. For example, using inline CSS instead of external CSS files or embedded CSS in the section, using nested tables instead of divs, etc.
Does the CKEditor officially support authoring html-formatted emails?
Thanks!
Mike

No and Yes.
No: there's no single checkbox: "create HTML emails"
Yes: you can configure most of the features to work the way that you want, it might be easy sometimes and with other features you might have to fight harder, but it's up to you to learn how it works.

Related

Is there any way to convert html template to liferay theme?

Is there any way to convert html template to Liferay 6.2 theme ? Is Alloy UI help me about this ?
There is no "one-click" tool to convert an html template to a liferay theme. You have to implement the theme yourself and use the "diff" folder to configure your own custom templates (.vm), scripts (.js) and styles (.css). Check out the official docs:
https://www.liferay.com/documentation/liferay-portal/6.2/development/-/ai/creating-themes-and-layout-templates-liferay-portal-6-2-dev-guide-09-en
https://www.liferay.com/documentation/liferay-portal/6.1/development/-/ai/creating-liferay-them-7
+1 for Artem's answer which gives you the correct answer to your question. As a "no" might not be what you were looking for, let me add some reasoning extra - why would such a tool be introducing even more work later in the game?
If you look at the basic structure of Liferay's HTML code - all the nested divs, classes and ids - you'll find that they're quite clean and structured. A lot of Liferay's functionality is implemented with this kind of DOM in mind. If you'd introduce your own, completely unrelated, DOM from your own template, you'd need to find all components in Liferay that assume a certain structure. For example Layout Templates: They define "drop zones" where you can add portlets to the page. You probably don't have them in your existing templates. Another example: Maximized portlets. They'll need a DOM element to go into.
IMHO you're a lot better of to stick very close to the original DOM and just tweak your CSS to address the classes/elements you need. This is, of course, just a very general recommendation - for certain usecases this approach might also be a disadvantage. But most of the standard usecases are covered IMHO

How to add my language to github markup library?

According to github/murkup's README, it's available to add comstomed markup language on Github.
https://github.com/github/markup
Markdown is really clumsy to use for simple projects. I just want a markup language which supports "bold", 'inline code', 'code blocks', 'links'. No need to add blanks to change line, just be simple like code. I think it already enough in most cases. So here's my code in CoffeeScript.
https://gist.github.com/3712310
I haven't learn Ruby yet. So I don't kown how to debug my language before I push it to Github, since there's not a detailed guide for beginner. Could anyone help me?
By the way, does Github accepts such a language?
The answer is in the README:
If your markup is in a language other than Ruby, drop a translator script in lib/github/commands which accepts input on STDIN and returns HTML on STDOUT. See rest2html for an example.
I encourage you to take another look at the other supported languages. Just because your file is in Markdown doesn't mean you have to use all of the features. Textile is a nice alternative, but so are all of the syntaxes supported by markup.
Think of tool and editor support in your language, and why users would want to use it. What does it bring to the table? What does it solve? It looks identical to Markdown, minus the features. You will likely need to sell your specialized markup language with one user in your pull request.

Content Management System - PHP - Asp.Net

I am new to open source Content Management System tools. I got a website using Joomla for content management. Now, I am just thinking to Umbraco or Dotnetnuke (any Asp.net based) frameworks to use. Will it be a complex to do this migration. Can you suggest pros and cons for this idea.
Any help is appreciated. Thanks !
For Umbraco ...
Most of your client-side code like HTML, CSS and JavaScript can just be copied straight over, but as expected it may require some fiddling.
As for the data, it might be worth looking into the CMSImport module for Umbraco. As long as you can convert the source data into one of the formats recognised by the module, you should be able to upload your content with ease. I've had no personal experience with this module, but should be worth a shot.
It really depends on the size of the site and the functionality requirements. For smaller sites, it may be as easy as implementing the skin based on the original design (or, if a custom design isn't needed, selecting a free or 3rd party skin) and then manually migrating the content. For really large sites, you should be able to write scripts to migrate the content. I'm not aware of any products that do this. You'll also probably need to select some modules to use for things like forms.

best HTML code sharing app

I've been searching google for a while to determine the most coder-friendly example boxes.
I'm wanting to share varying forms of ECMA script (JS for example) etc that provides the user with color coding and a simple way of copying the code. I know there are several out there, but I wanted to get some opinions from SOF since you guys probably have good experience with code.
so- What's the code-sharing tool you [would] use?
the solution
I ended up using Gist for complete snippets and am using Syntax Highlighter for *incomplete * code samples. There's a Drupal plugin for the Syntax Highlighter, but I dare say it's more of a pain to figure out the plugin than it is to just do things the old fashioned way (old fashioned being like 5 years ago..)
I use http://jsfiddle.net/
Color coding — check
HTML, CSS, JS — check
Live demo — check
gist has syntax highlighting and users can download the files separately, as a zip archive or using git. You can embed the files easily on other sites.
Additionally, the site tracks changes and other users can add comments or fork a gist to change it themselves.

Code syntax formatter for posting code on webpages

Is there a utility that will generate html or css for blocks of code (.net c#) when you post it on a website?
I have seen several websites with very nicely formatted code and I dont believe they do this manually.
Google prettify -
http://code.google.com/p/google-code-prettify/
I prefer Syntax Highlighter implementations (I'm using Wordpress plugin implementation for my blog).
Advantages
It is based on JavaScript and does
not care about what you have on the
server.
Posts with this formatting display
properly on different RSS feeds and
can be copied to clipboard.
It is trivial to extend syntax
rules. I'm using that to highlight
custom operators in Boo-based DSL (see sample post)
Multiple languages are supported
out-of-the-box
(source: googlecode.com)
You can get JavaScript syntax-highlighting scripts, such as this one by Dean Edwards.
This is also a jQuery version apparently based on it which looks good.
CopySourceAsHtml is an add-in for Microsoft Visual Studio 2005 that allows you to copy source code, syntax highlighting, and line numbers as HTML.
http://copysourceashtml.codeplex.com
It's highly configurable, and works much better than the download page would make you expect! Don't know if there is something similar for VS 2008
If you don't have the ability to add the google prettifier CSS reference, this would be a better way to go, as what you get is a complete HTML with the required style. I use it all the time on our developers wiki, and loving it.
An even better solution, if you don't want to bother installing anything, is to just use the little web app I wrote called BlogTrog CodeWindow:
http://www.blogtrog.com
It's easy to use. Just paste your code and embed the results.

Resources