Jump to content

AutoPageTitle module


Sipho
 Share

Recommended Posts

I recently needed a module that automatically fills the title field of a page using fields on that page. I couldn't see one that already existed so I made my own. This is mostly based on ProcessSetupPageName by @kixe which I use along with this module. Keep in mind I am very new to ProcessWire so perhaps somebody else can contribute or make a better one :)

Note: The title is automatically hidden when using this module

You can enter any string. To add a fieldname, subfield or property, you surround the fieldname with {}. Dot syntax allowed. Example:

  • Fish: {parent.title} {myfield}

screen.thumb.png.71935209f7b5110823a72d405c0d9ef3.png

https://github.com/nextgensparx/AutoPageTitles

  • Like 6
Link to comment
Share on other sites

1 hour ago, Sérgio Jardim said:

iftrunner-release

Hi @Sérgio Jardim, Does it still work without issues on PW 3.x? I'm not a fan of modules not maintained anymore but this one sounds really interesting. I wish @ryan at least added namespace support and assured us that it will work with future ProcessWire versions as well. IftRunner is not even in the Module Directory.

  • Like 2
Link to comment
Share on other sites

Hi @szabesz! Yes, it works! 

I'm running it on PW 3.0.57 right now, in production.  I have two actions: 

1 - "Generate Short URL on adding a page" - On page save, it calls an API on another server (mine too) that runs an installation of https://yourls.org

2 - "Set end date on events, if empty" - the name is self explanatory. :)

  • Like 5
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...