Please read and follow the COMMON ISSUES first!
Always add your version information in every new post! Thank you!

Form2Content Forum

Questions and answers for Form2Content, a Joomla CCK.
  1. mr412
  2. F2C submission form templating
  3. Saturday, 16 March 2019
  4.  Subscribe via email
Joomla Version: 3.9.4
Form2Content Pro Version 6.17.4

I want to predefine title_alias. How can I do that? e.g.
{$ TITLE_ALIAS} = "{$ AUTHOR_ID} - {$ TITLE}"

Thanks you advance,
best regards,
Mike
Accepted Answer
Accepted Answer Pending Moderation
Please read: https://documentation.form2content.com/f2c-extensions/joomla-plugins/87-f2c-metadata-plugin

and use this template for the alias: alias_contenttype_XX.tpl
Please read the F2C documentation before asking questions! Thank you if you've done so ;)
Responses (8)
Accepted Answer Pending Moderation
Hi Mike,

Use our free metatdata plugin for this: https://documentation.form2content.com/f2c-extensions/joomla-plugins/87-f2c-metadata-plugin

We have updated it with title alias template too. I believe the documentation is in the plugin description.
https://www.form2content.com/download/f2c-plugins/1-3-0-metadata-plugin

Regards,
Patrick
Please read the F2C documentation before asking questions! Thank you if you've done so ;)
Accepted Answer Pending Moderation
Thanks for reply. I already see that. But I can solve my problem with this documentation.

How can I pass values to fields in the form template?
Accepted Answer Pending Moderation
The Goal is to set the URL from the article to:
user_id-firstname-lastname
Accepted Answer Pending Moderation
just paste this {$ AUTHOR_ID}-{$ TITLE} in the title alias template
Please read the F2C documentation before asking questions! Thank you if you've done so ;)
Accepted Answer Pending Moderation
OK so you add that in the template

{$JOOMLA_USER_ID}-{$FIRSTNAME}-{$LASTNAME}

*asuming these are the names of your F2C fields
Please read the F2C documentation before asking questions! Thank you if you've done so ;)
Accepted Answer Pending Moderation
thanks. I'm sorry I don't understand you. Which title alias template?
Accepted Answer Pending Moderation
BUT to follow URL rules you might need to use Smarty to remove capitals and different characters ....
Please read the F2C documentation before asking questions! Thank you if you've done so ;)
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.