Forum

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.

Please consider registering
guest

Log In Register

Register | Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 3 characters - maximum search word length is 84 characters

Topic RSS
Trouble With Static Front Page Installation, DCG Error Message 4 Unresolvable
July 2, 2010
1:32 am
pdxgeek
Guest

First, thanks so much for the great plugin.

 

I'm using Wordpress 3.0, testing with MAMP in localhost. WP installation is in s subfolder called 'wp'

Ive installed your plugin successfully before(without static front page) but for some reason it's not working in this situation. 

1. I've got a static front page use case, using the onecolumn-page.php template

2. The ONLY thing I have inserted in the content field of the page at this point (in admin) is the DFC call: <?php dynamic_content_gallery(); ?>

3. I've tried moving the call to the onecolumn-page.php template without success, which is good because I need to have the DCG call in the page content field.

4. I've set up all parameters in the Settings panel.  I've got no validation errors at the top.

5. I'm using multiple categories. I've checked their ID's and named the images appropriately. I've checked that the path to the images folder is correct.

6. The ID of my static home page is 172, and I've restricted the script to that ID.

7. I'm getting a #4 error in the code even though I've a) checked the default images folder path, b) checked the names of the image files.

8. My default image folder path is http://localhost:8888/site folder name here]/wp/wp-content/uploads/featured-default/

9. My Category ID's are 1, 9, and 19

10. I have images in that folder named: 1.jpg, 9.jpg, and 19.jpg

11. I've tried de-activating ALL plugins except DCG and Exec-PHP(so I can insert the DCG call into the page content field) without success.

 

Thanks in advance for any assistance…Cry

 

July 2, 2010
2:10 am
pdxgeek
Guest

I'm also not getting the plugin's ERROR image at all…nothing.  It's like it's not there.  I thought I wasn;t even getting errors in the code because they were not even showing up in the code inspector(Chrome, developer tools)…which is VERY odd, but they are visible  on 'view source'….

 

But nothing on the page, nada…zip.

July 2, 2010
2:27 am
pdxgeek
Guest

ok, I created a test post containing one of the images, assigned it to every category, and it inserts into the post just fine, BUT

 

I also used the same URL for that image in the DCG image URL field, and …..STILL nothing shows up.  :(

July 2, 2010
2:31 am
pdxgeek
Guest

I tested wiothout plugins(except for DCG and PHP-Exec), but still thought it can't hurt to list my active plugins now:

(Text removed by admin – was screwing up forum formatting.)

 

July 2, 2010
3:37 am
pdxgeek
Guest

oh great… now I'm not even getting any error message in the code at all! So frustrating…without an error message and after checking and re-checking settings and setup I'm lost… :(

July 2, 2010
12:17 pm
Ade
Admin
Forum Posts: 2497
Member Since:
August 25, 2008
Offline

Hi,

Apologies for the delay in getting to you…

First – in the Restrict Scripts Settings, select Home Page – this should work when using a Static Front Page.

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?
July 2, 2010
4:42 pm
pdxgeek
Guest

First, thanks for the reply and no apology needed… you're under no obligation to assist me and based on what I can see on this forum(and most support forums online) people usually ask for help in ways that would make my eye twitch and want to crawl back into bed!… ;)

whoops, forgot to mention I tried that restict script to home page setting too. No go….but….that's where I have it set now.

———————————————–

So this is odd…

USING A TEST POST

1) I can now see the test post and associated feature image showing up in the code, but nothing is actually visible on the page… so with an image inserted in the post it's working, it's just not visible.  

RELYING ON DEFAULT IMAGES FOLDER

2) without an image inserted in the post I still get the #4 error so the DCG is choking on something related to the default image folder path… I just haven't been able to figure out what that problem is because a) my default images path is correct and absolute, and b) my images are named correctly from what I can tell. I will troubleshoot this more though…

 

Regardless, I'm pretty sure there's no reason(in CSS) that the DIV should be invisible, but I'll look into it.

 

UPDATE: ok, here's some interesting evidence…

when examining the code, my <div id="dfcg_images" class="galleryview"> has a property of "visibility:hidden"

