Jump to content

Recommended Posts

Posted

Hello, I recently decided to switch over to blesta and away from WHMCS. Right now I'm in trouble because I could not find any documentations for customizing templates or in my case 'converting' my WHMCS template to a bleasta template/writing a whole new template. In fact I installed blesta in the root of my domain and when i access it i only get a 404 rather than an index page.

 

If you could tell me about any documentation sources that would be quite awesome. 

 

Thank you, Stan.

Posted

your error "404" is certainly not related to blesta, you could create 2 files at the root of your blesta install

 

hello.txt

 

with content

Hello lethal network

info.php

 

with content

<?php

// Show all information, defaults to INFO_ALL
phpinfo();

?>

and if both load fine in your Internet browser, your webserver config is ok.

 

Please note that all above is not related/specific to blesta, but if above do not work, Blesta will not be working as well

Posted

mostly regarding blesta template customization,

 

Frontend templates are here  MY-BLESTA-PATH/app/views/client

 

so there you could copy the bootstrap folder, & rename it to a custom name, What I did was to remame it like my domain without the extension, so later when I will be muti-domain (multi-company), I will have one template by company.

 

purpose to have your own template, is for not being rewritted when there is Blesta update

 

 

So in your template folder, there is structure.pdt file, it's from here your content come from.

 

Note also you need Portal/cms plugin activated at blesta, and also makes your front end template is set at the blesta admin panel

Posted

Regarding the 404, in my opinion it is realted to blesta. See here: https://lethal.network

 

 

I checked the template folder and im confused, maybe because im used to whmcs templating.

 

Do i have to style/code each page? im confused where my header/footer code goes into. im also wondering if theres a index page?

  • 5 months later...
Posted

Now I have renamed mine to /home/my_name/public_html/blesta_dir/app/view/my_custom and edited it. I want to apply it. Going to mydomain.tld/blesta_dir/admin//settings/company/lookandfeel/template/ I only see bootstrap and bootstrap! How do I know which bootstrap I need? I need a friendly way, where is template name stored???? Kindly help.

 

**************************************************************************************************************************************************************************

EDIT: I got it. config.json

**************************************************************************************************************************************************************************

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...