How to call function to another controller?
Permalink 1 user found helpful
How to call function to my controller?
I want to get the function from
to my controller.
There is any possibilities to get that function?
Can anyone suggest the way to call that function...
Thanks in advance...
I want to get the function from
/concrete/startup/localization.php
to my controller.
There is any possibilities to get that function?
Can anyone suggest the way to call that function...
Thanks in advance...
Thanks Rony,
I already work with this...
now the error is, if i retrieve content from the database 'btContentlocal' table it is not working.
I already work with this...
now the error is, if i retrieve content from the database 'btContentlocal' table it is not working.
Actually i want to translate block content which is entered using concrete5's WYSIWYG editor.
I got the file which is retrieve the data from the database. It is in
In this view.php they use the code
They get the 'getContent()' function from it controller,
The output content is in '$content' variable.
How can use this variable to translate.
I tried,
But it not works...
There is any other way to translate it?
I got the file which is retrieve the data from the database. It is in
/concrete/blocks/content/view.php
In this view.php they use the code
$content = $controller->getContent(); print $content;
They get the 'getContent()' function from it controller,
concrete/core/controllers/blocks/content.php
The output content is in '$content' variable.
How can use this variable to translate.
I tried,
print t($content);
But it not works...
There is any other way to translate it?
Well t() function doesn't work like google translator. You cannot translate content with this t() function. Currently there is a block is awaiting approval in PRB. Its called "C5DK Multilingual Content Block" which does the same thing.
Thanks for the information Rony,
Google translator will translate all the words.
But in my block I entered only the words which is already in .mo file in language directory.
Then where i can see the PRB. how to know about the current updates & how to join in that team.
Google translator will translate all the words.
But in my block I entered only the words which is already in .mo file in language directory.
Then where i can see the PRB. how to know about the current updates & how to join in that team.
Here are 2 how-to which might be helpful.
http://www.concrete5.org/documentation/how-tos/developers/internati...
http://www.concrete5.org/documentation/how-tos/developers/translate...
You need to PM Julia to Join PRB team.
Rony
http://www.concrete5.org/documentation/how-tos/developers/internati...
http://www.concrete5.org/documentation/how-tos/developers/translate...
You need to PM Julia to Join PRB team.
Rony
Thanks Rony,
Those how-tos are help full to me...
yes i need to join in PRB team...
What's that PM Julia?
Could you make the footpath to me to join in PRB team?
Those how-tos are help full to me...
yes i need to join in PRB team...
What's that PM Julia?
Could you make the footpath to me to join in PRB team?
Julia is the Core team member. Here is her profile: http://www.concrete5.org/profile/-/view/84403/...
And PM means Private Message. You can click the Blue Button called "Send Message" in her profile.
Rony
And PM means Private Message. You can click the Blue Button called "Send Message" in her profile.
Rony
Thanks a lot Rony.
Like
Rony