Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What's all needed in the config file? #1077

Closed
contempoinc opened this issue Apr 16, 2014 · 3 comments
Closed

What's all needed in the config file? #1077

contempoinc opened this issue Apr 16, 2014 · 3 comments

Comments

@contempoinc
Copy link

Looking through the sample-config.php there's bunch of stuff in the beggining some commented for the demo, etc…however without trial and error. What's all needed or can someone supply a barebones config.php that custom functions & options can then be added to? That would be awesome!

@kprovance
Copy link
Member

Cut and paste what you want from the sample-config, or use the demos provided in the docs. http://docs.reduxframework.com

@contempoinc
Copy link
Author

So nothing is required like all the public statements at the top? I just want it super clean & barebones. I've already read through the docs, its just a little confusing as to what is just for demo purposes and whats required for it to work.

@kprovance
Copy link
Member

Yeah, those statements are part of the class structure. If you're not familiar with PHP or classes (object oriented programming), I recommend you familiarize yourself with it first. http://www.php.net/manual/en/language.oop5.php Using Redux assumes a working knowledge of PHP. It's a tool, not a replacement for PHP...that said, while we support our product (meaning, if you have issues with it) we are not PHP tutors.

Here is the minimal conifg file, with one section and one field: https://gist.github.com/kprovance/10945546. It will not support any compiler or hook functions. If you want/need those, you'll have to refer back to the original sample-config and/or docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants