Post by Gusten » Mon Feb 13, 2012 6:50 am

Hello!

I would like to add more information in the Contact Us-section of the website. I was thinking about a box above the Address one where I can write something like "You are able to contact us anytime, either call us by using the number below or use the contact form which is the best method. We always answer on enquires within 24h or something.

I guess I have to edit the contact.tpl but how? Could anyone give me some guidance to a lousy coder? :D

Thanks in advance

Newbie

Posts

Joined
Wed Jan 18, 2012 3:25 am

User avatar
Active Member

Posts

Joined
Mon Nov 14, 2011 11:30 pm

Post by Gusten » Mon Feb 13, 2012 7:08 am

It's intresting but a bit too expensive for me to buy a module for 49$ when I only need one small box in the contacts page. Thanks anyway! :)

Newbie

Posts

Joined
Wed Jan 18, 2012 3:25 am

Post by philbydevil » Mon Feb 13, 2012 10:56 am

You could use this: http://forum.opencart.com/viewtopic.php?f=131&t=35286

or

Code: Select all

  <h1><?php echo $heading_title; ?></h1>
  <form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data" id="contact">
    <h2><?php echo $text_location; ?></h2>
    <div class="contact-info">
      <div class="content"><div class="left"><b>YOUR INFO HERE</b><br /><br />
       <b><?php echo $text_address; ?></b><br />

I heart cmd-f, cmd-c, cmd-v, cmd-z + vQmod.
My favourite page...
v1.5.4.1


User avatar
Active Member

Posts

Joined
Fri Dec 03, 2010 5:20 am

Post by Gusten » Mon Feb 13, 2012 5:40 pm

philbydevil wrote:You could use this: http://forum.opencart.com/viewtopic.php?f=131&t=35286

or

Code: Select all

  <h1><?php echo $heading_title; ?></h1>
  <form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data" id="contact">
    <h2><?php echo $text_location; ?></h2>
    <div class="contact-info">
      <div class="content"><div class="left"><b>YOUR INFO HERE</b><br /><br />
       <b><?php echo $text_address; ?></b><br />
Where do I put that last code? In Contact.tpl?

Newbie

Posts

Joined
Wed Jan 18, 2012 3:25 am

Post by Gusten » Mon Feb 13, 2012 5:48 pm

Gusten wrote:
philbydevil wrote:You could use this: http://forum.opencart.com/viewtopic.php?f=131&t=35286

or

Code: Select all

  <h1><?php echo $heading_title; ?></h1>
  <form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data" id="contact">
    <h2><?php echo $text_location; ?></h2>
    <div class="contact-info">
      <div class="content"><div class="left"><b>YOUR INFO HERE</b><br /><br />
       <b><?php echo $text_address; ?></b><br />
Where do I put that last code? In Contact.tpl?
Nevermind that question, I figured it out.

Though, its not Exactly what I want. I would like to add a box with information just above the box with Contact Details but under the header Contact Us. So it will be like this

Contact Us (the header and title)
Contact information
Contact Details.
Contact Form.

Newbie

Posts

Joined
Wed Jan 18, 2012 3:25 am

Post by Gusten » Mon Feb 13, 2012 5:58 pm

I solved it, Put code like this.

Code: Select all

<h1><?php echo $heading_title; ?></h1>
	<div class="contact-info"><div class="content"><b>MY INFORMATION GOES HERE </b><br /><br />
	<form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data" id="contact">
	<h2><?php echo $text_location; ?></h2>
	<div class="contact-info">
	<b><?php echo $text_address; ?></b><br />
    <?php echo $address; ?></div>

Newbie

Posts

Joined
Wed Jan 18, 2012 3:25 am
Who is online

Users browsing this forum: No registered users and 222 guests