Donnerstag, 1. Januar 2015

Joomgallery: Alle Popups wie Slimbox, Thickbox, Lytebox bleiben beim Laden stehen

Sollte man die Option eingestellt haben, dass die Bilder alle die gleiche Größe bekommen und die Originale gelöscht werden, kann gut sein, dass man vergessen hat, eine Option zu setzen, die eben nicht die Originale anzeigt.

Diese Option findet Ihr unter:
Komponenten->JoomGallery->Konfigurationsmanager->Kategorie-Ansicht->PopUp-Box Orignialbild (JoomGallery-Version 2.1.6)


Mittwoch, 31. Dezember 2014

Joomla Optimized Countdown nur 2-Stellig

Leider hatte der Countdown nur 2 Stellen. Folgendes Mail bekam ich dann von der Herstellerfirma:


In order to make the module show more than 2 digits of days, you have to do the following changes:
1) Go to the (jquery.countdown.js) file, which can be found in the (js) folder inside our module files.
2) In around line (60), simply, change the (-2) for the days slice to be (-3 or -4 or -5) as per your digits needs (only change it for days), and according to this number, add zeros (0) to match the case when the countdown have less days. The result will be something like that: (("000" + days).slice(-4)). In this example, we increased it to show 4 digits, that's why we have three zeros to show even if we have 1 day remaining.
3) Update lines 15 and 16 in the same file (jquery.countdown.js), the format and the startTime must have the same format. in our previous example of 4 digits of days, the results will be something like this:
format: "dddd:hh:mm:ss",
startTime: "0001:12:32:55",

Save the file and close it.
4) This change will require you to update the description below the digits (Days, Hours, ...etc) so it will show under that numbers. For this, you have to go to the (helper.php) file which can be found directly inside our module folder, and go to around line (98) and override the Div style for the Days only, and add special new width to match your needs, so it will appear something like: 
'.$oCDdaysL.'
.

That's it, you will have 4 digits of days, and everything shall work fine.
The result will be something like this:
https://o-sense.com/joomla/ocountdown.html
Feel free to contact us for any further assistance.
Regards.

Vielleicht kanns ja jemand gebrauchen! Eingestellt hab ichs, also funktionieren tuts!

Mittwoch, 8. Oktober 2014

Gimp RGB umwandeln in CMYK - Plugin Separate

Folder gemacht, soweit fertig. Dann sagt der von der Druckerei natürlich, dass er die fertigen Druckdaten braucht. Ich denke mir, das darf doch kein Problem sein und starte eine Recherche.

Schon nach kurzem ist mir klar, so ganz einfach wirds nicht, doch ein findiges Köpfchen hat schon ein Plugin entwickelt. Kurz runtergeladen und gestartet - leider ein Fehler.

Schlussendlich hat der Download von hier funktioniert.


Freitag, 22. August 2014

php and owncloud-Error: ...pspell.so: cannot open shared object file

I got mail on my root-account saying, that in php is something missing:

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626/pspell.so' - /usr/lib/php5/20090626/pspell.so: cannot open shared object file: No such file or directory in Unknown on line 0

Got hints on the web that this has someting to do with owncloud.

Resolution: Install the spell-libs:

sudo apt-get install libpspell-dev
sudo apt-get install php5-pspell
sudo apt-get install aspell-en aspell-de
You can test if it worked after a apache-restart with

sudo php -v


I got this from: http://stackoverflow.com/questions/1957808/how-can-i-install-pspell-in-php5-ubuntu