Jump to content

How do you add content to the CONTACT US page?


NVious

Recommended Posts

http://nviousdesigns.com/hosting/contact.php

 

To get my Authorize.net Payment Gateway approved by their underwriting, I need to add the company address and phone to the Contact page. When I look at the.php file it's a coded mess that is generated. So, how do you edit this page to allow for additional data above the form that is generated?

 

Also, how can I add a link to our Term & Services in the template?

Link to comment
Share on other sites

Bear is correct, template customization should be done via templates

As far as a link to the terms nd services, you can do this via hooks so you don't have to edit that template constantly. Something like this

Add this as a .php file in whmcs/includes/hooks. Change the url and menu name as needed

 

<?php
#adding Menu Item to primaryNavbar
use WHMCS\View\Menu\Item as MenuItem;
add_hook('ClientAreaPrimaryNavbar', 1, function (MenuItem $primaryNavbar)
{
   $primaryNavbar->addChild('Menu Name')
       ->setUri('https://www.example.com/')
       ->setOrder(70);
});

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated