Reply
Please help Me - PHP Layout Modification
Old 01-06-2009, 05:53 PM Please help Me - PHP Layout Modification
swiftmed's Avatar
Super Spam Talker

Posts: 907
Trades: 3
Hey Guys,

Im currently using the RSGallery2 module for my Joomla site, but need to make a modification to the templates layout.

Currently my gallerys are displayed in a list style, example: http://www.mileycyrus-online.co.uk/miley-cyrus-photos

But i want my gallery categories to be displayed in a thumbnail column style layout, example: http://www.mmoghetto.com/index.php?o...ery2&Itemid=91

This is the code for this section of the template, however i have absolutely no idea what i need to change to acheive my desired layout. Would anybody 'please please' make the change for me, or point me in the right direction please.

Code:
<?php
//Show limitbox
if( $this->pageNav ):
?>
    <div class="rsg2-pagenav-limitbox">
        <?php echo $this->getGalleryLimitBox(); ?>
    </div>
<?php
endif;

foreach( $this->kids as $kid ):
?>
<div class="rsg_galleryblock">
    <div class="rsg2-galleryList-status"><?php echo $kid->status;?></div>
    <div class="rsg2-galleryList-thumb">
        <?php echo $kid->thumbHTML; ?>
    </div>
    <div class="rsg2-galleryList-text">
        <?php echo $kid->galleryName;?>
        <span class='rsg2-galleryList-newImages'>
            <sup><?php if( $this->gallery->hasNewImages() ) echo _RSGALLERY_NEW; ?></sup>
        </span>
        <?php echo $this->_showGalleryDetails( $kid );?>
        <div class="rsg2-galleryList-description"><?php echo $kid->description;?>
        </div>
    </div>
    <div class="rsg_sub_url_single">
        <?php $this->_subGalleryList( $kid ); ?>
    </div>
</div>
<?php
endforeach;
?>
<div class="rsg2-clr"></div>
<?php
if($this->gallery->id == 0){

    // show random and latest only in the top gallery 
    
    //Show block with random images 
    $this->showImages("random", 3);
    //Show block with latest images
    $this->showImages("latest", 3);
}
if( $this->pageNav ):
?>

<div class="rsg2-pageNav">
    <?php echo $this->getGalleryPageLinks(); ?>
    <br/>
    <?php echo $this->getGalleryPagesCounter(); ?>
</div>
<div class='rsg2-clr'>&nbsp;</div>
<?php endif; ?>
I would appreciate it so much. Thank you for your time.

Andrew
__________________
Kind Regards,
Andrew MacDonald
Miley Cyrus Pictures | Cheryl Cole | Roxanne Pallett| Sir Alan Sugar
swiftmed is offline
Reply With Quote
View Public Profile
 
 
When You Register, These Ads Go Away!
Old 01-07-2009, 08:53 AM Re: Please help Me - PHP Layout Modification
Super Spam Talker

Latest Blog Post:
PSD Squirrel Launched
Posts: 934
Trades: 7
Hi Andrew,

This would be more of a css/xhtml issue rather than PHP - if you get this thread moved to the correct forum you may get more help, us PHP coders often pretend XHTML and CSS don't exist

All the best,
Sir P is offline
Reply With Quote
View Public Profile Visit Sir P's homepage!
 
Reply     « Reply to Please help Me - PHP Layout Modification
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 



Page generated in 0.33841 seconds with 13 queries