View Single Post
  #1  
Old 17th December 2014, 09:15
nicukent nicukent is offline
Senior Member
 
Join Date: Sep 2009
P2P
Posts: 40
Thumbs up Slider Accordion V2

Put this in
/include/config.php


PHP Code:
$INSTALLER09['expires']['slide_movies'] = 3600//1 hour 
$INSTALLER09['movie_cats'] = array(17,18,19,20,24,); 
In blocks/index put
slider.php
Templates folder add this in 1.css,2.css,etc
PHP Code:
.caption {
            
z-index:500;
            
position:absolute;
            
bottom:-35px;
            
left:0;
            
height:30px;
            
padding:5px 20px 0 20px;
            
background:#000;
            
background:rgba(0,0,0,.5);
            
width:540px;
            
font-size:1.3em;
            
line-height:1.33;
            
color:#fff;
            
border-top:1px solid #000;
            
text-shadow:none;
    }
     
    
#galery {
        
background-color#000000;
        
font-size18px;
        
height250px;
        
overflowhidden;
        
positionrelative;
        
width700px;
    }
    
#galery ul {
        
height250px;
        
margin0;
        
padding0;
        
width700px;
    }
    
#galery li {
        
border-right1px solid #9999AA;
        
floatleft;
        
height250px;
        list-
stylenone outside none;
        
overflowhidden;
        
positionrelative;
        
width69px;
    }
    
#galery li .item {
        
height250px;
        
positionabsolute;
        
width160px;
    }
    
#galery li img {
        
border-width0;
        
height250px;
        
width160px;
    }
    .
last {
        
overflowvisible !important;
    }
    
#galery .bottom-text {
        
background-color#000000;
        
bottom: -100px;
        
color#FFFFFF;
        
font-familyArial;
        
font-size12px;
        
font-weight400;
        
padding5px 10px;
        
positionabsolute;
        
text-alignjustify;
        
width140px;
    } 
Put gallery.js in scripts folder
In index.php in sdtfoot = array put this
PHP Code:
'gallery'
after
PHP Code:
'shout'
after
PHP Code:
   if (curuser::$blocks['index_page'] & block_index::FORUMPOSTS && $BLOCKS['forum_posts_on']){
   require(
BLOCK_DIR.'index/forum_posts.php');
   } 
put
PHP Code:
if (curuser::$blocks['index_page'] & block_index::SLIDER || $BLOCKS['slider_on']){
    require_once(
BLOCK_DIR.'index/slider.php');
    } 
include/class/class_blocks_index.php put
PHP Code:
const SLIDER      0x300000
after
PHP Code:
const FORUMPOSTS            0x400// 1024 
Go to admin/block.settings.php for blocks visible and put this
PHP Code:
<table width="100%" border="0" cellpadding="5" cellspacing="0"><tr>
    <
td width="60%">
    <
b>Slider Accordion Block?</b><div><hr style="color:#A83838;" size="1" /></div>
    <
div>Slider Accordion</div></td>
    <
td width="40%"><div style="width: auto;" align="right"><#slider_on#></div></td>
    
</tr></table


ENJOY!
Attached Files
File Type: rar slider.rar (1.1 KB, 30 views)
File Type: rar gallery.rar (3.5 KB, 26 views)

Last edited by nicukent; 17th December 2014 at 09:18. Reason: Editing
Reply With Quote