Welcome, Guest. Please login or register.
Did you miss your activation email?
February 12, 2012, 05:07:24 PM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
149665 Posts in 21100 Topics by 7538 Members
Latest Member: ionline
* Home Help Search Login Register
Pages: 1 [2] 3 4 ... 6   Go Down
Print
Author Topic: New Module: Lightbox  (Read 39998 times)
cthamer

Offline Offline

Posts: 23


« Reply #25 on: April 04, 2008, 08:28:53 AM »

Love this module, thanks for all the hard work. I've used it as a section on another page and this is no problem:

http://www.romanticretreats.co.uk/pages/find-a-cottage/isle-of-wight/east-wing-at-stockbridge-manor.php

However, the lightbox doesn't seem to work in all versions of IE7 - any ideas?

Thank you,

Konrad

You would have to be much more specific for me to answer that question.
Logged
cthamer

Offline Offline

Posts: 23


« Reply #26 on: April 04, 2008, 08:35:26 AM »

The javascript seems to wrok fine with me, but I can't see the prev and next buttons, and also the close button is a red cross. Where do I change this?
http://www.jonatan.be/pages/fotos/kippen.php

You need to focus on the CSS. That is where most of the problems for users of this module arise. Click modify in the admin area for your page and update the paths.
Logged
Boudi
Addon Team

Offline Offline

Posts: 793



WWW
« Reply #27 on: July 10, 2008, 07:02:58 PM »

Hi,

Great mod. ThnQ.

One question, I would like to change the configuration in the lightbox.js. The problem is that I cannot upload the edited (lightbox.js) file or upload the edited zip-module. Only the original.

Because of that I'm still stucked up with the basic configuration.

Any help how to solve this issue? Thnx

Knert.


Logged

...:: Bake the Unbakable ::...
cthamer

Offline Offline

Posts: 23


« Reply #28 on: July 10, 2008, 07:29:22 PM »

Hi,

Great mod. ThnQ.

One question, I would like to change the configuration in the lightbox.js. The problem is that I cannot upload the edited (lightbox.js) file or upload the edited zip-module. Only the original.

What do you mean you 'cannot upload' the edited file. You must be much more specific than that in your question.

Christian


Logged
Boudi
Addon Team

Offline Offline

Posts: 793



WWW
« Reply #29 on: July 10, 2008, 07:40:59 PM »

Hi Christian,

I'm working on a website with this lightbox module which is working great.
But because the website is in another language I changed some settings in the file: lightbox_module/js/lightbox.js.

This changed file (lightbox.js) must replace the file which was already uploaded within the WB admin. (lightbox_module.zip). This does not work because I have not the right permissions to do so.

Therefore I re-packed the edited Lightbox_module to a zip file and uploaded it again. Unfortunately this does not work either.

So my question is: how can I upload edited files within the uploaded Lightbox_module?

Hope this is more clear now  smiley
Logged

...:: Bake the Unbakable ::...
cthamer

Offline Offline

Posts: 23


« Reply #30 on: July 10, 2008, 07:49:49 PM »

Knert,

Ok that is very clear. However this is a server related issue and there is not much I can do to help out other than offer a couple of suggestions. First off first try deleting the existing lightbox.js then uploaded the modified version. This sometimes works. Also try seeing if you are able to change the permissions on the existing lightbox.js file. If you can change them to 777. If neither of these suggestions work you can try uninstalling the lightbox module then reinstalling it with your edited zip. If that fails you will have to contact your host to resolve this problem.

Christian
Logged
Boudi
Addon Team

Offline Offline

Posts: 793



WWW
« Reply #31 on: July 10, 2008, 08:02:25 PM »

Hi Christian,

ThnQ 4 your quick responses  smiley

Quote
First off first try deleting the existing lightbox.js then uploaded the modified version.

This does not work for me  cry

Quote
Also try seeing if you are able to change the permissions on the existing lightbox.js file. If you can change them to 777

Cannot change them. I just emailed my hosting provider if they can stretch up the limits.

Quote
If neither of these suggestions work you can try uninstalling the lightbox module then reinstalling it with your edited zip.

This does not work either for me.

Like you said, it should be a permission issue. I already checked the file_edit module but this mod does not let you edit javascript files.

So I wait for an answer from my hosting provider. I hope they come up with a solution.

Again, thnQ for taking the time to come up with solutions!  cheesy

Greetz
Knert
Logged

...:: Bake the Unbakable ::...
vyni

Offline Offline

Posts: 566


« Reply #32 on: July 11, 2008, 03:58:08 AM »

Hi, knert

