source link throws error #1

Closed
opened 2021-10-13 01:56:20 +02:00 by chris · 2 comments
Owner
eg. https://collections.arc-hive.zone/s/ontological-ecology-of-echoes-when-nature-takes-back-a-social-story-IV/page/gallery
Owner

Seems it is how the link it is generated by view/common/block-layout/smartGallery.phtm in line 15

<?php if ($renderSourceLink) { ?>
    <div class="source-link">
      <a href="<?= $item_url ?>">Source</a>
    </div>
  <?php } ?>

wich is defined at src/Site/BlockLayout/SmartGallery.php line 95

double check previous call in line 82

Seems it is how the link it is generated by `view/common/block-layout/smartGallery.phtm` in [line 15](https://git.hangar.org/arcHIVE-tech/SmartGallery-omeka-module/src/branch/main/view/common/block-layout/smartGallery.phtml#L15) ``` <?php if ($renderSourceLink) { ?> <div class="source-link"> <a href="<?= $item_url ?>">Source</a> </div> <?php } ?> ``` wich is defined at `src/Site/BlockLayout/SmartGallery.php` [line 95](https://git.hangar.org/arcHIVE-tech/SmartGallery-omeka-module/src/branch/main/src/Site/BlockLayout/SmartGallery.php#L95) double check previous call in [line 82](https://git.hangar.org/arcHIVE-tech/SmartGallery-omeka-module/src/branch/main/src/Site/BlockLayout/SmartGallery.php#L82)
Author
Owner

My mistake. There is not only one url, they are multpile. I store them in an array, so <?= $item_url ?> did no of course work.

My mistake. There is not only one url, they are multpile. I store them in an array, so `<?= $item_url ?>` did no of course work.
chris closed this issue 2021-10-14 14:27:07 +02:00
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: arcHIVE-tech/SmartGallery-omeka-module#1
No description provided.