CRE Loaded Community

Banner


Board index » Web Design and Development » Development Discussions

All times are UTC - 5 hours




Post new topic Reply to topic  [ 13 posts ] 
Author Message
 Post subject: Full width Front Page Slide show - (btwn header and content)
PostPosted: Wed Sep 01, 2010 2:01 pm 
Offline
CRE Talented
User avatar

Joined: Fri Mar 31, 2006 1:00 am
Posts: 496
Hi!
I am hitting a roadblock.
Im trying to install the Joomla Frontpage slideshow (an easy copy/paste php script)
i recognize this isnt the best place for it..but... im stumped.




Main_page.tpl.php
Code:
<?php require(DIR_WS_TEMPLATES . TEMPLATE_NAME .'/'.FILENAME_HEADER); ?>
<!-- REMOVED FOR NEW PLACEMENT CONRAD WADE<div class="chgheaderss"></div> //-->
<?php
   $nameOfSlideshowToDisplay = "therealnameiassureyou";    
   $URLofyoursite = "http://www.aplacesomewhereelse.com";
   $AbsoluteServerPathofyoursite = "/home/aplacesomewhere/public_html";
    include_once($AbsoluteServerPathofyoursite."/fpss/mod_fpslideshow.php");?>
<!--Perfect placement visually for full width  slide show //-->
<!-- header_eof //-->
<!-- body //-->
<table border="0" width="100%" cellspacing="3" cellpadding="<?php echo CELLPADDING_MAIN; ?>">
  <tr>
    <?php
    if (DISPLAY_COLUMN_LEFT == 'yes')  {
      // if Down for Maintenance Hide column_left.php if not to show
      if (DOWN_FOR_MAINTENANCE =='false' || DOWN_FOR_MAINTENANCE_COLUMN_LEFT_OFF =='false') {
        ?>


so... it up... and it looks great ! but... its on every page hahahahahahahahah
Can someone help me understand where this needs to go.. or the easiest way to implement a :

Full Site Width (100%) Front Page Slide Show for Cre Loaded.

Thanks a million !

various applicable keywords
b2b 6.4 cre loaded joomlaworks fpss frontpage slideshow


Top
 Profile  
 
 Post subject: Re: Full width Front Page Slide show - (btwn header and content)
PostPosted: Wed Sep 01, 2010 2:03 pm 
Offline
CRE Talented
User avatar

Joined: Fri Mar 31, 2006 1:00 am
Posts: 496
note...the only thing that i need to insert (full width) is
Code:
<?php
   $nameOfSlideshowToDisplay = "therealnameiassureyou";   
   $URLofyoursite = "http://www.aplacesomewhereelse.com";
   $AbsoluteServerPathofyoursite = "/home/aplacesomewhere/public_html";
    include_once($AbsoluteServerPathofyoursite."/fpss/mod_fpslideshow.php");?>


thanks again!


Top
 Profile  
 
 Post subject: Re: Full width Front Page Slide show - (btwn header and content)
PostPosted: Fri Sep 03, 2010 10:50 am 
Offline
CRE Talented
User avatar

Joined: Fri Mar 31, 2006 1:00 am
Posts: 496
:arrow: bump ---thanks!


Top
 Profile  
 
 Post subject: Re: Full width Front Page Slide show - (btwn header and content)
PostPosted: Fri Sep 03, 2010 12:07 pm 
Offline
CRE Talented

Joined: Sun Nov 29, 2009 10:57 am
Posts: 348
Why has it got to be the joomla one?
I'm a little unsure as to what your asking.. maybe daft me..

you have it displaying on your site? but you dont want it on everypage? just the home page?

_________________
CSS Store - http://mdjl40.mdjl-demo.co.uk -Work in Progress
YMM Filter Lists - http://mdjl-demo.co.uk/6-4-1a -Pagnation/Filter Lists


Top
 Profile  
 
 Post subject: Re: Full width Front Page Slide show - (btwn header and content)
PostPosted: Fri Sep 03, 2010 12:15 pm 
Offline
CRE Talented
User avatar

Joined: Fri Mar 31, 2006 1:00 am
Posts: 496
yeppers... I have it displaying WHERE i want it... but i cant make it go away once you leave the home page.

I would have used Define Main Page...BUT... it cant be the full site width (so far as i can tell)

The joomla one has a stand-alone php build, if your using Joomla, there is an admin interface... in CRE its php based. only mentioned that it was the joomla one because its VERY popular. it acctually is a VERY nice slideshow. i havent found one better.

i could dm the url to you if that would help

Thanks!


Top
 Profile  
 
 Post subject: Re: Full width Front Page Slide show - (btwn header and content)
PostPosted: Fri Sep 03, 2010 12:20 pm 
Offline
CRE Talented

Joined: Sun Nov 29, 2009 10:57 am
Posts: 348
sure send it to me and I'll take a look.. I assume you want something like this...

http://mdjl-demo.co.uk/template/index.php

_________________
CSS Store - http://mdjl40.mdjl-demo.co.uk -Work in Progress
YMM Filter Lists - http://mdjl-demo.co.uk/6-4-1a -Pagnation/Filter Lists


Top
 Profile  
 
 Post subject: Re: Full width Front Page Slide show - (btwn header and content)
PostPosted: Fri Sep 03, 2010 12:45 pm 
Offline
CRE Talented
User avatar

Joined: Fri Mar 31, 2006 1:00 am
Posts: 496
thats it!
thats exactly how i want it to display... nice job!


hehehe howd'joo'do'dat ?


Top
 Profile  
 
 Post subject: Re: Full width Front Page Slide show - (btwn header and content)
PostPosted: Fri Sep 03, 2010 12:51 pm 
Offline
CRE Talented

Joined: Sun Nov 29, 2009 10:57 am
Posts: 348
Like this...

Code:
<?php
if ( ( strstr($PHP_SELF,'index.php')) && ( $category_depth == 'top'))  {
?>
    <!-- Banner Start -->
    <div id="slider">
        <a href="#"><img src="<?php echo DIR_WS_TEMPLATES . TEMPLATE_NAME;?>/images/01.jpg" alt="" /></a>
        <a href="#"><img src="<?php echo DIR_WS_TEMPLATES . TEMPLATE_NAME;?>/images/02.jpg" alt="" /></a>
        <a href="#"><img src="<?php echo DIR_WS_TEMPLATES . TEMPLATE_NAME;?>/images/03.jpg" alt="" /></a>
        <a href="#"><img src="<?php echo DIR_WS_TEMPLATES . TEMPLATE_NAME;?>/images/04.jpg" alt="" /></a>
    <!--<a href="#"><img src="<?php echo DIR_WS_TEMPLATES . TEMPLATE_NAME;?>/images/05.jpg" alt="" /></a> -->
   </div>
    <!-- Navi End -->
<?php } ?>

_________________
CSS Store - http://mdjl40.mdjl-demo.co.uk -Work in Progress
YMM Filter Lists - http://mdjl-demo.co.uk/6-4-1a -Pagnation/Filter Lists


Top
 Profile  
 
 Post subject: Re: Full width Front Page Slide show - (btwn header and content)
PostPosted: Fri Sep 03, 2010 1:02 pm 
Offline
CRE Talented
User avatar

Joined: Fri Mar 31, 2006 1:00 am
Posts: 496
very cool! THANK YOU! lol i didnt know that you could start a php like that, and not close it before the >

so... those of you trying to get the Joomla FPSS to work.... heres the final code that is working on my site.

Code:
<!--START full width  slide show //-->
<?php
if ( ( strstr($PHP_SELF,'index.php')) && ( $category_depth == 'top'))  {
?>
<!-- start stock Joomla Works //-->
<?php
   $nameOfSlideshowToDisplay = "ThriveHD2";    
   $URLofyoursite = "http://www.yoursiteissupercool.com";
   $AbsoluteServerPathofyoursite = "/home/yourtheman/public_html";
    include_once($AbsoluteServerPathofyoursite."/fpss/mod_fpslideshow.php");?>
    <?php } ?>
<!--END full width  slide show //-->


Top
 Profile  
 
 Post subject: Re: Full width Front Page Slide show - (btwn header and content)
PostPosted: Sat Sep 04, 2010 3:53 pm 
Offline
CRE Freak
User avatar

Joined: Sat Jan 03, 2009 3:53 pm
Posts: 127
I did it like making front page module, and referring the module to the fpss directory, very easy to install and use. Just make one file called slideshow.php open it and type <?php include("/home/yourname/public_html/fpss/fpss.php"); ?> and save it. Put the file in default-mainpage modules, set it to be on mainpage from design admin and you are ready to go :)


Top
 Profile  
 
 Post subject: Re: Full width Front Page Slide show - (btwn header and content)
PostPosted: Tue Sep 28, 2010 3:23 pm 
Offline
CRE Newbie

Joined: Sat May 01, 2010 10:08 am
Posts: 2
TheLango wrote:
Like this...

Code:
<?php
if ( ( strstr($PHP_SELF,'index.php')) && ( $category_depth == 'top'))  {
?>
    <!-- Banner Start -->
    <div id="slider">
        <a href="#"><img src="<?php echo DIR_WS_TEMPLATES . TEMPLATE_NAME;?>/images/01.jpg" alt="" /></a>
        <a href="#"><img src="<?php echo DIR_WS_TEMPLATES . TEMPLATE_NAME;?>/images/02.jpg" alt="" /></a>
        <a href="#"><img src="<?php echo DIR_WS_TEMPLATES . TEMPLATE_NAME;?>/images/03.jpg" alt="" /></a>
        <a href="#"><img src="<?php echo DIR_WS_TEMPLATES . TEMPLATE_NAME;?>/images/04.jpg" alt="" /></a>
    <!--<a href="#"><img src="<?php echo DIR_WS_TEMPLATES . TEMPLATE_NAME;?>/images/05.jpg" alt="" /></a> -->
   </div>
    <!-- Navi End -->
<?php } ?>

Your site is VERY nice.... what is it? is it CRE LOADED? would you please have your details instructions of how you do the FFSS and the bottom slider posted here?

Thank you.


Top
 Profile  
 
 Post subject: Re: Full width Front Page Slide show - (btwn header and content)
PostPosted: Wed Sep 29, 2010 3:17 am 
Offline
CRE Newbie

Joined: Tue Mar 09, 2010 6:21 pm
Posts: 15
I installed Nivo Slider and set it to display on my front page only by using the following code in my header.php file where I wanted the slider to be displayed:

Code:
<?
if (substr(basename($PHP_SELF), 0, 5) != 'index') {
} else {
    include($modules_folder . 'slider.php');
}
?>       


And the following in my templates/default/mainpage_modules/slider.php file:

Code:
            <!-- Slider -->
            <div id="slider">
                <a href="slide1.html"><img src="images/1.png" alt="image title"></a>
                <a href="slide2.html"><img src="images/2.png" alt="image title"></a>
                <a href="slide3.html"><img src="images/3.png" alt="image title"></a>
                <a href="slide4.html"><img src="images/4.png" alt="image title"></a>
            </div>

            <!-- /Slider eof -->


Obviously you need the Nivo javascript and jQuery installed too for it to work properly. I find this set up quite handy though cos it's easy to make changes, I can just upload the new slider.php file when changes are needed.

I don't have it activated on the site I'm using Nivo slider on at the moment, because the site is new and the slide content still hasn't been decided/designed but I have one with a different slider script (I don't recall the source of the script) using the same method viewable here: http://offensivetshirtsuk.com (might not be considered safe for work).


Top
 Profile  
 
 Post subject: Re: Full width Front Page Slide show - (btwn header and content)
PostPosted: Wed Sep 29, 2010 12:16 pm 
Offline
CRE Newbie

Joined: Sat May 01, 2010 10:08 am
Posts: 2
Thank you for your prompt reply.

I actually figured out how to do that differently, but I think your way is easier to update. So, I will change it to your way. How did you do your slider at the bottom. From view your source code it looked like you using jcarousel lite for it. Would you mind to share your details how you did it?

Thanks again.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 

Board index » Web Design and Development » Development Discussions

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
It is currently Tue Feb 07, 2012 11:07 am
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

© CRE Loaded is a product of Chain Reaction Ecommerce, Inc. Usage & Privacy Policy