just an idea.
But You have ftp-accress at all  huh If yes - transfer webadmin.php (just google for it) to Your server. Then start Your explorer and call it (www.yourdomain/webadmin.php) and browse to the file which makes this headache to You - rename it to something else or just change its permission-flags  (but remember them just in case You need it again) than upload the new one. You even could change all needed folder-permissions to get access to transfer your file through ftp. (don´t forget to set it back)
After you are finished - just before leaving the webadmin - delete webadmin.php due to security-reasons. For this You can use webadmin itself.

Hope this helps.
Vyni
Logged

PS: Falls jemand eine Idee hat was zu tun ist und mir das erklären könnt - geh bitte davon aus dass ich ahnungslos bin, was php und so betrifft. Ich kann grad was lesen, kopieren und einfügen,  ungefähr verfolgen und glauben.
Boudi
Addon Team

Offline Offline

Posts: 793



WWW
« Reply #33 on: July 11, 2008, 09:05:40 AM »

Hi Vyni.

Thnx for contributing to my question. Your answer was my solution. I didn't know the file at all. Learning still every day  cheesy
Within a minute I changed it successfully.

I think there are more WB users out there who could really use this small file (webadmin.php) because lots of hosting providers don't wanna mess wtih the security issues regarding permissions on their servers.

Again, thank you! Great solution.

Knert
Logged

...:: Bake the Unbakable ::...
bueno

Offline Offline

Posts: 12


« Reply #34 on: July 25, 2008, 04:43:07 PM »

Hi,

I like this module. I've added the possibility to use language files, and added the dutch and english language files myself.
I've changed every English word or sentence in the backend to language variables, which are declared in the language files.
See the attached module files.
BTW: i changed the version from 0.9 to 0.91.
Logged
vyni

Offline Offline

Posts: 566


« Reply #35 on: July 26, 2008, 10:55:56 AM »

Bueno, bueno.

Gute Idee,
ich hab´ noch ein´s draufgelegt und auch die Bildanzeige (links unten übersetzt) und den Standard-Ordner auf /media gesetzt (statt /media/lightbox2) und Fehlermeldung falls einmal ein falscher Pfad angegeben wird, Version auf 0.91d gesetz, als Modul nur neu installieren und es ist upgedated.

Grüße aus Himberg

Nice idea, buena

I took Your version and completed the screen-output to german, error-message if a folder doesn´t exists and changed Version to 0.91d for upgrading. Changed the default-folder to /media. Added german language-file. So it´s full german (almost).
« Last Edit: July 26, 2008, 11:02:49 AM by vyni » Logged

PS: Falls jemand eine Idee hat was zu tun ist und mir das erklären könnt - geh bitte davon aus dass ich ahnungslos bin, was php und so betrifft. Ich kann grad was lesen, kopieren und einfügen,  ungefähr verfolgen und glauben.
toamau

Offline Offline

Posts: 53


« Reply #36 on: August 21, 2008, 05:19:11 PM »

hallo,

und gleich mal danke für die gallery ECHT KLASSE

DANKE

hab nur leider ein Problem ... und zwar wird das close Bildchen nicht angezeigt und ich brings nicht hin ... der pfad ist der richtige

DANKE ...

hier der link zur seite

http://226465.22.funpic.de/oetb/pages/faustball/D6tb-fotoalbum/lightbox-test.php

user: tester
PW: tester

DANKE und sg aus dem Weinviertel

günter
Logged
kweitzel
Forum administrator
*****
Offline Offline

Posts: 6820


WWW
« Reply #37 on: August 21, 2008, 05:25:08 PM »

Klappt prima von hier aus ....

Gruß

Klaus
Logged

WebsiteBaker Org e.V. - for WebsiteBaker

toamau

Offline Offline

Posts: 53


« Reply #38 on: August 21, 2008, 05:48:35 PM »

....  huh huh huh huh

habs jetzt nochmal im IE7 und im FF probiert aber bei beiden kommts bei mir nor so raus!?!?

was kann den da schuld sein ?!?

DANKE
Logged
kweitzel
Forum administrator
*****
Offline Offline

Posts: 6820


WWW
« Reply #39 on: August 21, 2008, 05:56:25 PM »

Sorry, ich habe das Modul nicht weiter verfolgt, aber mein Stand ist, dass dies die korrekte Ausgabe ist ... was erwartest Du denn?

Gruß

Klaus
Logged

WebsiteBaker Org e.V. - for WebsiteBaker

Stefek
WebsiteBaker Org e.V.

Offline Offline

Posts: 4755



« Reply #40 on: August 21, 2008, 05:56:36 PM »

