Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 4 of 4

Thread: Using The Skin Html For Static Pages

  1. #1
    dfree99 is offline Member
    Join Date
    Nov 2007
    Posts
    48

    Default Using The Skin Html For Static Pages

    In addition to our aspdnsf store we have a static html website that we use for supporting our store, and we need to keep this site separate for a lot of reasons.

    But we want to match the look of our aspdnsf store.

    1. If we copy the skin1 folder to our other site and rename the template.ascx file index.html can we use it as a regular html website?

    2. If so, what parts inside the ascx file would need to be removed or changed?

  2. #2
    esedirect is offline Senior Member
    Join Date
    Feb 2010
    Location
    Norfolk, UK
    Posts
    343

    Default

    If you have tried this, you'll find that the answer is "No". The content of the template is interpreted as a page is displayed, so that all of the tokens and packages return something meaningful. In order to achieve this you may be better off taking the source of the homepage when it is displayed through a browser and then amending that. However, the dynamic elements, such as menues, will beome static. So if you add more categories these won't appear unless you edit the html pages aswell.
    http://www.esedirect.co.uk
    --------------------------------------------------------------------------
    Using MS 9.2.0.0 with the following customisations:

    Lightbox/Fancybox enlarged images;
    Auto-suggest searchbox;
    Extra product information shown only to our IP Address (such as supplier info, costs, etc.);
    Failed transactions emailed via trigger;
    Custom app to show basket contents when customer online;
    Orders pushed through to accounting systems.

    All the above without source!

  3. #3
    dfree99 is offline Member
    Join Date
    Nov 2007
    Posts
    48

    Default

    However, the other site is completely static - we just want to match the design. So if we are not using any tokens or rendering data, but merely adding index.html, then page1.html, then page2.html, would this not work? I'm trying to save time by using the existing style sheets mostly.

    Is the answer still "no" in this case?

  4. #4
    esedirect is offline Senior Member
    Join Date
    Feb 2010
    Location
    Norfolk, UK
    Posts
    343

    Default

    The take a copy of the stylesheet and reference it in your html pages.
    http://www.esedirect.co.uk
    --------------------------------------------------------------------------
    Using MS 9.2.0.0 with the following customisations:

    Lightbox/Fancybox enlarged images;
    Auto-suggest searchbox;
    Extra product information shown only to our IP Address (such as supplier info, costs, etc.);
    Failed transactions emailed via trigger;
    Custom app to show basket contents when customer online;
    Orders pushed through to accounting systems.

    All the above without source!