Jquery slider issue

5 posts by 2 authors in: Forums > CMS Builder
Last Post: June 23, 2011   (RSS)

By KCMedia - June 23, 2011

Hi i have this great jquery setup that will show a slider but ihave designed it in my site and working well but now i am trying to work it into the cms system but cant get it to work

here is the standard code that works 100% but when i put the code into the system from cms it just wont work i have attached the code output from cmsb below. I think it has something to do with this line of code right at the bottom of the jquery slider section on the last section. </ul></div><!-- end home-banner-wrap -->

hope someone can help soon thanks

<!-- ***************** - Homepage jQuery Slider - ***************** -->
<div class="home-banner-wrap">
<ul>
<li class="jqslider">
<div class="home-banner-main">
<h2><strong>Quantum CMS System</strong></h2>
<p>Quantum is amazingly powerful Content Managment System. Finally a content management system (CMS) makes it easy for you to update your website without having to know anything about web development. With just a few clicks you can update articles, upload photos, change the text on your homepage, or add new products to sell on your website. If you've ever used web mail (like hotmail or yahoo) you already have the skills necessary to use our content management system.</p><br />
<strong><a href="#">Read More ?</a></strong>
</div><!-- end home-banner-main -->

<div class="home-banner-sub">
<div class="home-banner-sub-content">
<a href="content-management-system.php"><img src="images/iStock_000010087990XSmall.jpg" alt="Quantum CMS" width="436" height="270" /></a>
</div><!-- end home-banner-sub-content -->
</div><!-- end home-banner-sub -->
</li>

<!-- ***************** - Homepage jQuery Slider - ***************** -->

<li class="jqslider">
<div class="home-banner-main">
<h2><strong>Online Backup Solution</strong></h2>
<p>We use the world leading provider of Storage-as-a-Service solutions for data protection and recovery, archiving, eDiscovery and intellectual property management. The technology arm of this company offers a comprehensive suite of solutions to thousands of companies around the world.</p><br />
<strong><a href="#">Read More ?</a></strong>
</div><!-- end home-banner-main -->

<div class="home-banner-sub">
<div class="home-banner-sub-content">
<a href="online-backup.php"><img src="images/iStock_000010274670Small.jpg" alt="Online Backup Solution" width="436" height="270" /></a>
</div><!-- end home-banner-sub-content -->
</div><!-- end home-banner-sub -->
</li>

<!-- ***************** - Homepage jQuery Slider - ***************** -->

<li class="jqslider">
<div class="home-banner-main">
<h2><strong>Email Marketing</strong></h2>
<p>Includes everything you need to create, send and track professional HTML emails. Developed by marketing experts, EMail Newsletter is fully-featured email marketing software that's easy, effective and affordable.</p><br />
<strong><a href="#">Read More ?</a></strong>
</div><!-- end home-banner-main -->

<div class="home-banner-sub">
<div class="home-banner-sub-content">
<a href="email-marketing.php"><img src="images/iStock_000013476522Small.jpg" alt="Email Marketing" width="436" height="270" /></a>
</div><!-- end home-banner-sub-content -->
</div><!-- end home-banner-sub -->
</li>

<!-- ***************** - Homepage jQuery Slider - ***************** -->

<li class="jqslider">
<div class="home-banner-main">
<h2><strong>Web Hosting</strong></h2>
<p>If you hosting service provider is not living up your expectations then give us a try we have hosting plans to meet all size business and personal sites.<br />
Our web hosting packages provide the control, flexibility, and reliability needed to create a successful online presence.</p><br />
<strong><a href="#">Read More ?</a></strong>
</div><!-- end home-banner-main -->

<div class="home-banner-sub">
<div class="home-banner-sub-content">
<a href="hosting.php"><img src="images/iStock_000015185461Small.jpg" alt="Web Hosting" width="436" height="270" /></a>
</div><!-- end home-banner-sub-content -->
</div><!-- end home-banner-sub -->
</li>

<!-- ***************** - Homepage jQuery Slider - ***************** -->

<li class="jqslider">
<div class="home-banner-main">
<h2><strong>Cloud Computing</strong></h2>
<p>Cloud computing refers to the use and access of multiple server-based computational resources via a digital network ( WAN, Internet connection using the World Wide Web, etc.). Cloud users may access the server resources using a computer, netbook, pad computer, smart phone, or other device. In cloud computing, applications are provided and managed by the cloud server and data is also stored remotely in the cloud configuration. We provide cloud solutions from all the major suppliers.</p><br />
<strong><a href="#">Read More ?</a></strong>
</div><!-- end home-banner-main -->

<div class="home-banner-sub">
<div class="home-banner-sub-content">
<a href="cloud-computing.php"><img src="images/iStock_000012862787Small.jpg" alt="Cloud Computing" width="436" height="270" /></a>
</div><!-- end home-banner-sub-content -->
</div><!-- end home-banner-sub -->
</li>
</ul></div><!-- end home-banner-wrap -->

<!-- ***************** - END Homepage jQuery Slider - ***************** -->



<?php header('Content-type: text/html; charset=utf-8'); ?>
<?php


// load viewer library
$libraryPath = 'cmsAdmin/lib/viewer_functions.php';
$dirsToCheck = array('/home/kcmedia/domains/kcmedia.biz/public_html/','','../','../../','../../../');
foreach ($dirsToCheck as $dir) { if (@include_once("$dir$libraryPath")) { break; }}
if (!function_exists('getRecords')) { die("Couldn't load viewer library, check filepath in sourcecode."); }

// load records
list($jquery_bannersRecords, $jquery_bannersMetaData) = getRecords(array(
'tableName' => 'jquery_banners',
));

?> <!-- STEP2: Display Records (Paste this where you want your records to be listed) -->
<h1>Jquery Banners - List Page Viewer</h1>
<?php foreach ($jquery_bannersRecords as $record): ?>
Record Number: <?php echo $record['num'] ?><br/>
Title: <?php echo $record['title'] ?><br/>
Content: <?php echo $record['content'] ?><br/>
Link: <?php echo $record['link'] ?><br/>
_link : <a href="<?php echo $record['_link'] ?>"><?php echo $record['_link'] ?></a><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'] ?>" width="<?php echo $upload['thumbWidth'] ?>" height="<?php echo $upload['thumbHeight'] ?>" alt="" /><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 -->


<hr/>
<?php endforeach ?>

<?php if (!$jquery_bannersRecords): ?>
No records were found!<br/><br/>
<?php endif ?>
<!-- /STEP2: Display Records -->
Thanks



Craig

KC Media Solutions

www.kcmedia.biz

Re: [kcmedia] Jquery slider issue

By Jason - June 23, 2011

Hi Craig,

Is it just that the images aren't showing up or that you are getting an error?

Would you be able to provide a link to a page where the slider is working, and a link to a page where it isn't so we can look for difference?

Hope this helps.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Jason] Jquery slider issue

By KCMedia - June 23, 2011

Hi Jason

here is the link to where the slider is working www.kcmedia.biz/index.php
www.kcmedia.biz/test.php this is the link where it isnt working.

also have attached both pages code
Thanks



Craig

KC Media Solutions

www.kcmedia.biz
Attachments:

index_039.php 14K

test_016.php 11K

Re: [kcmedia] Jquery slider issue

By Jason - June 23, 2011

Hi Craig,

Awesome! Glad to hear everything is working for you now.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/