morePreview
Back to this add-on's main page
View Other Add-ons From Christopher Imrie
CP errors on Accessories page
Bug Report
|
Nuno Albuquerque
|
| Posted: 06 May 2011 02:16 AM |
|
|
|
|
Hey, cool extension. I’m getting an error on the CP>Accessories screen when I put the morepreview folder in the third_party folder.
I am using version 1.1 and EE 2.1.4 beta aprill 11th build.
I tracked it down to the hide_accessory_tab() method. I commented it out and used technique to hide it instead and it fixed the problem.
http://forrst.com/posts/Hide_Tab_in_ExpressionEngine_2_Accessory-iic
The set_sections() method has a purpose after all.
function set_sections() { $this->sections[] = '[removed]$("#accessoryTabs a.morepreview").parent().remove();[removed]'; }
|
|
|
|
|
Moresoda
|
| Posted: 07 May 2011 07:44 PM |
# 1
|
|
|
Developer
|
Hi Nuno,
We havent tested with EE2.1.4 Beta yet, so thanks for the heads up. In 2.1.3 you are able to return nothing in the set_sections_method(), and thus use a global JS function to hide the tab button that is added by EE.
We’ll incorporate your change into the addon.
Thanks!
- Chris
(@chrisimrie)
|
|
|
|