Posts: 13
Threads: 3
Joined: Jun 2022
Hello,
I correctly integrate a website into my installation of website.
But now I want to use my second site without installation.
How is it possible ?
I tried to integrate with iframe but I can not modify styles.
I tried to use with php : file_get_contents
But I do not know parameters.
Please help.
Posts: 2,894
Threads: 59
Joined: Jun 2010
Hi Ben,
The only way to integrate a second website is to use the iFrame integration.
You can modify the styles using the built-in CSS Editor module, but the styles will affect both your first website and second website, so choose a style that suits both if possible.
Have
you completed
the interview?
Posts: 13
Threads: 3
Joined: Jun 2022
Many thanks Steven.
Now, I have this error message : Error: Could not be loaded from the domain 'monglucko.com'
What could I do ?
Is it possible to integrate a specific style after mini.style.css of commentics ?
Like : domain.com.css if file is present ?
Posts: 2,894
Threads: 59
Joined: Jun 2010
Hi Ben,
To fix that error you'll need to open the file /system/library/page.php and remove this line:
PHP Code:
<?php
die('<b>Error:</b> Could not be loaded from the domain \'' . $this->security->encode($referrer) . '\'');
To have different stylesheets, first open the file /frontend/controller/common/header.php.
Then after this line:
PHP Code:
<?php
$this->data['commentics_url'] = $this->url->getCommenticsUrl();
Add this:
PHP Code:
<?php
$this->data['site_id'] = $this->page->getSiteId();
Then open the file /frontend/view/default/template/common/header.tpl.
And adjust as needed. If you go to Manage -> Sites and edit a site, you'll see the Site ID at the end of the URL in your web browser.