Jump to content

EssickAir

Members
  • Posts

    20
  • Joined

  • Last visited

Everything posted by EssickAir

  1. So here is the set up. We started developing a new a site on a web server. The domain was dev.test.com for example. Well so that was set up on a different directory than "public_html". I'm running a multi-site tool where we are pointing a bunch of domains to that folder. But now we're trying to move the primary domain over, and it apparently has to point to "public_html" so how would one go about moving a processwire site to a different folder without killing the entire thing?
  2. OMG you're a genius. I don't know how I missed that, but thanks. I just needed to run $child->save(); thanks
  3. So I'm trying to use setName as a way to change the name of about 1000 child pages because I need it to be different. I wrote the code an it works because it is changing the URL but not the "name" of the page. What am I doing wrong? <?php foreach($page->children() as $child){ $sku = str_replace(' ', '-', strtolower($child->upc)); $page->setName($sku); } ?> What am I doing wrong? the UPC changes. but the page name does not. Thanks
  4. I know this is an old thread, but I could use some help trying to get the same result if anyone on here has any suggestions.
×
×
  • Create New...