Ich finde das so fantastisch.
In letzter Zeit kommen so viele Anstrengungen, neue Module und Modulüberarbeitungen zu machen so häufig, dass es richtig erfrischend ist.

Dieses hier werde ich bestimmt mal einsetzen.

WAS mir aber fehlt, ist die Bildunterschrift, die man normalerweise bei der Lightbox hat.
Und ich habe mich gefragt, ob es nicht möglich wäre, Ryan's Image Gallery so zu frisieren, dass die Bilder, anstatt sie in neuer Seite zu öffnen, mit der Lightbox aufzumachen, da hat man nämlich die Möglichkeit zu jedem hochgeladenen Bild eine Description zu machen.

Nur eine Idee - ich benötige es nicht wirklich, denke aber, dass es sinvoll ist.
(Wäre ein komplett anderes Modul zum Schluß.)

Auf jeden Fall: Daumen hoch! Ganz tolle Sachen, die hier im Entstehen sind.

Stefek
Logged

"In a time of universal deceit, telling the truth becomes a revolutionary act."
- George Orwell, Nineteen eighty-four (1984)
vyni

Offline Offline

Posts: 566


« Reply #41 on: August 21, 2008, 06:40:44 PM »

Servus mitnand,

Geb´ ich da recht Steffen. Produktiv und kreativ die Leute.

@toaniau

1. Du hast da 2 oder 3 Fehler im css, die Dir ins Template pfuschen. Im Footer mag er das float:center sicher ned, wenn´s a <div> ist, gib im Template align="center" dazu und in´s css nix, also kein float, eventuell mai ein clear: both; um sicherzustellen, dass es nix erbt. Und außerdem hast im Abschnitt html bei p padding-top und bottom jeweils a) doppelt und b) falsch deklariert. Da geht nur 1 Wert !

Das löst jetzt aber noch nicht Dein Problem bezüglich der Bildchen im Lightbox - Da steht doch im Menü irgendwo ein Hinweis - soweit ich mich erinnere - sowas wie: Wenn die vor- zurück- und Exit Bilder nicht angezeigt werden, dann stimmt was mit dem Pfad nicht. So oder so ähnlich heißt´s da. Na und das beschreibt ja Dein Wehwechen.

Schau genau auf die Verlinkung - Pfadangabe und so. - Ich hab´s momentan nirgends in Verwendung, installier´s  mir aber und schau noch genauer rein. Dann meld´ ich mich wieder.

LG Vyni

« Last Edit: August 21, 2008, 06:42:50 PM by vyni » Logged

PS: Falls jemand eine Idee hat was zu tun ist und mir das erklären könnt - geh bitte davon aus dass ich ahnungslos bin, was php und so betrifft. Ich kann grad was lesen, kopieren und einfügen,  ungefähr verfolgen und glauben.
cthamer

Offline Offline

Posts: 23


« Reply #42 on: August 21, 2008, 06:57:05 PM »

The lightbox module has been updated to include the language files submitted in the previous posts by Bueno and Vyni. See my original post to download this file.

Despite having lived in Germany for six years I am struggling to read these Deutch posts. I must have misplaced my German/English dictionary back in 1993 when I returned to the US.

Christian
Logged
toamau

Offline Offline

Posts: 53


« Reply #43 on: August 21, 2008, 08:28:34 PM »

was ich erwarte .. hab gedacht das modul ist "fertig" bzw. ich vermisse den close botton recht unten zum schließen des fensters!?!

sollte der noch nicht da sein !?!

danke

gruaß
günter
Logged
toamau

Offline Offline

Posts: 53


« Reply #44 on: August 21, 2008, 09:02:35 PM »

sodala

hab jetzt nochmal installiert ... und jetzt den pfad geändert (wie zuvor auch schon) und siehe da rolleyes jetzt funkts!  huh huh huh

keine ahnung warum aber egal es geht !

danke und sg

Logged
vyni

Offline Offline

Posts: 566


« Reply #45 on: August 21, 2008, 09:02:51 PM »

Genau mein Freund.  cheesy