Additionally, in my console, I'm getting a bunch of errors that seem to be around that area, most of which say:

"<a> misnested or not properly closed. Cloning <a> in order to preserve the styles applied by it."

OR

"Unmatched </p> encountered. Converting </p> into <p></p>."

BUT, one of them says:

"Uncaught TypeError: Object #<an Object> has no method 'galleryView'  "

 

July 2, 2010
7:23 pm
pdxgeek
Guest

hrm, yes the unclosed <p> an <a> tag warnings are definitely coming from the DCG code…

 

…and the warning about the:

Uncaught TypeError: Object #<an Object> has no method 'galleryView'

 

is obviously from the script line:

jQuery('#dfcg_images').galleryView({

 

so I guess boiled down, my two issues are:

1) why am I getting a #4 error when my defualt path and image names are correct?

2) why is my DCG invisible

 

To recap: My default images folder is at:

MAMP>htdocs>sitename>wp>wp-content>uploads>featured-default

 

My default images path under 'MULTI OPTION Settings' is:

http://localhost:8888/sitename/wp/wp-content/uploa…..d-default/

 

My Category ID's are: 1, 9, and 19

 

My image folder includes images named: 1.jpg, 9.jpg, and 19.jpg

July 3, 2010
4:59 pm
Ade
Admin
Forum Posts: 2497
Member Since:
August 25, 2008
Offline

Can you post your Page Source of your homepage?

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?
July 3, 2010
5:42 pm
pdxgeek
Guest

(Code removed by admin – formatting problem)

July 5, 2010
6:56 pm
Ade
Admin
Forum Posts: 2497
Member Since:
August 25, 2008
Offline
11

Have you ruled out a plugin conflict by disabling other plugins? Also, what's the image URL you have entered in the DCG Metabox for the first post to be shown in the DCG?

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?
July 5, 2010
7:32 pm
pdxgeek
Guest
12

Yep, I've tried disabling all plugins except DCG and PHP-Exec, and it was still invisible.  I'll double-check though again and post the code with just the two plugins on…

 

My default image folder path is:

http://localhost:8888/sitename/wp/wp-content/uploa…..d-default/

 

My Category ID's are 1, 9, and 19.  And I can see these images fine when I put the address into the browser:

http://localhost:8888/sitename/wp/wp-content/uploa…..ault/1.jpg

http://localhost:8888/sitename/wp/wp-content/uploa…..ault/9.jpg

http://localhost:8888/sitename/wp/wp-content/uploa…..ult/19.jpg

 

July 5, 2010
7:36 pm
pdxgeek
Guest
13

I rurned off all plugins except PHP-Exec and DCG, and it's still not visible. This is the code:

—————————————-

 

 

<!DOCTYPE html> 
<html dir="ltr" lang="en-US"> 
<head> 
<meta charset="UTF-8" /> 
 
<!– GOOGLE SITE VERIFICATION –> 
 
<!– YAHOO SITE EXPLORER –> 
 
<!– Google FONTS –> 
<link href='http://fonts.googleapis.com/css?family=Josefin+Sans+Std+Light' rel='stylesheet' type='text/css'> 
 
<title>sitename | Reefkeeping News &amp; Photography</title> 
<link rel="profile" href="http://gmpg.org/xfn/11" /> 
<link rel="stylesheet" type="text/css" media="all" href="http://localhost:8888/sitename/wp/wp-content/themes/sitename/style.css" /> 
<link rel="pingback" href="http://localhost:8888/sitename/wp/xmlrpc.php" /> 
<link rel="alternate" type="application/rss+xml" title="sitename &raquo; Feed" href="http://localhost:8888/sitename/feed/" /> 
<link rel="alternate" type="application/rss+xml" title="sitename &raquo; Comments Feed" href="http://localhost:8888/sitename/comments/feed/" /> 
<link rel="alternate" type="application/rss+xml" title="sitename &raquo; Home Comments Feed" href="http://localhost:8888/sitename/home-2/feed/" /> 
<script type='text/javascript' src='http://localhost:8888/sitename/wp/wp-includes/js/jquery/jquery.js?ver=1.4.2'></script> 
<script type='text/javascript' src='http://localhost:8888/sitename/wp/wp-includes/js/comment-reply.js?ver=20090102'></script> 
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://localhost:8888/sitename/wp/xmlrpc.php?rsd" /> 
<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://localhost:8888/sitename/wp/wp-includes/wlwmanifest.xml" /> 
<link rel='index' title='sitename' href='http://localhost:8888/sitename/' /> 
<link rel='prev' title='Contact' href='http://localhost:8888/sitename/contact/' /> 
<meta name="generator" content="WordPress 3.0" /> 
<link rel='canonical' href='http://localhost:8888/sitename/' /> 
 
