Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 11:31:50 AM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155533 Posts in 21712 Topics by 7759 Members
Latest Member: chris85
* Home Help Search Login Register
Pages: [1] 2 3   Go Down
Print
Author Topic: [M] Foldergallery (JQA) Module  (Read 4988 times)
D72

Offline Offline

Posts: 253


« on: September 23, 2010, 07:46:51 AM »

Started this thread as there was no English topic in particularly for the Foldergallery and Foldergallery-JQA Modules.
Logged
D72

Offline Offline

Posts: 253


« Reply #1 on: September 23, 2010, 07:49:55 AM »

I mentioned this allready in the German section.
The ordering in the admin is messed up when i created new thumbnails or new pictures and sync the database. The ordering takes a random position. Not alphabetical nor date. Just mixed up.
I sorted the photo albums by the drag and drop. All is going well and on the frontend everything is nicely sorted as i wanted. But as soon as i add new photos and Sync the database with the system files, the ordering is completely different again.
Logged
D72

Offline Offline

Posts: 253


« Reply #2 on: September 23, 2010, 11:31:12 AM »

Another thing.
In the admin, when i click a category, i can type 'Title category' and 'Category description'.
But where should the category describtion appear?
I can't see it appearing anywhere. Is there something forget in the view.php to call this on the frontend?
Logged
dbs
WebsiteBaker Org e.V.

Offline Offline

Posts: 3719


WWW
« Reply #3 on: September 23, 2010, 11:37:27 AM »

should be:

in a category:

page_title categoy-title category-desc

if not, compare the .htt with one from foldergallery
Logged

masarin

Offline Offline

Posts: 51


« Reply #4 on: September 23, 2010, 02:19:40 PM »

When I use Foldergallery (JQA) Module with Colorbox,  it doesn't seem to notice the changes I made in /modules/jqueryadmin/presets/colorbox.jquery


