Subir

Restringir número de contenidos a publicar en Drupal 7

Asignar límites a los usuarios

En este supuesto, necesitamos limitar a un rol en concreto para que no pueda publicar más que 2 contenidos, por ejemplo artículos.

Para ello, vamos a instalar un módulo llamado Node Limit.

Pues vamos entonces, lo descargamos, instalamos y activamos como de costumbre.

A parte de activar Node limit, para obtener la funcionalidad que requeríamos al inicio del supuesto, podemos activar diferentes opciones como por ejemplo: poner límite a un tipo de contenido, a todos los usuarios de un rol, a un usuario individual, a cada usuario de un rol determinado

Guardamos.

Para configurar nuestra opción, vamos a Menú Administración/Estructura/Node Limit, y añadimos un nuevo límite. (ponemos el número al que limitamos, obviamente 0 es cero nodos, y -1 ilimitado, en nuestro caso ponemos 2).
Activamos Rol y seleccionos el tipo de usuario a limitar
Activamos Tipo de Contenido y seleccionamos Artículo (en este caso)

Guardamos

Con esto ya tenemos configurado nuestro límite y podemos ver la cantidad de posibilidades que nos permite el módulo

Temas blog: 
Imagen de rummykhan
SOBRE EL AUTOR

Experto en desarrollo de portales web, comercio electrónico y seo.

Añadir nuevo comentario

Filtered HTML

  • Las direcciones de las páginas web y las de correo se convierten en enlaces automáticamente.
  • Etiquetas HTML permitidas: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Saltos automáticos de líneas y de párrafos.

Plain text

  • No se permiten etiquetas HTML.
  • Las direcciones de las páginas web y las de correo se convierten en enlaces automáticamente.
  • Saltos automáticos de líneas y de párrafos.
Business Class 2.3.0 README ==================== Thank you for downloading Business Class - Standalone distribution. This distribution includes a built-in Drupal installation profile, a state-of-the-art theme and full-layered .psd source file(s), so it's ready to run (almost) out the box. Overview -------- Specifically, your theme pack consists of the following four directories: * [html] Includes a fully functional html static web site based on the purchased theme. * [license] Includes the License information and references to third-party licenses. * [psd] Includes the full-layered psd file(s) this theme is based on. * [site] Includes a full core Drupal distribution with an installation profile. * [d7] Drupal 7.x distribution You can use the html files to build a static web site or to create your own theme for any platform, as long as this is permitted by the License. You can dig into the source psd files and modify them the way you want and reuse, as long as this is permitted by the License. Lastly, you can use our installation profile to setup your drupal. Change Log ---------- Check: http://wiki.morethanthemes.com/index.php?title=BusinessClass Brief installation guide for a Drupal Site ------------------------------------------ If you are unfamiliar with Drupal installation please take a break and read Drupal's INSTALL.txt. The file is located into the [site] folder. 1. Unzip the Business Class Drupal theme package. 2. Locate the [site]/[d7] directory and upload its content to your server. This directory includes Drupal core and all of the required modules that are used in the theme. If you wish to install the theme in your root directory (often called the "/public_html/" directory), simply place all the extracted files and folders into this directory. Place all files in a sub-directory, if you want the theme installed in a sub-directory of your website. 3. (important) Create the MySQL database. Make a note of the complete database name. You will need your database username and password during the first couple of steps of your theme installation. 4. Once all the files have been uploaded, browse to the website address where you have uploaded the files. Next select Business Class 7.x Installer. 5. On the next page you will see a message asking you to copy default.settings.php to settings.php. Locate the /sites/default folder and create there the settings.php file as a copy of default.setting.php which also is located there. 6. In the next step you will be asked for the Database name, user and password. You can also give some information about your Drupal installation as the site name or title, admin name, admin email address and so on. 7. Finally, follow the next steps to complete the installation process. Full documentation is available online at: http://support.morethanthemes.com Problems -------- If you experience any problems with one of our themes, please see the resources listed at: http://support.morethanthemes.com Questions --------- Questions? Try the docs at: http://support.morethanthemes.com Alternatively, contact MorethanThemes directly. See the contact info at: http://support.morethanthemes.com User Guide ---------- How to use your all-new-theme? Try the docs at: http://support.morethanthemes.com Happy theming and thank you for using a MorethanThemes product! The MorethanThemes Team