Welcome, Guest. Please login or register.
Did you miss your activation email?
19 Mar 2010, 06:19

Login with username, password and session length
Home Chat Help Search Calendar Login Register
Pages: [1]
Print
Author Topic: Remove link from album thumbnails  (Read 140 times)
0 Members and 1 Guest are viewing this topic.
sjoerrigter
Forum Members
**

Karma: 0
Offline Offline

Posts: 53

Location: The Netherlands


WWW
« on: 03 Jul 2009, 11:10 »

Hi,

I want to remove the link from the album thumbnails in the album overview. How can I do this?

Logged
ajprog
Dev Team Member
Power Poster
*****

Karma: 12
Offline Offline

Posts: 595

Location: MI


« Reply #1 on: 03 Jul 2009, 11:17 »

edit the album (summary) template.
Logged
Nullig
Power Poster
***

Karma: 65
Offline Offline

Posts: 2135

Location: Comox Valley, BC



« Reply #2 on: 03 Jul 2009, 11:18 »

Remove the bolded parts from your album template:

<a href="{$album->link}">
<img src="{$album->thumbnail}" alt="{$album->name}" title="{$album->name} - {$album->comment}"{$album->autothumbnailsize} /></a>

Nullig
Logged

Come play in the Sandbox at my CMS Made Simple demo site: http://www.cmsmsdemo.com.
sjoerrigter
Forum Members
**

Karma: 0
Offline Offline

Posts: 53

Location: The Netherlands


WWW
« Reply #3 on: 03 Jul 2009, 11:59 »

I allready tried that. I Reduced the code for the album list to this:

{if !$album}

<img src="{$album->thumbnail}" />
<div style="clear:both;"></div>
{/if}

{if $picture->id>0}
{/if}

But it still makes a link in the album thumbnail.
Logged
jmcgin51
Power Poster
***

Karma: 17
Offline Offline

Posts: 1381


« Reply #4 on: 03 Jul 2009, 12:12 »

are you calling the right template with your {album} call?
Logged
sjoerrigter
Forum Members
**

Karma: 0
Offline Offline

Posts: 53

Location: The Netherlands


WWW
« Reply #5 on: 03 Jul 2009, 12:24 »

yes, i am.
Logged
Pages: [1]
Print
Jump to: