Media library as gallery?
Posted: Sun May 13, 2007 8:26 pm
Is there a plugin or setting that makes the existing Media library appear like a photo gallery to my visitors?
Thanks!
Thanks!
That actually comes from the name of the folder you are sharing out (I think). So if you change the "Pick a default directory" option it should change the text displayed. If you share out all the directories it defaults to "gallery".Can anyone tell me where the setting is to change the title on that page? The one that has gallery written in lower case letters is the text that I want to change.
Code: Select all
<!-- album list -->
{if $plugin_usergallery_dir_list eq 'yes'}
{if $plugin_usergallery_display_dir_tree eq "yes"}
<!-- basefolder in treeview -->
<a href="{$plugin_usergallery_httppath}">{$plugin_usergallery_title} ({$plugin_usergallery_maindir_filecount} images)</a>
{else}
{if $plugin_usergallery_toplevel eq 'no'}
<!-- 'up-one-level' link in galleries-->
<a href="{$plugin_usergallery_httppath_extend}gallery={$plugin_usergallery_uppath}">{$const.uponelevel}. ({$plugin_usergallery_maindir_filecount})</a>
{else}
<!-- basefolder in listview -->
<a href="{$plugin_usergallery_httppath}">{$plugin_usergallery_title} ({$plugin_usergallery_maindir_filecount} images)</a>
{/if}
{/if}
<br />
<!-- folders -->
{foreach name="dir_list" from=$plugin_usergallery_subdirectories item="dir"}
<span style="margin-left: {math equation="x * 10" x=$dir.depth}px;"><a href="{$plugin_usergallery_httppath_extend}gallery={$dir.relpath}">{$dir.name} ({$dir.filecount} images)</a></span><br />
{/foreach}
{/if}
<!-- end album list -->Code: Select all
<!-- folders -->
<table>
{foreach name="dir_list" from=$plugin_usergallery_subdirectories item="dir"}
{if $smarty.foreach.dir_list.iteration % 2 == 1}
<tr>
{assign var=open value=1}
{/if}
<td><a href="{$plugin_usergallery_httppath_extend}gallery={$dir.relpath}">{$dir.name} ({$dir.filecount} images)</a></td>
{if $smarty.foreach.dir_list.iteration % 2 == 0}
</tr>
{assign var=open value=0}
{/if}
{/foreach}
{if $open}
<td colspan=2 > </td></tr>
{/if}
</table>