Modular Merchant: Shopping Cart Software

Shopping Cart Software Service

Advanced SearchAdvanced Search RegisterRegister ProfileProfile FAQFAQ MemberlistMemberlist Log inLog in
Link to New Template
Post new topic   Reply to topic
Modular Merchant Forum Index -> Design: Templates & QuickCode Tags
Author Message

scottfmorgan




Joined: 11 May 2009
Posts: 5


PostPosted: May 11, 2009 09:55pm    Post subject: Link to New Template Reply with quote

I do belive I'm going crazy... I'm working currently working on a non-live design package. I've created a new template called "about_contact". I've verified via FTP that this page was indeed created under my non-live design package with the name about_contact.template.php. Now the hard part... I would like to preview this and add a link to this new page. I've tried the following all of which result in a page not found error:
<A HREF="about_contact">new</A>
<A HREF="about_contact.template">new</A>
<A HREF="about_contact.template.php">new</A>
<A HREF="about_contact.php">new</A>
<A HREF="{URL-STORE-HOME}about_contact">new</A>
<A HREF="{URL-STORE-HOME}about_contact.template">new</A>
<A HREF="{URL-STORE-HOME}about_contact.template.php">new</A>
<A HREF="{URL-STORE-HOME}about_contact.php">new</A>

If anyone can provide some direction, I know I'm missing something very small. Thanks!

Scott

Mail Bag


Answering Your Questions Since... 9:30am

Joined: 28 Aug 2005
Posts: 198


PostPosted: May 12, 2009 08:22am    Post subject: Reply with quote

The URL of the template would be something like:

mydomain.com/store/design_packages/design_package_name/about_contact.template.php

Note: Templates were not designed to be web pages; they're templates applied to various pages in the store.

It is recommended that additional pages in the store be added by either:
A) Using the Custom Web Page Editor located in the store's administration area at: [Design > Custom Web Pages]. Using this tool will allow both standard and custom QuickCode Tags to be included in the page.

-or-

B) Upload additional pages to the site via FTP, similar to adding and maintaining pages in a standard hosting account. The account's FTP information is available at: [Hosting > FTP Account Info].

I hope this information is helpful. Let us know if there's anything else that we can assist you with.
_________________
Modular Merchant Mail Bag
Answering your questions, queries and puzzlers.
Modular Merchant shopping cart software, website hosting, and custom programming.

erik2405




Joined: 20 Apr 2009
Posts: 1


PostPosted: May 12, 2009 05:30pm    Post subject: Reply with quote

What about:

<a href="http://www.mydomian.com/store/about_contact.php?skin=non_live_design_package_name">Test</a>

Note: Once you set the skin, it will stay with all the pages in your store for as long as your session lasts. When I'm done testing on a non-live package I fix it by visiting http://www.mydomian.com/store/storefront.php?skin=live_design_package_name

Mail Bag


Answering Your Questions Since... 9:30am

Joined: 28 Aug 2005
Posts: 198


PostPosted: May 15, 2009 09:04am    Post subject: Reply with quote

Quote:
What about:
<a href="http://www.mydomian.com/store/about_contact.php?skin=non_live_design_package_name">Test</a>


That would link to a web page named "about_contact.php" in the "store" directory. An "about_contact.php" page isn't part of the shopping cart software, so this would be a web page that was uploaded by FTP. In this scenario, passing a "skin" variable to that page would have no affect on the behavior of the shopping cart software.

I hope this information is helpful. Let us know if there's anything else that we can assist you with.
_________________
Modular Merchant Mail Bag
Answering your questions, queries and puzzlers.
Modular Merchant shopping cart software, website hosting, and custom programming.

paigeypar




Joined: 16 Jan 2011
Posts: 2


PostPosted: Jan 16, 2011 12:32pm    Post subject: Custom Web Page Editor Reply with quote

How do you get the html file in the custom page editor to attach to the main css style sheet for the design package you are using?

Mail Bag


Answering Your Questions Since... 9:30am

Joined: 28 Aug 2005
Posts: 198


PostPosted: Jan 17, 2011 01:35pm    Post subject: Reply with quote

Quote:
How do you get the html file in the custom page editor to attach to the main css style sheet for the design package you are using?

Good question.
Since the webpages created with the Custom Webpage tool reside in a different directory than the templates in a Design Package, a different path must be used when a Custom Webpage uses a stylesheet in a Design Package.

Fortunately, the path to use in this scenario is available in the Administration Area at: [Design > CSS/JavaScript Files]. On the "CSS/JavaScript Files" page, click on the name of the stylesheet you want to use in the list on the left-side of the page. That will load the selected styesheet into the editor screen.

When the editor screen loads, it will include instructions on how to link to that stylesheet from various pages, including pages made with the Custom Webpage too. Look for the section titled, "File Path: (Use this path in non-template pages you host in your account.) " That text will be followed by that stylesheet's path, in red text.

For example, the link to a stylesheet named "example.css" in a design package named "my_dp", the path may look something like this:
href="/my_store/design_packages/my_dp/example.css" rel='stylesheet' type='text/css'

I hope this information is helpful. Let us know if there's anything else that we can assist you with!
_________________
Modular Merchant Mail Bag
Answering your questions, queries and puzzlers.
Modular Merchant shopping cart software, website hosting, and custom programming.

paigeypar




Joined: 16 Jan 2011
Posts: 2


PostPosted: Jan 18, 2011 07:34pm    Post subject: The photos.... Reply with quote

Great! Thanks! I linked the CSS but the photos are missing.....is there a way to link it to the photos?

Mail Bag


Answering Your Questions Since... 9:30am

Joined: 28 Aug 2005
Posts: 198


PostPosted: Jan 19, 2011 09:54am    Post subject: Reply with quote

Quote:
is there a way to link it to the photos?
That issue could be related to the file paths in the CSS file or templates, or the directory structure of the site, or a few other things.

For an issue that's more specific to your account, such as this, please start a Support Ticket. This can be done within your store's administration area at [Support > New Support Ticket].

Starting a Support Ticket for this issue will allow the support team to review your specific account settings and CSS files to determine the best resolution.

I hope this helps point you in the right direction towards the solution!
_________________
Modular Merchant Mail Bag
Answering your questions, queries and puzzlers.
Modular Merchant shopping cart software, website hosting, and custom programming.
Display posts from previous:   
Post new topic   Reply to topic    Modular Merchant Forum Index -> Design: Templates & QuickCode Tags All times are GMT - 7 Hours
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group