Please Log in or Create an account to join the conversation.
I don't see why you can't condition off a multicheckbox. You need to use a Contains operator and not an Equal To operator is the only difference. The reason for this is a multiselect stores as VALUE1|*|VALUE2|*|VALUE3 so Equal to VALUE1 in this case would fail. The Contains operator uses wildcards so it can do partial matches.I tried the plugin "cb auto actions", as explained in a forum topic about the same question, but I can't exploit it because my keywords are based on a MultiCheckbox field with values and labels.
Substitute in the field then cut it short using a parse function. To do this you first need to enable Format Functions under Parameters while editing your action. Example as follows.So, If I wanted to the first 5 words from a description field to generate my meta description,how I could do with the triggers code ?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
There's no tutorial for your specific case. CB Auto Actions is just a tool. Tutorials to cover all of its cases would be infinite. Nick only overs the most common cases to get started.Unfortunately, I try my best, I can't do it, maybe I don't have enough technical knowledge about this...Video tutorials are fine but insufficient to extrapolate my case.Is there another & complete tutorial somewhere ?
You need to provide screenshots of your action configuration. Something appears misconfigured. Ensure you're using latest CB Auto Actions 6.2.2 nightly build found below.For the meta description, it works fine for a text field type but when I want to use a textarea field, the page does not load, with "Connection was reset".I did not understand where to find more information about it.
Here is my Action with method "Header" & format functions ON
The initial meta is added by Joomla. Believe you need to shut that off in Joomla global configuration.Likewise,I do not know how to remove the initial meta description and meta keys because now there are two.
[FIELD_NAME] substitutions are always raw values. Sounds like you need the formatted values, which you can grab with the below.For the meta keys, probably, my question was not enough specific. I don't want to use condition on the multicheckbox. The field is a querymulticheckbox "VALUE1|*|VALUE2|*|VALUE3" and I want to put the label column in my meta keywords
Please Log in or Create an account to join the conversation.
ok I never realized that when meta was empty, it was not displayed. :whistle:The initial meta is added by Joomla. Believe you need to shut that off in Joomla global configuration.
Yes ! that'is the good way, it work fine now. Sorry, I did not have a good understanding of this tutorial using substitutions. (French and blonde :silly: )Sounds like you need the formatted values, which you can grab with the below [cb:userfield field="FIELD_NAME" /]
Please Log in or Create an account to join the conversation.
That shouldn't be an issue. The format function is basically just doing a substr PHP call on the string to cut it to the length specified. The page source you provided in a previous reply though implies the format function never executed, which typically means format functions are not enabled for the action. Please provide the exact Code you've supplied to output to the header and will try to duplicate to see if there could be a bug.After some tests, it seems that it not the field type but the length of my textarea field which generates a problem : Above approximately 250 characters a "Connection Was Reset" appears & below 250 this is ok.
Format functions is of course enabled.
Is it talking about ? could it depend on my configuration ?
Please Log in or Create an account to join the conversation.