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

Is there a way to create channels and entries from outside of the CP?

How Do I?

vicest1984's avatar
vicest1984
3 posts
5 years ago
vicest1984's avatar vicest1984

Is there a way to generate new channels from outside of the CP? I would like to generate channels and entries based on user input. My out of the box solution is to create a channel with ALL of the field types included in the field group, but that feels extremely clunky. Additionally, I would like to create entries based on user input as well. I am a user of the old EE v2, and I recall a safecracker utility. I searched but can’t really figure out if that’s still valid for v5 or if it’s already a part of the new EE system.

Any insight as to how you might approach this sort of thing will be very helpful. I just need to get my bearings again, as it were.

       
Rob Allen's avatar
Rob Allen
2,950 posts
5 years ago
Rob Allen's avatar Rob Allen

EE now has “Channel form” which allows you to create/edit entries on the front end https://docs.expressionengine.com/latest/channels/channel-form/overview.html

Creating channels via the front end I’m not sure is possible, but if it were you’d need to be really careful, you don’t want to create 100’s of channels needlessly.

       
vicest1984's avatar
vicest1984
3 posts
5 years ago
vicest1984's avatar vicest1984

Thank you that is exactly what I was looking for.

       
vicest1984's avatar
vicest1984
3 posts
5 years ago
vicest1984's avatar vicest1984

Hey just a followup to your reply: I understand that you wouldn’t want to generate needless channels. I am attempting to create a type of project management system aimed toward a very specific niche industry, so I would like to group data in some way that wouldn’t require a ridiculous amount of queries to different channels. Would it make most sense within the EE framework to generate a new channel for each project containing the various data types or would it make more sense to group data types by channel.

From what I can tell, the former would require only a single channel tag request to the project’s specific information. The latter would require multiple channel requests to all channels in order to establish which data are tied to the project in question. I am wondering if this would create a large load for the db or the template engine?

I appreciate any insight that you might provide.

       

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.