JMP.com 和 discoverysummit.jmp 的 AEM 书签
要使用这些书签:
火狐:右键单击与每个链接关联的链接,然后选择“将此链接添加为书签”。
铬合金:右键单击并“复制链接地址”,在您的菜单中,转到“书签-> 书签管理器”,右键单击您的“AEM”文件夹(如果您还没有创建一个)并选择“添加页面.. .",然后添加名称(例如预览模式)并粘贴到您复制的地址链接中。
建议您在书签中创建一个文件夹,将所有这些存储在一个位置,以便以后轻松访问。
如果您希望在 AEM 文件夹中为您预先创建所有这些,请右键单击并保存在这里. 下载后,通过书签管理器将它们导入浏览器。
预览模式
使用此小书签进入预览模式。 预览模式允许您在 cqauthor 环境中查看页面和导航站点。 您还可以进入预览模式,复制 URL 并将其发送给非 AEM 用户进行预览。
如果您已登录 AEM 并进入预览模式,您可以单击页面左上角的蓝色 X 退出。 如果您点击浏览器上的后退按钮,您将返回编辑视图,但仍处于预览模式,直到您单击 X 退出预览链接。
- 右键单击下面的链接并选择为此链接添加书签以添加书签
- 以作者模式打开您的 AEM 页面,然后单击小书签
- 复制浏览器的 URL 以发送给非 AEM 用户,或浏览网站
- 单击页面左上角的退出预览链接 (X) 以扩展并返回到创作。 您将在退出的任何页面上输入创作
javascript:u=((document.location.href).split('?')[0]);%20document.location.href=(u.replace(/\/cf#\//,%20'/'))+'?wcmmode=disabled&previewpath=true';
观看直播
使用此小书签可从 AEM 作者页面切换到其实时 ( www.jmp.com或者发现峰会.jmp ) 相等的。
对于 JMP.com:
javascript: a = (document.location.href).split('content/jmp')[1]; b = (a.substr(1)).split('/')[0]; c = a.substr((a.substr(1)).indexOf('/') + 1); if ((document.location.href).indexOf(%22jmpbp/%22) >= 0) { a = (document.location.href).split('jmpbp/')[1]; b = a.split('/')[0]; c = a.substr(a.indexOf('/') + 1); } if (b == 'en') { document.location.href = 'http://www.jmp.com/en_us/' + c; } else if (b == 'en_eu') { document.location.href = 'http://www.jmp.com/en_gb/' + c; } else if (b == 'de') { document.location.href = 'http://www.jmp.com/de_de/' + c; } else if (b == 'fr') { document.location.href = 'http://www.jmp.com/fr_fr/' + c; } else if (b == 'it') { document.location.href = 'http://www.jmp.com/it_it/' + c; } else if (b == 'zh_tw') { document.location.href = 'http://www.jmp.com/zh_tw' + c; } else if (b == 'zh_CN') { document.location.href = 'http://www.jmp.com/zh_cn/' + c; } else if (b == 'ja') { document.location.href = 'http://www.jmp.com/ja_jp/' + c; } else if (b == 'ko') { document.location.href = 'http://www.jmp.com/ko_kr/' + c; } else if (b == 'en_ap') { document.location.href = 'http://www.jmp.com/en_au/' + c; } else if (b == 'es') { document.location.href = 'http://www.jmp.com/es_es/' + c; } else if (b == 'pt_br') { document.location.href = 'http://www.jmp.com/pt_br/' + c; } else { document.location.href = 'http://www.jmp.com/' + b + c; }
对于 discoverysummit.jmp:
javascript:a=((document.location.href).split('?')[0]); b=a.split('content/jmp-discovery-summit')[1]; document.location.href='http://www.discoverysummit.jmp'+b;
在作者中查看
使用此小书签从实时页面切换( www.jmp.com或者发现峰会.jmp ) 到其 AEM Author 等效项。
在作者中查看(蓝图 - 例如“jmpbp/en”):
javascript: newUi = 'editor.html'; a = (document.location.href).split('.com/')[1]; b = a.substring(6, ); c = a.split('_')[0]; if (((document.location.href).indexOf('en_gb') >= 0) || ((document.location.href).indexOf('en_be') >= 0) || ((document.location.href).indexOf('en_dk') >= 0) || ((document.location.href).indexOf('en_nl') >= 0) || ((document.location.href).indexOf('en_ch') >= 0)) { document.location.href = 'http://aemauthor.unx.sas.com/' + newUi + '/content/jmpbp/' + c + '_eu/' + b; } else if (((document.location.href).indexOf('en_') >= 0) && !((document.location.href).indexOf('en_us') >= 0) && !((document.location.href).indexOf('en_ca') >= 0)) { document.location.href = 'http://aemauthor.unx.sas.com/' + newUi + '/content/jmpbp/' + c + '_ap/' + b; } else if ((document.location.href).indexOf('zh_cn') >= 0) { document.location.href = 'http://aemauthor.unx.sas.com/' + newUi + '/content/jmpbp/zh_CN/' + b; } else if ((document.location.href).indexOf('zh_tw') >= 0) { document.location.href = 'http://aemauthor.unx.sas.com/' + newUi + '/content/jmpbp/zh_tw/' + b; } else if ((document.location.href).indexOf('pt_br') >= 0) { document.location.href = 'http://aemauthor.unx.sas.com/' + newUi + '/content/jmpbp/pt_br/' + b; } else { document.location.href = 'http://aemauthor.unx.sas.com/' + newUi + '/content/jmpbp/' + c + '/' + b; }
在作者中查看(Live Copy - 例如“jmp/en_us”) - 主要用于电子邮件:
javascript: a = ((document.location.href).split('.com')[1]); b = a.split('.html')[0]; document.location.href = 'http://aemauthor.unx.sas.com/editor.html/content/jmp' + b + '.html';
对于 discoverysummit.jmp:
javascript:a=((document.location.href).split('.jmp')[1]); b=a.split('.html')[0];document.location.href='http://aemauthor.unx.sas.com/editor.html/content/jmp-discovery-summit'+b+'.html';
在站点管理中查看
使用此小书签可在站点管理员(AEM 的文件目录)中查看 AEM 页面。
javascript: (function() { if (document.location.href.indexOf(%22aemauthor%22) >= 0) { x = 'jmp'; if (document.location.href.indexOf(%22jmpbp%22) >= 0) { x = 'jmpbp'; } a = ((document.location.href).split('content/' + x)[1]); b = a.split('.html')[0]; c = b.split(%22/%22); d = b.replace(c[c.length - 1], %22%22); document.location.href = 'http://aemauthor.unx.sas.com/sites.html/content/' + x + d; } else { a = ((document.location.href).split('.com')[1]); b = a.split('.html')[0]; c = b.split(%22/%22); d = b.replace(c[c.length - 1], %22%22); document.location.href = 'http://aemauthor.unx.sas.com/sites.html/content/jmp' + d; } })();
国家切换(非常有用)
请下载并导入这些书签可在 LIVE 网站上的不同国家/地区之间切换或者在 AEM。
对于 JMP.com:从文档开头的完整 AEM 书签下载中获取。
对于 discoverysummit.jmp:从文档开头的完整 AEM 书签下载中获取。
感谢/观看页面
根据资产是白皮书还是网络研讨会,使用此小书签跳过表单并转到“感谢”或“观看”页面
javascript: (function() { a = ''; if (document.location.href.indexOf('editor.html') >= 0) { a = (document.location.href).split('editor.html'); a = a[0] + 'editor.html' + a[1].split('.html')[0]; } else { a = (document.location.href).split('.html')[0]; } if (a.indexOf('thanks') >= 0) { c = (a.split('/thanks')[0]); document.location.href = c + '.html'; } else if (a.indexOf('watch') >= 0) { c = (a.split('/watch')[0]); document.location.href = c + '.html'; } else if (a.indexOf('ondemand') >= 0) { document.location.href = a + '/watch.html'; } else { document.location.href = a + '/thanks.html'; } })();
回复电子邮件页面
使用此小书签从“感谢”或“观看”页面移动到回复电子邮件页面(如果有)(否则您将收到未找到的页面)。
javascript: (function() { a = ((document.location.href).split('thanks.html')[0]); document.location.href = a + 'reply-email.html';})();