Loading presentation...

Present Remotely

Send the link below via email or IM

Copy

Present to your audience

Start remote presentation

  • Invited audience members will follow you as you navigate and present
  • People invited to a presentation do not need a Prezi account
  • This link expires 10 minutes after you close the presentation
  • A maximum of 30 users can follow your presentation
  • Learn more about this feature in our knowledge base article

Do you really want to delete this prezi?

Neither you, nor the coeditors you shared it with will be able to recover it again.

DeleteCancel

Make your likes visible on Facebook?

Connect your Facebook account to Prezi and let your likes appear on your timeline.
You can change this under Settings & Account at any time.

No, thanks

Creación de Contenidos en Drupal

curso de Drupal en KMMX
by

Alejandro Mercado

on 15 June 2013

Comments (0)

Please log in to add your comment.

Report abuse

Transcript of Creación de Contenidos en Drupal

Curso de Drupal en KMMX
Creación de contenidos
Ya tienes tu sitio web corriendo
en Drupal ¿y ahora que?
Una manera sencilla para entender Drupal seria pensarlo como un "Ordenador Digital de Monedas ".
Las vistas son los mecanismos que ordenan las monedas.
Habemus Drupal!
Coin Sorter
Digital Coin Sorter = Drupal
Repasemos unos conceptos básicos de
Drupal para la creación de contenidos
Los nodos son las monedas
Los tipos de contenidos son las diferentes denominaciones (de 1 peso, de 5, de 10, etc)
Adicionalmente a la denominación o valor de la moneda
podemos usar taxonomías para organizar las monedas
por año, color, condición, país, etc.
Planeando el sitio
la tradicional metodología de cascada
Scrum, extreme programming,etc,
Metodologias Agiles
Las vistas toman los nodos y los despliegan y ordenan como páginas o bloques
acorde al tamaño, figura, color o cualquier criterio que se establezca.
Los temas (themes) y los módulos son las envolturas y engranes, ellos se aseguran
Con ellos nos aseguramos que todo este organizado y mantenemos el sistema
corriendo chingón
Tipos de contenido
Artículos
Páginas
+ adelante veremos como crear nuestros propios
tipos de contenido
Artículos y páginas
Un articulo es idéntico a un página con la simple diferencia de que un articulo tienes la opción de subir una imagen y un campo adicional donde el autor puede ingresar etiquetas.
El tipo de contenido "página" es el más basico que tenemos a nuestra disposición en Drupal.
Un paréntesis:
Ir a Modulos
Antes de crear nuestras primeras paginas , activamos el modulo Path.

The Path module allows you to specify an alias, or custom URL, for any existing internal system path. Aliases should not be confused with URL redirects, which allow you to forward a changed or inactive URL to a new URL. In addition to making URLs more readable, aliases also help search engines index content more effectively. Multiple aliases may be used for a single internal system path. To automate the aliasing of paths, you can install the contributed module Pathauto. For more information, see the online handbook entry for the Path module.



Path
Como usarlo
Creating aliases
Users with sufficient permissions can create aliases under the URL path settings section when they create or edit content. Some examples of aliases are:
member/jane-smith aliased to internal path user/123
about-us/team aliased to internal path node/456
Managing aliases
The Path module provides a way to search and view a list of all aliases that are in use on your website. Aliases can be added, edited and deleted through this list.
Node ID
Activar el modulo Path
Asignación
Crear 3 páginas y 3 artículos.
Las páginas se pueden accesar a través del menú principal.
Los artículos se despliegan en la página principal
Revisar que las Url´s de estos sean amigables.
Las pa´ginas pueden ser las típicas
Acerca de Nosotros, Contacto, Servicios, etc..
Creando diferentes tipos de contenido
Content types make it easy for site editors to update content that you,
as a site builder, have made sure
will end up displaying in the right way
and in the right place
Creating the Suggestion Content Type
For this, we’ll be creating a new content type called Suggestion and giving registered users permission to create content of this type.
To enable people to categorize their suggestions (as a tip, a warning, an anecdote, a module suggestion, etc.), we’ll also be creating a taxonomy vocabulary and attaching it to this content type.
Allowing People to Register and Log In with OpenID

No configuration is needed for OpenID—people will be able to register and log in using their OpenID accounts now. (OpenID is a decentralized standard for authenticating users, allowing users to log on to different services with the same digital identity. Anyone with a Google, Yahoo, LiveJournal, Wordpress.com, MayFirst.org, or AOL.com account has an OpenID; dedicated OpenID providers such as MyOpenID.com and Yiid.com offer free sign-up. See openid.net for more information. You can host your own OpenID, too, and there’s a Drupal module for that at drupal.org/project/openid_provider.)
Disabling Unneeded Modules
Introductions to Drupal are mostly all about enabling modules to unleash new functionality, but it can be good to know when to disable a module instead.
Disabling unneeded modules reduces the complexity of the site for you, the site builder, and improves the site’s performance and scalability. We’ll disable two modules, Color and Overlay.

