Fork me on GitHub

Banner editing  Bottom

  • Hey all My site www.cgheaven.net has this banner i created.


    It uses a .jpeg format. I recently tried using a flash image in its place with the same filename. It wont show up. Can you guys please tell me what I have to change. If it may be the PHP code or what ever. What .php file should I look for and edit?



    edited by: source_unknown, Jan 03, 2007 - 09:57 AM
  • For including a flash video, you have to use a completely different HTML code. This can't be done with the standard banner module or an img HTML tag. Search the web for the right code.

    So, either make an HTML block with the right code, or hardcode the movie in your theme templates.

    --
    -- Teb
    -- Dutch Zikula Community


    Support questions in a Personal Message will be ignored. Use the forums at all times!
  • Iv got my code but I dont know where to put it? I would like to use it in a block but wont that just go under my existing banner?

    Code

    <PARAM NAME=movie VALUE="movie.swf">
    <PARAM NAME=quality VALUE=high>
    <PARAM NAME=bgcolor VALUE=#666666>

    <EMBED src="movie.swf" quality=high bgcolor=#666666  WIDTH=123 HEIGHT=321 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>




    edited by: source_unknown, Jan 03, 2007 - 01:26 PM
  • I am a bit confused by the term banner you use.

    Is it a banner? Do you use it through the Banner module? Count the hits, let it show for a maximum amount of time, and so on? Or is it just a flash movie that you want to add to your theme and let it be shown continuously, without an actual link behind it?

    In the latter case, you can edit your master.htm file (and the other templates like home.htm) and put in the code in the right place. Just look in the forums, where people ask to (for example) change the top image in the header for a standard theme. This is basically the same.

    --
    -- Teb
    -- Dutch Zikula Community


    Support questions in a Personal Message will be ignored. Use the forums at all times!
  • Im not using that banner module thing. I just want it to display a flash movie with NO link behind it. The image in my first post is the default image for the template. All I have doe is changed it in photoshop.

    -so what I want to do is-

    Remove the default template header image.....and replace it with a flash movie.



    edited by: source_unknown, Jan 03, 2007 - 02:17 PM
  • Exactly, that's what I said. And using a search in this forum with keywords "master.htm theme header" I found the following links:

    http://community.postnuke.com/module-Forum-viewtopic-topic-48158-start-0.htm#pid203184
    http://community.postnuke.com/module-Forum-viewtopic-topic-48095-start-0.htm#pid202811

    Make sure you also follow the instructions in
    http://community.postnuke.com/module-Forum-viewtopic-topic-49209-start-0.htm#pid208413

    --
    -- Teb
    -- Dutch Zikula Community


    Support questions in a Personal Message will be ignored. Use the forums at all times!
  • I read some of those links. The only thing in the template linking to the image is in styles.css I tried changing it from directing from head.gif to head.swf because I have a flash move of exactly the same name. Anyway I remembered that I need the special HTML code for my flash movie to be displayed. I am confused because there is nothing relating to head.gif in the master.htm, template.htm or any other of the .htm's. Template .htm has a link to styles.css so where would I put the code that makes flash images visible in HTML script?

    I tried

    Code

    td.head {
        background-image: url(../images/head.swf);
    }

    td.blockbg {
        background-image: url(../images/blockbg.gif);
    }

    td.footerbg {
        background-image: url(../images/footerbg.gif);
    }

    td.block2bg {
        background-image: url(../images/block2bg.gif);
    }
  • This is CSS / HTML knowledge, and there are lot of forums out there that should help you with that. Dive into those forums, as this is out of the scope of this one.


    For now, to get you started: Remove

    Code

    background-image: url(../images/head.swf);
    from your stylesheet, so that td.head is just an empty class definition: nothing between { and }.


    Add your swf code in master.htm and home.htm where you can read

    Code

    <td ... class="head" ... >
      ... HERE YOUR SWF CODE ...
      <param name=movie value="images/head.swf">
      <embed ...></embed>
     </td>
    and put head.swf in /themes/yourtheme/images

    --
    -- Teb
    -- Dutch Zikula Community


    Support questions in a Personal Message will be ignored. Use the forums at all times!
  • This is the only thing I found in home.html that is remotely close and it seems to be pointing to a tag.

    Code

    <td class="head" valign="middle" height="110">
        <table border="0" cellpadding="5" cellspacing="0" width="98%">
          <tr>
            <td width="50%"></td>
            <td width="50%"><!--[pnbannerdisplay]--></td>
          </tr>
  • the tag class would most likely be in your .css

    the pnbannerdisplay is the themes call to the banner module, thats where your banner goes but is that a banner or a logo? either way this seems like a them issue to me
  • I am so confused.
  • I already gave the answer. You see the td class="head", so add your code below like I suggested.

    Code

    <td class="head" valign="middle" height="110">
    HERE YOU PUT YOUR SWF CODE!!!
        <table border="0" cellpadding="5" cellspacing="0" width="98%">
          <tr>
            <td width="50%"></td>
            <td width="50%"><!--[pnbannerdisplay]--></td>
          </tr>

    You could even delete the table below (containing pnbannerdisplay) because you don't use it.

    --
    -- Teb
    -- Dutch Zikula Community


    Support questions in a Personal Message will be ignored. Use the forums at all times!
  • Flash is working now, But I get the error saying "flash movie not loaded...."

    Heres the code im using, Can you see anything wrong with it?

    The code is from http://www.verticalmoon.com/tutorials/general/flashhtml/flashhtml.htm

    Code

    <td class="head" valign="middle" height="110">

    <PARAM NAME=movie VALUE="www.cgheaven.net/themes/C-Sky-XTE/images/head.swf">
    <PARAM NAME=quality VALUE=high>
    <EMBED src="head.swf" quality=high WIDTH="770" HEIGHT="110"
    NAME=bannerflash" ALIGN="" TYPE="application/x-shockwave-flash"
    PLUGINSPAGE="
    http://www.macromedia.com/go/getflashplayer">
    </EMBED>

        <table border="
    0" cellpadding="5" cellspacing="0" width="98%">
          <tr>
            <td width="
    50%"></td>
            <td width="
    50%"><!--[pnbannerdisplay]--></td>
          </tr>




    edited by: source_unknown, Jan 04, 2007 - 12:09 PM
  • Put the correct path in the VALUE parameter:

    Code

    <param name=movie value="<!--[$imagepath]-->/head.swf">



    Put the correct path in the SRC parameter:

    Code

    <EMBED src="<!--[$imagepath]-->/head.swf" quality=high ... >



    And delete the table below, you don't need it. For the rest (aligning, centering, width, height, and so on), you're on your own, this is HTML knowledge and (again) goes out of the scope of this forum.



    edited by: Teb, Jan 04, 2007 - 03:14 PM

    --
    -- Teb
    -- Dutch Zikula Community


    Support questions in a Personal Message will be ignored. Use the forums at all times!
  • Thanks, Works now!



    edited by: source_unknown, Jan 04, 2007 - 04:22 PM

This list is based on users active over the last 60 minutes.