-
-
Notifications
You must be signed in to change notification settings - Fork 4
Core objects #34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Core objects #34
Conversation
…ld to the dootrip contenty type
Jordi, there are a few automated checks to clean up first
and
|
Sorry i had run the checks in the immediately before commit, but must have missed doing it in the last commit. I was able to resolve all of the errors/warnings except for one warning:
The offending line is this one:
The following fixes the warning, however it does not render the html markup correctly:
|
You shouldn't put variables in the t function. Take a look at https://www.drupal.org/docs/7/api/localization-api/dynamic-strings-with-placeholders. It would be best to translate the strings before wrapping them with HTML. |
Thanks Gregg. I know we should not put variables in the t function. The correct way should be the second codeblock I gave you, where I use the replacements array. But doing so prevents the html markup from properly rendering on the webpage. |
Did you try the other placeholders in that documentation??? And again, it is better to translate the string(s) then wrap them in HTML. |
Try with exclamation point instead of the “@“ |
- Removed content editor role
- Created Labdoo Story content type using paragraph module - Created Gallery content type - Added logic to Plugin/Block/BlockHubEdoovillage.php to check if user has the correct right to access/edit an edoovillage/hub.
No description provided.