Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
MDevster committed Jun 18, 2017
1 parent 260c83c commit 0b36b0e
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 10 deletions.
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,37 @@ Amphtml for Contao 4
About
-----

This extension allows you to deliver additional AMPHTML pages in your Contao installation.

The implementation takes place via a special theme, which can be adapted to your own requirements.

Screenshot
-----------

![Contao demo example](https://pdir.de/extensions/amphtml/amphtml-screen.png)
![Root page settings](https://pdir.de/extensions/amphtml/amphtml-settings.png)

System requirements
-------------------

* [Contao](https://github.com/contao/standard-edition) 4 or higher
* [Contao Standard](https://github.com/contao/standard-edition) 4 or higher or
* [Contao Managed](https://github.com/contao/managed-edition) 4 or higher

Installation & Configuration
----------------------------

via Contao Manager
1. Search for "amp" or "amphtml-bundle" mark for install and apply changes
2. Download cto file from https://github.com/pdir/amphtml-bundle/raw/master/files/amphtml.cto
3. Install ampthtml Theme via "Themes > Theme Import" in Contao Backend
4. Update Database
5. Activate AMPHTML and select layout in Root Page settings

See this Extension in the Contao Extension-Repository
---------------

For Contao 3 please use Contao Extension-Repository [ER2]
https://contao.org/de/erweiterungsliste/view/amphtml.10079.de.html

License
---------------
Expand Down
14 changes: 14 additions & 0 deletions src/ContaoManagerPlugin.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
<?php

/**
* Amphtml for Contao Open Source CMS
*
* Copyright (C) 2016 pdir / digital agentur <[email protected]>
*
* @package amphtml
* @link https://github.com/pdir/amphtml-bundle
* @license http://opensource.org/licenses/lgpl-3.0.html
* @author Philipp Seibt <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace Pdir\AmphtmlBundle;

use Contao\CoreBundle\ContaoCoreBundle;
Expand Down
11 changes: 2 additions & 9 deletions src/Resources/contao/classes/AmphtmlHooks.php
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
<?php

/*
* Copyright pdir / digital agentur <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

namespace Pdir;

/**
* Amphtml for Contao Open Source CMS
*
Expand All @@ -26,6 +17,8 @@
*
*/

namespace Pdir;

class AmphtmlHooks extends \Controller
{
/*
Expand Down

0 comments on commit 0b36b0e

Please sign in to comment.