Open episodes in new tab - Dooplay

Status
Not open for further replies.

Erick77

New Member
3
2022
1
160
Hi guys, I have a problem with the Dooplay theme. I want when I click on an episode to open a new tab.
Thanks in advance for the help
 
4 comments
for a url to open in new tab target="_blank" attribute need to be set on a tag
Code:
<a href="/ep/1" target="_blank">episode </a>

you have to edit the theme and find the code where it generate the html for the episodes and change it.
 
for a url to open in new tab target="_blank" attribute need to be set on a tag
Code:
<a href="/ep/1" target="_blank">episode </a>

you have to edit the theme and find the code where it generate the html for the episodes and change it.
I have tried to modify the theme but I can't find the code where it generates the html for the episodes. Any hint you can give me, please
 
I have tried to modify the theme but I can't find the code where it generates the html for the episodes. Any hint you can give me, please

I don't have the theme. If you can send me it, I will try.
Post automatically merged:

@Erick77

edit both:
Code:
dooplay\inc\parts\single\listas\seasons.php
dooplay\inc\parts\single\listas\seasons_episodes.php

search for this code in both file:
Code:
<a href='{$plink}'>{$title}</a>

and replace with:
Code:
<a href='{$plink}' target="_blank">{$title}</a>
 
Last edited:
Status
Not open for further replies.
Back
Top