<!– Dynamic Content Gallery plugin version 3.2.3 http://www.studiograsshopper.ch  Begin jQuery scripts –> 
<script type="text/javascript" src="http://localhost:8888/sitename/wp/wp-content/plugins/dynamic-content-gallery-plugin/js-jquery/scripts/jquery.easing.1.3.js"></script> 
<script type="text/javascript" src="http://localhost:8888/sitename/wp/wp-content/plugins/dynamic-content-gallery-plugin/js-jquery/scripts/jquery.timers-1.1.2.js"></script> 
<script type="text/javascript" src="http://localhost:8888/sitename/wp/wp-content/plugins/dynamic-content-gallery-plugin/js-jquery/scripts/jquery.galleryview-1.1.js"></script> 
 
 
<style type="text/css"> 
#dfcg_images { visibility: hidden; }
 
#dfcg_images h3 {
font-size: 14px !important;
font-weight: bold;
color: #FFFFFF;
padding: 0px 10px !important;
margin: 2px 5px !important;
background: none !important;
}
 
#dfcg_images p {
font-size: 12px !important;
color: #FFFFFF;
line-height: 14px !important;
padding: 0px 0px !important;
margin: 2px 5px !important;
}
 
#dfcg_images img {
border: 0;
}
#dfcg_images p a, #dfcg_images p a:link, #dfcg_images p a:visited {
color: #FFFFFF !important;
font-weight:normal !important;
}
#dfcg_images p a:hover {
color: #FFFFFF !important;
font-weight:bold !important;
}
</style> 
 
<script type='text/javascript'> 
jQuery.noConflict();
jQuery(document).ready(function(){
jQuery('#dfcg_images').galleryView({
     panel_width: 480,
     panel_height: 275,
overlay_height: 50,
overlay_opacity: 0.7,
overlay_color: '#000000',
overlay_position: 'bottom',
background_panel: '#ffffff',
     transition_speed: 1500,
     transition_interval: 9000,
     nav_theme: 'light',
     border: '0px solid #ffffff',
     pause_on_hover: true,
fade_panels: true
});
});
</script> 
<!– End of Dynamic Content Gallery plugin scripts –> 
<!– FAVICON –> 
<link rel="shortcut icon" type="image/x-icon" href="wp/wp-content/themes/sitename/images/favicon.png" /> 
<!– JQUERY –> 
<script type="text/javascript" src="http://www.google.com/jsapi"></script> 
<script type="text/javascript"> 
  // You may specify partial version numbers, such as "1" or "1.3",
  //  with the same result. Doing so will automatically load the 
  //  latest version matching that partial revision pattern 
  //  (e.g. 1.3 would load 1.3.2 today and 1 would load 1.4.1).
  google.load("jquery", "1.4.2");
  google.setOnLoadCallback(function() {
    // Place init code here instead of $(document).ready()
  });
