Author Topic: Mas imagenes en nuevas imagenes  (Read 8940 times)

0 Members and 1 Guest are viewing this topic.

Offline argento

  • Newbie
  • *
  • Posts: 24
    • View Profile
Mas imagenes en nuevas imagenes
« 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?

Offline excitex2

  • Addicted member
  • ******
  • Posts: 1.590
  • He desactivado la galería y el buscador
    • View Profile
Re: Mas imagenes en nuevas imagenes
« Reply #1 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
Lo importante no es saber,,, lo importante es tener el E-Mail de quien sabe

Offline argento

  • Newbie
  • *
  • Posts: 24
    • View Profile
Re: Mas imagenes en nuevas imagenes
« Reply #2 on: September 04, 2005, 01:16:54 AM »
Gracias :D

Offline Slaad

  • Pre-Newbie
  • Posts: 4
    • View Profile
Re: Mas imagenes en nuevas imagenes
« Reply #3 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