Skip to content

Automatically assign SEO friendly page file name using page headline

License

Notifications You must be signed in to change notification settings

solutionexchange/AutoFileName

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

============
Installation
============
Unzip content, including the folder within, to ASP/PlugIns

======================================
Using Plugin in Project without Jquery
======================================
Add the following code to foundation

<!IoRangeRedDotMode>
<script type="text/javascript" src="/cms/plugins/AutoFileName/js/jquery-1.10.2.min.js"></script>
<script type="text/javascript" src="/cms/plugins/AutoFileName/AutoFileName.js"></script>
<script type="text/javascript">
	var AutoFileNameObj = new AutoFileName('<%inf_loginguid%>', '<%inf_sessionkey%>');
	AutoFileNameObj.AssignHeadlineAsFileName('<%inf_pageguid%>');
</script>
<!/IoRangeRedDotMode>

===================================
Using Plugin in Project with Jquery
===================================
Add the following code to foundation

<!IoRangeRedDotMode>
<script type="text/javascript" src="/cms/plugins/AutoFileName/AutoFileName.js"></script>
<script type="text/javascript">
	var AutoFileNameObj = new AutoFileName('<%inf_loginguid%>', '<%inf_sessionkey%>');
	AutoFileNameObj.AssignHeadlineAsFileName('<%inf_pageguid%>');
</script>
<!/IoRangeRedDotMode>