Hello,
I'm a new here, just 2night installed on my localhost the g2. It's really cooool. As soon as possibile i gonna use that on line.
Just 2 questions:
How can I change the top level albums Name (Home Page):
I got:
Gallery
This is the main page of your Gallery
And tried to change it, but no way. Anybody could help me?
And
Is it possible to change date format in any page:
mm/dd/yy format in new dd/mm/yy
I think it's necessary to change some files, just advise me files to control for changes.
Thanx to G2 team for a really cool system.
----
The following information is required to get an answer:
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful): localhost
Gallery version: gallery-2.0-beta-3+G2
Apache version: 2.0.50
PHP version (don't just say PHP 4, please): 4.3.8
Graphics Toolkit:
Operating system: Windows
Web browser/version (if applicable): Explorer/Netscape
Posts: 3236
G2 issues in the G2 forums.
Posts: 6
Sorry fryfrog, but can't' find it here. That's why i opened a new topic.
If u know another discussion about this arguments, please, paste the links here. Thanx ;)
Posts: 3236
Oops, I forgot to move your thread after I posted that reply.
Posts: 32509
go to main.php, click on edit album for the title / name change.
@date:
see http://php.net/strftime
G2 it defaults to format %x
%x - preferred date representation for the current locale without the time
you can change it in (i assume you have g2 core version 0.9.30 or newer):
modules/core/templates/blocks/
in this folder, create a subfolder /local and copy ItemInfo.tpl to this subfolder, then edit
modules/core/templates/blocks/local/ItemInfo.tpl
find:
{g->date timestamp=$item.originationTimestamp}
replace by:
{g->date format="%d/%m/%Y" timestamp=$item.originationTimestamp}
Posts: 6
Thanx a lot, valiant, now the time/date settings are perfect like i wanna do. ;)
What about the Top level gallery name? Anybody changed that?
In other galleries a can edit the name and comments, but i can't find the settings for start (home page) gallery.
Posts: 32509
Posts: 6
Oh, I'm a little bit tired, :lol:
now it's all really perfect.
Thanx valiant, great job 8)
Posts: 46
You can change the title of gallery from "Edit Album" -> "General" tab -> "Title".
See my gallery example.
Enjoy,
Alex Webs,
Create online photo album or add photo gallery to your website.