Create a feature in open atrium of Drupal - 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.

Related

Site wise custom evaluator in alfresco

I am facing some problems to create,
Site wise evaluator to show or hide create menu option in alfresco.
In below Attached image i want to show create market option for one site and create project option for other site.
can anyone help me regarding this, if possible please provide sample custom evaluator code.
i am using Alfresco 5.0.d version
Thanks in Advance.
This blog post describes how to to the site evaluator for updating Alfresco Share configuration. Judging from your screenshot you are already able to create and add multi-select actions for the Document Library. You just need to place your configuration within extension modules as described in the blog post.

Writing blog using playframework

I have a system build using playframework 2.0. I want to have blog to run on with the system. Is there a way i can do that?, something like plugins available for use or can I use word press to do that?
Here's a blog engine for Play Framework: https://github.com/jroper/erqx.
Well you can create a new installation of wordpress, If you want to have 1 database for your playframework and wordpress then on the installation page it will ask you for a database, just enter the same database details that you have for playframework. Wordpress uses mysql so make sure you are using mysql for your playframework.
Its always better to have a different database but if you need to have some kind of integration between the two then it would be much better if you have them both on the same database.
Now in the sitename you can add something like
http://www.example.com/blog
OR
http://www.blog.example.com
Which ever you prefer. Once installed login to your wordpress admin area, install a blog theme and start creating your new blog posts. And in your main playframework website, create a new menu item and add this link to it.
I dont know of any plugins for playframework, but there is a plugin in wordpress that makes it work as an api, https://wordpress.org/plugins/json-api/. And then there is an addon to this plugin called https://github.com/mattberg/wp-json-api-auth.
You can install these 2 plugins in your wordpress and then from your playframework's registeration code make simple REST calls to the api. This will will be used to automatically register/login user's in wordpress. So when they login to playframework they will automatically get logged in to wordpress as well.

publish content after varification by admin

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.

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 can I add chat facilities to my Drupal 6 site?

I just want to ask how one could support a chat function for Drupal 6? I created a new Drupal website and I need to add a chat functionality to it. I have, however, tried to download and enable Drupal's Chat Room module but I can't seem to make it run (or I don't know how to access it). So if it is possible, can someone please show me a tutorial on how to do this?
Sample chat application I want to put on my site is this one.
Install DrupalChat module - http://drupal.org/project/drupalchat.

Resources