I am trying to:
Edit an existing view that is functional on the front end. Even if I only add a space I get "Data not saved" when I click Update.
If I take the following line out it will save.
<div class="drawer-wrapper drawer-full section drawer-[wpv-post-slug]" style="background: #000 url([wpv-post-featured-image size="full" raw="true"]); background-size: cover; background-repeat: no-repeat; background-position: center;" id="id-[wpv-post-slug]">
The entirety of the layout is:
[wpv-layout-start]
[wpv-items-found]
<div id="fullpage">
<!-- wpv-loop-start -->
<wpv-loop>
[wpv-if arg_1="wpcf-drawer-layout" evaluate="$arg_1 = '1'"]
<div class="drawer-wrapper drawer-slash section drawer-[wpv-post-slug]" style="background: #000 url([wpv-post-featured-image size="full" raw="true"]); background-size: cover; background-repeat: no-repeat; background-position: center;" data-anchor="[wpv-post-slug]" id="id-[wpv-post-slug]">
<div class="container drawer">
<div class="row" >
<div class="col-md-6">
<div class="drawer-copy">[wpv-post-body view_template="None"]</div>
</div>
</div>
</div>
</div>
[/wpv-if]
[wpv-if arg_1="wpcf-drawer-layout" evaluate="$arg_1 = '2'"]
<div class="drawer-wrapper drawer-full section drawer-[wpv-post-slug]" style="background: #000 url([wpv-post-featured-image size="full" raw="true"]); background-size: cover; background-repeat: no-repeat; background-position: center;" id="id-[wpv-post-slug]">
<div class="container drawer">
<div class="row" >
<div class="col-md-12">
<div class="drawer-copy">[wpv-post-body view_template="None"]</div>
</div>
</div>
</div>
</div>
[/wpv-if]
</wpv-loop>
<!-- wpv-loop-end -->
</div>
[/wpv-items-found]
[wpv-no-items-found]
[wpml-string context="wpv-views"]<strong>No items found</strong>[/wpml-string]
[/wpv-no-items-found]
[wpv-layout-end]
I expect Views to store my functional code. I would also expect it to store garbage code.
Hi Chris,
I've tested on latest Views and it works fine which means that it should be fixed in the next release, next monday. I'd recommend you to wait for this. My apologies for this inconvenience.
Please let me know if you are satisfied with my reply and any other questions you may have.
Regards,
Adriano Ferreira
Could I get a copy of the current build please. I was supposed to have a client review yesterday. This is just a staging server.
Hi Chris,
Of course! Just sent by email.
The new version did solve that issue. Thanks!
Glad to hear that. You are welcome.