New pictures on main page, remove login link, limit pics in slideshow

estetico

Joined: 2009-10-30
Posts: 8
Posted: Mon, 2009-11-02 09:44

Hi everybody,
and thanks for the great script!

I have 3 questions, which i wrote in subject line

1. how to show new uploads on main page?
may be module "latest uploads" on main page? but how make it?

2. how to remove "login" link from website?
i need this because there only admin and guests, and no need to show link to login.

3. How to limit pictures in minislideshow?
If i have a lot of pics, why show all in slideshow?
i have tryed "&limit=5", but no changes :(

thanks in advance!

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22876
Posted: Mon, 2009-11-02 14:10

1. Write or wait for a new module. Take a look at the existing imageblock code for inspiration.

2. How do you propose to login?

3. Minislideshow? You mean cooliris?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2135
Posted: Mon, 2009-11-02 19:27

@floridave: WP style perhaps? :) http://mygallery.com/g3-admin
I think it could be a setting of the theme to show "login" link or not. Right now it is embedded by inside code and not exposed for management via page.html.php

@estetico: You can modify the theme and hide the link: open screen.css and add the following

Quote:
#g-login-menu { display: none; }

Similar could be done with the main menu:

Quote:
#g-site-menu { display: none; }

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22876
Posted: Tue, 2009-11-03 01:34

@Serge D: The login link ( and others) will be changed once we get some embedded API, but in the mean time, you can as you suggest, hide it with CSS via the theme.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
estetico

Joined: 2009-10-30
Posts: 8
Posted: Tue, 2009-11-03 16:26

1. cant write new module :(
may be i can transfer some "code" from module "latest_uploads" on main page?

2. if i remove login link, then how can i (admin) be logged in? huh

3. i mean minislide show module, there was all pictures from my gallery, it making a lot of traffic :(

thanks in advance

 
Serge D
Serge D's picture

Joined: 2009-06-11
Posts: 2135
Posted: Tue, 2009-11-03 21:01
Quote:
2. if i remove login link, then how can i (admin) be logged in? huh

@estetico: a little bit of hacking: http://yourgallery.url/login/ajax. Fill out login info, submit, come back to the gallery root/refresh

 
estetico

Joined: 2009-10-30
Posts: 8
Posted: Wed, 2009-11-04 09:06

lol, its working, thanks :)
any things about "organize main page" and slideshow?