Hi, I have C1 v4.2 Update 1 (Build 4.2.5287.17495) and added the Composite.Web.Html.AcceptAlert package and inserted it into my Razor template page.
Problem: The cookie alert pop up does NOT appear.
If I inspect the source of the served page it looks as if the function is working correctly because it has served up the links to AcceptAlert\script.js and styles.css files and inserted associated code for the AcceptAlert function, e.g.
1) on my local development machine (localhost) being served by IIS using a false domain name (e.g. www.spdev.co.uk which has an entry in C:\Windows\System32\drivers\etc\hosts pointing to 127.0.0.1, and IIS has a binding alias for the site of www.spdev.co.uk and spdev.co.uk )
2) once the site has been deployed to the Live server which uses a temporary domain name provided by the ISP (i.e. the real domain will be domain.co.uk [which currently points to the old website before Composite C1], while the temporary domain name for the new C1 hosted space is domain.co.uk.1496soon2b.co.uk)
I have setup two Hostname entries in the C1 control panel System->URL Configuration for the site, each with appropriate Alias hostname entries.
Will the AcceptAlert package Cookies alert box only appear once the site is deployed Live and DNS is setup to use the real domain name?
Or can I expect it to work correctly for my test situations?
Thanks
Jim
Problem: The cookie alert pop up does NOT appear.
If I inspect the source of the served page it looks as if the function is working correctly because it has served up the links to AcceptAlert\script.js and styles.css files and inserted associated code for the AcceptAlert function, e.g.
<div class="accept-alert alert alert-info " data-cookieskey="1654064446">
<div class="container">
<div class="row accept-alert-row">
<div class="col-md-10">
<div class="accept-alert-content">
<p>This site uses cookies, please accept your use of them!</p>
</div>
</div>
<div class="col-md-2">
<button type="button" class="btn btn-primary accept-alert-btn">OK</button>
</div>
</div>
</div>
</div>
I am testing using two methods;1) on my local development machine (localhost) being served by IIS using a false domain name (e.g. www.spdev.co.uk which has an entry in C:\Windows\System32\drivers\etc\hosts pointing to 127.0.0.1, and IIS has a binding alias for the site of www.spdev.co.uk and spdev.co.uk )
2) once the site has been deployed to the Live server which uses a temporary domain name provided by the ISP (i.e. the real domain will be domain.co.uk [which currently points to the old website before Composite C1], while the temporary domain name for the new C1 hosted space is domain.co.uk.1496soon2b.co.uk)
I have setup two Hostname entries in the C1 control panel System->URL Configuration for the site, each with appropriate Alias hostname entries.
Will the AcceptAlert package Cookies alert box only appear once the site is deployed Live and DNS is setup to use the real domain name?
Or can I expect it to work correctly for my test situations?
Thanks
Jim