</script> 
<!–MAIN SCRIPT–> 
<script type="text/javascript" src="wp/wp-content/themes/sitename/js/scripts.js"></script> 
<!– TARGET SPECIFIC BROWSERS AND ADD CLASS TO ROOT ELEMENT –> 
<script>(function(){try{ 
                var className = 'js loading not-ready'; 
                className += top === window ? ' not-framed' : ' framed'; 
                document.documentElement.className = className; 
                this.navigator = this.navigator || {}; 
                this.navigator.isIE = NaN; 
        }catch(e){}})();</script> 
        <!–[if !IE]>–><script>try{document.documentElement.className+=' not-ie'}catch(e){};navigator.isIE=NaN</script><!– <![endif]–> 
        <!–[if lt IE 6]>  <script>try{document.documentElement.className+=' ie5'}catch(e){};navigator.isIE=5</script><![endif]–> 
        <!–[if IE 6]>     <script>try{document.documentElement.className+=' ie6'}catch(e){};navigator.isIE=6</script><![endif]–> 
        <!–[if IE 7]>     <script>try{document.documentElement.className+=' ie7'}catch(e){};navigator.isIE=7</script><![endif]–> 
        <!–[if IE 8]>     <script>try{document.documentElement.className+=' ie8'}catch(e){};navigator.isIE=8</script><![endif]–> 
        <!–[if gte IE 9]> <script>try{document.documentElement.className+=' ie9'}catch(e){};navigator.isIE=9</script><![endif]–>     
</head> 
<body class="logged-in page-template-default page-template page-id-172 page home"> 
<div id="wrap"> 
<div id="header"> 
<div id="branding" role="banner"> 
<h1 id="site-title"> 
<span> 
<a href="http://localhost:8888/sitename/" title="sitename" rel="home">sitename</a> 
</span> 
</h1> 
<div id="site-description">Reefkeeping News &amp; Photography</div> 
<img src="" width="940" height="198" alt="" /> 
</div><!– #branding –> 
<div id="access" role="navigation"> 
  <div class="screen-reader-text skip-link"><a href="#content" title="Skip to content">Skip to content</a></div> 
<div class="menu-header"><ul id="menu-default" class="menu"><li id="menu-item-174" class="current_page_item page-item-172 page_item current-menu-item menu-item-type-post_type menu-item"><a href="http://localhost:8888/sitename/">Home</a></li> 
<li id="menu-item-21" class="menu-item-type-post_type menu-item"><a href="http://localhost:8888/sitename/blog/">News</a></li> 
<li id="menu-item-20" class="menu-item-type-post_type menu-item"><a href="http://localhost:8888/sitename/photography/">Photography</a></li> 
<li id="menu-item-19" class="menu-item-type-post_type menu-item"><a href="http://localhost:8888/sitename/livestock/">Livestock</a></li> 
<li id="menu-item-22" class="menu-item-type-post_type menu-item"><a href="http://localhost:8888/sitename/about/">About</a></li> 
<li id="menu-item-18" class="menu-item-type-post_type menu-item"><a href="http://localhost:8888/sitename/contact/">Contact</a></li> 
<li id="menu-item-5" class="menu-item-type-custom menu-item"><a href="http://feeds.feedburner.com/uxable">feed</a></li> 
<li id="menu-item-7" class="menu-item-type-custom menu-item"><a href="http://www.facebook.com/pages/sitename/144083501854">facebook</a></li> 
<li id="menu-item-6" class="menu-item-type-custom menu-item"><a href="http://www.twitter.com/sitename">twitter</a></li> 
</ul></div> </div><!– #access –> 
<!– BREADCRUMB XT –> 
<div class="breadcrumb"> 
</div> 
</div><!– #header –> 
        <div id="content" role="main"> 
