Viewing 6 replies - 1 through 6 (of 6 total)
  • I’m sorry, I don’t understand your question. Can you ask again and give more detail about what you mean?

    Thread Starter marcosrieper

    (@marcosrieper)

    Yes thanks.

    I would like the visitor to click on the download link I could he even opened another link is the link of my store .

    Example:
    1. When registering appears the link to download.
    2. By clicking on the download link opens a window with my loja.guiadoexcel.com.br link and is downloaded the file he requested .

    I’m still not sure I understand what you’re trying to do, but have you looked at setting #5 in the EBD settings? It lets you set it to _self or _blank, which controls whether clicking on the download link makes the response appear in the same browser (_self) or if it opens a new tab or window (_blank). Maybe that is what you’re looking for?

    Thread Starter marcosrieper

    (@marcosrieper)

    Hello thanks for the return.

    That is not, I have a blog and a shop.

    In the blog I have downloads in which I use the plugin so that the person register.

    But in addition I would like to click the link to download the same do the download, and open the page of my store.

    For example:

    1. The visitor opens the article https://guiadoexcel.com.br/grafico-excel-ajustado-automaticamente-e-rotulos-partir-de-celulas, fills the data and click the download button at the end of the article.

    Image: https://guiadoexcel.com.br/wp-content/uploads/2016/08/1.png

    2. By clicking the download link file is downloaded and opened the link loja.guiadoexcel.com.br

    Image: https://guiadoexcel.com.br/wp-content/uploads/2016/08/2.png

    It sounds like you want to have the user download the file and also redirect the browser to a different page. EBD does not have that capability. You would have to write some custom javascript to do that … and I’m not sure how well it would work in various browsers. Might work fine & be consistent, but it might not.

    If you search the web you’ll find various javascript suggestions for clicking on a link and both downloading a file and redirecting the browser, such as https://stackoverflow.com/questions/6894900/download-a-file-via-jquery-and-redirect

    Of course, you’ll have to figure out how to target the link that EBD adds to the page (via ajax update). Or, modify the plugin php code and put the javascript in there in advance. Either way will take some trial and error I would guess. Plus, testing with various browsers. Plus, if your download file is PDF then that could make things more complicated as well.

    Good luck…

    Thread Starter marcosrieper

    (@marcosrieper)

    Thank’s for your help =D.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘I can do that by clicking the link to download the plugin open another page too?’ is closed to new replies.