1. Forum
    1. Themen Übersicht
  2. Hilfe
  3. Forenregeln
  4. Mitglieder
    1. Team
    2. Mitgliedersuche
  5. Webseite
  6. Archiv
  • Anmelden
  • Registrieren
  • Suche

Neuigkeiten

Alles
  • Alles
  • Artikel
  • Seiten
  • Forum
  • Erweiterte Suche

Neuigkeiten

  1. Mitglieder
  2. whistler

Beiträge von whistler

  • Javascript error with Squeezebox in detail view

    • whistler
    • 30. April 2021 00:00

    Ok, so this is related to mootools. Basically anytime you use behavior.modal, you are not doing anyone a favor.

    Code
    JHTML::_('behavior.modal');
  • Javascript error with Squeezebox in detail view

    • whistler
    • 29. April 2021 15:33

    I am having some issues with Javascript which seems to only affect the Detail page.

    Uncaught ReferenceError: SqueezeBox is not defined

    Seems the error is caused by an attempt to initialize the squeezebox

    Code
    function joom_hover() {
          jg_photo_hover = (jg_photo_hover==1) ? 0 : 1;
        }document.onkeydown = joom_cursorchange;
            jQuery(function($) {
                SqueezeBox.initialize({});
                initSqueezeBox();
                $(document).on('subform-row-add', initSqueezeBox);
    
                function initSqueezeBox(event, container)
                {
                    SqueezeBox.assign($(container || document).find('a.modal').get(), {
                        parse: 'rel'
                    });
                }
            });
    
            window.jModalClose = function () {
                SqueezeBox.close();
            };
    Alles anzeigen

    Now, I am unbelievably bad in Javascript, so I assume he is missing some file, but there should be nothing on that page which should require Squeezebox to be used. Unfortunately, I have no idea what to do to deactivate this. Preventing to load the detail.js file from loading stops the error though it does prevent some other functionality on the detail page.

    Any idea how to resolve this? This breaks the js on the page.

  • Joomplu and PHP8 error

    • whistler
    • 31. März 2021 15:30

    See, thats why I always come here to ask for support because MrMusic is the right guy to ask. It has fixed the issue and no warning is now being shown! Thanks!

  • Is there a way to create albums?

    • whistler
    • 29. März 2021 17:22

    Will to, though do not expect a pro level of code. My joomgallery is modified. A lot. And you would for sure have some serious discussion with me about best practices

  • Joomplu and PHP8 error

    • whistler
    • 29. März 2021 17:21

    MrMusic,

    sure I know, but in development enviroment this is one hell of an issue! :D

    I can literally scroll around it, but if there is anything I can do to fix it (sorry too lousy dev to figure out myself), then it would help a lot

  • Is there a way to create albums?

    • whistler
    • 29. März 2021 00:13

    unfortunately the tags function will not work out to do it the way I intend. I will code my own view for that. But thanks

  • Joomplu and PHP8 error

    • whistler
    • 29. März 2021 00:02

    Hi, I am slowly planning to upgrade onto PHP8, only encountered minor issues which were easily fixable, but this one gives me a headache. Joomplu throws this errors on frontend. Can one of the admins tell me how to fix this quickly?

    Warning: plgContentJoomPlu::route(): Argument #1 ($matches) must be passed by reference, value given in C:\wamp64\page\plugins\content\joomplu\joomplu.php on line 455

  • Is there a way to create albums?

    • whistler
    • 22. März 2021 02:40

    I am wondering if there is a way that admins or users could create albums from existing photos in categories. The albums would be then visible/linkable to any page visitors. It would be something like albums on the Airliners.net gallery. Users could create multiple thematic albums and add images to that album.

    Airliners.net sample album

    Its not really the favorites function, because I think you can only have one favorites per user, you can not name it by group and I do not think that a users favorite list could be visible to other users.

    Am I right to assume this would have to be custom developed?

  • Joomgallery not detecting imagemagick

    • whistler
    • 3. Februar 2021 07:20

    I am trying to do some benchmark tests when it comes to image quality and performance between using GD2 and ImageMagick as the image processor. Unfortunately, there seems to be an issue with the joomgallery not detecting the extension. Php info shows ImageMagick is present and loaded properly. Running on my localhost on WAMP64.

    Any Idea what could be the reason?

  • Suggestion: Do not generate EXIF data as HTML outside of template

    • whistler
    • 16. Dezember 2020 21:07

    Sorry, not on Github, but finally got time to look into this. Solution is super simple.

    In the model for the detail view, just add this on line 630

    Code
            $this->_exifdata  = $exif_array;
          return true;

    you could obviously add a setting in the configuration if the user wants a data or graphical output of the EXIF data and encapsulate this into an if condition.

    From here onwards, the data are easily used in the template directly and can be used in any way you want and anywhere in the design you want.

  • Why no after upload view?

    • whistler
    • 31. August 2020 17:43

    Ok, just some heads up on this - This is the page I am displaying after the upload, still work in progress, but is IMHO a better solution than the default page displayed after upload


    Bilder

    • pasted-from-clipboard.png
      • 363,43 kB
      • 1.600 × 900
  • E-mail notifications to users

    • whistler
    • 24. August 2020 17:14

    Can you point me out to where the e-mails are generated in the code?

  • E-mail notifications to users

    • whistler
    • 23. August 2020 19:10

    Hi, again a question - I reviewed the notifications settings in the joomgallery admin section and while I see many of them, I do not see in the admin panel the configuration of notifications sent when image is rejected.

    Furthermore I wanted to ask if there is a possibility of notification for the following 2 events:

    - confirmation of image upload

    - notification of image approval

    Especially the second one seems to be important so the user is notified his image is uploaded.

    I assume all the notifications are hardcoded in the code so if we need to modify the text, we have to do it via the language files and any further modifications would be via direct changes to the code.

  • Why no after upload view?

    • whistler
    • 11. August 2020 17:28

    True,although by using an article you loose the option of displaying Joomgallery specific content. I guess I will just make a modification of the model

  • Suggestion: Do not generate EXIF data as HTML outside of template

    • whistler
    • 11. August 2020 02:22

    I am working on my gallerys detail view and wanted to add the EXIF data. To my surprise they are generated in the model already as HTML.

    Trying to retrieve the exif data to place them into my customized data by calling $this->exifdata returns a HTML structure like this:

    Code
    <div class="jg_row1">
        <div class="jg_exif_left">
              Camera Make (Manufacturer)        
        </div>
        <div class="jg_exif_right">
              SONY&nbsp;        
        </div>     
    </div> 

    The issue is - if you have a custom template override, this will not work. It would be much better if this would be simply output as data under $this->exifdata and the template should handle the html of this and not the model.

    I will look into fixing this in the function in the model for detail view and report on this, but it would be great if it would be incorporated as a principle that model files should not output HTML and leave that to the template.

  • Why no after upload view?

    • whistler
    • 10. August 2020 15:37

    Its not about redirecting anywhere MrMusic, I would just love to have a propper view after upload, which then could be customized via template. I see the function, just was wondering what would be the best option to add a view which would be part of Joomgallery and would by default display after upload.

    And there basically is no other view which would be suitable. I would love to display additional information to the user on the page, e.g. info that his submitted image is awaiting approval, there are e..g. XX images ahead of him in the queue and so on. So I do believe this should not be any third party view, but be part of the standard Joomgallery package, so what I want to do is just to add one more view which would be rendered after upload.

  • Why no after upload view?

    • whistler
    • 8. August 2020 01:21

    Hi there,

    I wanted to ask why there is no full view after upload? There are basically just 3 links generated after the upload is completed and that is it. Not very user friendly and not very nice. What would be the best way to create a custom view after a succesfull upload?

  • Where set to display "Top Rated - Last Added - Last Commented - Most Viewed" only on footer?

    • whistler
    • 8. August 2020 01:09

    Go to Joomla Admin -> Joomgallery -> Configuration manager

    Select tab Toplists, the first option allows you to configure if you want to show toplist only in footer or also in header

  • Routing to image detail adds extra level for image category

    • whistler
    • 15. Juli 2020 16:58

    I see that once I remove the menu item to the category, things return to normal. However, this is by far not a practical solution and this is like you saying that there should basically not be a category view menu option, because it screws things up.

    I have for now fixed it by performing a simple check on the link which is provided to the individual images and fixing it accordingly. It fixes it in the view, although there still are issues which persist and I might have to look into them at a later stage

    Code
    $badcat = $row->alias .'/'.$row->alias;
    $fixedlink = str_replace($badcat, $row->alias, $row->link);
  • Routing to image detail adds extra level for image category

    • whistler
    • 13. Juli 2020 06:15

    HI folks,

    I am working on a new site and am trying to get a few things done properly compared to my older site which also uses joomgallery. I am also trying to resolve one issue with the URLs I have noticed on the old site and is persistent also in the new version of Joomgallery

    Lets imagine the following structure of the menu:

    Home -> Gallery -> Civil Aircraft

    Civil Aircraft is a category view. The category page is configured to show only images from one category which is called Civil Aircraft

    Now, when I am on the Category view for Civil Aircraft, the url will be e.g mywebpage/gallery/civil-aircraft

    Once I click on any of the image thumbnails, I am proceeding to the Detail view, and my url will change to something like mywebpage/gallery/civil-aircraft/civil-aircraft/imagealias

    Why would this be adding the category alias twice? This makes no sense and also has a negative impact when indexed by Google. I obviously checked and if I manually remove one category alias from the url, the detail view still displays properly, although all the other links in the gallery navigation (e.g. back to category view) have exactly this same error.

    The desired links from the category view to the detail view of the images should thus be mywebpage/gallery/civil-aircraft/imagealias

    I can try fix this issue myself but before I start working on some workarounds, I would love to hear from the admins here if there is a solution for this and if this can be fixed globally

Letzte Beiträge

  • URLs nach Update auf JoomGallery4 und SH404SEF /4SEF

    Bjoern 1. Juli 2025 23:56
  • Looking to replicate JG3 Gallery / Category View under JG4

    GJSchaller 1. Juli 2025 20:01
  • What can you do with Tags?

    FriendlyUser 30. Juni 2025 22:40
  • JG3 Bilder als Artikelbild verlinkt - Welche Migrationseinstellung erhält die Dateipfade?

    MrMusic 30. Juni 2025 10:21
  • JoomGallery for Joomla 4

    MrMusic 26. Juni 2025 13:53
  • Bearbeiten von Bildern nicht möglich

    kaufi88 26. Juni 2025 11:11
  • URLS nach Migration auf JG4

    Elfangor93 25. Juni 2025 12:45
  • Inconsistent category folder paths defined in the database of your JG3 tables

    MrMusic 24. Juni 2025 15:49
  • JoomImages Module in Joomgallery 4

    Elfangor93 17. Juni 2025 09:07
  • 4SEF have native support for JoomGallery

    Elfangor93 17. Juni 2025 08:36
  1. Datenschutzerklärung
  2. Impressum
Community-Software: WoltLab Suite™