Page 1 of 1

feature request, usergallery

Posted: Fri Nov 24, 2006 7:21 pm
by carl_galloway
Is it possible to add a setting to the usergallery so that it can be set as the startpage, similar to the way the static pages plugin can?

I think this would be a really groovy setting.

Carl

Posted: Mon Nov 27, 2006 5:34 pm
by mgroeninger
Hey Carl,

I'm looking into this, but I found a little strangeness with how staticpage works. If I can figure somethings out I'll get it updated...

Posted: Mon Nov 27, 2006 6:02 pm
by carl_galloway
There are many strange things about the way some of the most important plugins work, but in the last few months a lot of progress has been made. It doesn't surprise me that you found something else, and any improvements you can make to the static pages plugin even if its just to make other plugins more compatible would be awesome.

One other request for the usergallery plugin, are you able to throw a wrapper div around the entire usergallery so that we can style the usergallery differently from the rest of the blog. I'll give you a clue where I'm going with this, the other half wants her photography and graphics site to look like a traditional gallery, lots of grey, shadows, highlights etc, you know a very traditional photographers type gallery, but then when the blog link is clicked, a new and diffferent layout appears. At the moment the usergallery has different classes for individual blocks such as the navigation, thumbnails etc, but nothing unique for the wrapper. My recommendation would be to modify this line;

Code: Select all

<div class="serendipity_Entry_Date">

so it reads;

Code: Select all

<div class="serendipity_Entry_Date serendipity_event_usergallery">
In fact I'd love it if some of the other event plugins could follow the same convention, after all the sidebar plugins all do this.

Posted: Mon Nov 27, 2006 6:18 pm
by mgroeninger
That should be easy enough to do... at least for usergallery...

Posted: Wed Nov 29, 2006 1:34 am
by mgroeninger
ok, so usergallery is updated with these features... Let me know if you have any trouble.

Posted: Wed Nov 29, 2006 7:44 pm
by carl_galloway
hey great update, I'm loving it. One little trap, I was arrogant and didn't read your comment next to the startpage radio buttin, so of course it didn't work. I did have to move the usergallery above the static pages plugin, but I don't see this as being a problem because you can only have one startpage at a time.

Are we able to add a lit of event plugins that would affect this in this thread, at least that way if other users get stuck we can point them to this thread?

Posted: Wed Nov 29, 2006 8:57 pm
by mgroeninger
Yeah, that was the strangeness that I mentioned above. I don't much like that you have to shuffle the plugins to get it to work, but Garvin and I traded a couple emails about it and we couldn't find an easy solution.

I believe these are the plugins that will prevent it from being the frontpage if they are listed before the gallery in the event plugins: Contact Form, Customizable Entries Archive, Static Pages, External PHP Application, Guestbook, and Gallery2 Embed