Contao Open Source CMS > Contao forum

Switch to german forum

Index > Extensions > [gallery] Galleries Module

thyon
User
Avatar
Posts: 1756
Cape Town, South Africa
Hey, just finished my Galleries module. check it out on the sticky development. Its basically the Gallery CE ripped and made into an application of its own.

You can:
- List all Galleries (with small preview) that links to the Viewer (like news list)
- Viewer that views a Gallery, specified by parameter
- Single views a single gallery as a module, so you can include it into news, events or article

Download & Wiki:
http://www.typolight.org/wiki/extensions:gallery
Last edited by thyon, 2008-04-18 22:56
thyon | iMac 24" 3.06GHz, OSX Leopard, Safari, Camino, Coda
Manuals: QuickPoll, FormAuto, EventsAttend, Galleries, Invitations, Catalog, Catalog Ext, Catalog Tutorials, Catalog Multi-language Tutorial
2008-04-18 16:56
Ben
Partner
Avatar
Posts: 2126
Atlanta, Georgia, United States
Sounds very cool, Thyon. It might be helpful to include some screenshots of the frontend and backend on the wiki, if you feel like it. I'm looking forward to trying this out.
2008-04-18 17:47
Hi THYON - My son :),

i have a problem:
after creating a "New gallery archive" name "MYGallery"
go to ->
Galleries/MYGallery/Edit Gallery archive/New gallery
I get a empty site

.../typolight/main.php?do=gallery&table=tl_gallery&act=create&mode=2&pid=1&id=1

have you a idea ?

PS: how i can see a demo of this module ?
Last edited by quer, 2008-04-18 20:42
2008-04-18 20:41
thyon
User
Avatar
Posts: 1756
Cape Town, South Africa
NO!! You are NOT my father ---- NEVER!!! :mad:

1. did you run the install.php (of course you did).
2. anyone else, except big daddy having this issue?

Ben Kinobi, or should I say, Obi-wan Kinobi... I've not completed my Jedi training yet, so the wiki still needs work... Just wanted to post it for people to try and give feedback in the meantime. I've already got some language copy errors from my invitation module -- ouch. :o

I'll put up some screens soon. :rolleyes:
Last edited by thyon, 2008-04-18 21:21
thyon | iMac 24" 3.06GHz, OSX Leopard, Safari, Camino, Coda
Manuals: QuickPoll, FormAuto, EventsAttend, Galleries, Invitations, Catalog, Catalog Ext, Catalog Tutorials, Catalog Multi-language Tutorial
2008-04-18 21:19
Hi thyon,

1. yes i run the install tool and it works fine, the database is up to date
2. sorry I did not understand the question ?

ps: your real father is yoda :lol:

tahnks
Last edited by quer, 2008-04-18 21:32
2008-04-18 21:29
thyon
User
Avatar
Posts: 1756
Cape Town, South Africa
hey quer, tell me is the entire screen blank, or is just the display for the gallery blank?

also, which version of TL are you using?
thyon | iMac 24" 3.06GHz, OSX Leopard, Safari, Camino, Coda
Manuals: QuickPoll, FormAuto, EventsAttend, Galleries, Invitations, Catalog, Catalog Ext, Catalog Tutorials, Catalog Multi-language Tutorial
2008-04-18 21:40
thyon
User
Avatar
Posts: 1756
Cape Town, South Africa
Hi Ben

In the meantime, I've put up screenshots of BE and FE.
thyon | iMac 24" 3.06GHz, OSX Leopard, Safari, Camino, Coda
Manuals: QuickPoll, FormAuto, EventsAttend, Galleries, Invitations, Catalog, Catalog Ext, Catalog Tutorials, Catalog Multi-language Tutorial
2008-04-18 21:50
Hi Thyon,

after i clicking "New gallery" is "all" the screen blank
you now ?

i use tl 2.5.7
Last edited by quer, 2008-04-18 22:09
2008-04-18 22:04
thyon
User
Avatar
Posts: 1756
Cape Town, South Africa
there must be a typo somewhere (he he)... Can you check your system/logs/error.log or the System Log back-end module for any errors.

Also, are you the admininstrator?
thyon | iMac 24" 3.06GHz, OSX Leopard, Safari, Camino, Coda
Manuals: QuickPoll, FormAuto, EventsAttend, Galleries, Invitations, Catalog, Catalog Ext, Catalog Tutorials, Catalog Multi-language Tutorial
2008-04-18 22:11
Hi thyon,

