Link in More Work section

jonathasmello's picture
jonathasmello
Fri, 01/29/2016 - 10:30
#1
Link in More Work section

Hi!

I am trying to add links instead of popups in the "more work" section. That is, I will add a picture but then when clicking I want it to open a new tab and open another website, instead the popup. Can you please help? The link is: http://proj.tmitapp.com/stage/#home 

Thanks!

cindy's picture
cindy
Sat, 01/30/2016 - 02:44

Hi,

We can not see the "More work" section in your site?

jonathasmello's picture
jonathasmello
Sat, 01/30/2016 - 03:52

Sorry, it is now visible in the homepage, can you check?

jonathasmello's picture
jonathasmello
Sat, 01/30/2016 - 03:58

Also, I would like to put the order of this block after the "trainers" part, but don't know how to select the order in your template

phuonght's picture
phuonght
Sun, 01/31/2016 - 23:27

You could go to /admin/structure/block to re-order blocks, we just did it for you. 

Also, please share with us your FTP information so we can check then have some solutions for "adding link to More works" issue if below instruction does not work:

Open file views-view-fields--work--attachment.tpl.php (\sites\all\themes\md_magnum\template\views\work), line 51

replace

$media_content .= '<a class="popup-youtube" href="'.$file_url.'">';


with

$media_content .= '<a class="youtube" target="_blank" href="'.'/node/'.$row->nid.'">';


you could change/ edit link in href="". Similar to lines 54, 57, 71, 88 , 90, 111, 113.

phuonght's picture
phuonght
Mon, 02/01/2016 - 22:32
  • "Add link to More works":

Please try to open file main.js, delete or uncomment code lines from 71 to 84 and lines from 97 to 189. 

  • "Transalte site":

You could take a look at following link for instruction: https://www.drupalgardens.com/documentation/language/multiple/install

Log in or register to post comments
Have More Idea?

We are here to build your website!

No Universal solution fits all special business requirements. Our experienced team is ready with ideas and state-of-the-art technical solutions to consult the best solution within your budget.