Giter Site home page Giter Site logo

HTML does not render correctly about phpback HOT 3 OPEN

phpback avatar phpback commented on June 10, 2024
HTML does not render correctly

from phpback.

Comments (3)

Ghostlystranger avatar Ghostlystranger commented on June 10, 2024 1

Thanks for coming back to me - I am able to access the css files as per your comment.

I noticed that the admin pages were rendering correctly, so I had a look at the header.php file for admin where the call to the css files is made as follows:

<link href="<?php echo base_url(); ?>public/css/flat-ui.css" rel="stylesheet">

looking in the _template folder at the header.php file, the call to the css is slightly different

<link href="<?= base_url(); ?>public/css/flat-ui.css" rel="stylesheet">

I changed the call to the css file in the _template header.php file to be the same as the call in the admin header.php file and have made some progress (screen shot attached)

homepage2

Thanks for your help

from phpback.

ivandiazwm avatar ivandiazwm commented on June 10, 2024

It looks like css files can not be retrieved.
Please try to access to YOUR_PHPBACK_URL/public/css/flat-ui.css or YOUR_PHPBACK_URL/public/css/all.css. If you can not access them in the browser, it probably is a web.config issue.

I don't see anything weird with the configuration file, but I'll investigate this issue.

Thanks!

from phpback.

Liebeck avatar Liebeck commented on June 10, 2024

Thanks you are awesome. I followed your instruction to change all <?= calls into <?php echo in the /application/views/_templates/header.php. The CSS is now rendered ;)))))

from phpback.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.