Comments (2)
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.
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)
- Batch utility HOT 1
- Eggcorns bug? HOT 1
- error Running it locally HOT 2
- feature request: making an addon for common LaTeX editors
- Download commands wrong on https://grammark.org/dist/#/page/source
- Grammar Check Incorrect HOT 1
- Bug (?) in sentence length computation HOT 2
- Separate library HOT 6
- cut and paste into word HOT 1
- Passive voice results HOT 3
- Grammatical Error
- Expanding Grammark's Functionality
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grammark.