Ticket #13787 (closed PLIP: fixed)

Opened 2 years ago

Last modified 17 months ago

Main_template rebirth to HTML5

Reported by: ramon Owned by:
Priority: major Milestone: 5.0
Component: Unknown Version:
Keywords: Cc:

Description (last modified by ramon) (diff)

Proposer: Ramon Navarro Bosch

Seconder:

Motivation

We have the chance to move main_template to use HTML5 and be used as a browser view so we can focus on delivering the content on a semantic way. There is no need to return structured data with style information on it. We can also use the oportunity to split ajax and non ajax requests on two different templates that will allow to have specific answer for ajax requests.

This new main template should be the first step to a new plone 5 design.

Proposal & Implementation

  • Move main_template to browser_view
  • Create a new main_template html5 semantic structure based
  • Split ajax_request template on two different templates
  • Clean were status_message are delivered (link info), title and description on plone.app.event.
  • Go throw viewlets and portlets to move them to a more semantic way.

Deliverables

  • CMFPlone
  • plone.app.layouts

Code

Risks

  • The tests will fail.

Participants

Ramon Navarro [bloodbare]

Progress

Work is taking place.

Change History

comment:1 Changed 2 years ago by ramon

  • Priority changed from minor to major
  • Version 4.2 deleted
  • Type changed from Bug to PLIP
  • Milestone changed from 4.x to 5.0

comment:2 Changed 2 years ago by ramon

  • Description modified (diff)

comment:3 Changed 2 years ago by maartenkling

will this officially drop the support for IE8 in Plone?

At this point still 9.3% use it.  http://gs.statcounter.com/#browser_version_partially_combined-ww-monthly-201304-201304-bar

comment:4 Changed 2 years ago by toutpt

I want to move to viewlets theses part of the current main_template:

  • context/global_cache_settings/macros/cacheheaders
  • viewport <meta name="viewport" content="width=device-width, initial-scale=0.6666, maximum-scale=1.0, minimum-scale=0.6666" />
  • globalstatus message context/global_statusmessage/macros/portal_message
  • dummy python:request.RESPONSE.setHeader('X-UA-Compatible', 'IE=edge,chrome=1');"

Manager:

  • global status message will be a new viewlet manager: plone.globalstatusmessage
  • X-ua-comaptible: create a plone.httpheaders (before <head>)
  • cache: create a plone.httpheaders (before <head>)
  • viewport : in plone.htmlhead
Last edited 2 years ago by toutpt (previous) (diff)

comment:6 Changed 17 months ago by ramon

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.