Jump to content

EssickAir

Members
  • Posts

    19
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

EssickAir's Achievements

Jr. Member

Jr. Member (3/6)

5

Reputation

  1. OMG you're a genius. I don't know how I missed that, but thanks. I just needed to run $child->save(); thanks
  2. 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
  3. 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...