Welcome, Guest
Username: Password: Remember me

TOPIC: Removing or Replacing TPL_CONTACT_EMAIL_FORM and TPL_CONTACT_DETAILS

Removing or Replacing TPL_CONTACT_EMAIL_FORM and TPL_CONTACT_DETAILS 1 year 7 months ago #8001

  • xzaneken
  • xzaneken's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
  • Karma: 0
Normally I would remove these codes with ease but in this OT Enter Design template I can not Remove or Replace TPL_CONTACT_EMAIL_FORM and TPL_CONTACT_DETAILS on the contact page. And how do I also remove or replace "Sub Page Name" see the attached image and also see the link thinkommcommunications.com/activ/index.php/contacts
Attachments:
  • Attachment This image is hidden for guests. Please log in or register to see it.
The administrator has disabled public write access.

Removing or Replacing TPL_CONTACT_EMAIL_FORM and TPL_CONTACT_DETAILS 1 year 6 months ago #8012

  • expert42
  • expert42's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 4
  • Karma: 0
In order to change this labels, you need to reach this file /public_html/templates/[your template]/html/com_contact/contact/default_plain.php
Change the lines that listed below
First Condition:
Line 93:
<h4 class="ot-title text-uppercase"><?php echo JText::_('TPL_CONTACT_EMAIL_FORM'); ?></h4>
Last Condition:
Line 93:
<h4 class="ot-title text-uppercase"><?php echo JText::_('TYPE HERE WHATEVER YOU WANT'); ?></h4>

First Condition:
Line 37:
<h4 class="ot-title text-uppercase"><?php echo JText::_('TPL_CONTACT_DETAILS'); ?></h4>
Last Condition:
Line 37:
<h4 class="ot-title text-uppercase"><?php echo JText::_('TYPE HERE WHATEVER YOU WANT'); ?></h4>

I tried to find this solution but i couldn't. Finally i checked all template files and i found it. I hope it works for your site.
The administrator has disabled public write access.
The following user(s) said Thank You: xzaneken

Removing or Replacing TPL_CONTACT_EMAIL_FORM and TPL_CONTACT_DETAILS 1 year 6 months ago #8014

  • xzaneken
  • xzaneken's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
  • Karma: 0
:) Thanks it worked. Even though there were online 88lines I managed to locate the strings and amend them. I am very grateful.
The administrator has disabled public write access.
Time to create page: 0.153 seconds