By olibiaz on
Hi every body,
I just created a custom content type named myType (with some fields) using the gui interface of drupal. I can see my new type in the admin/structure/types page. But when i want to add a new content "myType" is not in there. There is just Article, Basic page, Blog entry or Forum topic.
is there someone who could help me?
Thank you.
Comments
Do you have permission to
Do you have permission to create the new content type?
Ugh
You know, I can't speak for everyone, but I've had some weird things like that happen to me once. They were related to the changing of the site's FTP address so that we could install a different SSL cert.
Any chance you've recently migrated this site? When it happened to me, I could add a content type, but it wouldn't let me add fields. Furthermore, much like yours, after creating this custom content type, the admin menu wouldn't give me a "add myContent" link. I even tried a direct URL like /node/add/myContent and it wouldn't let me. Thankfully it was a super small site, so I simply created a new install on the new FTP and rebuilt the site... but that was a worst case scenario.
Let me explain something to you. Um, I am not "Mr. Altuna". You're Mr. Altuna. I'm the Greg. So that's what you call me. You know, that or, uh, His Gregness, or uh, Greggie, or El Gregerino if you're not into the whole brevity thing.
Also
Also, if olibiaz is the siteadmin, it wouldn't matter what the permissions are... he'd be the superuser, no?
Let me explain something to you. Um, I am not "Mr. Altuna". You're Mr. Altuna. I'm the Greg. So that's what you call me. You know, that or, uh, His Gregness, or uh, Greggie, or El Gregerino if you're not into the whole brevity thing.
True if there are the super
True if there are the super admin but since they did not mention that, it's usually good to ask about permissions.
Right... but... if not creating content as 'admin'
(Edit: nevets, you beat me to a similar response -- mine follows)
Yes, he might have created the content type as a site admin, but then he might be trying to add content as another role (a user whose role might not yet have permissions to create content of that type). If the content creation attempt is NOT happening from the site admin account, then this is a likely answer.
Otherwise, till you've sorted out why it's not showing up in the "add content" menu, you could try adding content using the "node/add/node_type_machine_name" path and see if you actually get an "access denied" or see any other issues.
Clearing caches can also sometimes correct issues like this (possible menu cache issue?).
See you at the Drupalcon!
Hi, First, thank you for your
Hi,
First, thank you for your answers!
I was in admin role when i tried to create a new content but my custom type doesn't appear. I tried to clear the cache many times, check on my database to compare myType with the others one but everything look normal. I actually work with wamp, so my website is a local one.
I'll try to access with the direct url /content/add/myType and let you know what happen.
Hi again,So i try to enter
Hi again,
So i try to enter the direct url node/add/custom_type_machine_name and i have a crazy message, in top of the list of content type (i mean Article/Basic page...).
This is the message "Text when you want to create a myType", this message doesn't looks like error, it's normal black font.
Do you know what is this?
Thanks guys.
Edit: I just realised that this message, is the "Explanation or submission guidelines" message that I set when i create my type in the submission form settings".
I meant that as a "wildcard" for your variable's machine name...
Did you really use the literal path: node/add/custom_type_machine_name
If so, I apologize. I should have explained that it's just the machine name of whatever your content type is. That's lower case a-z with underscores in place of spaces. The default machine name for a type called myType would be "mytype", so the path would be: node/add/mytype
If you go to that path, as a privileged user (one with permissions set to be able to create content of the new type), you should just get the normal content creation form. If you don't, then that's another clue to what's going on, but I'd see if you can create another content type and use it normally, or if you see the same issue. Sometimes starting over, if you aren't too far in, is a good test, or a good way to solve a problem. If the problem persists, you can "divide and conquer": turn on/off groups of your active modules and see when/if the content type can be created. Clearly what you are seeing doesn't sound normal.
See you at the Drupalcon!
Yes i used node/add/mytype,
Yes i used node/add/mytype, no custom_type_machine_name ;) , i also created another custom type, without fields, just title and description and the problem is the same.
When i type directly the url node/add/mytype, i arrive to the node/add menu, with the help text (on top) that i defined when I created my custom type.
Do you think it should be cause to my local installation?
I'll try to turn off somes group and maybe somes modules like you tell me.
Just another thing, I did many test on drupal 7 (modules,types...) so I have a custom module with the same name of my type. May be here is the problem.
So i'll try to turn off different things to see what's happen and let you know what's news!
Thanks!
Same problem
I've just faced exactly the same problem. I'm working on a D7 website on my local machine (XAMPP). I've created a custom content type, and strange, the permission for admin were not checked by default. So I checked them, but still not working!
I can't add a content of my custom content type.
I'm logged in as admin and all the permissions are set. Any idea?
I Encounter the exact same
I Encounter the exact same problem. Very annoying :(. I already checked it as a role. (why isn't that default anyway when you make a content type as admin?)
Same thing
Same thing here ... why is it happening? Custom type doesn't show in admin menu or user menu, in admin role or user role.
Please help! It can't be just two or three of us.
Using drupal 7.
Thanks.
Same here, problem with Date module and SQLSRV
I'm seeing the exact same thing on my new Acquia Drupal 7.8 installation. (Windows/IIS/SQLSRV). I created a new content type before installing any new modules. The content type appeared fine on the Add Content menu.
Then I installed several pretty standard modules like Views, Date API, and Calendar. I created another new content type. The correct permissions are checked and I am logged in as site admin. Navigating directly to node/add/mynewtype shows the node/add menu instead of allowing me to create a new node of my new content type. If I navigate to node/add/oldcontenttype, which I created before enabling these new modules, then I can still create content for the old custom content type or find it on the node/add menu. However, I cannot edit the fields anymore for any of these content types because it shows a blank browser screen.
I tracked the problem down to this issue with SQLSRV and Date API and was able to solve it by commenting out a single line as described in the issue: http://drupal.org/node/1201342
Hello, I was working on other
Hello,
I was working on other stuff since my first post, But i have still the same problem, i really try everything and I don't understand.
Now I work on remote server, so the problem doesn't come from my local WAMP installation.
For the others guys with the same problem? did you fix this?
I'm desperate ^^.
Thanks.
Hi, I don't know how, but I
Hi,
I don't know how, but I solved this by doing the following.
1) Install the module: content_access: http://drupal.org/project/content_access
2) Click the link rebuild content access: [yoursite]/admin/reports/status/rebuild
Voila content is back again!
I tried all other things this whole weekend: I installed Field Permissions, no go, I changed all Language correct, no go, I changed all People permissions to anonymous, no go.
I almost gave up, but somehow this Module does something extra? Can someone maybe explain what that module does extra?
And Yes the contentype was build by someone with admin rights, but no superadmin.
Anyway content is back.
EDIT: Hi, my joy was temporarily... With next custom contenttype menuitem. The menuitem is not shown again...grrrr
Hopefully you guys no a permanent solution that this can't occur again.
Greetings, Martijn
Solution is case link is listed under wrong menu
In my case the link of my new content type wasn't listed in the "ad content" menu since it was listed in the "navigation" menu. Therefore the link wasn't visible and the direct URL check as mentioned by greg420blues wasn't working either.
The solution when this is the case is to link your new content type to the "ad content" menu:
- lookup the link for your new content type in it's current menu: administration > structure > menu's > list links
- choose edit for the link of your content-type
- look for "Parent Link"
- change the Parent Link in the list to "--ad content" (it's on top of the list under )
Succes I hope this works for you!
I'm pretty new to drupal so if someone else is having an remark or improved workaround i'm glad to hear.
Can't Get Custum Content Type to Appear in Menu Either
I'm having the same problem. It's not a permissions issue and it doesn't seem to be that I added to the wrong menu (I have tried all of them, including selecting the correct menu parent). Anyone figure this out?
fields listed on content types menu, but not on the content
I am having almost the same problem as described by Ugh, above.
I upgraded to 6.28 and I can see all content types listed on admin/content/types, and all the fields created for each content type, but these fields do not appear on that content type when creating content.
The field is there on the fields menu for each content type, but not when you create content. Specifically, the Taxonomy Vocabulary I custom set up does not show up on the create content page.
Well, it does on some of the content types, but not on others.
Permissions seem good.
Additionally, the add field tab that should be visible at /admin/content/node-type/forum/fields is not there.
Any insight would be welcome. I need and want my content categorized!
Thanks for getting this problem out there, people!
This problem happened, as far as I can tell, when I upgraded.
check database connection
Hi everyone,
I had this exact problem. I looked in the Drupal logs, and there was a lot of "DatabaseDriverNotSpecifiedException" every minute.
My database config seemed to have some problems. I deleted the DB user and created a new one with a different password, and now everything works.
Not quite sure why such a low-level DB error would cause such a minor bug, but just thought I'd share my experience.
My menu link was disabled
Hi
After much pain, found the answer of a disabled menu link.
The Navigation menu holds the items that show on the node/add page (create content). Open admin/structure/menu/manage/navigation and see if the new content type you've created already exists on the Navigation menu in a disabled mode. I was trying to activate a content type called Map and it wouldn't show. Making the menu entry Enabled solved the problem
Enjoy!
-- Hank