Link manager column view?
-
BJ Kline
Like this?
<div class="links2"> {foreach name=items from=$items item=item name=links} {if $cats@iteration > count($cats)/2} </div> <div class="2col-class"> {/if} <li class="item{if $smarty.foreach.links.last} last{/if}"> <a class="link{if !empty($config.websnapr_key)} websnapr{/if}" {if $item->new_window}target="_blank"{/if} href="{$item->url}" title="{$item->body|summarize:"html":"para"}">{$item->title}</a> {permissions} <div class="item-actions"> {if $permissions.edit || ($permissions.create && $item->poster == $user->id)} {if $myloc != $item->location_data} {if $permissions.manage} {icon img='arrow_merge.png' action=merge id=$item->id title="Merge Aggregated Content"|gettext} {else} {icon img='arrow_merge.png' title="Merged Content"|gettext} {/if} {/if} {icon action=edit text='notext' record=$item} {/if} {if $permissions.delete || ($permissions.create && $item->poster == $user->id)} {icon action=delete text='notext' record=$item} {/if} </div> {/permissions} </li> {/foreach} </div>Then in my stylesheet I added
.links2 { width: 50%;} .2col-class {float:right;}That didn't change anything.
-
BJ Kline
That example helped. I removed the following code from the 'li' on line 83 of showall_quicklinks.tpl, after moving the file into the appropriate folder in my theme.
class="item{if $smarty.foreach.links.last} last{/if}"and added
class="two-col-special"to the 'ul' on line 81.
Now its working like I wanted. I guess I should have done more Googling. :)
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.