Jump to content

takaras

Members
  • Content Count

    2
  • Joined

  • Last visited

Community Reputation

2 Neutral

About takaras

  • Rank
    Newbie
  1. Also i would give the new page only a title with your text sanitizer and let ProcessWire handle the name of the page (in case the pagename already exists). If you would like to set also the page name then use the $sanitizer->pageName().
  2. You should save the page after finishing with your upload. $p->save(); instead of $u->save(); WireUpload doesn't have any save method (that's what the error message tells you)
×
×
  • Create New...