PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old January 25th, 2005, 06:08 PM   #1 (permalink)
Ultimate Member
Verified Customer
 
Join Date: May 2004
Location: Tempe, Arizona
Posts: 2,240
Send a message via MSN to mholtum Send a message via Yahoo to mholtum
Moving "newest images"

On the gallery index page I would like to move the "Newest images" above the catagories and leave the "Random Images" on the bottom.

Where and what must I edit?
mholtum is offline   Reply With Quote
Old January 26th, 2005, 05:19 AM   #2 (permalink)
rbl
Senior Member
Verified Customer
 
Join Date: Aug 2003
Location: Portugal
Posts: 492
Send a message via AIM to rbl Send a message via MSN to rbl
Re: Moving "newest images"

Admincp -> Styles and Templates -> Style manager -> your_style(s) -> Edit Templates -> expand the vBa Gallery Templates group -> edit ADV_GALLERY -> look for an if conditional like $show[newimages] and move that block to wherever you want.
rbl is offline   Reply With Quote
Old February 26th, 2005, 01:05 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Jul 2004
Posts: 48
Re: Moving "newest images"

Quote:
Originally Posted by mholtum
On the gallery index page I would like to move the "Newest images" above the catagories and leave the "Random Images" on the bottom.

Where and what must I edit?
I cut the following

Quote:
<if condition="$show['newimages']">
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<thead>
<tr>
<td class="tcat" colspan="$vba_options[gallery_columns]"><a href="#top" onclick="return toggle_collapse('gallery_newimages')" style="float:$stylevar[right]"><img alt="" border="0" id="collapseimg_gallery_newimages" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_gallery_newimages].gif" /></a><phrase 1="$vba_options[gallery_newhomeimages]">$vbphrase[newest_x_images]</phrase></td>
</tr>
</thead>
<tbody id="collapseobj_gallery_newimages" style="$vbcollapse[collapseobj_gallery_newimages]">
<tr>
$newimagebits
</tr>
</tbody>
</table>
<br />
</if>

<if condition="$show['randomimages']">
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<thead>
<tr>
<td class="tcat" colspan="$vba_options[gallery_columns]"><a href="#top" onclick="return toggle_collapse('gallery_randimages')" style="float:$stylevar[right]"><img alt="" border="0" id="collapseimg_gallery_randimages" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_gallery_randimages].gif" /></a>$vbphrase[random_images]</td>
</tr>
</thead>
<tbody id="collapseobj_gallery_randimages" style="$vbcollapse[collapseobj_gallery_randimages]">
<tr>
$randomimagebits
</tr>
</tbody>
</table>
<br />
</if>
and moved it directly under

Quote:
$gallerynav

<if condition="$show['subcats']">
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<tr>
<td class="tcat" width="100%">$vbphrase[sub_categories]: $navinfo[title]</td>

<if condition="$show['search']">
<td class="vbmenu_control" id="dirsearch"><a href="search.php?$session[sessionurl]catid=$catid">$vbphrase[search_this_category]</a> <script type="text/javascript"> vbmenu_register("dirsearch"); </script></td>
</if>
</tr>
</table>

<div class="vbmenu_popup" id="dirsearch_menu" style="display:none">
<form action="search.php" method="post">
<input name="s" type="hidden" value="$session[sessionhash]" />
<input name="do" type="hidden" value="searchresults" />
<input name="quicksearch" type="hidden" value="1" />
<input name="catids[]" type="hidden" value="$catid" />
<table border="0" cellpadding="4" cellspacing="1">
<tr>
<td class="thead">$vbphrase[search_this_category]</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<input class="bginput" name="string" size="20" type="text" /> $gobutton</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php?catid=$catid">$vbphrase[advanced_search]</a></td>
</tr>
</table>
</form>
</div>

</if>
Worked perfect for me...

http://forums.cincybengals.com/gallery/index.php?
MorrisMcD is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Modifying "Newest Images" j1time How Do I? - vBulletin 3.0.X 2 August 31st, 2005 12:00 PM
Moving images from "real" members categories Tom M How Do I? - vBulletin 3.0.X 1 February 9th, 2005 05:56 PM
Enclose "Images in category" and "display options" in a conditional tag? rbl How Do I? - vBulletin 3.0.X 2 January 15th, 2005 10:50 AM


All times are GMT -5. The time now is 02:35 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0