GithubHelp home page GithubHelp logo

Comments (2)

DevelopRx avatar DevelopRx commented on July 19, 2024

MORE PERMANENT SOLUTION

It's cleaner if you add a variable to the settings so you don't have to edit index.php.

In settings.php, create a variable:
define ('PORT_PATH', ':4001/grammark/'); // port and path to grammark

In index.php, change the $content['url']:
$content['url'] = "http://" . $_SERVER['SERVER_NAME'] . PORT_PATH;

Make the changes in index.twig and results.twig as above.

That's all...

from grammark.

DevelopRx avatar DevelopRx commented on July 19, 2024

V3 Tabs work with the path adjustment. The top buttons don't work (About, Resources. etc). The same is true for the No-SQL version and Version 2. I'm stumped on this one. Maybe the pages aren't forming? I'm running localhost using Uniserver. The main app functions, so I'm not going to reopen.

Version 1 works in the grammark sub-directory, but not with PHP 7. I downgraded to PHP 5.6 and it runs like a champ. Angular distribution works in the sub-directory too.

from grammark.

Related Issues (13)

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.