<div id="post-172" class="hentry type-page page post-172"> 
<h2 class="entry-title">Home</h2> 
<div class="entry-content"> 
<div class="index-row1left"> 
<div id="dfcg_images" class="galleryview"><!– Start of Dynamic Content Gallery –></p> 
<div class="panel"><!– DCG Image #1 –><br /> 
<a href="http://localhost:8888/sitename/2010/06/10/vertex-lumina-led-review-surfaces-ignites-optics-debate/" rel="bookmark"><br /> 
<img src="http://localhost:8888/sitename/wp/wp-content/plugins/dynamic-content-gallery-plugin/error-img/error.jpg" alt="Vertex Lumina LED Review Surfaces, Ignites Optics Debate" /></p> 
<p><!– DCG Error Message 4: DCG Metabox Image URL is empty and Default Image does not exist. –><br /> 
<!– Rating: Non-critical. This error does not prevent the gallery from working properly. –><br /> 
<!– Fix: Enter an image URL in the DCG Metabox Image URL field for this Page/Post and/or define a Default Image in the DCG Settings page. –><br /> 
</a></p> 
<div class="panel-overlay"> 
<h3>Vertex Lumina LED Review Surfaces, Ignites Optics Debate</h3> 
<p>Yesterday evening, we received a link from long time reader The Dog Father, which directed us towards&hellip; <a href="http://localhost:8888/sitename/2010/06/10/vertex-lumina-led-review-surfaces-ignites-optics-debate/" rel="nofollow">[more]</a></p> 
</p></div> 
</div> 
<div class="panel"><!– DCG Image #2 –><br /> 
<a href="http://localhost:8888/sitename/2010/06/07/pictures-and-video-of-juvenile-ribbon-fish-first-ever-in-captivity/" rel="bookmark"><br /> 
<img src="http://localhost:8888/sitename/wp/wp-content/plugins/dynamic-content-gallery-plugin/error-img/error.jpg" alt="Pictures and Video of Juvenile Ribbon Fish, First Ever in Captivity?" /></p> 
<p><!– DCG Error Message 4: DCG Metabox Image URL is empty and Default Image does not exist. –><br /> 
<!– Rating: Non-critical. This error does not prevent the gallery from working properly. –><br /> 
<!– Fix: Enter an image URL in the DCG Metabox Image URL field for this Page/Post and/or define a Default Image in the DCG Settings page. –><br /> 
</a></p> 
<div class="panel-overlay"> 
<h3>Pictures and Video of Juvenile Ribbon Fish, First Ever in Captivity?</h3> 
<p>Photo by Mr. Yuzo Hirai.<br /> 
Just this past weekend some Japanese diver’s made a surprise catch–during&hellip; <a href="http://localhost:8888/sitename/2010/06/07/pictures-and-video-of-juvenile-ribbon-fish-first-ever-in-captivity/" rel="nofollow">[more]</a></p> 
</p></div> 
</div> 
<div class="panel"><!– DCG Image #3 –><br /> 
<a href="http://localhost:8888/sitename/2010/06/11/sea-turtle-films-its-journey-on-a-stolen-video-camera/" rel="bookmark"><br /> 
<img src="http://localhost:8888/sitename/wp/wp-content/plugins/dynamic-content-gallery-plugin/error-img/error.jpg" alt="Sea turtle films it’s journey on a stolen video camera" /></p> 
<p><!– DCG Error Message 4: DCG Metabox Image URL is empty and Default Image does not exist. –><br /> 
<!– Rating: Non-critical. This error does not prevent the gallery from working properly. –><br /> 
<!– Fix: Enter an image URL in the DCG Metabox Image URL field for this Page/Post and/or define a Default Image in the DCG Settings page. –><br /> 
</a></p> 
<div class="panel-overlay"> 
<h3>Sea turtle films it’s journey on a stolen video camera</h3> 
<p>When Dick de Bruin, a Dutchman, dropped his camera while scuba diving in Arube, he figured it was lost&hellip; <a href="http://localhost:8888/sitename/2010/06/11/sea-turtle-films-its-journey-on-a-stolen-video-camera/" rel="nofollow">[more]</a></p> 
</p></div> 
</div> 
</div> 
<p><!– End of Dynamic Content Gallery output –></p> 
</div> 
<div class="contentblock1 index-row1right"></div> 
<div class="contentblock1 index-row2left"></div> 
<div class="contentblock1 index-row2right"></div> 
<div class="contentblock1 index-row3left"></div> 
<div class="contentblock1 index-row3center"></div> 
<div class="contentblock1 index-row3right"></div> 
<span class="edit-link"><a class="post-edit-link" href="http://localhost:8888/sitename/wp/wp-admin/post.php?post=63&amp;action=edit" title="Edit Post">Edit</a></span> </div><!– .entry-content –> 
</div><!– #post-## –> 
<div id="comments"> 
<p class="nocomments">Comments are closed.</p> 
 
 
</div><!– #comments –> 
<div id="primary" class="widget-area" role="complementary"> 
<ul class="xoxo"> 
<li id="search-3" class="widget_search widget-container"><h3 class="widget-title"> </h3><div class="sidebar-wrap"><form role="search" method="get" id="searchform" action="http://localhost:8888/sitename/" > 
<div><label class="screen-reader-text" for="s">Search for:</label> 
<input type="text" value="" name="s" id="s" /> 
<input type="submit" id="searchsubmit" value="Search" /> 
</div> 
</form></div></li><li id="categories-3" class="widget_categories widget-container"><h3 class="widget-title"> </h3><div class="sidebar-wrap"><select name='cat' id='cat' class='postform' > 
<option value='-1'>Select Category</option> 
<option class="level-0" value="9">Equipment</option> 
<option class="level-1" value="12">&nbsp;&nbsp;&nbsp;Filtration</option> 
<option class="level-1" value="11">&nbsp;&nbsp;&nbsp;Lighting</option> 
<option class="level-1" value="10">&nbsp;&nbsp;&nbsp;Skimmers</option> 
<option class="level-0" value="19">Fish</option> 
<option class="level-0" value="1">News</option> 
</select> 
 
