Support » Plugin: onOffice for WP-Websites » Second exposé download link with another template

  • Resolved wemea

    (@wemea)


    Hi,

    I’m currently working on a custom estate detail view. In this view I’d like to show a second link to an exposé – download which is using another template.
    I tried the setExpose – function to set this template, but the getDocument – function ignores this setting though it’s listed in the getPageView array ([_expose:onOffice\WPlugin\DataView\DataDetailView:private]).

    Could anyone help me getting this work, please? Maybe a suggest in the right direction? Maybe I need to combine two or more functions, but I don’t know which and / or how to use.

    Thanks in advance.

    Matze.

    • This topic was modified 8 months, 1 week ago by wemea.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author onOffice Plugin Support

    (@onofficeweb)

    Hi Matze,

    unfortunately the plugin currently does not offer any way to dynamically choose the template. It will always pick the template that you configured in the backend.

    Could you explain a bit more what your goal is? Why do you want to display two exposés with different templates?

    All the best,
    Johannes

    Thread Starter wemea

    (@wemea)

    Hi Johannes,

    thanks for your reply.
    It’s a pity that it’s not possible.

    I’m asking because my customer wanted to display two different exposé – types. 😉
    Now I solved it by using the API and the onOffice SDK.

    Matze.

    Plugin Author onOffice Plugin Support

    (@onofficeweb)

    Hi Matze,

    nice to hear that you already found a solution. Thanks for letting us know!

    Out of curiosity, can you share a few more details on what the motivation is for the two different exposé types? 🙂

    Johannes

    Thread Starter wemea

    (@wemea)

    Hi Johannes,

    no problem. If someone is trying to help me or at least answers, I’m answering back. 🙂

    I don’t know the motivation. My customer asked for the possibilities and I didn’t find a solution on my own by using the plugin only. So it was obvious to ask here for help.
    That’s all what I can say for now. If I understand what he achieves, I’ll tell you. 🙂

    Thanks again for your reply. Have a nice day!

    Matze.

    • This reply was modified 8 months ago by wemea.
    Plugin Author onOffice Plugin Support

    (@onofficeweb)

    Hi Matze,

    I understand, thanks for taking the time! I’m just curious to understand what the goal could be, so if you find out, I’d be happy to know. 🙂

    Thanks and have a nice day, too!
    Johannes

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Second exposé download link with another template’ is closed to new replies.