Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I have some client they always asked me how to add custom HTML page in Confluence Page that work or function similar to master page in ASP.NET.
The equivalent to a 'master page' in Confluence is a Theme. You can read more about themes here: https://confluence.atlassian.com/display/DOC/Working+with+Themes
Custom themes can be written by developing a custom Confluence plugin. The underlying technology used is Apache Velocity templates rendered using SiteMesh.
If you want to learn how to create a new theme plugin, here's some places where you can get started:
Creating a Theme (User documentation)
Writing a Confluence Theme (Developer documentation)
Creating a Theme (Developer documentation)
Creating a Stylesheet Theme (Developer documentation)
Confluence Theming 101 (Slides from a technical presentation)
Overall I would say that the technical complexity of developing a Confluence theme is significantly higher than customising an ASP.NET master page. In ASP.NET, you are just working with the bare framework and the rendering engine, but in Confluence you have to contend with two different open source technologies, plus Confluence's own idiosyncratic plugin system. You should expect to have to invest some time in overcoming the learning curve before feeling competent at building them.
Related
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 3 years ago.
Improve this question
I created a web application with HTML5/CSS/JS and using JavaScript template literals. I am in the process of converting HTML5 pages to use custom web components (rewriting the HTML pages) and make it PWA.
However,
Application is not a single page application
Application uses responsive Material template (css and js that should stay)
I need to convert to Progressive Web App (PWA) using workbox.
I am looking for advise, if Polymer or Lit-Element or HTMLElement would allow maximum code reuse.
Also, any web application (HTML5 with css, js) can be converted to PWA - right?
Having web components will provide better performance, but not a criteria for converting to PWA?
Don't use Polymer; I suggest you look into lit-element for components and lit-html for templates; they work very well together but you can use anything for templates, of course.
As far as I'm aware this is the official recommendation of people who were working on the Polymer project at Google. There is an active community on Slack you can go to for help, too.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
Silly newbie question. I see a lot of HTML templates on Themeforest or other sites, and they usually include a blog page. Doesn't a blog require a CMS, such as Wordpress? If I want to create a blog in HTML/CSS for a single author website that does NOT contain comments, what are my best options? Do people commonly do this, or should I really be using a CMS even though it's such a simple thing?
I plan to use Bootstrap to build a website. The website also needs a blog, although it's not it's main focus. I prefer to avoid a CMS if at all possible (and don't want to build my own CMS). Are there any mainstream solutions?
You should always be able use a text editor to modify files, regardless of their type. That being said, if this template is built for a specific CMS (take Wordpress, for instance) you will need to have some sort of web server and database to develop against.
If this template is simply a bunch of HTML template/boilerplate files, you can develop all the pages you need by hand. Just make copies and rename them according to your IA.
A blog typically implies you have some sort of database and CMS, but not always. You could create static, hard-coded pages and call them your blog.
If you buy a plain html template you can edit it by using various html/css/js editors such as brackets, atom, visual studio code or any other. On one hand, you can write your own CMS in e.g. php, ror, node. Or if you only want to have a blog site, you can buy a wordpress or joomla template and just install it into your CMS.
In static pages , you can only update your blog page by your server's cpanel editor not by dynamically, so if you need this as dynamic then you have make a back end dashboard in any scripting language such as php, jsp, asp or any framework or cms. So, your template only can hold blogs statically, by writing before uploading the page on server, or edit the page from cpannel. Thanx.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I'm going to create a super-simple, one-page, site. It will have text and images and links on it, that's all.
No code, either C# or jQuery or anything else - just some HTML (and minimal CSS).
I created mockups of the site (page) using VS 2013 by selecting New > Project > Web Site > ASP.NET and then each of the following, in turn:
Empty Page
SPA
Web Forms
For the first two, I added an HTML page and copied my HTML and CSS and ran it. It works fine.
For the last option (Web Forms), the difference was that there was already a page (Default.aspx). I replaced the existing HTML in there with mine (and my CSS). It also works fine.
I plan on publishing it to/with/as an Azure web site. I assume I can do this with any of these project types.
The Web Forms adds a bunch of stuff I don't need or use, so I imagine one of the other two would be my best bet. Is there any reason why I would select one project type over the others for a simple page like this?
If it's a static site and you know what HTML/CSS you want to use, your best bet with Visual Studio is to use the Empty Page template.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
How can I make a web app in Go?
Is there a way I can interchangeably use Go code and HTML like with PHP and HTML?
More specifically, what I want to know is how to get my PrintLn output to show in a web browser and how to accept input from HTML form fields?
You can't embed Go & HTML (for many, many reasons) but you can use Go's html/template package (http://golang.org/pkg/html/template/) to generate a HTML page from your HTTP handlers.
I'd suggest reading http://golang.org/doc/articles/wiki/ and using http://www.gorillatoolkit.org/ (routes, cookies, etc) for the web server side
You need to setup a web server in go and process http request/response as input/output. There is already an answer about go web frameworks which would be helpful. link
If you don't want your ui to show in a browser window, you will have to bind your own html engine. For that purpose you can look at ui frameworks like walk which has ie based webview builtin or engine bindings like go-webkit which builds a custom webview.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I'm interested to get a free, WYSIWYG HTML editor that is compatible with Django template. Any ideas?
Thanks LainMH.
But I afraid fckeditor is used in web app, for the purpose of editing
HTML. What I want is an editor that allows me to write HTML that is
Django compatible.
Hope this clarifies the issue.
http://www.fckeditor.net/ ?
EDIT: Just found this: http://blog.newt.cz/blog/integration-fckeditor-django/
vim has syntax highlighting for Django template tags, works for me ^_^
I don't think any of the HTML based editors will work with the django templates, but rather the editable content areas within templates.
The process for creating / editing Django templates is really to create a standard HTML page first (with CSS & images etc), then make that into a base template. Then you create other templates that extend the base one.
The type or program typically used for editing the templates would be an IDE, although I prefer the lighter weight Textmate bundle for editing the templates (and Django python code). If you have an IDE, just google for a Python pluggin for Django.
What will probably help most is having the Django templates page open, or using a Django cheetsheet.
According to brief Googling (no personal experience with this), Aptana now supports Python development via Pydev. Pydev again can be configured to work with Django.
Thus I would expect Aptana to be usable with Django templates aswell, though I have no complete guide these links should be helpful :
http://www.aptana.com/python
http://pydev.blogspot.com/2006/09/configuring-pydev-to-work-with-django.html
Hope this helps.