Jump to content

takaras

Members
  • Posts

    2
  • Joined

  • Last visited

takaras's Achievements

Newbie

Newbie (2/6)

2

Reputation

  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...