Jump to content

Search the Community

Showing results for tags 'setLanguageValue'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to ProcessWire
    • News & Announcements
    • Showcase
    • Wishlist & Roadmap
  • Community Support
    • Getting Started
    • Tutorials
    • FAQs
    • General Support
    • API & Templates
    • Modules/Plugins
    • Themes and Profiles
    • Multi-Language Support
    • Security
    • Jobs
  • Off Topic
    • Pub
    • Dev Talk

Product Groups

  • Form Builder
  • ProFields
  • ProCache
  • ProMailer
  • Login Register Pro
  • ProDrafts
  • ListerPro
  • ProDevTools
  • Likes
  • Custom Development

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 1 result

  1. Hi, As the title says, my code looks like this: $aPage = $pages->get('selector'); $default = $languages->get('default'); $language1 = $languages->get('language1'); $language2 = $languages->get('language2'); $aPage->setOutputFormatting(false); $aPage->title->setTrackChanges(true); // remove this and title will be empty $aPage->title->setLanguageValue($default, 'title'); $aPage->title->setLanguageValue($language1, 'title1'); $aPage->title->setLanguageValue($language2, 'title2'); $aPage->save(); The reason I'm asking is I can't find any mention of this in the documentation and it took quite some time to figure out.
×
×
  • Create New...