• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.

Calling files outside the script directory

sitebee

Chevereto Member
Hello, hopefully someone could help me here!

I`m trying to style the Chevereto script to match my website.

I regularly update the header and footer so having a static header / footer and stylesheet inside the image hosting script theme directory is not an option for me.

For example I have myBB / Wordpress and off site content using the same header and footer files being called in with either php include or curl.

Example
Code:
<!-- include header -->
<?php include_once("../../includes/header.php") ?>             
<!-- end include header -->
            <!-- navigation -->
        <?php include_once("../../includes/nav.php") ?>
            <!-- end of navigation -->

I want to call the files externally, which for some reason is not working. I have the correct path`s and have double checked them. They are not being called in!

Any suggestions to get them to work?

Kind Regards,

Chris.
 
Back
Top