I just ran the update.php script because I upgraded my Panels and Views modules and now all the content that uses the node template page displays a white area instead of the content for that node. The pages show the variant Content section has the correct node tokens in place.
I have two variants inside the node template and neither of them display the content.
Just a question I've been pondering. Let's say I have a custom complex field that I've created; that is, it's a field that is composed of 4 text fields. It works great when I'm using it in a content type through the UI. However, what if I wanted to create another module that creates a different form for people to use to edit this same content type? Can I somehow include this complex field in the form, or do I have to rebuild it from scratch?
Is it possible to hide some values of a field based on the user role?
Like i have an List (text): Option 1, Option 2, Option 3
I want to show option 1 to role => anonymous
I want to show option 2 to role => anonymous, authenticaed
I want to show option 3 to role => anonymous, authenticaed and administrator
So if user is anonymous it only sees op1, if is authenticated, see only op 1 and 2, etc.
What is the function to trap a 404 error? I basically want to write some code that says:
If page not found - check what url they were trying to access - if it matches something - then run this code.
I know how to do it all, just need to figure out which would be the correct drupal function to tap into for "if page not found" that would then let me check/run functions.
OK - I'm banging my head against the wall here. I have a horrible feeling I'm missing something easy, but I can not figure out what it is... Running -
Centos 6.2 64 bit
Apache 2.2.15 release
For some reason, if the root folder's permissions is set to 750 (like it should be) I get a forbidden error. If I set it back to 755 I can see the site fine.
If I need to provide more information, let me know... not sure what all info I should supply.