I reply to all queries on the forums and via email, once per day, Monday to Friday (not weekends).

If you are new here, please see some information on how to ask for support. Thank you!

Is it possible to overwrite the view files without them getting changed…

dashed-slug.net Forums General discussion Is it possible to overwrite the view files without them getting changed…

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #6638
    d3vnu77
    Participant

    on update.

    I’d like to change the view in the move shortcode to have an ajax selection of the user. Is there a way to overwrite that file with it not getting updated in the end?

    #6643
    alexg
    Keymaster

    Hello,

    Yes, you can copy the entire views directory somewhere else on your server (as long as the webserver has access). Then, provide the full path to that directory to the wallets_views_dir filter. Please see the documentation under “Frontend” -> “Alternative knockout templates” to see a full example of how to hook to the filter. Alternatively, you can use the views_dir shortcode attribute. This is also explained in the manual.

    with regards

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.