A readspeaker implementation for Contao CMS.
the readspeaker module is now available for contao 3.5 LTS (currently 3.5.14)
Currently, there is no ER Backend in Contao 4.X (last checked 20.06.2014 Contao version:4.1.3) But you may install Contao 3.x modules manually in Contao 4.0, with a few tweaks.
- go to the Contao ER and search for the readspeaker module (Link: Contao Extension Repository )
- scoll down to the bottom of the page and download the ZIP file and save it to your computer.
- unzip the package
- copy the unziped readspeaker folder to the following contao 4.x path: TL_ROOT/system/modules/readspeaker by FTP to your webserver
- open this file of Contao 4.X: TL_ROOT/app/ AppKernel.php for edit in your prefered editor
- add 2 Lines of Code: SEE CODEBLOCK BELOW
- login to contao backend and go to maintaince
- select "empty internal cache" & "recreate symlinks"
- then go to the contao install tool (your.domain.com/install.php) and update the database tables (if the table does not provide any update, you may clear the chache by the contao 4 app console: app/console cache:clear --env=prod and then app/console cache:warmup -e prod)
- the module now should be enabled in the backend of contao.
<?php
// FILE: TL_ROOT/app/AppKernel.php
/**
* This file is part of Contao.
*
* Copyright (c) 2005-2016 Leo Feyer
*
* @license LGPL-3.0+
*/
// ADDED CODE
// add this line, to enable loading of Contao 3.X Modules
use Contao\CoreBundle\HttpKernel\Bundle\ContaoModuleBundle;
class AppKernel extends Kernel
{
/**
* {@inheritdoc}
*/
public function registerBundles()
{
$bundles = [
...
// ADDED CODE
// add this line to register the module in Contao 4
new ContaoModuleBundle('readspeaker', $this->getRootDir()),
];
...
}
...
}
Make your content talk! Use the power of ReadSpeaker text to speech to give a voice to your websites, mobile apps, digital books, elearning materials, documents, and more!