Overlay can also be disabled for individual users on their user Edit forms (such as user/86/edit).

new content type Suggestion
Name your new content type Suggestion and add a quick description in the description field.
Field names are an important part of working in Drupal
Note that they can’t be changed once they’re set.
Pick field names that are both descriptive and short, as exercising the full flexibility of custom theming will make use of these field names
Adding a Page with a Human-Readable URL and a Link from the Main Menu
Add a human-friendly URL for the post (which people will see instead of “node/1”, for instance, in their browser’s address bar) at the URL path settings tab. Make the URL alias purchase. (Figure 1–10 shows the summary where this has already been done.)
Adding a Post and Promoting It to the Front Page
Under Publishing options, check the two unchecked-by-default options: “Promoted to front page” and “Sticky at top of lists” (see Figure 1– 11). You now have content that’s been promoted to your front page. “Sticky at top of lists” means that the post will “stick” to the top of listing pages, such as the default front page, as new content is added (normally the newest post is displayed first).
“Where’s my content?”
because the front page remains blank even after you create content if it is not promoted to front page
In the standard installation profile, the Basic page content type is not set to be promoted to the front page by default. You can always see all the content on a Drupal website by going to Content in the Administration menu (admin/content)
Blocks
Blocks are pieces of information that can be displayed in the regions of your theme. Blocks can take many forms.
Usually they are dynamic lists of information or menus. Drupal 7 provides some default blocks; you can find them on the blocks page at Administration
Blocks - continue -
create a custom mission statement block. Again, go to Administration > Structure > Blocks
Under Visibility settings, go to the Pages vertical tab and set “Show block on specific pages” to “Only the listed pages” and type <front> in the text area
OJO: Tip Region names can differ between themes, so if you change themes you might have to respecify the correct region for your blocks.
Blocks - continua-
Drupal will let you set visibility settings not just for specific pages, but for content types and user roles as well. This is helpful when you only want to show a list of recent blog entries, for example, on all the blog pages but not anywhere else on the site.
Asignación
Unos de los requerimientos del sitio es que los comnetarios deben estar visibles a la columna lateral en cada página del sitio
Custom blocks can be deleted, but there is no undo. Be certain you are not mistakenly deleting a block when you really want to disable it temporarily or only for a particular theme. The delete link is out in the open; to disable a block, change the block’s region to None or Disabled.
NO hay "undo"!
Taxonomias
Según la Wikipedia
La taxonomía (del griego, taxis, "ordenamiento", y, nomos, "norma" o "regla") es, en su sentido más general, la ciencia de la clasificación. Habitualmente, se emplea el término para designar a la taxonomía biológica, la ciencia de ordenar la diversidad biológica en taxones anidados unos dentro de otros, ordenados de forma jerárquica, formando un sistema de clasificación.
Drupal allows you to easily classify content using the core Taxonomy module. You can define your own vocabularies (groups of taxonomy terms) and add terms to each vocabulary. Vocabularies can be flat or hierarchical, can allow single or multiple selection, and can also be “free tagging” (meaning that you can add new terms on the fly when creating or editing content).
Taxonomy: Categorizing Content
Each vocabulary can then be attached to one or more content types; in this way, nodes on your site can be grouped into categories, tagged, or otherwise classified in any way you choose.
Taxonomia
A major use of applying taxonomy terms to content is that content with a given term can then be listed together.
Drupal core provides this by default at the path taxonomy/term/8, where 8 is the taxonomy term ID.
You can use taxonomy to show content in many more ways
Categorizemos
Ya habiamos hablado de un nuevo tipo de contenido ( Sugerencias ) necesitamos dar permisos para que pueda ser categorizado.

Administration>Structure>Taxonomy
create a new vocabulary by clicking + Add vocabulary
Asignación
Crear un vocubulario llamado "mobile"
Firefox OS
Appcelerator Titanium
iOS
Android
Unity
Corona SDK
BB10
Windows Phone
Ubuntu Mobile
Now you need to add a field to your Suggestion content type for each vocabulary.
In Drupal 7, the same vocabulary can be attached to the same content type twice by adding a new field that references the same vocabulary. This allows, for instance, a Location vocabulary to be used as both the origin and destination of a product content type.
@KMMXmx
Full transcript