http://scito.ch/content/show-online-visitors-block-drupal-7
http://www.redmamba.es/
martes, 26 de febrero de 2013
miércoles, 20 de febrero de 2013
Drupal Community - Contribuir corrigiendo bugs, hacer cambios a un proyecto
1. Choose issue
http://drupal.org/project/issues/<project>
Buscar 'active' or 'needs work'.
2. Download project
Choose the latest branch, which will probably be 7.x-?.x or master.
Click 'Show' and copy the command.
Then run the command in the sites/all/<modules o theme> directory.
3. Find bug (egrep encuentra la cadena en el directorio)
egrep -r hook_node_info simpletest_example/
4. Make branch
git checkout -b [short description]-[issue-number]
5. Fix code
Refer to coding standards for code style.
6. Create patch
git diff > [description]-[issue-number]-[comment-number].patch
Randy Fay has a great post about patching with Git.
7. Upload patch for review
People often use Dreditor to review patches.
8. Make revisions
Once you get feedback, you can make revisions to the patch.
Refresh your repo using
git checkout [version]
git pull
Then re-apply changes:
git apply -v [patchname].patch
miércoles, 13 de febrero de 2013
martes, 12 de febrero de 2013
Drupal Community - Contribute with New Project (Module, Theme)
http://drupal.org/contribute/development
0. Obtener acceso git
http://drupal.org/node/1047190
1. Crear Sandbox Project
http://drupal.org/node/1011196
3. Promover a Full Project
http://drupal.org/node/1015224
http://drupal.org/node/1011698
4. Verificar errores comunes
a. Ver errores con repositorio git - p.e. http://git.drupal.org/sandbox/relguzman/1917458.git
http://ventral.org/pareview
b. Cambiar de branch master
http://drupal.org/node/1127732
c. Readme file mas documentacion ademas de 'features', 'about'.
Eliminar
Eliminar LICENSE.txt
Eliminar "version", "project" de ./__.info
5. Aplicar formatter - http://cssbeautify.com/
6. Hacer reviews a otros proys
0. Obtener acceso git
http://drupal.org/node/1047190
1. Crear Sandbox Project
http://drupal.org/node/1011196
3. Promover a Full Project
http://drupal.org/node/1015224
http://drupal.org/node/1011698
4. Verificar errores comunes
a. Ver errores con repositorio git - p.e. http://git.drupal.org/sandbox/relguzman/1917458.git
http://ventral.org/pareview
b. Cambiar de branch master
http://drupal.org/node/1127732
c. Readme file mas documentacion ademas de 'features', 'about'.
Eliminar
readme.mdEliminar LICENSE.txt
Eliminar "version", "project" de ./__.info
5. Aplicar formatter - http://cssbeautify.com/
6. Hacer reviews a otros proys
Drupal 7 - Instalacion de Modulos Recomendados
Jquery - version recomendada
jQuery v1.8.3
--------------------------------------------------
1. Clean URLS
2. Shortcut Clear cache
3. Instalar Modulos de inicio
http://drupal.org/project/token
http://drupal.org/project/pathauto
http://drupal.org/project/wysiwyg - Wysiwyg
http://drupal.org/project/media - Media
http://drupal.org/project/media_youtube - Media: youtube o sino vimeo
http://drupal.org/project/views
4. Instalar tema
5. Crear tipos de contenido
- Project
- Publication
- Board
7. Customizing Post Paths
Click on Configuration in the admin menu and in the Search and Metadata section
select the URL Aliases link.
Settings -> configuracion de nombres cortos
Patterns -> configuracion de urls
Cambiar "content/[node:title]" por “[node:created:custom:Y]/[node:created:custom:m]/[node:created:custom:d]/[node:title]"
8. Crear views(en vez de Basic Pages - para menu) - pag 35
- Home (default)
- Projects
- Blogs
- Publications
9. Instalar modulos
http://drupal.org/project/webform
http://drupal.org/project/mollom
http://drupal.org/project/sharethis
10. Configurar Bloques
11. Crear Contact - Webform
- Contact
11.1. Configurar
- Your name
- Your Email
- Subject
- Message
11.2. Configurar email de recepcion y otros - Email
jQuery v1.8.3
--------------------------------------------------
1. Clean URLS
2. Shortcut Clear cache
3. Instalar Modulos de inicio
http://drupal.org/project/module_filter - Filtros en los modulos
http://drupal.org/project/ctools - chaos toolshttp://drupal.org/project/token
http://drupal.org/project/pathauto
http://drupal.org/project/wysiwyg - Wysiwyg
http://drupal.org/project/media - Media
http://drupal.org/project/media_youtube - Media: youtube o sino vimeo
http://drupal.org/project/views
4. Instalar tema
5. Crear tipos de contenido
- Project
- Publication
- Board
6. Configuracion Editor
Copiar la carpeta dentro en /sites/all/libraries
/sites/all/libraries/ckeditor
6.1. Activar "Convert Media tags to markup filter"
The Convert Media tags to markup filter must be enabled for the Filtered HTML format in order to use the Media browser WYSIWYG button.
6.2. En "Wysiwyg profiles" - seleccionar "ckeditor" - editar el tipo de editor
6.3. En buttons and plugins
Agregar los botones BASICOS:
- Bold
- Italic
- Bullet List
- Numbered List
- Link
- Unlink
- Source Code
- Maximize
- Media Browser
6.1. Activar "Convert Media tags to markup filter"
The Convert Media tags to markup filter must be enabled for the Filtered HTML format in order to use the Media browser WYSIWYG button.
6.2. En "Wysiwyg profiles" - seleccionar "ckeditor" - editar el tipo de editor
6.3. En buttons and plugins
Agregar los botones BASICOS:
- Bold
- Italic
- Bullet List
- Numbered List
- Link
- Unlink
- Source Code
- Maximize
- Media Browser
7. Customizing Post Paths
Click on Configuration in the admin menu and in the Search and Metadata section
select the URL Aliases link.
Settings -> configuracion de nombres cortos
Patterns -> configuracion de urls
Cambiar "content/[node:title]" por “[node:created:custom:Y]/[node:created:custom:m]/[node:created:custom:d]/[node:title]"
- Home (default)
- Projects
- Blogs
- Publications
9. Instalar modulos
http://drupal.org/project/webform
http://drupal.org/project/mollom
http://drupal.org/project/sharethis
10. Configurar Bloques
11. Crear Contact - Webform
- Contact
11.1. Configurar
- Your name
- Your Email
- Subject
- Message
11.2. Configurar email de recepcion y otros - Email
11.3. Form Settings - Pag 43, 45
12. Mollon - prevenir spam
http://mollom.com
Configurar "Mollom settings page" - 46
### Pag 48-51 - no
13. Configurar - Share this
14. Instalar
http://drupal.org/project/styles
15. Configurar youtube media
- configuration - file System o file Types
16. Backup and migrate - 71
12. Mollon - prevenir spam
http://mollom.com
Configurar "Mollom settings page" - 46
### Pag 48-51 - no
13. Configurar - Share this
14. Instalar
http://drupal.org/project/styles
15. Configurar youtube media
- configuration - file System o file Types
16. Backup and migrate - 71
domingo, 3 de febrero de 2013
Drupal 7 - Solution - Cannot connect to FTP Server, check settings
Fast Solution
$ sudo chown www-data:www-data -R /var/www/DRUPAL-SITE
Source: https://help.ubuntu.com/community/Drupal
$ sudo chown www-data:www-data -R /var/www/DRUPAL-SITE
Source: https://help.ubuntu.com/community/Drupal
Drupal 7 - Modulos Recomendados
http://drupal.org/project/module_filter
http://drupal.org/project/admin_menu
http://drupal.org/project/ctools
http://drupal.org/project/token
http://drupal.org/project/pathauto
http://drupal.org/project/media
http://drupal.org/project/media_youtube
http://drupal.org/project/imce
http://drupal.org/project/views
http://drupal.org/project/webform
http://drupal.org/project/mollom
http://drupal.org/project/sharethis
http://drupal.org/project/devel
http://drupal.org/project/facebook_comments_box
http://drupal.org/project/fblikebutton
http://drupal.org/project/admin_menu
http://drupal.org/project/ctools
http://drupal.org/project/token
http://drupal.org/project/pathauto
http://drupal.org/project/media
http://drupal.org/project/media_youtube
http://drupal.org/project/imce
http://drupal.org/project/views
http://drupal.org/project/webform
http://drupal.org/project/mollom
http://drupal.org/project/sharethis
http://drupal.org/project/devel
http://drupal.org/project/facebook_comments_box
http://drupal.org/project/fblikebutton
Suscribirse a:
Comentarios (Atom)