Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 23 results for
phalcon
- Page 1
Re: Arrays are not showing on website - Phalcon Translation with volt template
Programming
Web Development
7 Years Ago
by Nunix
…; => $messages));` I think it is calling a template in
Phalcon
. And the `"content"` it is the name of… will recognize the content immediately. I just went to the
phalcon
documentation and saw in there: https://docs.phalconphp.com/pt…
Arrays are not showing on website - Phalcon Translation with volt template
Programming
Web Development
7 Years Ago
by Nunix
…the translation: <?php class UserController extends \
Phalcon
\Mvc\Controller { protected function _getTranslation() { //…quot;; } //Return a translation object return new \
Phalcon
\Translate\Adapter\NativeArray(array( "content" …
Re: Arrays are not showing on website - Phalcon Translation with volt template
Programming
Web Development
7 Years Ago
by Nunix
…above) <?php class UserController extends \
Phalcon
\Mvc\Controller { protected function _getTranslation() { …quot;; } //Return a translation object return new \
Phalcon
\Translate\Adapter\NativeArray(array( "content" …
Re: Arrays are not showing on website - Phalcon Translation with volt template
Programming
Web Development
7 Years Ago
by diafol
… highlighted by most PHP editors. I'm not familiar with
phalcon
, but your variable is set for "t", so…-you-shop-a-lot'] Really don't know how the `\
Phalcon
\Translate\Adapter\NativeArray(array("content" => $messages))` looks…
Re: Arrays are not showing on website - Phalcon Translation with volt template
Programming
Web Development
7 Years Ago
by Nunix
It doesn't work yet. I was checking this forum of
phalcon
but I can't understand what he does... https://forum.phalconphp.com/discussion/1150/need-help-with-gettext-solved I tried it the part of "##SOLVED###" but still did not quite understood that
Phalcon framework
Programming
Web Development
10 Years Ago
by pritaeas
http://phalconphp.com/ Anybody here who has already tried this one? Am curious to any experiences.
Re: Phalcon framework
Programming
Web Development
10 Years Ago
by LastMitch
>Anybody here who has already tried this one? Am curious to any experiences. **@pritaeas** Never heard of it til now. Thanks for the links. I just download the framework. Mostly I will play around with it then give feedback
Re: Arrays are not showing on website - Phalcon Translation with volt template
Programming
Web Development
7 Years Ago
by cereal
Hi, it seems you have `indexAction()` nested in the `_getTranslation()` method, fix the brackets and then see if it works.
Re: Arrays are not showing on website - Phalcon Translation with volt template
Programming
Web Development
7 Years Ago
by Nunix
Hello cereal, I have fixed but keeps the same way...
Re: Arrays are not showing on website - Phalcon Translation with volt template
Programming
Web Development
7 Years Ago
by diafol
Show your updated code. Not convinced you've done it properly - you don't seem to be using an editor that checks syntax - so little errors like these scrape through.
Re: Arrays are not showing on website - Phalcon Translation with volt template
Programming
Web Development
7 Years Ago
by diafol
Well it looks like you may have got the pattern wrong: <blockquote>{{ t_['blockquote'] }}</blockquote> Could be: <blockquote>{{ t->_('blockquote') }}</blockquote>
Re: Arrays are not showing on website - Phalcon Translation with volt template
Programming
Web Development
7 Years Ago
by Nunix
I tried that but doesn't recognize "->" because of the volt template...
Re: Arrays are not showing on website - Phalcon Translation with volt template
Programming
Web Development
7 Years Ago
by diafol
See https://docs.phalconphp.com/uk/latest/reference/volt.html I think you need: t.content['blockquote'] Or something like that. If just an array... t['blockquote'] //or t['content']['blockquote']
Re: Arrays are not showing on website - Phalcon Translation with volt template
Programming
Web Development
7 Years Ago
by diafol
Maybe {{t._("blockquote")}}
Translation is not working - PhalconPHP with volt.
Programming
7 Years Ago
by Nunix
… is the code of that page: <?php use \
Phalcon
\Mvc\Controller; use
Phalcon
\Translate\Adapter\NativeArray; class IndexController extends Controller { public…
Custom intranet or use existing CMS/other platform?
Programming
Web Development
9 Years Ago
by guyinpv
… to look at. A CMS? A framework vis a vis
Phalcon
or Laravel? Or just install Composer with PHP and start…
Re: Little bit confused about which language to choose after PHP
Programming
Web Development
9 Years Ago
by veedeoo
> Sounds like
phalcon
, I was meaning to evaluate that but was put off … its own dedicated There you go Iamthwee. Yes, that was
Phalcon
, you are right. I can't remember its name, a…
Re: Little bit confused about which language to choose after PHP
Programming
Web Development
9 Years Ago
by iamthwee
… resources by compiling the source to C language. Sounds like
phalcon
, I was meaning to evaluate that but was put off…
Re: Translation is not working - PhalconPHP with volt.
Programming
7 Years Ago
by Lan_2
I want to learn programing. How i can I strat it ? Please describe learning step by step.
Re: Translation is not working - PhalconPHP with volt.
Programming
7 Years Ago
by Nunix
First you need to start learning the structure of the web programming, starting with HTML and then it comes the rest. But first HTML.
Re: Custom intranet or use existing CMS/other platform?
Programming
Web Development
9 Years Ago
by hericles
Have you looked at Alfresco? It's based on the document sharing idea, a bit like sharepoint, but is quite customisable. It won't have everything you need immediately but it must tick a few boxes at least.
Re: Custom intranet or use existing CMS/other platform?
Programming
Web Development
9 Years Ago
by pritaeas
SugarCrm perhaps?
Re: Custom intranet or use existing CMS/other platform?
Programming
Web Development
9 Years Ago
by iamthwee
To build that from scratch you're looking at about at least a half a year best, year realistically. Codeigniter or laravel is capable, but it just gives you to php tools, you'll then have to work in a good html css framework like bootstrap. You may find some solace in existing cms like sugarCRM but I wouldn't envy you having to reverse engineer …
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC