4images Forum & Community

International => Español / Castellano => Topic started by: argento on September 02, 2005, 04:35:19 AM

Title: Mas imagenes en nuevas imagenes
Post by: argento on September 02, 2005, 04:35:19 AM
Como hago para que en nuevas imagenes en el home, en lugar de 3 pueda poner mas?
Title: Re: Mas imagenes en nuevas imagenes
Post by: excitex2 on September 04, 2005, 12:47:12 AM
Saludos,,,

Localiza en index.php
Quote
$num_new_images = $config['image_cells'] ;

Modificar a :

Para dos filas :
Quote
$num_new_images = $config['image_cells'] * 2;

Para tres filas :
Quote
$num_new_images = $config['image_cells'] *3;

Para cuatro filas :
Quote
$num_new_images = $config['image_cells'] * 4;

etc,,.
etc,,,

excitex2
Title: Re: Mas imagenes en nuevas imagenes
Post by: argento on September 04, 2005, 01:16:54 AM
Gracias :D
Title: Re: Mas imagenes en nuevas imagenes
Post by: Slaad on March 15, 2006, 08:59:51 AM
Hola, pues hice exactamente lo que dices, le puse dos filas y me salio este error arriba de la página:

DB Error: Bad SQL Query: SELECT a.image_id, a.cat_id, a.image_name, a.image_active, a.image_thumb_file, b.auth_viewcat, b.auth_viewimage FROM 4images_images a, 4images_categories b WHERE a.image_active=1 AND a.image_id = AND a.cat_id = b.cat_id AND b.auth_viewcat!=9 AND b.auth_viewimage!=9 LIMIT 1
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND a.cat_id = b.cat_id AND b.auth_viewcat!=9

DB Error: Bad SQL Query: SELECT image_id FROM VOTED_TABLE ORDER BY vote_date DESC LIMIT 1
Table 'stratovarius.VOTED_TABLE' doesn't exist

DB Error: Bad SQL Query: SELECT a.image_id, a.cat_id, a.image_name, a.image_active, a.image_thumb_file, a.image_media_file, b.auth_viewcat, b.auth_viewimage FROM 4images_images a, 4images_categories b WHERE a.image_active=1 AND a.image_id = AND a.cat_id = b.cat_id AND b.auth_viewcat!=9 AND b.auth_viewimage!=9 LIMIT 1
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND a.cat_id = b.cat_id AND b.auth_viewcat!=9 AND


A que se debe?

VALE VALE, YA LO SOLUCIONÉ, GRACIAS POR TODO EXCITEX, ERES EL ... AMO! JEJE