<script type='text/javascript'> 
/* <![CDATA[ */
var dropdown = document.getElementById("cat");
function onCatChange() {
if ( dropdown.options[dropdown.selectedIndex].value > 0 ) {
location.href = "http://localhost:8888/sitename/?cat="+dropdown.options[dropdown.selectedIndex].value;
}
}
dropdown.onchange = onCatChange;
/* ]]> */
</script> 
 
</div></li><li id="archives-3" class="widget_archive widget-container"><h3 class="widget-title"> </h3><div class="sidebar-wrap"> <select name="archive-dropdown" onchange='document.location.href=this.options[this.selectedIndex].value;'> <option value="">Select Month</option> <option value='http://localhost:8888/sitename/2010/06/'> June 2010 </option> 
<option value='http://localhost:8888/sitename/2010/05/'> May 2010 </option> 
<option value='http://localhost:8888/sitename/2010/04/'> April 2010 </option> 
<option value='http://localhost:8888/sitename/2010/03/'> March 2010 </option> 
<option value='http://localhost:8888/sitename/2010/02/'> February 2010 </option> 
 </select> 
</div></li> <li id="recent-posts-3" class="widget_recent_entries widget-container"> <h3 class="widget-title">Recent Posts</h3><div class="sidebar-wrap"> <ul> 
<li><a href="http://localhost:8888/sitename/2010/06/13/pseudoplesiops-rosae-the-rose-island-basslet/" title="Pseudoplesiops rosae, the Rose Island basslet">Pseudoplesiops rosae, the Rose Island basslet</a></li> 
<li><a href="http://localhost:8888/sitename/2010/06/12/the-danger-of-%e2%80%9cregurgitation%e2%80%9d/" title="The Danger of "Regurgitation"">The Danger of "Regurgitation"</a></li> 
<li><a href="http://localhost:8888/sitename/2010/06/11/happy-100th-jacques-yves-cousteau-father-of-scuba-diving/" title="Happy 100th, Jacques-Yves Cousteau, father of SCUBA  diving">Happy 100th, Jacques-Yves Cousteau, father of SCUBA  diving</a></li> 
<li><a href="http://localhost:8888/sitename/2010/06/11/eheim-powerscraper-is-a-motorized-algae-cleaning-blade/" title="Eheim Powerscraper is a motorized algae cleaning blade">Eheim Powerscraper is a motorized algae cleaning blade</a></li> 
<li><a href="http://localhost:8888/sitename/2010/06/11/reef-news-sparisoma-rocha-pristine-ocean-prodibio-face-lift/" title="Reef News | Sparisoma rocha, Pristine Ocean, Prodibio Face Lift">Reef News | Sparisoma rocha, Pristine Ocean, Prodibio Face Lift</a></li> 
</ul> 
</div></li><li id="text-3" class="widget_text widget-container"><h3 class="widget-title">Bookshelf</h3><div class="sidebar-wrap"> <div class="textwidget"><div id="ShelfariWidget140037"><a href='http://www.shelfari.com/'>Shelfari: Book reviews on your book blog</a><script src="http://www.shelfari.com/ws/140037/widget.js" type="text/javascript" language="javascript"></script><noscript><p>Share a <a href="http://www.shelfari.com/books">book review</a> on Shelfari, where this <a href="http://www.shelfari.com/">reader</a> meets fellow readers.</p></noscript></div></div> 
</div></li> </ul> 
<script src="http://widgets.twimg.com/j/2/widget.js"></script> 
<script> 
new TWTR.Widget({
  version: 2,
  type: 'profile',
  rpp: 30,
  interval: 6000,
  width: 'auto',
  height: 300,
  theme: {
    shell: {
      background: '#8EC46C',
      color: '#ffffff'
    },
    tweets: {
      background: '#ffffff',
      color: '#000000',
      links: '#8EC46C'
    }
  },
  features: {
    scrollbar: true,
    loop: true,
    live: true,
    hashtags: true,
    timestamp: true,
    avatars: false,
    behavior: 'default'
  }
}).render().setUser('sitename').start();
</script> 
 
