-
AuthorPosts
-
johnnys Friend
johnnys
- Join date:
- November 2012
- Posts:
- 123
- Downloads:
- 102
- Uploads:
- 6
- Thanks:
- 28
- Thanked:
- 3 times in 1 posts
July 21, 2015 at 2:06 pm #209061I am using T3 framework v2.4.9
Uber template v2.1.1
Joomla 3.4.3When I try to edit a module in the fromt end i receive the following error message.
Fatal error: Call to undefined method AdvancedModulesViewEdit::getForm() in C:xampphtdocsMySitepluginssystemt3base-bs3htmllayoutsjoomlaeditfieldset.php on line 13
I am using Advaced Module Manager
I have noticed this issue on github
How can I fix this?
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
July 22, 2015 at 8:01 am #578250Hi Johnny,
It’s weird! as I just tried to install AMM v.4.22.9 into Uber template in my local site but the editting module from front-end feature still works. I also use:
Joomla 3.4.3
T3 framework 2.4.9
Uber 2.1.1Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
July 22, 2015 at 8:01 am #644541Hi Johnny,
It’s weird! as I just tried to install AMM v.4.22.9 into Uber template in my local site but the editting module from front-end feature still works. I also use:
Joomla 3.4.3
T3 framework 2.4.9
Uber 2.1.1Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
July 22, 2015 at 8:01 am #743173Hi Johnny,
It’s weird! as I just tried to install AMM v.4.22.9 into Uber template in my local site but the editting module from front-end feature still works. I also use:
Joomla 3.4.3
T3 framework 2.4.9
Uber 2.1.1johnnys Friendjohnnys
- Join date:
- November 2012
- Posts:
- 123
- Downloads:
- 102
- Uploads:
- 6
- Thanks:
- 28
- Thanked:
- 3 times in 1 posts
July 22, 2015 at 4:20 pm #578309Hi Saguaros,
I have completely started over again with a fresh install of Joomla 3.4.1, Uber 2.1.1 and T3 2.4.9
I cannot edit modules on the front end. The icon won’t appear! I am logged in as a super admin. I don’t have AMM installed this time.
No errors in console either.
jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
July 22, 2015 at 4:57 pm #578312Hi there
Please provide your site URL & backend & CPanel access.
I’ll help you inspect that directly on your site.Note:// In basically you can try to search
# layout frontediting_modules.php used to render module edit button
# some css issue will cause break layout that you can’t see edit form ( even it’s still there )
Try to check html at bottom of bodyThank you,
Viet Vujohnnys Friendjohnnys
- Join date:
- November 2012
- Posts:
- 123
- Downloads:
- 102
- Uploads:
- 6
- Thanks:
- 28
- Thanked:
- 3 times in 1 posts
July 23, 2015 at 8:06 am #578403Thank you for the reply. Unfortunately the site is on localhst and xampp. I did however find the file frontendediting_modules.php, ad the contents of this file are below – I’m not sure what I’m supposed to be looking for.
<?php
/**
* @package Joomla.Site
* @subpackage Layout
*
* @copyright Copyright (C) 2005 - 2015 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/defined('_JEXEC') or die;
// JLayout for standard handling of the edit modules:
$moduleHtml =& $displayData['moduleHtml'];
$mod = $displayData['module'];
$position = $displayData['position'];
$menusEditing = $displayData['menusediting'];
$redirectUri = '&return='. urlencode(base64_encode(JUri::getInstance()->toString()));if (preg_match('/<(?:div|span|nav|ul|ol|hd) [^>]*class="[^"]* jmoddiv"/', $moduleHtml))
{
// Module has already module edit button:
return;
}// Add css class jmoddiv and data attributes for module-editing URL and for the tooltip:
$editUrl = JUri::base() . 'index.php?option=com_config&controller=config.display.modules&id=' . (int) $mod->id . $redirectUri;// Add class, editing URL and tooltip, and if module of type menu, also the tooltip for editing the menu item:
$count = 0;
$moduleHtml = preg_replace(
// Replace first tag of module with a class
'/^(s*<(?:div|span|nav|ul|ol|hd) [^>]*class="[^"]*)"/',
// By itself, adding class jmoddiv and data attributes for the url and tooltip:
'\1 jmoddiv" data-jmodediturl="' . $editUrl . '" data-jmodtip="'
. JHtml::tooltipText(
JText::_('JLIB_HTML_EDIT_MODULE'),
htmlspecialchars($mod->title) . '<br />' . sprintf(JText::_('JLIB_HTML_EDIT_MODULE_IN_POSITION'), htmlspecialchars($position)),
0
)
. '"'
// And if menu editing is enabled and allowed and it's a menu module, add data attributes for menu editing:
. ($menusEditing && $mod->module == 'mod_menu' ?
'" data-jmenuedittip="' . JHtml::tooltipText('JLIB_HTML_EDIT_MENU_ITEM', 'JLIB_HTML_EDIT_MENU_ITEM_ID') . '"'
:
''
),
$moduleHtml,
1,
$count
);if ($count)
{
// Load once booststrap tooltip and add stylesheet and javascript to head:
JHtml::_('bootstrap.tooltip');
JHtml::_('bootstrap.popover');JHtml::_('stylesheet', 'system/frontediting.css', array(), true);
JHtml::_('script', 'system/frontediting.js', false, true);
}
johnnys Friendjohnnys
- Join date:
- November 2012
- Posts:
- 123
- Downloads:
- 102
- Uploads:
- 6
- Thanks:
- 28
- Thanked:
- 3 times in 1 posts
July 23, 2015 at 8:06 am #644694Thank you for the reply. Unfortunately the site is on localhst and xampp. I did however find the file frontendediting_modules.php, ad the contents of this file are below – I’m not sure what I’m supposed to be looking for.
<?php
/**
* @package Joomla.Site
* @subpackage Layout
*
* @copyright Copyright (C) 2005 - 2015 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/defined('_JEXEC') or die;
// JLayout for standard handling of the edit modules:
$moduleHtml =& $displayData['moduleHtml'];
$mod = $displayData['module'];
$position = $displayData['position'];
$menusEditing = $displayData['menusediting'];
$redirectUri = '&return='. urlencode(base64_encode(JUri::getInstance()->toString()));if (preg_match('/<(?:div|span|nav|ul|ol|hd) [^>]*class="[^"]* jmoddiv"/', $moduleHtml))
{
// Module has already module edit button:
return;
}// Add css class jmoddiv and data attributes for module-editing URL and for the tooltip:
$editUrl = JUri::base() . 'index.php?option=com_config&controller=config.display.modules&id=' . (int) $mod->id . $redirectUri;// Add class, editing URL and tooltip, and if module of type menu, also the tooltip for editing the menu item:
$count = 0;
$moduleHtml = preg_replace(
// Replace first tag of module with a class
'/^(s*<(?:div|span|nav|ul|ol|hd) [^>]*class="[^"]*)"/',
// By itself, adding class jmoddiv and data attributes for the url and tooltip:
'\1 jmoddiv" data-jmodediturl="' . $editUrl . '" data-jmodtip="'
. JHtml::tooltipText(
JText::_('JLIB_HTML_EDIT_MODULE'),
htmlspecialchars($mod->title) . '<br />' . sprintf(JText::_('JLIB_HTML_EDIT_MODULE_IN_POSITION'), htmlspecialchars($position)),
0
)
. '"'
// And if menu editing is enabled and allowed and it's a menu module, add data attributes for menu editing:
. ($menusEditing && $mod->module == 'mod_menu' ?
'" data-jmenuedittip="' . JHtml::tooltipText('JLIB_HTML_EDIT_MENU_ITEM', 'JLIB_HTML_EDIT_MENU_ITEM_ID') . '"'
:
''
),
$moduleHtml,
1,
$count
);if ($count)
{
// Load once booststrap tooltip and add stylesheet and javascript to head:
JHtml::_('bootstrap.tooltip');
JHtml::_('bootstrap.popover');JHtml::_('stylesheet', 'system/frontediting.css', array(), true);
JHtml::_('script', 'system/frontediting.js', false, true);
}
johnnys Friendjohnnys
- Join date:
- November 2012
- Posts:
- 123
- Downloads:
- 102
- Uploads:
- 6
- Thanks:
- 28
- Thanked:
- 3 times in 1 posts
July 23, 2015 at 8:06 am #743325Thank you for the reply. Unfortunately the site is on localhst and xampp. I did however find the file frontendediting_modules.php, ad the contents of this file are below – I’m not sure what I’m supposed to be looking for.
<?php
/**
* @package Joomla.Site
* @subpackage Layout
*
* @copyright Copyright (C) 2005 - 2015 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/defined('_JEXEC') or die;
// JLayout for standard handling of the edit modules:
$moduleHtml =& $displayData['moduleHtml'];
$mod = $displayData['module'];
$position = $displayData['position'];
$menusEditing = $displayData['menusediting'];
$redirectUri = '&return='. urlencode(base64_encode(JUri::getInstance()->toString()));if (preg_match('/<(?:div|span|nav|ul|ol|hd) [^>]*class="[^"]* jmoddiv"/', $moduleHtml))
{
// Module has already module edit button:
return;
}// Add css class jmoddiv and data attributes for module-editing URL and for the tooltip:
$editUrl = JUri::base() . 'index.php?option=com_config&controller=config.display.modules&id=' . (int) $mod->id . $redirectUri;// Add class, editing URL and tooltip, and if module of type menu, also the tooltip for editing the menu item:
$count = 0;
$moduleHtml = preg_replace(
// Replace first tag of module with a class
'/^(s*<(?:div|span|nav|ul|ol|hd) [^>]*class="[^"]*)"/',
// By itself, adding class jmoddiv and data attributes for the url and tooltip:
'\1 jmoddiv" data-jmodediturl="' . $editUrl . '" data-jmodtip="'
. JHtml::tooltipText(
JText::_('JLIB_HTML_EDIT_MODULE'),
htmlspecialchars($mod->title) . '<br />' . sprintf(JText::_('JLIB_HTML_EDIT_MODULE_IN_POSITION'), htmlspecialchars($position)),
0
)
. '"'
// And if menu editing is enabled and allowed and it's a menu module, add data attributes for menu editing:
. ($menusEditing && $mod->module == 'mod_menu' ?
'" data-jmenuedittip="' . JHtml::tooltipText('JLIB_HTML_EDIT_MENU_ITEM', 'JLIB_HTML_EDIT_MENU_ITEM_ID') . '"'
:
''
),
$moduleHtml,
1,
$count
);if ($count)
{
// Load once booststrap tooltip and add stylesheet and javascript to head:
JHtml::_('bootstrap.tooltip');
JHtml::_('bootstrap.popover');JHtml::_('stylesheet', 'system/frontediting.css', array(), true);
JHtml::_('script', 'system/frontediting.js', false, true);
}
jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
July 23, 2015 at 8:47 am #578406Hi there
Please bring it online than i can help youThank you,
Viet Vujooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
July 23, 2015 at 8:47 am #644697Hi there
Please bring it online than i can help youThank you,
Viet Vujooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
July 23, 2015 at 8:47 am #743328Hi there
Please bring it online than i can help youThank you,
Viet Vujohnnys Friendjohnnys
- Join date:
- November 2012
- Posts:
- 123
- Downloads:
- 102
- Uploads:
- 6
- Thanks:
- 28
- Thanked:
- 3 times in 1 posts
July 23, 2015 at 10:16 am #578415OK I will try upload it oline today temporarily. Is there something that I can check now myself though? Have you any rough idea what the issue may be?
I notice in Chrome dev tools that when I hover over the module, some edit module code appears in the console (shown below)
I when I move my cursor away the code disappears. Does this mean it’s a css issue?
johnnys Friendjohnnys
- Join date:
- November 2012
- Posts:
- 123
- Downloads:
- 102
- Uploads:
- 6
- Thanks:
- 28
- Thanked:
- 3 times in 1 posts
July 23, 2015 at 10:16 am #644706OK I will try upload it oline today temporarily. Is there something that I can check now myself though? Have you any rough idea what the issue may be?
I notice in Chrome dev tools that when I hover over the module, some edit module code appears in the console (shown below)
I when I move my cursor away the code disappears. Does this mean it’s a css issue?
johnnys Friendjohnnys
- Join date:
- November 2012
- Posts:
- 123
- Downloads:
- 102
- Uploads:
- 6
- Thanks:
- 28
- Thanked:
- 3 times in 1 posts
July 23, 2015 at 10:16 am #743337OK I will try upload it oline today temporarily. Is there something that I can check now myself though? Have you any rough idea what the issue may be?
I notice in Chrome dev tools that when I hover over the module, some edit module code appears in the console (shown below)
I when I move my cursor away the code disappears. Does this mean it’s a css issue?
-
AuthorPosts
This topic contains 51 replies, has 3 voices, and was last updated by jooservices 9 years, 4 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum