Announcement

Collapse
No announcement yet.

I killed the CTUS page

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    I killed the CTUS page

    I killed the CTUS page during an MMUI to CSSUI conversion. During this process, when applying the new Framework, it creates a duplicate CTUS page. During the process of deleting the extra CTUS page, the new one was deleted. During the process of recreating the CTUS page I must I missed some of the necessary template code, as the page now proudly displays
    You must javascript enabled to use this form.
    First thing I checked was to make sure the body id="js-CTUS" and the Items assigned. So what I have a screwed up on this Contact Us page?
    Leslie Kirk
    Miva Certified Developer
    Miva Merchant Specialist since 1997
    Previously of Webs Your Way
    (aka Leslie Nord leslienord)

    Email me: [email protected]
    www.lesliekirk.com

    Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

    #2
    Hi Leslie,

    Here is the default content for the page:

    Code:
    <div class="column whole">
        <p><strong>We're Here To Help</strong><br />Your satisfaction is important to us! Use the form below to email us your questions about products, online orders, store experiences and more.</p>
        <p><strong>Order Questions:</strong><br />If you need help or have any other questions concerning your orders, please fill out the form or call: <a href="tel:+1<mvt:eval expr="glosub(g.store:phone, '.', '')" />">&mvt:global:store:phone;</a>.</p>
        <strong>Our Address:</strong>
        <address itemscope itemtype="http://schema.org/LocalBusiness">
            <strong itemprop="name">&mvt:global:store:company;</strong><br />
            &mvt:global:store:address;<br />
            &mvt:global:store:city;, &mvt:global:store:state; &mvt:global:store:zip; &mvt:global:store:country;<br />
            Phone: <span itemprop="telephone"><a href="tel:+1<mvt:eval expr="glosub(g.store:phone, '.', '')" />">&mvt:global:store:phone;</a></span>
        </address>
    </div>
    <div class="column whole medium-half medium-centered">
        <p id="js-noscript-warning" class="red"><strong>You must javascript enabled to use this form.</strong></p>
        <form method="post" action="&mvte:global:theme_path;/forms/contactForm.php" id="js-contact-form" class="contact-form">
            <fieldset class="corners">
                <legend><small>Bold fields are required.</small></legend>
                <div class="message message-error hide"><small></small></div>
                <div class="form-row">
                    <label for="js-contact-name" class="required">Your Name:</label>
                    <input type="text" name="contactName" value="" id="js-contact-name" />
                </div>
                <div class="form-row">
                    <label for="js-contact-email" class="required">Your Email Address:</label>
                    <input type="email" name="contactEmail" value="" id="js-contact-email" required />
                </div>
                <div class="form-row">
                    <label for="js-contact-comment" class="required">Comments or Questions:</label>
                    <textarea name="contactComment" rows="5" cols="40" id="js-contact-comment"></textarea>
                </div>
                <div class="form-row">
                    <div class="column half align-center">
                        <input type="reset" value="Reset" title="Reset the Form and Start Over" class="button button-square bg-gray charcoal" />
                    </div>
                    <div class="column half align-center">
                        <input type="submit" value="Submit" title="Send Us Your Information" class="button button-square" />
                    </div>
                </div>
            </fieldset>
            <input type="hidden" name="storeName" value="&mvte:global:store:name;" />
            <mvt:assign name="g.storeEmailB64" value="crypto_base64_encode(g.store:email)" />
            <input type="hidden" name="storeEmail" value="&mvte:global:storeEmailB64;" />
        </form>
    </div>
    Matt Zimmermann

    Miva Web Developer
    Alchemy Web Development
    https://www.alchemywebdev.com
    Site Development - Maintenance - Consultation

    Miva Certified Developer
    Miva Professional Developer

    https://www.dev4web.net | Twitter

    Comment


      #3
      I copy and pasted that into a Page Content item. The javascript warning is gone. I'll look at what was wrong with the ReadyTheme Content Section code now that I've got it working.
      Leslie Kirk
      Miva Certified Developer
      Miva Merchant Specialist since 1997
      Previously of Webs Your Way
      (aka Leslie Nord leslienord)

      Email me: [email protected]
      www.lesliekirk.com

      Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

      Comment

      Working...
      X