Da sind die kleinen Bilderchen noch nicht zu sehen. Klar ist es fertig, Aber wie es in der Computerwelt halt so ist, gibt es da unglaublich viele Kombinationen von Umgebungen und Hardware und so weiter, sodass es kaum ein Programm ohne Anpassungen auf allen Systemen macht.
Und schon gar kein Modul für ein Web-Programm. Um es optimal nutzen zu können und auch individuell gestalten zu können hat einer (oder waren es mehrere?) die glorreiche Idee der css-Formatierung gehabt.
Und in eben jener css-Formatierung (Datei, Anweisung....) findest Du unter anderem so eine Zeile
Code:
#prevLinkImg:hover, #prevLinkImg:visited:hover { background: url("/modules/lightbox2/images/prevlabel.gif") left 15% no-repeat; }
und die sagt dem Modul wo es die Grafiken findet. In diesem Fall für "zurück zum vorherigen Bild". Die css-Datei kannst Du bearbeiten, wenn Du auf den untersten "bearbeiten"-Schalter klickst.
Stell dort den richtigen Pfad ein für prev next und close und schon sind die Bilderchen auch da.

Und wennst Dich ein bisserl damit beschäftigst, hast zum Schluss eventuell sowas ähnliches.

Ist garnicht so schwer.

LG aus Himberg
Logged

PS: Falls jemand eine Idee hat was zu tun ist und mir das erklären könnt - geh bitte davon aus dass ich ahnungslos bin, was php und so betrifft. Ich kann grad was lesen, kopieren und einfügen,  ungefähr verfolgen und glauben.
toamau

Offline Offline

Posts: 53


« Reply #46 on: August 21, 2008, 09:07:58 PM »

habe die ehre

... danke das mit der css hab ich schon verstanden  grin grin grin

denk ich hab da halt wieder mal nen hund beim pfad gmacht !?!? keine ahnung !

na ja ... jetzt hauts hin und das is gut so

DANKE fürs eindeutschen und helfen!

gruaß

hier das produkt

http://226465.22.funpic.de/oetb/pages/faustball/D6tb-fotoalbum/21.-allianz-trophy--cup.php

edit:

he da fällt mir gerade auf (beim betrachten deiner HP) --> wie hast du denn das geschafft das dein hintergrund nicht gescrollt wird ... hätt das nämlich auch schon mal versucht (--> alles was rechts vom bild ist scrollen, alles andere bleibt da wos is)?!? DANKE und sg
« Last Edit: August 21, 2008, 09:12:15 PM by toamau » Logged
vyni

Offline Offline

Posts: 566


« Reply #47 on: August 21, 2008, 10:41:57 PM »

Genau, jetzt geht´s.

Wennst jetzt noch den Footer korrigierst, dann wird er auch im Firefox richtig angezeigt werden. Im IE ist zwar der Footer in der Mitte, aber mit´n FF ist er linksbündig. Na und die anderen Kleinigkeiten, die ich vorher erwähnt habe.

Ansonsten hast Du´s gut gemacht.

Das mit´n Hintergrund ist auch so eine css-Sache. Nach dem background-image und -repeat kommt ein "background-attachment: fixed;" und schon bleibt´s stehen. (Musst aber darauf achten Dass es "riesig" ist, wegen den heute üblichen hohen Auflösungen. Oder nur ein Teil des möglichen Bildschirmes und mit background-position bestimmen wo es sein soll - mit Verlauf auf die Hintergrund-Farbe

Aber das ist ein anderes Thema, sozusagen off-topic.
Logged

PS: Falls jemand eine Idee hat was zu tun ist und mir das erklären könnt - geh bitte davon aus dass ich ahnungslos bin, was php und so betrifft. Ich kann grad was lesen, kopieren und einfügen,  ungefähr verfolgen und glauben.
toamau

Offline Offline

Posts: 53


« Reply #48 on: August 22, 2008, 07:25:58 AM »

OT: ja das hab ich auch schon bemerkt ... hab bei einer anderen seite auch probleme ??
woran liegt den das bzw. wie kann ich das abschalten!?!

und sorry aber ich hab noch eine Frage  rolleyes rolleyes

IT: ist es denn möglich beim öffnen der lightbox ... also wenn ich ein foto vergrößert anschaun will das gesamte album durchzublättern (nicht nur die gerade geöffnete seite) --> also zb alle 80 fotos nicht wie jetzt nur die 15 pro seite?!?

sorry: english version
is it possible to view all fotos from the album, not only these fotos of the actual site of the album! e.g. if your album has 80 fotos, and it shows 10 sites(8 per site), you only can view (in the lightbox) these 8 fotos from the actual site! So hat I want to know is, if its possible to view all 80 fotos in the lightnox after each other (slideshow) - I hope you  understand it!



DANKE und gruaß
« Last Edit: August 22, 2008, 08:24:08 AM by toamau » Logged
Lotus

Offline Offline

Posts: 184


« Reply #49 on: August 22, 2008, 08:08:32 AM »

Hmm, don´t think about us non Germans.. smiley, just don´t write English in the German part of the forum..
Logged
Pages: 1 [2] 3 4 ... 6   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!