changing no of columns changing no of columns
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

changing no of columns

Started by earpit, November 04, 2006, 10:02:31 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

earpit

I use this to disply images on a html page(shtml) ,

i get table with just two columns, and many rows,
i want to increase the no of columns, how?

earpit

nothing?  ???

well please see:
http://www.dharmpal.com

there you will see the images are shown in 2X4 bolcks(table)

i want it in 5X4 blocks, ie. i want 5 columns instead of just 2 , how to do this?

strog

My friend,

Read the manual PLEASE.

It says explicitly in the quickstart guide what to include on your page to get desired results:

<?php
include "./cpmfetch/cpmfetch.php";
$objCpm = new cpm("/gallery");
$objCpm->cpm_viewRandomMedia(3,3);
$objCpm->cpm_close();
?> 

For example, go to your cftest page and locate the following line:

$objCpm->cpm_viewRandomMedia(2,3,$styleguide);

This line controls how many rows/columns you get on the cftest page.

Cheers
Strog