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

Neuigkeiten

Dieses Thema
  • Alles
  • Dieses Thema
  • Dieses Forum
  • Artikel
  • Seiten
  • Forum
  • Erweiterte Suche

Neuigkeiten

Letzte Beiträge
  1. JoomGallery 3.x JUX für Joomla! 3
  2. Alle Beiträge zur JoomGallery 3.x JUX
  3. Frontend - JG 3.x

How to disable Author field on user upload page?

  • lowlands
  • 21. Oktober 2020 22:01
  • Erledigt
1. offizieller Beitrag
  • lowlands
    Benutzer
    • 21. Oktober 2020 22:01
    • #1

    Hi There,


    I'm stoked that the development of this component has been picked up again. It's one of the best extensions of joomla in my eyes.


    I've just updated to the latest version and now there is an "author" field on the user upload page. When users fill in their name here, their name is not linkable anymore on the detail view and gallery view. (jomsocial via displaykunenaname)


    Perhaps I'm missing something, but I can't disable this author field.


    Is there a way to not show this field?

    Bilder

    • Screen Shot 2020-10-22 at 8.48.50 AM.png
      • 41,65 kB
      • 928 × 588
    • Zitieren
  • MrMusic
    Moderator
    Reaktionen
    108
    • 23. Oktober 2020 12:35
    • Offizieller Beitrag
    • #2

    Hi,

    yes, you can remove the author field with a template override, see documentation for more informations.

    Maybe we should separate the author and owner field in a later version?

    Regards

    MrMusic

    JoomGalleryfriends.net - die neue Webseite für die JoomGallery

    • Nächster offizieller Beitrag
    • Zitieren
  • lowlands
    Benutzer
    • 24. Oktober 2020 00:32
    • #3

    Hi There

    I've looked into the folder mentioned ion the documentation, but it's not clear to me what I need to do there to not show the author field.

    Can you say what I need to do there please?

    It would be good to have the option to not show the author field in user upload section via a setting in the configuration in a later version.

    Thanks

    • Zitieren
  • MrMusic
    Moderator
    Reaktionen
    108
    • 26. Oktober 2020 10:54
    • Offizieller Beitrag
    • #4

    There exist a separate file for each upload method.

    Depending on which upload method you are using, you have to delete the respective code.

    Single upload

    Filename: default_single.php

    Line 39 - 46

    PHP
      <div class="control-group">
        <div class="control-label">
          <?php echo $this->single_form->getLabel('imgauthor'); ?>
        </div>
        <div class="controls">
          <?php echo $this->single_form->getInput('imgauthor'); ?>
        </div>
      </div>

    Ajax upload

    Filename: default_ajax.php

    Line 57 - 64

    PHP
      <div class="control-group">
        <div class="control-label">
          <?php echo $this->ajax_form->getLabel('imgauthor'); ?>
        </div>
        <div class="controls">
          <?php echo $this->ajax_form->getInput('imgauthor'); ?>
        </div>
      </div>

    Batch upload

    Filename: default_batch.php

    Line 43 - 50

    PHP
      <div class="control-group">
        <div class="control-label">
          <?php echo $this->batch_form->getLabel('imgauthor'); ?>
        </div>
        <div class="controls">
          <?php echo $this->batch_form->getInput('imgauthor'); ?>
        </div>
      </div>

    JoomGalleryfriends.net - die neue Webseite für die JoomGallery

    • Vorheriger offizieller Beitrag
    • Zitieren
  • lowlands
    Benutzer
    • 28. Oktober 2020 07:16
    • #5

    That worked, thanks

    • Zitieren

Letzte Beiträge

  • Is there a way to hide the "Description:" text for Category view?

    GJSchaller 11. Juli 2025 00:48
  • JoomGallery 4.1.0 - Fehler nach dem Update

    reni 9. Juli 2025 21:32
  • URLs nach Update auf JoomGallery4 und SH404SEF /4SEF

    Bjoern 9. Juli 2025 18:14
  • JoomGallery für Joomla 4

    soenke 9. Juli 2025 18:11
  • Can you change the parent category of a category?

    GJSchaller 8. Juli 2025 00:32
  • 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
  1. Datenschutzerklärung
  2. Impressum
Community-Software: WoltLab Suite™