the log say you are my son :)

[18-Apr-2008 22:05:50] PHP Warning: Cannot modify header information - headers already sent by (output started at ..../system/modules/gallery/dca/tl_gallery.php:472) in ..../system/libraries/Template.php on line 152
[18-Apr-2008 22:07:53] PHP Fatal error: Uncaught exception 'Exception' with message 'Unknown field ""' thrown in ..../system/libraries/Database.php on line 727
2008-04-18 22:23
thyon
User
Avatar
Posts: 1756
Cape Town, South Africa
1. I need you to provide those "....." parts. Usually you can tick the settings box for TL to output display errors. then do it again, you can see it on the screen now, so its not blank. (not a problem on your beta site, but not recommended for live).

2. is this a windows or linux hosting server? It might just be a simple linebreak fix in windows first (as I use mac to develop, which is unix)
thyon | iMac 24" 3.06GHz, OSX Leopard, Safari, Camino, Coda
Manuals: QuickPoll, FormAuto, EventsAttend, Galleries, Invitations, Catalog, Catalog Ext, Catalog Tutorials, Catalog Multi-language Tutorial
2008-04-18 22:32
thyon
User
Avatar
Posts: 1756
Cape Town, South Africa
I've updated the release to 0.6.0, including fixes to some files (that would have broken your user settings). also the permissions now work (with the backend.php hack in the dca/default.php)
thyon | iMac 24" 3.06GHz, OSX Leopard, Safari, Camino, Coda
Manuals: QuickPoll, FormAuto, EventsAttend, Galleries, Invitations, Catalog, Catalog Ext, Catalog Tutorials, Catalog Multi-language Tutorial
2008-04-18 22:53
thyon
User
Avatar
Posts: 1756
Cape Town, South Africa
from e-mail:
iconquer:
Hi thyon,

this version works fine,

I have crate a gallery archive an set the option go to site (on click)
I crate a gallery listing an ad to the FrontPage
now I create a gallery viewer

but when I click on a image, nothing happens :)

You have to select the gallery_fullsize.tpl file in the drop-down for your ModuleGalleryViewer. The default module doesn't support fullscreen. I'll change the default to be gallery_fullsize.tpl on the next release.

You can change the default in dca/modules.php from gallery_default to gallery_fullsize
Last edited by thyon, 2008-04-18 23:24
thyon | iMac 24" 3.06GHz, OSX Leopard, Safari, Camino, Coda
Manuals: QuickPoll, FormAuto, EventsAttend, Galleries, Invitations, Catalog, Catalog Ext, Catalog Tutorials, Catalog Multi-language Tutorial
2008-04-18 23:17
thyon
User
Avatar
Posts: 1756
Cape Town, South Africa
iconquer:
Hi John,

on my homepage (sent on e-mail)
on the bottom you see 2 gallerys, I use for the second gallerys the typolight pictures, but some pictures have hyperlinks to typolight ?
is that right ?

ok the pagination is only for the view page

hi quer

nope its not right. its strange because you're using the default template (so there should be zero links)? i'll look into it. What are your module settings for the viewer template (maybe post a screenshot).

I've updated the wiki to 0.6.2, this supports paging on the gallery list as well (it was already coded, but I forgot to add the perPage parameter in the module screen).

Let me know if you need the feature: "numberOfItems" which would only list the last "X" number of gallery items (this could be achieved through unpublishing older galleries as well, so I'm not sure if its going to be useful.
Last edited by thyon, 2008-04-19 00:06
thyon | iMac 24" 3.06GHz, OSX Leopard, Safari, Camino, Coda
Manuals: QuickPoll, FormAuto, EventsAttend, Galleries, Invitations, Catalog, Catalog Ext, Catalog Tutorials, Catalog Multi-language Tutorial
2008-04-18 23:52
thyon
User
Avatar
Posts: 1756
Cape Town, South Africa
I'm just still trying to figure out how to do the fullscreen toggle, as its not quite working like I wanted.
thyon | iMac 24" 3.06GHz, OSX Leopard, Safari, Camino, Coda
Manuals: QuickPoll, FormAuto, EventsAttend, Galleries, Invitations, Catalog, Catalog Ext, Catalog Tutorials, Catalog Multi-language Tutorial
2008-04-19 00:09