Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Forum
Help
Search
Login
Register
News
:
December 04, 2008, 12:24:34 pm
RSGallery2 Support Forums
RSgallery2 support forums
Display and Templates
(Moderators:
Jonah
,
Tomislav Ribicic
,
Daniel Tulp
,
Ronald Smit
)
How do I get the Latest Images table to the top of the page.
« previous
next »
Topic Tools
Search this topic
Pages
1
Author
Topic: How do I get the Latest Images table to the top of the page. (Read 1282 times)
«
on:
March 03, 2008, 06:55:55 pm »
Leonna
Newbie
Posts: 2
How do I get the Latest Images table to the top of the page.
The Latest images box are at the bottom of the main gallery page and I want to move them to the top.
Can anyone please help me with this.
Thank you
Below is the code I have now on gallery.php
<?php defined('_JEXEC') or die('Restricted access'); ?>
<?php
global $ItemId;
//Show My Galleries link
if ($rsgConfig->get('show_mygalleries')) {
echo $this->showRsgHeader();
}
//show search box
$this->showSearchBox();
//Show introduction text
?>
<div class="intro_text"><?php echo $rsgConfig->get('intro_text');?></div>
<?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="rsif($this->gallery->id == 0){
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'> </div>
<?php endif; ?>
Logged
Pages
1
« previous
next »
Jump to:
Please select a destination:
-----------------------------
RSgallery2 support forums
-----------------------------
=> RSgallery2 bugs & problems
===> Resolved Issues
===> Known Issues
=> Features
=> Display and Templates
=> RSgallery2 modules and plugins (mambots)
-----------------------------
RSGallery2
-----------------------------
=> General discussion
=> Gallery Showcase
=> Template directory
=> Meta Forum
=> Duplicate Threads
-----------------------------
Language translations
-----------------------------
=> General language and translation questions
=> Chinese
=> Danish
=> Dutch
=> English
=> French
=> German
=> Greek
=> Polish
=> Spanish
=> Other languages
=> New translations
-----------------------------
Developers corner
-----------------------------
=> Developer Lobby
=> Nightly Builds for RSGallery2 in Joomla 1.5
=> J15Backport [Closed]
=> Nightly Builds for RSGallery2 Legacy, J1.5 or J1.0 - Now Reopened!
Print
Advanced search
Powered by SMF 1.1.7
|
SMF © 2006-2008, Simple Machines LLC
Pn-Pn Theme by koni.
Loading...