Jump to content

Gideon So

Members
  • Posts

    470
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Gideon So

  1. Hi,

    The alternate user template approach @adrian mentioned is the way to go.

    Actually, it really depends on what you want to do. For me, I added fields to the user template and it is good enough for me.

    I put a page reference field in the user template and another field in some other template that need to store user id. Then connect the two page reference fields with the connect page fields module. It works great for me.

    Gideon

  2. Hi @joer80,

    1. Go the Setup --> Templates, click Filters. Then set "show system templates" to Yes.

    2. Click "user" template

    3. click Family tab

    4. set "May this template has childern" to Yes.

    5. set templates allowed for this template if necessary.

    But please think twice before you do this. It is not encouraged to add children to user page. It is better to create a separate page with page reference field that set to choose from user pages.

    Gideon

    • Like 1
  3. Hi @oflcad,

    Welcome to the forum and the world of Processwire.

    Do you mean that you need to move the development site to a production server?? If so, there are several ways to do it.

    1. Export the datebase and import it to the production server then upload the whole site to the production server. Please amend the site/config.php file as needed if database name, database username and password are different from your development server. You also need to amend the $config->httpHost in the config.php file to the production domain.

    2. Use the miration module. and there is a blog post about it.

    Hope this helps.

    Gideon

    • Like 4
  4. A quick thought: make a subdirectory within the old site and develop the new site there. Delete all the old stuff (remember to leave the new site directory). Then move everything in the new site directory to the main directory. Done.

    Gideon

×
×
  • Create New...