Hello All,
In the Author instance, If I try to add the console logs in the Js file using the below mentioned syntax
use(function () {
var currentpath = currentPage.getPath();
console.log(" The currentpath...."+currentpath);
}
I am not able to see the console log in my browser console as shown in the screenshot.
Views
Replies
Total Likes
Test it in preview mode.
If you are using classic ui remove /#cf/ from the URL; if you are using touch ui remove /editor.html/ from URL.
Views
Replies
Total Likes
As mentioned by Antonio,
Option 1:- Use Preview mode to get exact look and feel of your page.
Option 2:- Add ?wcmmode=disabled at end of your user, this will give you almost exact page that you would have in publish instance.
I hope this would help you.
Thanks and Refards
Kautuk Sahni
Views
Replies
Total Likes