Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, biapar, Willr, Ingo, swaiba, simon_w

if no photos in album then no link through


Reply


4 Posts   760 Views

Avatar
zim

Community Member, 135 Posts

12 May 2010 at 7:09am

I have a section on my site which displays many company thumbs that link through to album pages with pictures of that company's products... however some of these company's do not have any products.

Is it possible that on these company thumbs there is no link through to next page?? so if no album pictures no link on thumb.

Avatar
UncleCheese

4085 Posts

12 May 2010 at 9:05am

Sure. Can we see your code?

Avatar
zim

Community Member, 135 Posts

12 May 2010 at 10:09am

the answer is simply to put the following if statement around the href tag
<% if GalleryItems %>

Avatar
zim

Community Member, 135 Posts

12 May 2010 at 10:10am

hey uncle cheese just figured it out.

thanks