osc3 template change fix
Some error displayed when you change to the default template set
adminincludesapplicationstemplatestemplates.php
Find this:
case 'save':
$this->_page_contents = 'edit.php';
if ( isset($_POST['subaction']) && ($_POST['subaction'] == 'confirm') ) {
$data = array('configuration' => $_POST['configuration']);
Replace with:
case 'save':
$this->_page_contents = 'edit.php';
if ( isset($_POST['subaction']) && ($_POST['subaction'] == 'confirm') ) {
$data = array('configuration');
// => $_POST['configuration']);
Note: if you change the templates you have to start in frontend the first entry page.
(http://www.osc3examplewebshop.xxx - Make a refress in first page)
forum: http://forums.oscommerce.com/index.php?showtopic=335512
More...





LinkBack URL
About LinkBacks









Bookmarks