Insight development using Features module

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
m (How to use Features?)
m
Line 1: Line 1:
'''''This is a draft.'''''
+
{{admon/important|This is a draft.|}}
  
 
----
 
----
Line 17: Line 17:
 
Need to review this! --[[User:Asrob|Asrob]] 19:17, 11 May 2011 (UTC)
 
Need to review this! --[[User:Asrob|Asrob]] 19:17, 11 May 2011 (UTC)
  
1. Download the Features module from http://drupal.org/project/features
+
# Download the Features module from http://drupal.org/project/features
  
2. Enable the module on http://example-domain/admin/build/modules page.
+
# Enable the module on http://example-domain/admin/build/modules page.
  
3. Manage the features on http://example-domain/admin/build/features page.
+
# Manage the features on http://example-domain/admin/build/features page.
  
4. Create a custom feature on http://example-domain/admin/build/features/create page.
+
# Create a custom feature on http://example-domain/admin/build/features/create page.
  
 
If you want to create a custom super feature, you have to click _create feature_ link at the top on the create feature page, see step 4.
 
If you want to create a custom super feature, you have to click _create feature_ link at the top on the create feature page, see step 4.
Line 34: Line 34:
  
 
If you want to enable a custom feature, you have to click a checkbox of the selected custom feature then click _save settings_ button.
 
If you want to enable a custom feature, you have to click a checkbox of the selected custom feature then click _save settings_ button.
 +
 +
==Using GIT==
 +
 +
# Clone our Features repository, which is found here: git://our-features-repo.git
 +
<pre>$ git clone git://our-features-repo.git</pre>
 +
 +
to be continued... --[[User:Asrob|Asrob]] 18:08, 16 May 2011 (UTC)

Revision as of 18:08, 16 May 2011

Important.png
This is a draft.

Contents

What is Features?

We are using Features module. We can build custom features with this module because "no need to programming, just click-click and done". We can organize the each part of our Insight page into one or more feature like a custom module. So I would suggest that, create a few new features like "Super Event Calendar".

How to do this? What is a workflow?

That is a good question. We have to figure it out how to do this easily. I suggest that we put our features into a git repository like Insight repository, which contains our features, for example "Super Event Calendar", "Awesome Podcast System".

We have to complete this section, have to speak about this. --Asrob 18:01, 11 May 2011 (UTC)

How to use Features?

Need to review this! --Asrob 19:17, 11 May 2011 (UTC)

  1. Download the Features module from http://drupal.org/project/features
  1. Enable the module on http://example-domain/admin/build/modules page.
  1. Manage the features on http://example-domain/admin/build/features page.
  1. Create a custom feature on http://example-domain/admin/build/features/create page.

If you want to create a custom super feature, you have to click _create feature_ link at the top on the create feature page, see step 4.

Fill those requirements(Name, Description, Version) as you like it, then select those settings at the _Edit components_ part. If you have done with this, just click the _Download feature_ button.

After this process, just upload your custom feature on the server into the "sites/all/modules" directory.

When you created a custom feature and you would like to use it, then you have to go on Features page, see step 3.

If you want to enable a custom feature, you have to click a checkbox of the selected custom feature then click _save settings_ button.

Using GIT

  1. Clone our Features repository, which is found here: git://our-features-repo.git
$ git clone git://our-features-repo.git

to be continued... --Asrob 18:08, 16 May 2011 (UTC)