DUPLICATE LISTINGS
12 posts by 3 authors in: Forums > CMS Builder
Last Post: December 1, 2011 (RSS)
By Steve99 - November 30, 2011
Hi Bob,
Here you go:
Here you go:
<!-- INSERT PHOTOLINK PHP CODE -->
<?php foreach ($featured_eventsRecords as $record): ?> <b>Date:</b> <?php echo $record['date'] ?><br/><br/> <b>Event:</b> <?php echo $record['event'] ?><br/> <b>Location</b>: <?php echo $record['location'] ?><br/> <b>Address:</b> <?php echo $record['address'] ?><br/> <b>City or Town:</b> <?php echo $record['town'] ?> VT<br/> <!-- STEP 2a: Display Uploads for field 'image' (Paste this anywhere inside STEP2 to display uploads) --> <!-- Upload Fields: num, createdTime, tableName, fieldName, recordNum, preSaveTempId, filePath, filename, extension, thumbFilePath, isImage, hasThumbnail, urlPath, width, height, thumbUrlPath, thumbWidth, thumbHeight, info1, info2, info3, info4, info5 --> <?php foreach ($record['image'] as $upload): ?> <?php if ($upload['hasThumbnail']): ?> <img src="<?php echo $upload['thumbUrlPath'] ?>" alt="" width="<?php echo $upload['thumbWidth'] ?>" height="<?php echo $upload['thumbHeight'] ?>" vspace="7" border="1" /><br/> <?php elseif ($upload['isImage']): ?> <img src="<?php echo $upload['urlPath'] ?>" width="<?php echo $upload['width'] ?>" height="<?php echo $upload['height'] ?>" alt="" /><br/> <?php else: ?> <a href="<?php echo $upload['urlPath'] ?>">Download <?php echo $upload['filename'] ?></a><br/> <?php endif ?> <?php endforeach?> <!-- STEP2a: /Display Uploads --> <b>Description:</b> <?php echo $record['description'] ?><br/><br/> <b>Start Time</b>: <?php echo $record['start_time'] ?><br/> <b>Admission</b>: <?php echo $record['admission'] ?><br/> <b>Phone:</b> <?php echo $record['phone'] ?><br/> <b>Website:</b> <a href="<?php echo $record['url'] ?>" target="_blank"><?php echo $record['url'] ?></a><br/> <b>Email Address:</b> <?php echo $record['email_address'] ?><br/> <b>Handicap Accessible:</b> <?php echo $record['handicap_accessible'] ?><br/><br/> <hr /> <?php endforeach; ?> <?php if (!$featured_eventsRecords): ?> <?php endif ?>
Re: [steve99] MAKE CONTENT OF FIELD A LINK
By weblinks - December 1, 2011
Steve...
You've made my day... I can't thank you enough.
Best,
Bob
You've made my day... I can't thank you enough.
Best,
Bob