alienfactory
Forum Replies Created
-
Forum: Plugins
In reply to: [Block Lab] CSS frontend not loadingit is locaked in {mytheme}/blocks/block-anchor-block.css
Forum: Plugins
In reply to: [Block Lab] variables are echoing outAwesome 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
Forum: Plugins
In reply to: [Block Lab] variables are echoing outhere 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> <? } ?>- This reply was modified 6 years ago by alienfactory.
Forum: Plugins
In reply to: [Block Lab] variables are echoing outyes i tried thqt and it returns 56 not that actual value which is a image url
Forum: Plugins
In reply to: [Stealth Login Page] automatic login attemptyes you are correct i disabled and it still seems to be happening
Thanks
TerryForum: Plugins
In reply to: [Plugin: Custom Field Template] default type does not workCan 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