<script src="http://widgets.twimg.com/j/2/widget.js"></script> 
<script> 
new TWTR.Widget({
  version: 2,
  type: 'list',
  rpp: 30,
  interval: 6000,
  title: 'Reef Voices',
  subject: '',
  width: 'auto',
  height: 300,
  theme: {
    shell: {
      background: '#8EC46C',
      color: '#ffffff'
    },
    tweets: {
      background: '#ffffff',
      color: '#000000',
      links: '#8EC46C'
    }
  },
  features: {
    scrollbar: true,
    loop: true,
    live: true,
    hashtags: true,
    timestamp: true,
    avatars: true,
    behavior: 'default'
  }
}).render().setList('sitename', 'widget').start();
</script> 
</div><!– #primary .widget-area –> 
       </div><!– #content –> 
<div id="footer" role="contentinfo"> 
 
<div id="site-info"> 
<a href="http://localhost:8888/sitename/" title="sitename" rel="home"> 
sitename </a> 
</div><!– #site-info –> 
 
<div id="site-generator"> 
<a href="http://wordpress.org/"
title="Semantic Personal Publishing Platform" rel="generator"> 
Proudly powered by WordPress. </a> 
</div><!– #site-generator –> 
</div><!– #footer –> 
</div><!– #main –> 
</body> 
</html>

 

 

July 5, 2010
8:49 pm
pdxgeek
Guest
14

Here's something odd… because I've used it in other sites that containt DCG and it wasn't an issue….

 

I have this call to Google for jQuery in my <head>:

 

 

<!– JQUERY –>
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">
  // You may specify partial version numbers, such as "1" or "1.3",
  //  with the same result. Doing so will automatically load the 
  //  latest version matching that partial revision pattern 
  //  (e.g. 1.3 would load 1.3.2 today and 1 would load 1.4.1).
  google.load("jquery", "1.4.2");
  google.setOnLoadCallback(function() {
    // Place init code here instead of $(document).ready()
  });
</script>
..and upon removing that call, the DCG becomes visible…although I'm still getting the error…
Unfortunately I need that jQuery call for other features, so I'm investigating more.

 

July 5, 2010
9:08 pm
pdxgeek
Guest
15

and yes, I have DCG se to use jQuery.

 

I just checked aother site I set up that uses DCG, and it also uses jQuery in the settings, and I have that link to Goolge's hosted jQuery in the <head> of that site and it's not a problem at all…

 

which leads me to believe something else is affecting the DCG in this site.

July 5, 2010
9:10 pm
pdxgeek
Guest
16