For exampel I can change which CSS to use (there are five different included)(just change the link URL to the  CSS you want to use:
Code:
<link rel="stylesheet" type="text/css" href="{WB_URL}/modules/jqueryadmin/plugins/Colorbox/5/colorbox.css" media="screen" />

I also found out that I can change the function to use "class" instead of "rel".
I then can use "rel" to group images to different groups on the same page.

Code:
   $(".cfade").colorbox({

                 transition:"fade",

                 opacity: "0.7",

                 maxWidth:"90%",

                 maxHeight:"90%",

                 current: "Bild {current} von {total}",

                 speed: 800

             });

                                            

    $(".cslide").colorbox({

                 slideshow:true,

                 slideshowSpeed:6000,

                 slideshowAuto:true,

                 transition:"elastic",

                 speed:500,

                 opacity: "0.7",

                 maxWidth:"90%",

                 maxHeight:"90%",

                 previous:"Tillbaka",

                 next:"N&auml;sta",

                 close:"St&auml;ng",

                 current: "Bild {current} av {total}",

                 slideshowStart: "Start",

                 slideshowStop: "Stopp"

               });



Then I tried to use Foldergallery (JQA) Module as an backend to create galleries, but it doesn't seem to notice my changes made in colorbox.jquery.
I want to be able to style Colorbox.

I have tried to change the Colorbox "foldergallery_templ ate.htt" to use "class" instead of "rel"
« Last Edit: September 23, 2010, 02:37:20 PM by masarin » Logged
BlackBird
AddOn Development
*
Offline Offline

Posts: 2069



WWW
« Reply #5 on: September 23, 2010, 03:16:22 PM »

The Foldergallery uses the preset file of the plugin, not the one you create using the JQA backend. This is because the Foldergallery can't "know" how you name your preset. So, if you wish to style your ColorBox, you will have to pimp the loader.preset located in the jqueryadmin/plugins/colorbox folder.
Logged

Alle großen Veränderungen beginnen im Kleinen
masarin

Offline Offline

Posts: 51


« Reply #6 on: September 23, 2010, 06:21:52 PM »

OK, but how do I change the stylesheet:

Code:
<link rel="stylesheet" type="text/css" href="{WB_URL}/modules/jqueryadmin/plugins/Colorbox/1/colorbox.css" media="screen" />

Should I edit the modules/jqueryadmin/plugins/Colorbox/default.preset -file direct.
« Last Edit: September 23, 2010, 06:27:04 PM by masarin » Logged
masarin

Offline Offline

Posts: 51


« Reply #7 on: September 23, 2010, 07:07:26 PM »

My solution is

To get the Foldergallery (JQA) Module to look and work the way I wanted to I edited the modules/jqueryadmin/plugins/Colorbox/default.preset .

To use Colorbox (without Foldergallery) function with classes and groups with rel (as described above) I edit the  /modules/jqueryadmin/presets/colorbox.jquery to get what I want.

Now I can use Foldergallery for nice galleries and the stand alone Colorbox plugin for any other image or image group.

Logged
masarin

Offline Offline

Posts: 51


« Reply #8 on: September 23, 2010, 07:56:03 PM »

Swedish language file for the Foldergallery (JQA) Module
« Last Edit: September 24, 2010, 07:41:13 AM by masarin » Logged
Pumpi

Offline Offline

Posts: 556


WWW
« Reply #9 on: September 23, 2010, 08:25:55 PM »

foldergallery JQA is only an copy of Foldergallery without some scripts.

can you pleas make the language file for the newest version of Foldergallery there are some language variabls added.

Big Thx for your Work Wink
Logged

My Module for Websitebaker - Foldergallery 1.17
masarin

Offline Offline

Posts: 51


« Reply #10 on: September 24, 2010, 07:43:00 AM »

OK, thanks.

Here's the Swedish language file for Foldergallery 1.16
Logged
seagull

Offline Offline

Posts: 81


« Reply #11 on: September 25, 2010, 02:22:41 PM »

Hi,
How can i change Foldergallery so it scans only f.i. the media folder and the subfolders of the media folder and not the whole server root?
I have a large number of folders on my server and then it takes quite long time loading the settingspage for making changes.

thanks, Jan
Logged
Boudi
Addon Team

Offline Offline

Posts: 816



WWW
« Reply #12 on: September 27, 2010, 12:50:35 PM »

Dutch language here.

Boudi
Logged

...:: Bake the Unbakable ::...
D72

Offline Offline

Posts: 253


« Reply #13 on: September 27, 2010, 02:22:27 PM »

Sorry for the bump.
But is there a solution for the sorting issue in the admin?

Drag and Drop to sort/order works good.
But when the database syncs, the sorting is back to it's "original" state.
This confuses the client a lot and they want it to sort badly in the newest gallery on top and the oldest at the bottom.
Logged
instantflorian
Betatester
*
Offline Offline

Posts: 804



WWW
« Reply #14 on: November 03, 2010, 08:20:54 AM »

Hi,

I corrected some spelling mistakes in the german language file.

BR
-instantflorian.
Logged
gottfried

Offline Offline

Posts: 980


« Reply #15 on: November 22, 2010, 11:21:38 AM »

Hi ! Blackbird told me to post here.
I had some problems with foldergallery-jqa last night with a plugin i play arround with and the original frontend.css.
The images of the class photostyle were very small. (16px)

It worked ok on wbportable 2.8 but not on the 2.8.1 Installation on the server.

There was no problem with an adaptet frondent.css where i specified a width and a hight for .photostyle img
To be able to use the original frontend.css i changed view.php a little.

Code:
echo '<style type="text/css">
ul.categories li a {
width: '.$catWidth.'px;
height: '.$catHeight.'px;
}
</style>';

// gottfried 211110
echo '<style type="text/css">
.photostyle  img {
width: '.$settings['thumb_size'].'px;
height: '.$settings['thumb_size'].'px;
}
</style>';
// ends

ob_start();
$t->pparse('output','js');
$t->set_file('view', $viewTemplate);
$t->set_var( 'INCLUDE_PRESENTATION_JS', ob_get_clean());
$t->pparse('output', 'view');

Logged
Boudi
Addon Team

Offline Offline

Posts: 816



WWW
« Reply #16 on: January 29, 2011, 12:03:28 PM »

Ok...ok.... I know the answer for 95% but anyway....here it is;

When having 20 pictures in a file and displaying 8 pictures per page it's not possible to go from picture 8 to picture 9 on the next page. Therefore you have to close the slideshow, enter the second page, open the slideshow again and continue.

Is there a hack to disable this so you can click all the pictures without leaving the slideshow?

Boudi
Logged

...:: Bake the Unbakable ::...
dbs
WebsiteBaker Org e.V.

Offline Offline

Posts: 3719


WWW
« Reply #17 on: January 29, 2011, 12:11:51 PM »

this is an old problem and a long time part of the wishlist.
if you find a hack let us know.
« Last Edit: January 29, 2011, 12:24:57 PM by dbs » Logged

avde

Offline Offline

Posts: 20


« Reply #18 on: February 09, 2011, 05:46:30 PM »

I can not get the foldergallery to display on my webpage.  When looking at the source I see that the code stops after it comes to the content... Also in the admin, when I edit the page with foldergallery, if I click under "Modify categories and images:" -> Root, nothing shows up... What am I doing wrong? I'm using the full foldergallery
(http://www.websitebakers.com/pages/modules/image-galleries/foldergallery.php)

... all the html code...
<div id="content"><a class="section_anchor" id="wb_58" name="wb_58"></a>
Logged
BlackBird
AddOn Development
*
Offline Offline

Posts: 2069



WWW
« Reply #19 on: February 09, 2011, 06:42:49 PM »

Check your PHP version. The FG won't work with PHP 4.
Logged

Alle großen Veränderungen beginnen im Kleinen
avde

Offline Offline

Posts: 20


« Reply #20 on: February 09, 2011, 06:52:05 PM »

I have PHP Version 5.2.9... you can check the whole phpinfo on http://krekom.si/wbtest/phpinfo.php
Logged
BlackBird
AddOn Development
*
Offline Offline

Posts: 2069



WWW
« Reply #21 on: February 09, 2011, 06:59:12 PM »

Okay. So set the PHP errors to E_ALL.
Logged

Alle großen Veränderungen beginnen im Kleinen
avde

Offline Offline

Posts: 20


« Reply #22 on: February 09, 2011, 07:23:27 PM »

OK i think I have enabled error reporting, because I'm seeing "error_log" files on the server... they say:

" [09-Feb-2011 20:13:45] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/: cannot read file data: Is a directory in Unknown on line 0 "

Is this the problem? What should I do? I have a VPS with cPanel/WHM and root access...
« Last Edit: February 10, 2011, 10:01:33 AM by avde » Logged
avde

Offline Offline

Posts: 20


« Reply #23 on: February 10, 2011, 09:39:25 AM »

I have contacted my host provider and they asked me if they should install imagemagik on the server. What do you think, is this it?
Logged
BlackBird
AddOn Development
*
Offline Offline

Posts: 2069



WWW
« Reply #24 on: February 10, 2011, 10:43:31 AM »

No. I think FG uses GD, not ImageMagick.

I meant enabling PHP Error Reporting in the WB Backend. (http://www.websitebaker2.org/en/help/user-guide/working-with-wb/settings/general-settings.php -> Scroll to bottom)
« Last Edit: February 10, 2011, 10:45:50 AM by BlackBird » Logged

Alle großen Veränderungen beginnen im Kleinen
Pages: [1] 2 3   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!