Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

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: 905
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
swiftmed is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-07-2009, 08:53 AM Re: Please help Me - PHP Layout Modification
Super Spam Talker

Latest Blog Post:
PSD Squirrel Launched
Posts: 933
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,
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
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.09753 seconds with 12 queries