|
|
|
Ask Current Questions Get all your questions answered here by the CMS Tech |
|
On Sunday, December 16, 2012 Steve Miller asked |
? Can I get a link list of all pages in the website for the addon that I am developing |
On Sunday, December 16, 2012 Steve Miller answered |
put in the url form field
title="double click here for website links list" ondblclick="javascript:openYourAddonNameWindow('YourFormNameHere')" Name your url link field [ Link ]
Add This to your javascript file
function openYourAddonNameWindow(frm) { var jumpToHere; var winOptions; var popUpWindow; var swidth; var sheight
swidth = 400 sheight = 600 jumpToHere = "../../../administrator/link_list.asp?frm=" + frm winOptions = "Width=" + swidth + ", height=" + sheight + ",top=0, left=0,scrollbars=yes,resizable=yes"; popUpWindow = open(jumpToHere, "MasterLinkList", winOptions); }
This will open the master link list and when you click on a link it will copy it to the form field |
|
|
|
|
|