With the link to Google's hosted jQuery script removed(so DCG is visible but still getting error Message 4), I still get validation errors from W3C:

 

 

  1. Error Line 161, Column 183: The charset attribute on the link element is obsolete. Use an HTTP Content-Type header on the linked resource instead.

    …llery/css/jd.gallery.css.php" type="text/css" media="screen" charset="utf-8"/>

  2. Error Line 162, Column 176: The charset attribute on the link element is obsolete. Use an HTTP Content-Type header on the linked resource instead.

    …t-gallery/css/jd.gallery.css" type="text/css" media="screen" charset="utf-8"/>

  3. Error Line 229, Column 87: No p element in scope but a p end tag seen.

    …dfcg_images" class="galleryview"><!-- Start of Dynamic Content Gallery --></p>

  4. Error Line 232, Column 184: No p element in scope but a p end tag seen.

    …error.jpg" alt="Simple Elos E-Luxe Pendent Pairs Metal Halide with LED" /></p>

  5. Error Line 236, Column 5: End tag a violates nesting rules.

    </a></p>

  6. Error Line 236, Column 5: Cannot recover after last error. Any further errors will be ignored.

    </a></p>
July 6, 2010
7:19 pm
pdxgeek
Guest
17

ok, some odd developments…

 

now it doesn;t matter if I have the link to google's hosted jQuery or not, the DCG is invisible…

 

BUT… I uploaded it and the exact same code works remotely!?  Apparently it's just not working on my localhost installation but is working fine on the remote server, which makes no sense since the installations are identical.

 

And it really is a PITA that my category ID's locally and remotely are completely different…so I have to rename the images for them to work remotely…not sure whether that's something for you or Wordpress to remedy…

 

Still getting the following errors on validation though…

 

  1. Error Line 171, Column 87: No p element in scope but a p end tag seen.

    …"dfcg_images" class="galleryview"><!-- Start of Dynamic Content Gallery --></p>

  2. Error Line 175, Column 9: No p element in scope but a p end tag seen.

    </a></p>

  3. Error Line 179, Column 4: No p element in scope but a p end tag seen.

    </p></div>

  4. Error Line 183, Column 184: No p element in scope but a p end tag seen.

    …jpg" alt="Trade in coral and coral reef fish is growing – UPI.com" /></p>

  5. Error Line 187, Column 5: End tag a violates nesting rules.

    </a></p>

  6. Error Line 187, Column 5: Cannot recover after last error. Any further errors will be ignored.

    </a></p>
July 8, 2010
11:41 am
Ade
Admin
Forum Posts: 2497
Member Since:
August 25, 2008
Offline
18

Hi,

Sorry, I haven't had time to look closely at all the info you've posted. Obviously, it's really difficult for me to help troubleshoot this on a local install.

You mentioned that you hadn't had these problems with other DCG installs. So, what's different between this install and the one's that work?

Dynamic Content Gallery: Have you read the Configuration Guide and FAQ?
July 8, 2010
6:36 pm
pdxgeek
Guest
19

I'm still troubleshooting it… and looks like your forum cuts off the posts without wrapping the text?  I'm using Chrome.

 

The really strange thing is, it seems to work remotely (Godaddy) fine, just not working on localhost.

 

Any reason why you're getting all those incorrectly nested tags an unopened/unclosed tag warnings on validation?  Ever seen that before?

July 13, 2010
11:48 pm
pdxgeek
Guest
20

..not sure exactly what the issue is with the local/remote issue.  Could be something Chrome related.

 

Wondering about your thoughts on why the HTML pumped out doesn't seem to validate well… and why there are comments wrapped in <p> tags?

Forum Timezone: UTC 1

Most Users Ever Online: 28

Currently Online:
10 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

johnbroome: 13

speedyp: 12

sjpeaches: 12

CherylMcL: 10

gscorp: 8

lsnoei: 8

Member Stats:

Guest Posters: 770

Members: 1300

Moderators: 0

Admins: 1

Forum Stats:

Groups: 2

Forums: 7

Topics: 980

Posts: 4303

Newest Members: jochris26, eva-aa, Tushar, chargers3, jwhetstone, robert

Moderators:

Administrators: Ade (2497)