I can't get this to work, although the source code in SmartEdit suggests the function receives the value as intended: InitRqlParams("27B874B8C5B64DB78A55CC2D87E21FA0", "27B874B8C5B64DB78A55CC2D87E21FA0"); AssignHeadlineAsFileName("9A4ACF04BAFD4A238DA789D4F0CB2F7A");
Any idea why the filename would not be set? I've got jQuery included already so just using AutoFileName.js
Currently, the surrounding smartedit only blockmark is telling the JavaScript code to run when viewed in SmartEdit. If removed, it will run when viewed in Page Preview also. Please note that on publish the code does not run because no one is viewing the page, and the code will get published along with the page, so that is not good to have the smartedit only blockmark removed. Maybe you can change it so when it is not publishing, run code when viewed.
Hi Jian
ReplyDeleteI can't get this to work, although the source code in SmartEdit suggests the function receives the value as intended:
InitRqlParams("27B874B8C5B64DB78A55CC2D87E21FA0", "27B874B8C5B64DB78A55CC2D87E21FA0");
AssignHeadlineAsFileName("9A4ACF04BAFD4A238DA789D4F0CB2F7A");
Any idea why the filename would not be set? I've got jQuery included already so just using AutoFileName.js
Cheers
Neil
Hi Jian,
ReplyDeleteGreat Plugin! Thanks it is very useful.
But I can only get the plugin to work, when I publish the page through SmartEdit.
How can I also get it working, when you publish the page through SmartTree?
Can it do both?
Currently, the surrounding smartedit only blockmark is telling the JavaScript code to run when viewed in SmartEdit. If removed, it will run when viewed in Page Preview also. Please note that on publish the code does not run because no one is viewing the page, and the code will get published along with the page, so that is not good to have the smartedit only blockmark removed. Maybe you can change it so when it is not publishing, run code when viewed.
Delete