1. SP Simple Portfolio
  2. Thursday, 01 August 2019
Hi!

I want to change the function of the buttons: View and Zoom
i want them to open a URL. I know there is url option in the admin site but is not working so i need to modify the extention.

Please Help!

Gabriel
Accepted Answer
Are you sure that you would be able?
Lines 83, 85


<a class="btn-zoom" href="#" data-featherlight="#sp-simpleportfolio-video<?php echo $this->item->id; ?>"><?php echo JText::_('COM_SPSIMPLEPORTFOLIO_WATCH'); ?></a>



<a class="btn-zoom" href="/forums/<?php echo $this->item->popup_img_url; ?>" data-featherlight="image"><?php echo JText::_('COM_SPSIMPLEPORTFOLIO_ZOOM'); ?></a>
  1. more than a month ago
  2. SP Simple Portfolio
  3. # Permalink
Responses (7)
Hi,
yes, it requests component (or module) view php code customization.
components\com_spsimpleportfolio\views\items\tmpl\default.php

you can also override that view inside your template and then edit code. This is a recommended method. Or maybe even this component was overridden inside your template.
  1. more than a month ago
  2. SP Simple Portfolio
  3. # 1
Hi,
yes, it requests component (or module) view php code customization.
components\com_spsimpleportfolio\views\items\tmpl\default.php

you can also override that view inside your template and then edit code. This is a recommended method. Or maybe even this component was overridden inside your template.


Can you be more specific. which lines i have to modify.

THX
  1. more than a month ago
  2. SP Simple Portfolio
  3. # 2
Customization is beyond support (Support Policy), hire PHP developer.
  1. more than a month ago
  2. SP Simple Portfolio
  3. # 3
Customization is beyond support (Support Policy), hire PHP developer.


i think my english is not very good. i said which lines i have to modify to that you all modify them for me.

quise decir que me seƱalaras cuales lineas debo modificar no que las modifiquen.

thx any way:(
  1. more than a month ago
  2. SP Simple Portfolio
  3. # 4
Are you sure that you would be able?
Lines 83, 85


<a class="btn-zoom" href="#" data-featherlight="#sp-simpleportfolio-video<?php echo $this->item->id; ?>"><?php echo JText::_('COM_SPSIMPLEPORTFOLIO_WATCH'); ?></a>



<a class="btn-zoom" href="/forums/<?php echo $this->item->popup_img_url; ?>" data-featherlight="image"><?php echo JText::_('COM_SPSIMPLEPORTFOLIO_ZOOM'); ?></a>



GRACIAS!!!
  1. more than a month ago
  2. SP Simple Portfolio
  3. # 5
De nada
  1. more than a month ago
  2. SP Simple Portfolio
  3. # 6


There are no replies made for this post yet.
Be one of the first to reply to this post!


This forum is archived

This forum has been archived. Please use JoomShaper official support system.