103 Posts
Osep45
7 years ago
3
Topic

Hi,

The submission of my site form is limited to :

Create : YES

Create (Max in the parent / auteur) : "5" 

So, when someone submit the 1st, the 2nd, ... the 5th item => OK, a success message appear, customized in : Site > Configuration > Configuration

At the 6th item => a no-access message appear

Where can I custom this message ? In "Site" "Configuration" > "No access", it doesn't work...

Actually, I see : 

"Erreur

Vous n'êtes pas autorisé à ajouter d'autres contenus dans cette catégorie. Une erreur est survenue"

Thanks in advance,

Osep

Get a Book for SEBLOD
4229 Posts
Kadministrator
7 years ago
0
Level 1

This is set in No Access section of the form configuration.

103 Posts
Osep45
7 years ago
1
Level 1

No Klas : it doesn't work for this message.

I have changed the title of my post because it isn't the no-access message, but an error message.

In Extensions > Langage > Substitutions, I discovered that this message is :

COM_CCK_ERROR_MAX_PARENT_AUTHOR

in the language.ini file. I have substituted it by : "blablabla"

Now, the message still displayed in an error box, like that :

"Erreur
blablabla.
Une erreur est survenue"

How can I custom the full text and the html of this error message please ?

4229 Posts
Kadministrator
7 years ago
0
Level 2

As you already figured out this string is controlled by the language string so you can set the desired message there. Other than this there is no other customization.

Get a VIP membership