Jump to content

Recommended Posts

Posted

Greets :)

For the site I'm busy developing, I'm about to get to the part where I need to use pagination.

I noticed in PW 2.5 that $config->pageNumUrlPrefix no longer exists in config.php

Any reason as to why this is the case? And I'm assuming it will still work, right?

Posted

It has become crowded in that file, so I guess Ryan decided to move that one to the config in wire. You still can use that setting.

If you want to change it, it's recommended to put it in /site/config.php. This way PW upgrades won't overwrite that setting.

  • Like 1
Posted

Actually pretty much everything has been moved to /wire/config.php, leaving /site/config.php exclusively for things that you want to modify from the defaults. You'll notice that /site/config.php pretty much contains nothing now other than debug and the settings added by the installer. However, any config property can still be modified from your /site/config.php file. See the /wire/config.php for a full reference of all possible properties you can customize. 

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...