Giter VIP home page Giter VIP logo

Comments (6)

Grafikart avatar Grafikart commented on August 12, 2024

I didn't tried it on Wordpress 4.1, I'm currently working on a new version on the dev branch. Can you try to see if you got an error in your logs ?

from wphp-framework.

fchapot avatar fchapot commented on August 12, 2024

Was my mistake with the word framewor"H"
Now it works !

from wphp-framework.

fchapot avatar fchapot commented on August 12, 2024

Bonjour,
J'essaie à nouveau d'utiliser ton Framework pour un autre site en suivant ton excellent tuto "Créer un site Wordpress depuis une maquette HTML", qui date un peu mais est toujours très utillie, mais j'ai le même problème que l'autre fois, dès que j'écris la commande ->

require TEMPLATEPATH.'/framework/theme.php';
$theme = new Theme();

ma page devient blanche. Est-ce normal de faire appel à un fichier qui n'est pas présent dans le dossier framework ?

Merci Grafikart

from wphp-framework.

fchapot avatar fchapot commented on August 12, 2024

Je corrige mon post. En fait il y a bien le fichier theme.php, mon ZIP était incomplet. En revanche, ça fonctionne quand je charge le fichier theme.php -- require TEMPLATEPATH.'/framework/theme.php'; --
mais si j'écris -- $theme = new Theme(); -- là j'ai de nouveau une page blanche.

Que pasa ??

from wphp-framework.

fchapot avatar fchapot commented on August 12, 2024

J'ai l'impression de tenir un petit journal, je me parle tout seul :)
Donc j'ai résolu le problème qui venait évidement de moi. En fait quand j'ai mis à jour la version Branch avec la version Dev, j'ai remplacé les dossiers entiers au lieux d'utiliser seulement leurs contenus, du coup certain fichiers avaient disparus. Voilà, tout fonctionne !

from wphp-framework.

Grafikart avatar Grafikart commented on August 12, 2024

Je compte réécrire la librairie pour une approche plus objet (et éviter une grosse classe Theme) pour ça que je ne me suis pas trop occupé de la branche master. Désolé.

from wphp-framework.

Related Issues (11)

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.