publish content after varification by admin - drupal

I have created video gallery with help of cck . I have created a content type. Now My requirment is that when user add video it should not be published to all user.When admin active that content then it should be publish.
How can i do this please suggest me if there is any module for that.I am using drupal 6.
Thanks

There is several modules implementing this kind of publication workflow:
Workflow
Content Moderation
Moderation
Revisioning
Modr8
I only have experience with Revisioning which was pretty easy to install and straightforward to use. Workflow seems overkill for a simple publication workflow without a lot of additional features/behaviors.
Revisioning is also the only module to have a Drupal 7 release. Speaking for Drupal 7, once you get there you have the Workbench and Maestro modules.

You could use the Workflow module. Mongolito404 listed some good options for a simple approval workflow. You can also use the Rules if you like.
Help/Tutorials:
Drupal Workflow Automation
How do I set up the Workflow module?
If you choose the Revisioning module, a detailed tutorial on how to set it up can be found at http://drupal.org/node/408968

You don't need any extra modules to do what you need to do.
Just edit your new content type and uncheck Published in the Workflow settings section. This will make all new posts of that type unpublished by default.
Then, as an adminstrator, go to the content list at /admin/content/node and set it to show only items where status is not published.
Edit the unpublished nodes individually to publish them by checking the Publish box under Publishing options.
You could even use Drupal 6's core Triggers and Actions modules to have the site send you an email whenever a new video node is created.

Related

Sync images/videos in drupal with alfresco content types

I am working on integration of alfresco with drupal. I found the cmis drupal module.
where there is cmis sync module which can sync the content of drupal node to alfresco content type.
I want my alfresco to store my assets (images , videos etc). I want a module which allows me to sync my assets of drupal with alfresco content?
Can anyone suggest a workaround for it??
Thanks
EDITWell, I have not checked what are the features avilable in the module you are using but I had previous experience of integrating Alfresco and Drupal.
What I had done is exposed Alfresco repository to Drupal via Webscripts, response from my webscripts are consumed by Drupal and rendering logic is resides in Drupal.
Now in your case if you want to use Alfresco contents in your Drupal site there are already Out of Box set of CMIS services available in Alfresco which will serve you the content from alfresco repository.For checking details regarding that you can refer following links
http://cmis.alfresco.com/
http://blogs.alfresco.com/wp/cmis/
I hope this will guide you. Let me know if any thing is not clear to you.
EDIT: just now checked this
https://drupal.org/project/cmis
If you are using this as per description it should provide bidirectional sync of contents.
The sync is meant to sync the body field from a page node into the content stream of an Alfresco node (and back). When we created the module originally we assumed that if you wanted to manage binary objects in Alfresco you'd just use the Alfresco interface to manage those instead of uploading those in Drupal and sync-ing them across.

Moodle and Drupal 7 integration

I would like to display a list of available Moodle courses and available places for each of the corses on a Drupal site.
Is there a simple way of integrating Moodle and Drupal so that when a Max enrolled users is set in Moodle, the Drupal enrolment form witll display the number of available places, and disable the ability of users enrolling in to courses which have no places left?
There is authentication plugin available moodle-drupalservices for SSO between both systems
You can read more about it from module document
If you want to fetch detail of moodle courses in drupal then web service is the best way to achieve it, you just need to create web services client in drupal to consume moodle services
http://docs.moodle.org/dev/Category:Web_Services
use core_course_get_courses web service function don't need to pass any value to it, it will fetch all available courses detail from moodle.
There is a module for moodle integration in drupal - Moodle Connector. There are some other related module to which enhance the integration further like Commerce Moodle, which let you sell the course & you get drupal commerce to handle your selling..great right?
But if you are working in D6, then you will have to check another module Moodleconnect, but it's still in DEV version, so may be you will have to work on it.
https://www.drupal.org/project/issues/moodle_views will allow you to list courses using a Drupal View. This module doesn't (yet) allow you to display the places available, but if you still need this functionality I could probably add it relatively easily.

Create a feature in open atrium of Drupal

i am new in open atrium of Drupal and i got the documentation of how to add a feature form the link https://community.openatrium.com/documentation-en/node/449#an-imageboard-feature. But here i cant know how a feature add from scratch as per the users requirements . Is there any step by step instruction of creating the custom feature in open atrium of Drupal.
The common way of building a Feature - which is the one it is explained in the tutorial you read - is to work things out in Drupal/OpenAtrium Administration.
When all is ready, you export the Feature, then you have a folder which you can use in any site just as if it were a Module.

Drupal 7 user registration: creating mandatory gender/city fields

I'm a Drupal newbie, but have successfully installed it at a CentOS 5.5 Linux, PostgreSQL 8.4.7, PHP 5.3 machine.
I've chosen minimal installation and then enabled following modules: Block, Image, Locale, OpenID (hope to add Google accounts later...) and Search. The User module etc. are enabled by default anyway.
My problem is:
I don't know how to add Gender/City fields and make them mandatory.
As a SPAM-fighting measure at my old phpBB 3 site I have a mandatory question for new users about their gender: Robot/Male/Female and the first answer is default and prevents the new user from registering.
Is it possible to do the same in Drupal 7?
And I hope it is doable without installing any additional modules as the stock install is easier to update. (That is what I was doing with my old phpBB site - with no mods installed).
Thank you for your answers! Alex
UPDATE:
Here is my Field module screenshot, does it look ok?
Maybe my problem is that List is shown as disabled?
First, note that there is a huge difference between Drupal modules and phpBB mods. Drupal provides API's which allows modules to integrate with Drupal without changing any code. You can just download them into a folder, enable and they are running.
And yes, what you are trying to do is possible without any additional modules. Just go to admin/config/people/accounts/fields, add a Gender field of Type "List (text)" (If that is not available, you might need to enable it, but it part of Drupal core), then, enter the allowed values and on the second page, check the "required" and "shown on registration form" checkboxes and you are good to go.

How does Drupal provide an edit/review/publish model?

How does Drupal support a means to update and review a website before it is published?
Does it only allow you to preview a page at a time before you publish it or is there a way to create a site with multiple pages, review it and then publish it?
Is it best or easiest to create two Drupal Sites and push the contents of one to the other regularly (as a publish method)?
There are some modules that allow this functionality on a single site. The workflow module allows you to invoke hooks when content types are created, edited, published, ect. I use this on a production site to notify me when new content is created so I can publish it. Another module is the revision moderation module. You can allow users to edit nodes, but new revisions go into a queue for approval instead of being published immediately.
You can preview each page at a time before publishing it, but that is generally-user controlled. Sounds like you want more of a 'writer submits to editor who proofs and publishes' model?
Workflow module is all you need for that functionality. It will also involve a couple user roles (writer, editor, etc.). This is a model done many times, you can do it fairly easily.
2.5 Also Modr8 (Moderate) module may be simpler for you: http://drupal.org/project/modr8
Running a test site is more appropriate for site (code) development, not so much for just publishing content.
The workflow module will help you achieve this. It interacts with the actions module.
I set up two roles: writer and editor, the writers submit their content and then the editors can review and publish the content, if they don't want to publish it they can set it as needs work which means the writer need to redo and then submit the content again before it is reviewed again.
The action module means that the content is accessible by the appropriate roles as the content moves through the workflow.

Resources