Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter alofear

    (@alofear)

    Found out you need to have the swf file on the root dir, and not the theme dir.

    Thread Starter alofear

    (@alofear)

    Sorry it took me so long to reply back.

    the flash isn’t being added as content on the web editor, I am coding it onto the PHP page itself.

    I’m currently trying to do the same with EC3, anyone know the answer?

    Thread Starter alofear

    (@alofear)

    just found it!

    https://www.ads-software.com/support/topic/264078?replies=12

    <?php echo do_shortcode(‘[mappress]’); ?>

    Thread Starter alofear

    (@alofear)

    when i copy and paste the code that is generated from the web and create a new page with the content it works!…. but I would prefer for the dynamic content to work…

    link to working test site

    https://mainebound.com/test_hrpi/wp-content/themes/hrpi/test2.php

    link to the not working dynamic page

    https://mainebound.com/test_hrpi/

    code of the dynamic page

    <?php get_header(); ?>
    <link href="style.css" rel="stylesheet" type="text/css" />
    
    <div id="main_bg">
    <div id="main">
    <div class="contentwrapper_clear">
    <div class="three_px_space"></div><div id="left_feed"><div class="accent_header_text">Upcoming Events</div><div id="left_feed_content">example</div></div>
    <div id="flash"><script src="<?php bloginfo('template_url'); ?>/Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
    <script type="text/javascript">
    AC_FL_RunContent( 'codebase','https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','560','height','290','wmode','transparent','music_on','0','src','<?php bloginfo('template_url'); ?>/flash/header','quality','high','pluginspage','https://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','<?php bloginfo('template_url'); ?>/flash/header' ); //end AC code
    </script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="560" height="290">
      <param name="movie" value="<?php bloginfo('template_url'); ?>/flash/header.swf">
      <param name="quality" value="high">
      <param name="wmode" value="transparent" />
      <param name="music_on" value="0" /><param name="SCALE" value="noborder">
      <embed src="<?php bloginfo('template_url'); ?>/flash/header.swf" width="560" height="290" quality="high" allowScriptAccess="sameDomain"  pluginspage="https://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" wmode="transparent" music_on="0" scale="noborder"></embed>
    </object>
    </noscript></div>
    </div>
    <div class="cleared"></div>
    <div class="main_divider"></div>
    <div class="contentwrapper">
    
    <div class="topPost"><div id="right_feed"><div class="accent_header_text">Blog</div><div id="right_feed_content"><?php include (TEMPLATEPATH . "/recentupdates.php"); ?></div></div>
      <h2 class="topTitle">Welcome</h2>
      <div class="topContent">example text</div>
    <div class="cleared"></div>
    </div> <!-- Closes topPost -->
    
    </div> <!-- Closes contentwrapper-->
    <div class="three_px_space"></div>
    
    <div class="cleared"></div>
    
    </div></div><!-- Closes Main -->
    
    <?php get_footer(); ?>
    Thread Starter alofear

    (@alofear)

    still no luck :-/

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    
    <html xmlns="https://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"  />
    <title>HR Partners International - Your People are Our Business!</title>
    <meta name="generator" content="WordPress 2.8.6" />
    <meta name="robots" content="follow, all" />
    <link rel="stylesheet" href="https://mainebound.com/test_hrpi/wp-content/themes/hrpi/style.css" type="text/css" media="screen" />
    <link rel="alternate" type="application/rss+xml" title="HR Partners International RSS Feed" href="https://mainebound.com/test_hrpi/feed/" />
    <link rel="pingback" href="https://mainebound.com/test_hrpi/xmlrpc.php" />
    <meta name='robots' content='noindex,nofollow' />
    <script type='text/javascript' src='https://mainebound.com/test_hrpi/wp-includes/js/swfobject.js?ver=2.1'></script>
    
    <link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://mainebound.com/test_hrpi/xmlrpc.php?rsd" />
    <link rel="wlwmanifest" type="application/wlwmanifest+xml" href="https://mainebound.com/test_hrpi/wp-includes/wlwmanifest.xml" />
    <link rel='index' title='HR Partners International' href='https://mainebound.com/test_hrpi' />
    <meta name="generator" content="WordPress 2.8.6" />
    
    <!-- this product is released under General Public License. Please see the attached file for details. You can also find details about the license at https://www.opensource.org/licenses/gpl-license.php -->
    
    <script type="text/javascript"><!--//--><![CDATA[//><!--
    sfHover = function() {
    	if (!document.getElementsByTagName) return false;
    	var sfEls = document.getElementById("nav").getElementsByTagName("li");
    
    	for (var i=0; i<sfEls.length; i++) {
    		sfEls[i].onmouseover=function() {
    			this.className+=" sfhover";
    		}
    		sfEls[i].onmouseout=function() {
    			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
    		}
    	}
    
    }
    if (window.attachEvent) window.attachEvent("onload", sfHover);
    //--><!]]></script>
    
    <!--[if lt IE 8]>
    <link href="https://mainebound.com/test_hrpi/wp-content/themes/hrpi/ie.css" rel="stylesheet" type="text/css" />
    <![endif]-->
    
    <!--[if lt IE 7]>
    <link href="https://mainebound.com/test_hrpi/wp-content/themes/hrpi/ie6.css" rel="stylesheet" type="text/css" />
    <script src="https://ie7-js.googlecode.com/svn/version/2.0(beta3)/IE7.js" type="text/javascript"></script>
    <![endif]-->
    
    <link href="style.css" rel="stylesheet" type="text/css" />
    </head>
    
    <body>
    <div id="header_bg">
    <div id="hrpi_body">
    <div id="header_top">
    </div>
    <div id="header_left">
    </div>
    <div id="header_middle"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td valign="bottom"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
    
            <td><a href="https://mainebound.com/test_hrpi"><img src="https://mainebound.com/test_hrpi/wp-content/themes/hrpi/images/hr_header.jpg" alt="HR Partners International" width="678" height="106" border="0" align="left" /></a></td>
            <td><img src="https://mainebound.com/test_hrpi/wp-content/themes/hrpi/images/hr_hotline_link.jpg" alt="HR Hotline" align="right" /></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td height="27" valign="bottom"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="11" height="26" background="https://mainebound.com/test_hrpi/wp-content/themes/hrpi/images/nav_top_left.jpg">&nbsp;</td>
    
            <td background="https://mainebound.com/test_hrpi/wp-content/themes/hrpi/images/nav_top_bg.jpg"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td class="hrpi_space"></td>
        <td width="710"><div id="catnav">
    <ul id="nav">
      <li><a href="https://mainebound.com/test_hrpi">Home</a></li>
      <li>| </li><li class="page_item page-item-3"><a href="https://mainebound.com/test_hrpi/services/" title="Services">Services</a></li>
    <li>| </li><li class="page_item page-item-5"><a href="https://mainebound.com/test_hrpi/seminars/" title="Seminars">Seminars</a>
    
    <ul>
    	<li class="page_item page-item-13"><a href="https://mainebound.com/test_hrpi/seminars/first-thursdays/" title="First Thursday’s">First Thursday’s</a></li>
    </ul>
    </li>
    <li>| </li><li class="page_item page-item-7"><a href="https://mainebound.com/test_hrpi/services-2/" title="HR Career Network">HR Career Network</a></li>
    <li>| </li><li class="page_item page-item-10"><a href="https://mainebound.com/test_hrpi/resources/" title="Resources">Resources</a></li>
    <li>| </li><li class="page_item page-item-2"><a href="https://mainebound.com/test_hrpi/about/" title="About">About</a></li>
    </ul>
    
    </div></td>
        <td class="hrpi_space"></td>
      </tr>
    </table>
    </td>
            <td width="8" height="26" background="https://mainebound.com/test_hrpi/wp-content/themes/hrpi/images/nav_top_right.jpg">&nbsp;</td>
          </tr>
        </table></td>
      </tr>
    </table>
    
    </div>
    <div id="header_right">
    </div>
    
    </div>
    </div>
    
    <div id="wrapper">
    
    <div class="cleared"></div>
    
    <link href="style.css" rel="stylesheet" type="text/css" />
    
    <div id="main_bg">
    <div id="main">
    <div class="contentwrapper_clear">
    
    <div class="three_px_space"></div><div id="left_feed"><div class="accent_header_text">Upcoming Events</div><div id="left_feed_content">example</div></div>
    <div id="flash"><script src="https://mainebound.com/test_hrpi/wp-content/themes/hrpi/Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
    <script type="text/javascript">
    AC_FL_RunContent( 'codebase','https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','560','height','290','wmode','transparent','music_on','0','src','https://mainebound.com/test_hrpi/wp-content/themes/hrpi/flash/header','quality','high','pluginspage','https://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','https://mainebound.com/test_hrpi/wp-content/themes/hrpi/flash/header' ); //end AC code
    </script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="560" height="290">
      <param name="movie" value="https://mainebound.com/test_hrpi/wp-content/themes/hrpi/flash/header.swf">
      <param name="quality" value="high">
      <param name="wmode" value="transparent" />
      <param name="music_on" value="0" /><param name="SCALE" value="noborder">
      <embed src="https://mainebound.com/test_hrpi/wp-content/themes/hrpi/flash/header.swf" width="560" height="290" quality="high" allowScriptAccess="sameDomain"  pluginspage="https://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" wmode="transparent" music_on="0" scale="noborder"></embed>
    </object>
    </noscript></div>
    </div>
    <div class="cleared"></div>
    <div class="main_divider"></div>
    <div class="contentwrapper">
    
    <div class="topPost"><div id="right_feed"><div class="accent_header_text">Blog</div><div id="right_feed_content"><ul id="sidebar_updates">
        <li><strong>November 24, 2009</strong><br /><a href="https://mainebound.com/test_hrpi/2009/11/hello-world/" rel="bookmark">Hello world!</a></br></li>
    
    </ul>
    </div></div>
      <h2 class="topTitle">Welcome</h2>
      <div class="topContent">example text</div>
    <div class="cleared"></div>
    </div> <!-- Closes topPost -->
    
    </div> <!-- Closes contentwrapper-->
    <div class="three_px_space"></div>
    
    <div class="cleared"></div>
    
    </div></div><!-- Closes Main -->
    
    <div id="hrpi_body">
    <table width="852" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td bgcolor="#495c84"><table width="852" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="25" background="https://mainebound.com/test_hrpi/wp-content/themes/hrpi/images/background_left_repeat.jpg" style="background-position:right;">&nbsp;</td>
            <td width="2"></td>
            <td width="798px" height="61" valign="top" background="https://mainebound.com/test_hrpi/wp-content/themes/hrpi/images/footer_bg.png"><ul id="nav_footer">
    
      <li><a href="https://mainebound.com/test_hrpi">Home</a></li>
      <li>| </li><li class="page_item page-item-3"><a href="https://mainebound.com/test_hrpi/services/" title="Services">Services</a></li>
    <li>| </li><li class="page_item page-item-5"><a href="https://mainebound.com/test_hrpi/seminars/" title="Seminars">Seminars</a></li>
    <li>| </li><li class="page_item page-item-7"><a href="https://mainebound.com/test_hrpi/services-2/" title="HR Career Network">HR Career Network</a></li>
    <li>| </li><li class="page_item page-item-10"><a href="https://mainebound.com/test_hrpi/resources/" title="Resources">Resources</a></li>
    <li>| </li><li class="page_item page-item-2"><a href="https://mainebound.com/test_hrpi/about/" title="About">About</a></li>
    
    </ul><div id="footer">Copyright &copy; 2009 HR Partners International, Inc. All Rights Reserved.<br />
    Site designed by <a href="https://vtechdirect.com/" target="_blank">VTechDirect, LLC</a></div></td>
            <td width="2"></td>
            <td width="25" background="https://mainebound.com/test_hrpi/wp-content/themes/hrpi/images/background_right_repeat.jpg" style="background-position:left;">&nbsp;</td>
          </tr>
        </table></td>
      </tr>
    
      <tr>
        <td width="852" height="14" background="https://mainebound.com/test_hrpi/wp-content/themes/hrpi/images/background_footer.jpg"  style="background-position:top center;"></td>
      </tr>
    </table>
    </div>
    
    <!-- Closes morefoot -->
    <!-- Closes footer -->
    
    </div>
    <!-- Closes wrapper -->
    
    </body>
    </html>
    Thread Starter alofear

    (@alofear)

    it should be

    https://mainebound.com/test_hrpi/wp-content/themes/hrpi/flash/header.swf

    i just changed

    <?php echo get_bloginfo(‘template_directory’); ?>/flash/flash/header.swf

    to

    <?php echo get_bloginfo(‘template_directory’); ?>/flash/header.swf

    (Still not working)

    Thread Starter alofear

    (@alofear)

    if you want to display the date and the title of the posts, I like to use this code

    <ul id="sidebar_updates">
    <?php
        $recentPosts = new WP_Query();
        $recentPosts->query('showposts=5');
    ?>
    <?php while ($recentPosts->have_posts()) : $recentPosts->the_post(); ?>
        <li><strong><?php the_time('F j, Y'); ?></strong><br /><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></br></li>
    <?php endwhile; ?>
    </ul>

    save that as “recentupdates.php” and to call it on the page use

    <?php include (TEMPLATEPATH . "/recentupdates.php"); ?>

    basic CSS

    #sidebar_updates {
    	  padding:0;
    	  margin:0;
    	  }
    	#sidebar_updates li {
    	  list-style-type:none; padding-bottom:4px; padding-top:2px; font-size:12px;
    	  }

Viewing 9 replies - 1 through 9 (of 9 total)