We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

New Extension: MX Custom Tabs

Development and Programming

NKT com's avatar
NKT com
124 posts
about 16 years ago
NKT com's avatar NKT com

Spoke too soon. Looks like when i put a gypsy field in a custom tab it causes a blank page. Other fields work fine.

Out of memory perhaps? PHP has 300MB assigned to each app on my server though so maybe not.

       
NKT com's avatar
NKT com
124 posts
about 16 years ago
NKT com's avatar NKT com

Saw Jarrett Barnett fix. Will apply that as that is probably my problem.

       
Todd D.'s avatar
Todd D.
460 posts
15 years ago
Todd D.'s avatar Todd D.

Max, very nice extension for EE. Just discovered it today and am already finding good uses for it.

I have one request. It would be great if there was an option to show ONLY the custom field in a specific tab. I want to use this for an ‘authors note’ field. It would be great that if they selected that tab it would only show them the custom field(s) assigned.

Maybe you can make this a reality in a future release?

Thanks again!

       
Neo Mudaly's avatar
Neo Mudaly
90 posts
15 years ago
Neo Mudaly's avatar Neo Mudaly

Hi there,

Great extension and exactly what I was looking for.

Can someone please point me in the direction of Version: 0.7.2

The zip from http://wiseupstudio.com says version 0.7.2, but when I install, EE says that it’s still version 0.7.1.

I’m hoping that 0.7.2 fixes a problem I’m having with all my custom fields falling under one custom tab - other tabs are empty. I have about 38 custom fields I’m trying to segment into neat tabs. I’ve also disabled gypsy and still no luck. It would be great to find a solution.

Thanks, Neo EE 1.6.9

       
Todd D.'s avatar
Todd D.
460 posts
15 years ago
Todd D.'s avatar Todd D.

He probably just forgot to update that part of the extension docs. My install indicates the same.

       
Neo Mudaly's avatar
Neo Mudaly
90 posts
15 years ago
Neo Mudaly's avatar Neo Mudaly

Thanks Todd.

Hmm not sure then how to fix this issue. I’ve tried re-installing with no luck. All my custom fields end up under one tab

Any ideas…?

       
Todd D.'s avatar
Todd D.
460 posts
15 years ago
Todd D.'s avatar Todd D.

Are you using Gypsy by chance? It’s not compatible if so. Other than that, I would guess its probably some other add-on conflict.

       
Max Lazar's avatar
Max Lazar
341 posts
15 years ago
Max Lazar's avatar Max Lazar

2Neo360 Could you please provide the list(screenshot) of ext. in your system?

       
Neo Mudaly's avatar
Neo Mudaly
90 posts
15 years ago
Neo Mudaly's avatar Neo Mudaly

Hi Max,

I’ve tracked down the problem.

It seems like MX breaks the publish layout if a field type of “Date Field” is assigned to a custom field.

Hopefully you can replicate it. Apart from that it appears to work now.

Really, really useful ext.

Thanks, Neo

       
Peter Lewis's avatar
Peter Lewis
280 posts
15 years ago
Peter Lewis's avatar Peter Lewis

Hi Max, thanks for the great extension. I’ve been using for a while now, and just added a couple more fields to an FFMatrix field, and it’s started to mis-behave.

On 1 weblog it still works fine, but the same settings and with similar fields I get the following error when I create a new entry:

Fatal error: Call to a member function parent() on a non-object in /home/~blah~/extensions/ext.mx_custom_tabs.php on line 631

When I edit an existing entry from the same weblog, I get all the custom fields dumped into one for the tabs (I’ve got 2 I’ve created using your extension).

I’ve tracked it down to not working with Copee Pastee FieldType - I’ve just removed it from the FF Matrix and the problems have disappeared.

Any chance in solving? Not a problem if not, I’ll just have to do without Copee Pastee!

       
Peter Lewis's avatar
Peter Lewis
280 posts
15 years ago
Peter Lewis's avatar Peter Lewis

Had another clash, where I added another Playa field: There’s already Playa fields within the form, 2 within a tab, 1 in a Matrix field and another in the main block. I added another, and the markup went completely wonky, with the save not working.

The markup for publish form should look like this (when custom tabs works):

<div id="contentNB">
<form method="post" id="entryform"...
...hidden divs for the tabs, etc ...
<table cellspacing="0" cellpadding="0" border="0" style="width: 100%;"><tbody><tr><td class="publishBox">
...etc...
</form>
</div>

When it goes wrong, the markup looks like this:



Hence why the save doesn’t work as the main publish markup has fallen outside of the form.

Any ideas?

[Edit] Error console in Firefox shows this: Error: uncaught exception: [Exception… “Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER) [nsIDOMHTMLFormElement.removeChild]” nsresult: “0x80004003 (NS_ERROR_INVALID_POINTER)” location: “JS frame :: http://Domain.co.uk/ee-admin/index.php?S=7379619228e5564dba3ae3c1548841658a5cdcd0&C=edit&M=edit_entry&weblog_id=2&entry_id=10 :: anonymous :: line 3626” data: no]

Not that it helps much!?!

[Edit 2] This is using the latest download onyour site (v0.7.2), but the extension has the version 0.7.1 and the comment references 0.7.0.

       
Peter Lewis's avatar
Peter Lewis
280 posts
15 years ago
Peter Lewis's avatar Peter Lewis

It seems to be the Matrix field that it’s struggling with (even though it was working fine with it before).

Whereas there’s normally 2 divs for each row in the publish page (one open, one closed), the markup output by your extension breaks when trying to modify the closed div, notice the id field gets markup inserted into it instead of the name:

<div class="publishRows">
<div field_id_12="" id=">
<div class='itemWrapper' ><label for="><a>http://worthingbowlscentre.co.uk/themes/cp_global_images/expand.gif<b>  Rotating Images & Messages</b></a></div>
</div>

This should read:

<div field_id_12="" id="field_pane_off_12"...
       
First 2 3 4

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.