Announcement

Collapse
No announcement yet.

Second Contact Us Page

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

    Second Contact Us Page

    Is it possible to copy the contact us page to have a second page?

    All I'm after is changing the headings on the 2nd form from Subject to Order Number, and Message to Exchange Request.

    In theory it shouldn't be hard, but I think there must be more to than just copying the PL file as when I try it doesn't work.
    Regards

    Jason

    Titan Jewellery (Swift Design)
    Zirconium Rings
    Damascus Steel Rings

    #2
    In layout Contact Us Page Body RWD change:
    Code:
    		<label><span class="actrequired"><actinic:variable name="MailFormSubject" /> *</span></label>
    to{
    Code:
    		<label><span id="mfsubject" class="actrequired"><actinic:variable name="MailFormSubject" /> *</span></label>
    And change:
    Code:
    		<label><span class="actrequired"><actinic:variable name="MailFormMessage" /> *</span></label>
    to:
    Code:
    		<label><span id="mfmessage" class="actrequired"><actinic:variable name="MailFormMessage" /> *</span></label>
    And put this at the bottom of the layout:
    Code:
    <script>
    if ( location.search.indexOf('page=2') > -1)
    	{
    	$( "#mfsubject" ).html('Order Number *');
    	$( "#mfmessage" ).html('Exchange Request *');
    	}
    </script>
    Now the usual Contact Us link is
    Code:
    <a href="http://inferno/cgi-bin/mf018001.pl?ACTION=SHOWFORM">Contact Us</a>
    To make this work as your second version amend your link to be:
    Code:
    <a href="http://inferno/cgi-bin/mf018001.pl?ACTION=SHOWFORM&page=2">Contact Us</a>
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Many thanks Norman.

      I will have a play this week.
      Regards

      Jason

      Titan Jewellery (Swift Design)
      Zirconium Rings
      Damascus Steel Rings

      Comment

      Working...
      X