Forum Replies Created

Viewing 6 replies - 16 through 21 (of 21 total)
  • Thread Starter alienfactory

    (@alienfactory)

    it is locaked in {mytheme}/blocks/block-anchor-block.css

    Thread Starter alienfactory

    (@alienfactory)

    Awesome that worked Thanks!

    I am a bit confused how is it possible that a variable is echoing out with out any print or echo statement

    Thread Starter alienfactory

    (@alienfactory)

    here is my full code i dont seem to have any issue with the videourl which is just a text input type. the image1 is a image field type which is giving me the problems

    if i echo the variables i get this. the video urls look goos but image varialbes return number
    564340http: //www.youtube.com/embed/cbdAOYfsY2ohttp://www.alienfactory.comhttp://goolge.com

    <?php 
        $image1 = block_value( 'image-1' );
        $image2 = block_value( 'image-2' );
        $image3 = block_value( 'image-3' );
        $videourl1 = block_value( 'videourl1' );
        $videourl2 = block_value( 'videourl2' );
        $videourl3 = block_value( 'videourl3' );
    
    if( $image1 && $image2 == true ){ 
    ?>
    
    <!-- <p><?php  echo $image1.$image2.$image3.$videourl1   ?></p>  -->
    <div id="carousel-example-generic" class="carousel slide" data-ride="carousel" data-interval="7000">
        <!-- Indicators -->
        <ol class="carousel-indicators">
            <li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
            <li data-target="#carousel-example-generic" data-slide-to="1"></li>
            <li data-target="#carousel-example-generic" data-slide-to="2"></li>
        </ol>
        <!-- Wrapper for slides -->
    
        <div class="carousel-inner">
            <div class="item active">
                <img src="<?php echo $image1; ?>" alt="...">
                <div class="carousel-caption">
                    <?php 
                    if($videourl1){
                    echo '<a href="'.$videourl1.'" class="linkbuttonplay" id="video">WATCH VIDEO</a>';
                    }
                    ?>
                </div>
            </div>
            <div class="item">
                <img src="<?php echo $image2; ?>" alt="...">
                <div class="carousel-caption">
                <?php 
                    if($videourl2){
                    echo '<a href="'.$videourl2.'" class="linkbuttonplay" id="video">WATCH VIDEO</a>';
                    }
                    ?>
                </div>
            </div>
            <div class="item">
                <img src="<?php echo $image3; ?>" alt="...">
                <div class="carousel-caption">
                <?php 
                    if($videourl3){
                    echo '<a href="'.$videourl2.'" class="linkbuttonplay" id="video">WATCH VIDEO</a>';
                    }
                    ?>
                </div>
            </div>
        </div>
      
    </div>
    <?php } else { ?>
        <div>showme a single image</div>
    
     <? } ?>
    
    Thread Starter alienfactory

    (@alienfactory)

    yes i tried thqt and it returns 56 not that actual value which is a image url

    Thread Starter alienfactory

    (@alienfactory)

    yes you are correct i disabled and it still seems to be happening

    Thanks
    Terry

    Thread Starter alienfactory

    (@alienfactory)

    Can you tell me how I could have default items without having to click on the initialize button

    thank Terry

    by the Way love this plugin

Viewing 6 replies - 16 through 21 (of 21 total)