Page 1 of 1
URL for new page created
Posted: Wed May 07, 2008 6:53 pm
by aaronfrankel
How do I figure out what the URL for a new page created would be. I created Scriptlet for "Store Locations" and need to add a link next to the contact us link. Adding the link was easy enough. However, I have no idea what the URL should be to link to it.
Re: URL for new page created
Posted: Thu May 08, 2008 2:34 am
by m_plugables
You can give URL for you newly created page like the following.
For example the URL for ContactUs.aspx page in the root directory will be
Re: URL for new page created
Posted: Thu May 08, 2008 2:36 am
by Naveed
aaronfrankel wrote:How do I figure out what the URL for a new page created would be. I created Scriptlet for "Store Locations" and need to add a link next to the contact us link. Adding the link was easy enough. However, I have no idea what the URL should be to link to it.
Go to Admin -> Catalog -> Browse and add a new Webpage. Now browse the webpage in store. If you are logged in as an admin user then You can use the Edit mode to set the content of that page as the newly created scriptlet.
Add the link/url of newly created webpage in your header (next to contact us link).
Re: URL for new page created
Posted: Thu May 08, 2008 11:54 am
by aaronfrankel
Naveed wrote:aaronfrankel wrote:How do I figure out what the URL for a new page created would be. I created Scriptlet for "Store Locations" and need to add a link next to the contact us link. Adding the link was easy enough. However, I have no idea what the URL should be to link to it.
Go to Admin -> Catalog -> Browse and add a new Webpage. Now browse the webpage in store. If you are logged in as an admin user then You can use the Edit mode to set the content of that page as the newly created scriptlet.
Add the link/url of newly created webpage in your header (next to contact us link).
????? There is no "Webpage" under browse catalog. Only Category.
Re: URL for new page created
Posted: Thu May 08, 2008 12:04 pm
by Naveed
Yes, at the root of catalog you cannot add other catalog Items, but can just add categories. However under any category you can add a Webpage, Link or Product as well.
Re: URL for new page created
Posted: Mon May 12, 2008 1:33 pm
by aaronfrankel
What I was trying to do was create a static page like Contact Us. I ended up figure it out on my own after playing with an existing static page for a few minutes. Here are the steps for anyone else trying to do something similar.
• Creating a new static document.
1) Create new scriptlet from "Administration / Web Site / Content and Layout. Choose Type / Content then name as desired.
2) Fill the description field. Fill out header field if nessessary. Add the content you want to appear in this new page to the Content field.
2) Now, go into the site's files. Duplicate an existing static page like ContactUs.aspx
3) Rename page desired file name
4) Open the document and replace the follow tags ID, Content, (both tags) Title. Change the ID and Content tag to match what you named the new scriptlet.
5) Navigate to the newly created page and ensure that the content you want is showing up and that the title is correct. If either are off, go back, open the file, and ensure that you have properly filled out the tags from step 4.
Re: URL for new page created
Posted: Mon May 12, 2008 3:58 pm
by AbleMods
There is an empty web page file provided for just such occasions. It's located in the root of your store site and is called ~/Webpage.aspx.
Just copy the page to a new name, link to the new name in your site and then browse to it logged in as Admin. You can then set the scriptlet sections as needed to reference the content, layout, header, footer scriptlets you want to use.