To use the contact form functionality with Olan, make sure the required plugin is installed and configured properly.
Install the Contact Form plugin from the official Moodle plugin directory:
π https://moodle.org/plugins/local_contact
β This plugin must be installed and active for the contact form to work.
For full configuration details and usage instructions, refer to the pluginβs documentation:
π https://github.com/michael-milette/moodle-local_contact
Below is the contact form shortcode used in the Olan theme. You can paste this into any HTML block or content area where you want the form to appear:
<div class="contact-us-area ptb-140">
<div class="container">
<form class="contact-us-form">
<h3>Got A Minute? Contact Us Now!</h3>
<div class="row justify-content-center">
<div class="col-lg-12 col-md-12">
<div class="form-group">
<label>Name</label>
<input type="text" class="form-control" placeholder="Enter your name">
</div>
</div>
<div class="col-lg-112 col-md-12">
<div class="form-group">
<label>Email</label>
<input type="email" class="form-control" placeholder="Enter email address">
</div>
</div>
<div class="col-lg-12 col-md-12">
<div class="form-group">
<label>Number</label>
<input type="number" class="form-control" placeholder="Enter your number">
</div>
</div>
<div class="col-lg-12 col-md-12">
<div class="form-group">
<label>Subject</label>
<input type="text" class="form-control" placeholder="Enter your subject">
</div>
</div>
<div class="col-lg-12 col-md-12">
<div class="form-group">
<label>Your Message</label>
<textarea class="form-control" placeholder="Your message here"></textarea>
</div>
</div>
<div class="col-lg-12 col-md-12">
<button type="submit" class="default-btn">
Submit Message
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="14" viewBox="0 0 18 14" fill="none">
<path opacity="0.5" d="M16.25 6.75V7.25H1.25V6.75H16.25Z" fill="white" stroke="white"/>
<path d="M10.75 1L16.75 7L10.75 13" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</button>
</div>
</div>
</form>
</div>
</div>