Please make sure that you have read the documentation and extensive resources provided on this site before posting your question!
Dynamic Content Gallery Resources
DCG Version 4.0 beta is now available for download and testing. This is a development version and not recommended for live sites. Read more here.
Note that the current stable release of the DCG is version 3.3.5.
Topic RSS
closed
9:27 am
Hello All–
DCG is a beautiful plugin and works perfectly for me in my template. I, however, and trying to develop some pages outside of the template environment to act as a static homepage.
In order to render DCG, I have added the required javascripts, css, and the required function.
In the source, no errors are rendering and the content IS being pulled from the database properly (appearing in the source).
DCG version is 3.3.5
Wordpress version 3.1
Settings in DCG (as I have thoroughly read your FAQs and configuration guides):
Load Scripts – Home page only (since I MANUALLY inserted the scripts into the static page… I did test to ensure OTHER wouldn't change my result and it did not)
Box is checked to show source page errors
I am really stumped! I really, really appreciate any help you can offer. Any clues?
If you'd like to see it in the live environment, it is at http://www.cesibeta.com/home1.php with username: guesswhat and password: chickenbutt
Again, DCG does work perfectly for me within the template: http://www.cesibeta.com (again, username: guesswhat and password: chickenbutt )
My code for this page is:
/**
* Front to the WordPress application. This file doesn't do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*/
/**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define('WP_USE_THEMES', false);
/** Loads the WordPress Environment and Template */
require('./wp-blog-header.php');
require('./wp-load.php');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitiona…..t;>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Untitled Document</title>
<link rel="stylesheet" type="text/css" media="all" href="elements/css/base.css" />
<link rel="stylesheet" type="text/css" media="all" href="elements/css/home.css" />
<link rel="shortcut icon" href="elements/img/favicon.png" type="image/png"/>
<link rel="alternate" type="application/rss+xml" title="CESI Debt Solutions | DebtBusters Blog » Feed" href="http://cesibeta.com/feed/" />
<link rel="alternate" type="application/rss+xml" title="CESI Debt Solutions | DebtBusters Blog » Comments Feed" href="http://cesibeta.com/comments/feed/" />
<!–[if lte IE 6]>
<link rel="stylesheet" media="screen" type="text/css"
href="elements/css/ie6.css" />
<![endif]–>
<script type="text/javascript" src="elements/js/jquery.js"></script>
<script type="text/javascript" src="elements/js/base.js"></script>
<script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
<!– Dynamic Content Gallery plugin version 3.3.5 http://www.studiograsshopper.ch Begin scripts –>
<link type="text/css" rel="stylesheet" href="http://cesibeta.com/wp-content/plugins/dynamic-con….." />
<script type="text/javascript" src="http://cesibeta.com/wp-content/plugins/dynamic-con…..pt>
<script type="text/javascript" src="http://cesibeta.com/wp-content/plugins/dynamic-con…..pt>
<script type="text/javascript" src="http://cesibeta.com/wp-content/plugins/dynamic-con…..pt>
<script type="text/javascript" src="http://cesibeta.com/wp-content/plugins/dynamic-con…..pt>
<script type="text/javascript">
function startGallery() {
var myGallery = new gallery($("myGallery"), {
showArrows: true,
showCarousel: true,
showInfopane: true,
timed: true,
delay: 9000,
defaultTransition: "fade",
slideInfoZoneOpacity: 0.7,
slideInfoZoneSlide: true,
textShowCarousel: "Featured Articles"
});
}
window.addEvent("domready",startGallery);
</script>
<style type="text/css">
.imageElement {
visibility: hidden;
}
#myGallery, #myGallerySet, #flickrGallery {
background: #000 url('http://cesibeta.com/wp-content/plugins/dynamic-con…..-black.gif') no-repeat center;
border: 0px solid #000000;
height: 250px;
width: 300px;
}
.jdGallery .slideInfoZone {
background-color: #000000 !important;
height: 50px;
}
.jdGallery .slideInfoZone h2 {
color: #FFFFFF !important;
font-size: 12px !important;
font-weight: bold !important;
margin: 2px 5px !important;
padding: 0px 0px !important;
}
.jdGallery .slideInfoZone p {
color: #FFFFFF !important;
font-size: 11px !important;
line-height: 14px !important;
margin: 2px 5px !important;
padding: 0px 0px !important;
}
.jdGallery .slideInfoZone p a, .jdGallery .slideInfoZone p a:link, .jdGallery .slideInfoZone p a:visited {
color: #FFFFFF !important;
font-weight:normal !important;
}
.jdGallery .slideInfoZone p a:hover {
color: #FFFFFF !important;
font-weight:bold !important;
}
.jdGallery .slideElement {
background-color: #000000;
}
</style><!– End of Dynamic Content Gallery scripts –>
</head>
<body>
<div id="wrapper">
<div id="container">
<div id="header">
<div id="contact">
<p>Have Questions? Call us: <span id="phone">888.484.5373</span></p>
<a href="#"><img src="elements/img/btn-header-call.gif" alt="Get a call back" id="call" /></a>
<a href="#"><img src="elements/img/btn-header-chat.gif" alt="Chat online with a counselor" id="chat" /></a>
</div>
<p><a href="index.html"><img src="elements/img/header-logo.gif" alt="CESI" id="logo" /></a></p>
<div id="nav">
<ul>
<li><a href="services.html">Services</a></li>
<li><a href="about-cesi.html">About</a></li>
<li><a href="#">Debt Management</a></li>
<li><a href="#">Education</a></li>
<li><a href="#">My Account</a></li>
</ul>
</div>
<div class="form_container">
<div class="div_from">
<div class="div_row" align="center">
<img src="elements/img/over.jpg" alt="Over" title="Over" />
</div>
<div class="div_row smalltxt" align="center">
Right away, we’ll resolve it together. CESI has helped thousands of families turn things around. See if CESI is right for you. <br />
<strong>Contact us for a Free Assessment! </strong></div>
<div class="div_row fromtext">
<form name="TurnThingsArounc" action="process.php" method="POST" enctype="multipart/form-data">
<table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr>
<td width="38%" valign="top"><strong>Name:</strong></td>
<td width="62%" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><input name="firstname" type="text" class="input_text2" id="firstname" size="15" /></td>
<td><input name="lastname" type="text" class="input_text2" id="lastname" size="15" /></td>
</tr>
<tr>
<td align="left">(First Name)</td>
<td align="left"> (Last Name)</td>
</tr>
</table></td>
</tr>
<tr>
<td valign="top"><strong>Email Address:<br />
</strong><a href="http://cesidebtsolutions.org/privacy/">(privacy policy)</a><strong> </strong></td>
<td valign="top"><input name="email" type="text" class="input_text" id="email" size="25" /></td>
</tr>
<tr>
<td><strong>Phone Number:</strong></td>
<td><input name="homephone" type="text" class="input_text" id="homephone" size="25" /></td>
</tr>
<tr>
<td><strong>State:</strong><br />
(US only)</td>
<td><select name="state" class="input_text"> <option value="AL" selected="selected" id="USA-AL">Alabama (AL)</option>
<option id="USA-AK" value="AK">Alaska (AK)</option>
<option id="USA-AZ" value="AZ">Arizona (AZ)</option>
<option id="USA-AR" value="AR">Arkansas (AR)</option>
<option id="USA-CA" value="CA">California (CA)</option>
<option id="USA-CO" value="CO">Colorado (CO)</option>
<option id="USA-CT" value="CT">Connecticut (CT)</option>
<option id="USA-DE" value="DE">Delaware (DE)</option>
<option id="USA-DC" value="DC">District of Columbia (DC)</option>
<option id="USA-FL" value="FL">Florida (FL)</option>
<option id="USA-GA" value="GA">Georgia (GA)</option>
<option id="USA-GU" value="GU">Guam (GU)</option>
<option id="USA-HI" value="HI">Hawaii (HI)</option>
<option id="USA-ID" value="ID">Idaho (ID)</option>
<option id="USA-IL" value="IL">Illinois (IL)</option>
<option id="USA-IN" value="IN">Indiana (IN)</option>
<option id="USA-IA" value="IA">Iowa (IA)</option>
<option id="USA-KS" value="KS">Kansas (KS)</option>
<option id="USA-KY" value="KY">Kentucky (KY)</option>
<option id="USA-LA" value="LA">Louisiana (LA)</option>
<option id="USA-ME" value="ME">Maine (ME)</option>
<option id="USA-MD" value="MD">Maryland (MD)</option>
<option id="USA-MA" value="MA">Massachusetts (MA)</option>
<option id="USA-MI" value="MI">Michigan (MI)</option>
<option id="USA-MN" value="MN">Minnesota (MN)</option>
<option id="USA-MS" value="MS">Mississippi (MS)</option>
<option id="USA-MO" value="MO">Missouri (MO)</option>
<option id="USA-MT" value="MT">Montana (MT)</option>
<option id="USA-NE" value="NE">Nebraska (NE)</option>
<option id="USA-NV" value="NV">Nevada (NV)</option>
<option id="USA-NH" value="NH">New Hampshire (NH)</option>
<option id="USA-NJ" value="NJ">New Jersey (NJ)</option>
<option id="USA-NM" value="NM">New Mexico (NM)</option>
<option id="USA-NY" value="NY">New York (NY)</option>
<option id="USA-NC" value="NC">North Carolina (NC)</option>
<option id="USA-ND" value="ND">North Dakota (ND)</option>
<option id="USA-OH" value="OH">Ohio (OH)</option>
<option id="USA-OK" value="OK">Oklahoma (OK)</option>
<option id="USA-OR" value="OR">Oregon (OR)</option>
<option id="USA-PA" value="PA">Pennyslvania (PA)</option>
<option id="USA-PR" value="PR">Puerto Rico (PR)</option>
<option id="USA-RI" value="RI">Rhode Island (RI)</option>
<option id="USA-SC" value="SC">South Carolina (SC)</option>
<option id="USA-SD" value="SD">South Dakota (SD)</option>
<option id="USA-TN" value="TN">Tennessee (TN)</option>
<option id="USA-TX" value="TX">Texas (TX)</option>
<option id="USA-UT" value="UT">Utah (UT)</option>
<option id="USA-VT" value="VT">Vermont (VT)</option>
<option id="USA-VA" value="VA">Virginia (VA)</option>
<option id="USA-VI" value="VI">Virgin Islands (VI)</option>
<option id="USA-WA" value="WA">Washington (WA)</option>
<option id="USA-WV" value="WV">West Virginia (WV)</option>
<option id="USA-WI" value="WI">Wisconsin (WI)</option>
<option id="USA-WY" value="WY">Wyoming (WY)</option></select></td>
</tr>
<tr>
<td><strong>Amount of Debt:</strong></td>
<td><select name="DMPDebtRangeID" id="DMPDebtRangeID" class="input_text"> <option id="2499" value="2499">Less than $2,500</option>
<option id="2500" value="2500">$2,500-$4,999</option>
<option value="5000" selected="selected" id="5000">$5,000-$10,000</option>
<option id="15000" value="15000">$10,001-$20,000</option>
<option id="25000" value="25000">$20,001-$50,000</option>
<option id="50001" value="50001">More than $50,000</option>
</select>
<input type="hidden" id="advertisingid" name="advertisingid" value="20" />
</td>
</tr>
<tr>
<td colspan="2" align="center"><input name="button" type="submit" class="btn" id="button" value="" /></td>
</tr>
</table>
<p> </p>
<p> </p>
</form>
</div>
</div>
</div>
<div id="video_container">
<object width="490" height="330" class="homepgmovie"><param name="movie" value="http://www.youtube-nocookie.com/v/164cNrDi1xs?fs=1…..;<param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube-nocookie.com/v/164cNrDi1xs?fs=1….." width="490" height="330" class="video" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true"></embed></object></div>
<table class="four_col four_col_home">
<tr>
<th>Who We Are</th>
<th>Connect With Us</th>
<th><a href=""><img src="elements/img/icon-rss.gif" class="rss_icon" alt="RSS" /></a>Latest Blogs</th>
</tr>
<tr>
<td align="center" valign="top">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="360" height="275" hspace="0" vspace="0" align="left" id="FlashID" title="Who We are Flash">
<param name="movie" value="elements/swf/index.swf" />
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
<param name="swfversion" value="9.0.45.0" />
<!– This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. –>
<param name="expressinstall" value="Scripts/expressInstall.swf" />
<!– Next object tag is for non-IE browsers. So hide it from IE using IECC. –>
<!–[if !IE]>–>
<object data="elements/swf/index.swf" type="application/x-shockwave-flash" width="360" height="275" hspace="0" vspace="0" align="left">
<!–<![endif]–>
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
<param name="swfversion" value="9.0.45.0" />
<param name="expressinstall" value="Scripts/expressInstall.swf" />
</object>
<!–<![endif]–>
</object>
</td>
<td align="center" valign="top"><script src="http://widgets.twimg.com/j/2/widget.js">&l…..pt>
<script>
new TWTR.Widget({
version: 2,
type: 'profile',
rpp: 15,
interval: 6000,
width: 150,
height: 200,
theme: {
shell: {
background: '#6167a2',
color: '#ffffff'
},
tweets: {
background: '#b4cd95',
color: '#000000',
links: '#685c53'
}
},
features: {
scrollbar: true,
loop: false,
live: true,
hashtags: true,
timestamp: true,
avatars: false,
behavior: 'all'
}
}).render().setUser('cesidebt').start();
</script></td><td><?php dynamic_content_gallery(); ?></td>
</tr>
</table>
</div>
<div id="callouts">
<div class="callout_home">
<h3>About Us</h3>
<p>CESI is a not-for-profit organization for consumers in search of financial independence and freedom from debt.</p>
<p>We offer a wide range of services from debt management to credit counseling to financial education. And We're dedicated to helping you find the debt solutions that work for your situation.</p>
<ul id="about_nav">
<li><a href="http://cesidebtsolutions.org/why_cesi/">Why CESI?</a></li>
<li><a href="http://cesidebtsolutions.org/message_from_ceo/&quo…..gt;Message from our CEO</a></li>
<li><a href="http://cesibeta.com/?cat=124">News and Press</a></li>
<li><a href="http://cesidebtsolutions.org/contact_us/">Contact Us</a></li>
</ul>
</div>
<div class="clear"></div>
</div>
<div id="content">
<div id="left_col">
<div class="caption_box">
<h3><a href="#">Common Questions</a></h3>
<div class="inner">
<div class="caption_block">
<h4><a href="#">What is a debt management plan?</a></h4>
<a href="#"><img src="elements/img/home-icon-calc.gif" class="icon" alt="What is a debt management plan?" /></a>
<p>Lorem ipsum onsectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim</p>
</div>
<div class="caption_block">
<h4><a href="#">What is credit counseling?</a></h4>
<a href="#"><img src="elements/img/home-icon-chat.gif" class="icon" alt="What is credit counseling?" /></a>
<p>Lorem ipsum onsectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim</p>
</div>
<div class="caption_block">
<h4><a href="#">What should I look for in a debt management provider?</a></h4>
<a href="#"><img src="elements/img/home-icon-search.gif" class="icon" alt="What should I look for in a debt management provider?" /></a>
<p>Lorem ipsum onsectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim</p>
</div>
</div>
</div>
<div class="caption_box">
<h3>Connect With Us</h3>
<div class="inner">
<div class="caption_block">
<a href="#"><img src="elements/img/icon-twitter.gif" alt="Twitter" class="social" /></a>
<a href="#"><img src="elements/img/icon-youtube.gif" alt="YouTube" class="social" /></a>
<a href="#"><img src="elements/img/icon-facebook.gif" alt="Facebook" class="social" /></a>
</div>
</div>
</div>
</div>
<div id="right_col">
<h3 class="rss_header"><a href=""><img src="elements/img/icon-rss.gif" class="rss_icon" alt="RSS" /></a><a href="#">Financial Education</a></h3>
<img src="elements/img/home-money-man.jpg" alt="" class="float_left" />
<div class="financial_edu">
<h4><a href="#">Money management techniques</a></h4>
<p>Rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. <a href="#">Read more…</a></p>
</div>
<img src="elements/img/home-consumer-debt.jpg" alt="" class="float_left" />
<div class="financial_edu">
<h4><a href="#">What constitutes consumer debt?</a></h4>
<p>Tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod. Rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. <a href="#">Read more…</a></p>
</div>
<h3 class="rss_header"><a href=""><img src="elements/img/icon-rss.gif" class="rss_icon" alt="RSS" /></a><a href="#">Debtbuster Blog</a></h3>
<dl>
<dt><a href="#">Is a higher interest rate retroactive?</a></dt>
<dd>Lorem ipsum onsectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. <a href="#">Read more…</a></dd>
<dt><a href="#">Who is eligible for a debt consolidation loan?</a></dt>
<dd>Lorem ipsum onsectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. <a href="#">Read more…</a></dd>
<dt><a href="#">Lorem ipsum onsectetuer?</a></dt>
<dd>Lorem ipsum onsectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. <a href="#">Read more…</a></dd>
</dl>
</div>
<div class="clear"></div>
</div>
<div id="footer">
<p id="copyright">© 2009 CESI, Inc. All rights reserved.</p>
<p id="utility"><a href="#">State Disclosures</a> | <a href="#">Privacy</a> | <a href="#">Terms of Use</a> | <a href="#">Glossary</a> | <a href="#">Common Questions</a></p>
</div>
</div>
</div>
<script type="text/javascript">
<!–
swfobject.registerObject("FlashID");
//–>
</script>
</body>
</html>
11:26 am
August 25, 2008
OfflineLooks like a javascript conflict to me, probably with another plugin.
Most Users Ever Online: 28
Currently Online: nloronacele
12 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
johnbroome: 13
sjpeaches: 12
speedyp: 12
CherylMcL: 10
littlemerry: 8
lsnoei: 8
Member Stats:
Guest Posters: 770
Members: 1297
Moderators: 0
Admins: 1
Forum Stats:
Groups: 2
Forums: 7
Topics: 978
Posts: 4293
Newest Members: chargers3, jwhetstone, robert, Mak-Donuts, kilerb, Marian Bamboi
Moderators:
Administrators: Ade (2490)
Log In
Register
Home

Dynamic Content Gallery: Have you read the 
