Member
Member
mstratford   2013-01-07, 20:07
#1

Is there a function or plugin that can hide albums until they have pictures in?

Administrator
Administrator
fretzl   2013-01-07, 20:36
#2

This works for me.
Change the [i]next_album()[/i] loop.

`

...

...

`

Administrator
Administrator
acrylian   2013-01-07, 21:10
#3

That will work but of course confuse any pagination.

You could use the object model to write a small function to check and change the publish state.

Member
Member
sbillard   2013-01-07, 22:26
#4

And if you are the one putting the images in the album you could just unpublish the album until you are ready to show the images.

Member
Member
mstratford   2013-01-20, 12:41
#5

Acrylian, do you have any code to do this?

Administrator
Administrator
acrylian   2013-01-20, 12:51
#6

See the object model tutorial for the basics and then review the methods available on the documentation.

Member
Member
mstratford   2013-01-20, 22:33
#7

I would love someone to help me with that

Member
Member
mstratford   2013-01-20, 22:46
#8

I have just realised, when I un publish something, it doesn't hide???

Administrator
Administrator
fretzl   2013-01-21, 06:53
#9

Maybe you are logged in? You will also see unpublished items then.

Member
Member
mstratford   2013-01-21, 09:14
#10

Ahh! Thanks

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.