Comments (7)
Hi @MySpace17.
Sorry, but I don't understand your report completely. Can you please describe your steps more detailed? You add a new content element, do you use mask_export again or do you want to use mask itself. Have you cleared caches after editing mask configuration again (see notice in the mask backend)?
from mask_export.
Hello @IchHabRecht,
Sure. I have created a few elements with ext:mask - After testing them i did export them to an own extension by ext:mask_export
I have disabled my ext:mask elements, cleared all caches, installed my exported extension and the elements are visible if i click on "add new content element" (typo3 standard page view)
But if i click on my element (in this case employee) i got the error above.
from mask_export.
Hi @MySpace17,
can you have a look if your Configuration/TCA/Overrides/tt_content.php includes the CType registration? Could you provide your mask.json as well as the export?
from mask_export.
Hi @IchHabRecht ,
2 of 5 elements aren't listed in the CType registration (also not in the "preview" of mask_export).
{ "tt_content": { "elements": { "testingevent": { "label": "Event", "key": "testingevent", "shortLabel": "", "description": "", "icon": "fa-calendar-o", "color": "#f20033", "columns": [ "tx_mask_testingeventeventtitle", "tx_mask_testingeventlocation", "tx_mask_testingeventstartdate", "tx_mask_testingeventenddate", "tx_mask_testingeventorganisator" ], "labels": [ "Titel der Veranstlatung", "Ort der Veranstaltung", "Start der Veranstaltung", "Ende der Veranstaltung", "Organisator" ] }, "testingportfolio": { "label": "Portfolio", "key": "testingportfolio", "shortLabel": "", "description": "", "icon": "fa-th-list", "color": "#f20033", "columns": [ "tx_mask_testingportfoliorepeater" ], "labels": [ "Repeater" ] }, "testingreference": { "label": "Reference", "key": "testingreference", "shortLabel": "", "description": "", "icon": "fa-th", "color": "#f20033", "columns": [ "tx_mask_testingreferenceimage", "tx_mask_testingreferencehoverimage", "tx_mask_testingreferencehyperlink" ], "labels": [ "Bild", "Bild (Hover)", "Hyperlink" ] }, "testingemployee": { "label": "Employee", "key": "testingemployee", "shortLabel": "", "description": "", "icon": "fa-user", "color": "#f20033", "labels": [ "Vorname", "Nachname", "E-Mail-Adresse", "Unternehmen", "Position", "Bild" ], "columns": [ "tx_mask_testingemployeefirstname", "tx_mask_testingemployeelastname", "tx_mask_testingemployeeemailaddress", "tx_mask_testingemployeecompany", "tx_mask_testingemployeeposition", "tx_mask_testingemployeeimage" ], "hidden": 1 }, "testingtagcloud": { "label": "Tagcloud", "key": "testingtagcloud", "shortLabel": "", "description": "", "icon": "fa-cloud", "color": "#f20033", "labels": [ "Repeater" ], "columns": [ "tx_mask_testingtagcloudrepeater" ], "hidden": 1 } }, "sql": { "tx_mask_testingtagcloudrepeater": { "tt_content": { "tx_mask_testingtagcloudrepeater": "int(11) unsigned DEFAULT '0' NOT NULL" } }, "tx_mask_testingemployeefirstname": { "tt_content": { "tx_mask_testingemployeefirstname": "tinytext" } }, "tx_mask_testingemployeelastname": { "tt_content": { "tx_mask_testingemployeelastname": "tinytext" } }, "tx_mask_testingemployeeemailaddress": { "tt_content": { "tx_mask_testingemployeeemailaddress": "tinytext" } }, "tx_mask_testingemployeecompany": { "tt_content": { "tx_mask_testingemployeecompany": "tinytext" } }, "tx_mask_testingemployeeposition": { "tt_content": { "tx_mask_testingemployeeposition": "tinytext" } }, "tx_mask_testingemployeeimage": { "tt_content": { "tx_mask_testingemployeeimage": "int(11) unsigned DEFAULT '0' NOT NULL" } }, "tx_mask_testingreferenceimage": { "tt_content": { "tx_mask_testingreferenceimage": "int(11) unsigned DEFAULT '0' NOT NULL" } }, "tx_mask_testingreferencehoverimage": { "tt_content": { "tx_mask_testingreferencehoverimage": "int(11) unsigned DEFAULT '0' NOT NULL" } }, "tx_mask_testingreferencehyperlink": { "tt_content": { "tx_mask_testingreferencehyperlink": "tinytext" } }, "tx_mask_testingportfoliorepeater": { "tt_content": { "tx_mask_testingportfoliorepeater": "int(11) unsigned DEFAULT '0' NOT NULL" } }, "tx_mask_testingeventeventtitle": { "tt_content": { "tx_mask_testingeventeventtitle": "tinytext" } }, "tx_mask_testingeventlocation": { "tt_content": { "tx_mask_testingeventlocation": "tinytext" } }, "tx_mask_testingeventstartdate": { "tt_content": { "tx_mask_testingeventstartdate": "date DEFAULT '0000-00-00'" } }, "tx_mask_testingeventenddate": { "tt_content": { "tx_mask_testingeventenddate": "date DEFAULT '0000-00-00'" } }, "tx_mask_testingeventorganisator": { "tt_content": { "tx_mask_testingeventorganisator": "tinytext" } } }, "tca": { "tx_mask_testingtagcloudrepeater": { "config": { "type": "inline", "foreign_table": "--inlinetable--", "foreign_field": "parentid", "foreign_table_field": "parenttable", "foreign_sortby": "sorting", "appearance": { "enabledControls": { "dragdrop": "1" }, "newRecordLinkTitle": "", "levelLinksPosition": "top" }, "minitems": "", "maxitems": "" }, "exclude": "1", "inlineLabel": "", "inlineIcon": "", "l10n_mode": "copy", "key": "testingtagcloudrepeater" }, "tx_mask_testingemployeefirstname": { "config": { "type": "input", "eval": "", "default": "", "placeholder": "", "size": "", "max": "", "is_in": "" }, "exclude": "1", "key": "testingemployeefirstname" }, "tx_mask_testingemployeelastname": { "config": { "type": "input", "eval": "", "default": "", "placeholder": "", "size": "", "max": "", "is_in": "" }, "exclude": "1", "key": "testingemployeelastname" }, "tx_mask_testingemployeeemailaddress": { "config": { "type": "input", "eval": "email", "default": "", "placeholder": "", "size": "", "max": "", "is_in": "" }, "exclude": "1", "key": "testingemployeeemailaddress" }, "tx_mask_testingemployeecompany": { "config": { "type": "input", "eval": "", "default": "", "placeholder": "", "size": "", "max": "", "is_in": "" }, "exclude": "1", "key": "testingemployeecompany" }, "tx_mask_testingemployeeposition": { "config": { "type": "input", "eval": "", "default": "", "placeholder": "", "size": "", "max": "", "is_in": "" }, "exclude": "1", "key": "testingemployeeposition" }, "tx_mask_testingemployeeimage": { "exclude": "1", "options": "file", "l10n_mode": "copy", "config": { "minitems": "", "maxitems": "", "filter": [ { "parameters": { "allowedFileExtensions": "" } } ] }, "key": "testingemployeeimage" }, "tx_mask_testingreferenceimage": { "exclude": "1", "options": "file", "l10n_mode": "copy", "config": { "minitems": "", "maxitems": "", "filter": [ { "parameters": { "allowedFileExtensions": "" } } ] }, "key": "testingreferenceimage" }, "tx_mask_testingreferencehoverimage": { "exclude": "1", "options": "file", "l10n_mode": "copy", "config": { "minitems": "", "maxitems": "", "filter": [ { "parameters": { "allowedFileExtensions": "" } } ] }, "key": "testingreferencehoverimage" }, "tx_mask_testingreferencehyperlink": { "config": { "type": "input", "renderType": "inputLink", "softref": "typolink", "fieldControl": { "linkPopup": { "options": { "title": "Link", "windowOpenParameters": "height=300,width=500,status=0,menubar=0,scrollbars=1", "blindLinkOptions": "" } } }, "wizards": { "link": { "icon": "actions-wizard-link", "params": { "allowedExtensions": "" } } }, "eval": "", "default": "", "placeholder": "", "size": "" }, "exclude": "1", "key": "testingreferencehyperlink" }, "tx_mask_testingportfoliorepeater": { "config": { "type": "inline", "foreign_table": "--inlinetable--", "foreign_field": "parentid", "foreign_table_field": "parenttable", "foreign_sortby": "sorting", "appearance": { "enabledControls": { "dragdrop": "1" }, "newRecordLinkTitle": "", "levelLinksPosition": "top" }, "minitems": "", "maxitems": "" }, "exclude": "1", "inlineLabel": "", "inlineIcon": "", "l10n_mode": "copy", "key": "testingportfoliorepeater" }, "tx_mask_testingeventeventtitle": { "config": { "type": "input", "eval": "", "default": "", "placeholder": "", "size": "", "max": "", "is_in": "" }, "exclude": "1", "key": "testingeventeventtitle" }, "tx_mask_testingeventlocation": { "config": { "type": "input", "eval": "", "default": "", "placeholder": "", "size": "", "max": "", "is_in": "" }, "exclude": "1", "key": "testingeventlocation" }, "tx_mask_testingeventstartdate": { "config": { "type": "input", "dbType": "date", "size": "8", "max": "20", "eval": "date", "default": "", "placeholder": "", "range": { "lower": "", "upper": "" } }, "exclude": "1", "key": "testingeventstartdate" }, "tx_mask_testingeventenddate": { "config": { "type": "input", "dbType": "date", "size": "8", "max": "20", "eval": "date", "default": "", "placeholder": "", "range": { "lower": "", "upper": "" } }, "exclude": "1", "key": "testingeventenddate" }, "tx_mask_testingeventorganisator": { "config": { "type": "select", "renderType": "selectSingle", "size": "", "items": [ [ "[email protected]", "1" ], [ "[email protected]" ], [ "[email protected]" ], [ "[email protected]" ] ], "foreign_table": "fe_users", "foreign_table_where": "AND (usergroup LIKE '1' OR usergroup LIKE '1,%' OR usergroup LIKE '%,1')", "fileFolder": "", "fileFolder_extList": "", "fileFolder_recursions": "", "maxitems": "", "autoSizeMax": "" }, "exclude": "1", "key": "testingeventorganisator" } } }, "tx_mask_testingtagcloudrepeater": { "sql": { "tx_mask_testingtagcloudtag": { "tx_mask_testingtagcloudrepeater": { "tx_mask_testingtagcloudtag": "tinytext" } }, "tx_mask_testingtagcloudhyperlink": { "tx_mask_testingtagcloudrepeater": { "tx_mask_testingtagcloudhyperlink": "tinytext" } } }, "tca": { "tx_mask_testingtagcloudtag": { "config": { "type": "input", "eval": "required", "default": "", "placeholder": "", "size": "", "max": "", "is_in": "" }, "exclude": "1", "inlineParent": "tx_mask_testingtagcloudrepeater", "label": "Tag", "key": "testingtagcloudtag" }, "tx_mask_testingtagcloudhyperlink": { "config": { "type": "input", "renderType": "inputLink", "softref": "typolink", "fieldControl": { "linkPopup": { "options": { "title": "Link", "windowOpenParameters": "height=300,width=500,status=0,menubar=0,scrollbars=1", "blindLinkOptions": "" } } }, "wizards": { "link": { "icon": "actions-wizard-link", "params": { "allowedExtensions": "" } } }, "eval": "", "default": "", "placeholder": "", "size": "" }, "exclude": "1", "inlineParent": "tx_mask_testingtagcloudrepeater", "label": "Hyperlink", "key": "testingtagcloudhyperlink" } } }, "sys_file_reference": { "sql": { "tx_mask_testingemployeeimage": { "sys_file_reference": { "tx_mask_testingemployeeimage": "int(11) unsigned DEFAULT '0' NOT NULL" } }, "tx_mask_testingreferenceimage": { "sys_file_reference": { "tx_mask_testingreferenceimage": "int(11) unsigned DEFAULT '0' NOT NULL" } }, "tx_mask_testingreferencehoverimage": { "sys_file_reference": { "tx_mask_testingreferencehoverimage": "int(11) unsigned DEFAULT '0' NOT NULL" } } } }, "tx_mask_testingportfoliorepeater": { "sql": { "tx_mask_testingportfolioitem": { "tx_mask_testingportfoliorepeater": { "tx_mask_testingportfolioitem": "tinytext" } } }, "tca": { "tx_mask_testingportfolioitem": { "config": { "type": "input", "eval": "", "default": "", "placeholder": "", "size": "", "max": "", "is_in": "" }, "exclude": "1", "inlineParent": "tx_mask_testingportfoliorepeater", "label": "Element", "key": "testingportfolioitem" } } } }
from mask_export.
Hi @IchHabRecht
I think i got the problem: If i am disable an element on mask_export
the element is (after clearing all caches)also exported but without the CType registration
Is there a way to do a CType registration for this element or exclude the full element (issue #67)
from mask_export.
Hi @MySpace17,
I think I never noticed there is a possibility to disable an element within mask ;-)
from mask_export.
Hi @MySpace17,
I finally had the time to exclude hidden content elements from the export. Thanks again for reporting this issue!
from mask_export.
Related Issues (20)
- using use in ext_tables.php - maybe a hint HOT 7
- "Path to icon for irre elements" not in export HOT 1
- Update to Mask 7 HOT 4
- Export element to extension and use it standalone HOT 1
- Inline content elements shown as unused in page layout view HOT 2
- MASK 7 Update ??? HOT 2
- Support of PHP 8+ HOT 2
- Trim provided extension key
- Can't overwrite Backend Preview HOT 6
- Palette inside Tab not working HOT 1
- DB-Import for nested elements fails due to missing default-value of parentid.
- Error: Row size too large... because of doubled rows in database HOT 1
- LLL-String not working if the word "mask" is inside of the String
- Error "Array to string conversion"
- Repo's packages are not installable HOT 1
- Allow multiple partialRootPaths HOT 1
- TYPO3 12 compatibility / ExtensionUtility::registerModule()
- Strange segmentation fault (SIGSEGV) inside DDEV Context (502) HOT 1
- Mask 8 and TYPO3 12 HOT 4
- Version handling in composer.json HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mask_export.