Jump to content

Question

Posted

Sorry if I am missing something really obvious, but I am trying to create unique public landing pages for my 3 companies (I have the additional company plugin).

Using Virtualmin, I have 3 sub domains set up on the same server:

Master Domain
     cp.Master (with Blesta installed)
     cp.additional 1
     cp.additional 2

All of these are setup as subservers of the master domain and going to the subdomains either gives me a correct portal page or goes direct to the correct /client/login/

I want each company to have its own landing (portal) page, replacing the standard one, removing the need to create separate websites.

I am not looking at changing the client pages yet, although that seems straight forward.

I have tried editing the public_html pages for each domain, but that screws everything up!

I am sure I am using the wrong location to edit the files, but any help would be appreciated.

8 answers to this question

Recommended Posts

  • 0
Posted
2 hours ago, bins said:

Sorry if I am missing something really obvious, but I am trying to create unique public landing pages for my 3 companies (I have the additional company plugin).

Using Virtualmin, I have 3 sub domains set up on the same server:

Master Domain
     cp.Master (with Blesta installed)
     cp.additional 1
     cp.additional 2

All of these are setup as subservers of the master domain and going to the subdomains either gives me a correct portal page or goes direct to the correct /client/login/

I want each company to have its own landing (portal) page, replacing the standard one, removing the need to create separate websites.

I am not looking at changing the client pages yet, although that seems straight forward.

I have tried editing the public_html pages for each domain, but that screws everything up!

I am sure I am using the wrong location to edit the files, but any help would be appreciated.

The Portal is generated by the Portal plugin, so with the right company selected visit Settings > Company > Plugins and click to Manage Portal. Modify the HTML as desired and save. Change to the other companies and do the same. Make sure the hostnames are set correctly under Settings > System > Companies.  If you want to modify more than just the content, then you will need to clone the client template directory /app/views/client/bootstrap/ to rename it for each company, then under each company select it under Settings > Company > Look and Feel > Template, and modify the files as desired. Rather than copying the entire directory, you can just copy the files you intend to change as it will fall back to the bootstrap template for any files that are missing, which will make it easier to upgrade in the future.

  • 0
Posted
7 minutes ago, bins said:

Paul,

thanks for this.

TO clarify, this is to edit the public page, not a logged-in client page?

Yes, the portal page which is public. Everything in the red box is editable in the plugin as described.

image.png

  • 0
Posted

I am not getting/missing something with this.

When putting HTML in, from a directory perspective, where to I put CSS and images and how do I call them?

 

Is the core template (e.g. bootstrap) the root directory to call from?

  • 0
Posted

This is doing my head in.

First, having to constantly 'Update Plugin' then go back to editing through the plugin page is a pain!

Second, I thought I got the relationship between the page html and the folders for the css, images etc right, but I have not.

 

Wht can't there be a HTML editor in the plugin?

  • 0
Posted
On 2/24/2025 at 7:56 AM, bins said:

Wht can't there be a HTML editor in the plugin?

It used to use the WYSIWYG editor but there was a serious issue with the html it generated that would break the page so we had to remove it. We may look to see if we can resolve the original issue and add it back.

Join the conversation

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

Guest
Answer this question...

×   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.

Loading...
×
×
  • Create New...