URL for new page created
-
- Lieutenant, Jr. Grade (LT JG)
- Posts: 47
- Joined: Wed May 07, 2008 1:44 pm
- Location: Houston, TX
- Contact:
URL for new page created
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.
- m_plugables
- Commander (CMDR)
- Posts: 149
- Joined: Tue Mar 11, 2008 12:44 am
- Contact:
Re: URL for new page created
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
Code: Select all
~/ [Folder] / [Page Name .aspx]
Code: Select all
~/ContactUs.aspx

Visit the links below to Download Plugins for your AC7 Store
http://www.plugables.com
http://blog.plugables.com
Re: URL for new page created
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.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.
Add the link/url of newly created webpage in your header (next to contact us link).
Thanks for your support
Naveed Ashraf
.com
AbleCommerce Help Center
AbleCommerce Developer WIKI
Follow us on Twitter
Naveed Ashraf

AbleCommerce Help Center
AbleCommerce Developer WIKI
Follow us on Twitter
-
- Lieutenant, Jr. Grade (LT JG)
- Posts: 47
- Joined: Wed May 07, 2008 1:44 pm
- Location: Houston, TX
- Contact:
Re: URL for new page created
????? There is no "Webpage" under browse catalog. Only Category.Naveed wrote: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.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.
Add the link/url of newly created webpage in your header (next to contact us link).
Re: URL for new page created
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.
Thanks for your support
Naveed Ashraf
.com
AbleCommerce Help Center
AbleCommerce Developer WIKI
Follow us on Twitter
Naveed Ashraf

AbleCommerce Help Center
AbleCommerce Developer WIKI
Follow us on Twitter
-
- Lieutenant, Jr. Grade (LT JG)
- Posts: 47
- Joined: Wed May 07, 2008 1:44 pm
- Location: Houston, TX
- Contact:
Re: URL for new page created
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
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.
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.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com