changing no of columns changing no of columns
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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