. Any way to accomplish this?
Thanks in advance
--
Ben Scholzen 'DASPRiD'
Community Review Team Member | m...@dasprids.de
Zend Framework | http://www.dasprids.de
--
List: fw-general@lists.zend.com
Info: http://framework.zend.com/archi
for having no
clear separation in that module :)
--
Ben Scholzen 'DASPRiD'
Community Review Team Member | m...@dasprids.de
Zend Framework | http://www.dasprids.de
--
List: fw-general@lists.zend.com
Info: http://framework.zend.com/archives
Unsubscribe: fw-gen
>
>
>
>
> --
> View this message in context:
> http://zend-framework-community.634137.n4.nabble.com/E-mail-module-for-ZF-tp4661685.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
>
--
Ben Scholzen 'DASPRiD'
Community Review Team M
Just forwarding to general ML, so others get the chance to reply (AKA,
I'm lazy ;)).
Original Message
Betreff:OwnRouter
Datum: Sat, 21 Dec 2013 02:00:41 +0100
Von:Luis Cervantes
An: m...@dasprids.de
Hello Dasprids
First of all , thank you for the support you
\Controller\Foo'
The factory will actually just be loaded when the controller is
requested. So it makes more sense to really define all factories as
classes, instead of closures. Closures are just great for rapid prototyping.
--
Ben Scholzen 'DASPRiD'
Community Review Team Membe
dratorInterface is required.
> Is there some magic to get this work?
> For what do I need the StrategyInterface?
>
> Greetings
>
> Marc
>
--
Ben Scholzen 'DASPRiD'
Community Review Team Member | m...@dasprids.de
Zend Framework | http://www.dasprids.d
d any documentation
> on that.
>
> ---
> Philip
> g...@gpcentre.net
> http://www.gpcentre.net/
>
--
Ben Scholzen 'DASPRiD'
Community Review Team Member | m...@dasprids.de
Zend Framework | http://www.dasprids.de
--
List: fw-general@lists.zend.com
Info
functionality)
>
> 2. website (webpages management)
> a) index controller (frontend)
> b) admin controller (backend)
>
> 3. news (news management)
> a) index controller (frontend)
> b) admin controller (backend)
>
> 4. etc
>
> Currently I have all admin rou
Juan,
The problem here is that the normal TreeRouteStack is hard-coded into
the MVC RouterFactory. It'd likely make sense to make that part
configurable.
@Matthew: Any idea on how to implement that in a sane way?
On 02.06.2013 23:52, Ben Scholzen wrote:
> Forwardi
Forwarding to ML.
Original Message
Betreff:About Translatable segments
Datum: Sun, 2 Jun 2013 19:01:46 +
Von:Juan Pedro Gonzalez
An: m...@dasprids.de
Hi Ben,
I've been trying to make use of your work with translateble segments but
keep getting the error
On 09.05.2013 23:16, whisher wrote:
> admin/user // it works
> admin/user/test //it works
> admin/user/test/id/1 //it doesn't work :(
admin/user/test/1
--
Ben Scholzen 'DASPRiD'
Community Review Team Member | m...@dasprids.de
Zend Framework | http://www.d
url string:
>
> /administrator/albums
>
> while $this->url('admin_default/wildcard', array('module' => 'albums',
> 'action' => 'edit', 'id' => album_id_here)) returns
>
> */ru/*administrator/albums/edit/id/album_id_here
>
> How can I remove [/:lang] segment from url string in second case?
>
>
>
>
> --
> View this message in context:
> http://zend-framework-community.634137.n4.nabble.com/First-optional-routing-segment-acts-as-mandatory-one-for-child-routes-tp4659601.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
>
--
Ben Scholzen 'DASPRiD'
Community Review Team Member | m...@dasprids.de
Zend Framework | http://www.dasprids.de
--
List: fw-general@lists.zend.com
Info: http://framework.zend.com/archives
Unsubscribe: fw-general-unsubscr...@lists.zend.com
ML reader for Zend\Config, but without
a "stub" implementation like we have right now in ZF1. At some point I
may look into the specifications again, but right now there are too many
other components requiring my attention.
--
Ben Scholzen 'DASPRiD'
Community Review Team Member | m...@dasprids.de
Zend Framework | http://www.dasprids.de
--
List: fw-general@lists.zend.com
Info: http://framework.zend.com/archives
Unsubscribe: fw-general-unsubscr...@lists.zend.com
Am 16.09.2010 18:00, schrieb Alexander Steshenko:
> another thing here is that there's really nothing decent out there to work
> with/parse iCal properly.
Yep, sorry, I'm still working on Zend\Ical ;)
--
Ben Scholzen 'DASPRiD'
Community Review Team Member | m...@
to use this route only if default route doesn't match?
Insert that route before the default route (current router is handling
routes LIFO).
--
Ben Scholzen 'DASPRiD'
Community Review Team Member | m...@dasprids.de
Zend Framework | http://www.dasprids.de
PGP key: http://stuff.dasprids.de/pgp/ben-scholzen-pgp-key.asc
following :
>
> $zfDate = new Zend_Date(NULL, NULL, new Zend_Locale('en_US'));
>
> But it didn't work.
>
> Thank you for any help !
--
Ben Scholzen 'DASPRiD'
Community Review Team Member | m...@dasprids.de
Zend Framework | http://www.dasprids.de
PGP key: http://stuff.dasprids.de/pgp/ben-scholzen-pgp-key.asc
On Tue, 27 Jul 2010 19:16:25 +0200, Sebastian Bechtel
wrote:
> Hi,
>
> I know the subject sounds a bit strange so I'll explain.
>
> I have two independent projects with their own routes file and with
their
> own domain. I have access to the routes configuration of both.
>
> Now their is the sit
Am 18.07.2010 03:28, schrieb ClintR:
>
> I could show you a snippet of procedural php that does.
>
> I guess the solution would be to upload to a temp folder, then move/rename
> it to the folder I originally intended?
That is renaming after the upload.
--
Ben Scholzen
t you the following to work around it:
Have one empty static route, which sets default language, module,
controller and action. Have an additional single language route which
sets default module, controller and action. After those, have you
chained route.
Hope that helps.
--
Ben Scholzen 'DASPRiD'
Community Review-Team | m...@dasprids.de
Zend Framework | http://www.dasprids.de
PGP key: http://stuff.dasprids.de/pgp/ben-scholzen-pgp-key.asc
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
William Gaggioli wrote on 19.04.2010 00:41:
> Hi all,
>
> Quick question -> when using a partial to render an aspect of the view,
> will the partial have access to view helpers?
>
> Specifically, I want to use the url view helper, so that I can call
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Thomas D. wrote on 18.04.2010 02:11:
> Hi,
>
> I want to cache loaded articles into Zend_Cache to save the roundtrip to the
> persistent store.
>
> I don't see a need to set a lifetime for a cached article, because when I
> update or delete an articl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
monk.e.boy wrote on 05.03.2010 16:14:
> but 90% of the time I am making links that go from one action to another, I
> almost never jump between modules. So making me put the module name in each
> url() is anoying, but I'm always passing parameters (pro
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
MySQL works fine with the ISO timestamp.
Mark Murphy wrote on 17.01.2010 21:40:
> But there has to be an easier way to set the format than having to write
> a helper. Is there something with Zend_Locale, or something like that?
>
> Maxence Delannoy
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Mike
For this you may probably want at some techdemos. Namely one is
Matthew's Scrummer, tho I don't know if it is released yet. The other
one is my blog system, which is currently under heavy development, but
the blog module itself is close to be
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
BenG wrote on 11.12.2009 12:11:
> Hi,
>
> Our application requires a number of routes to be defined which are
> dependent on dynamically populated database fields. This currently results
> in quite a lot of queries on each page load.
>
> Is it possib
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
You probably wanted to do:
$this->jQuery()->setLocalPath($this->baseUrl('js/jquery/js/jquery-1.3.2.min.js'));
which will correctly prepend a slash to the path.
Jigal sanders wrote on 08.12.2009 11:36:
> Hello everyone,
>
> For some reason my baseUrl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
You mean you want to access the current module in you bootstrap? The
module is only known after the dispatcher was started and the routing
finished. You may want to do you logic in a controller plugin:
$front->getRequest()->getModuleName();
takeshin
You could take a look at my blog's sourcecode. The new one I'm currently
working in is not finished yet but should give you a good example.
http://site.svn.dasprids.de/trunk
swilhelm wrote on 25.11.2009 21:52:
Prompted by Fozzyuw's latest post, I will approach the issue from a different
tack.
You either read wrong or I made a mistake in the documentation: Inner
routes override the parameters of outer routes.
Innocentus wrote on 16.11.2009 17:56:
I am chaining two routes (a standard route with translated segments and
a simple regex-route) to create a new route.
According to the doc
I could be wrong, but could it be that you didn't add any routes to it
but using the standard module route? That one doesn't support translations.
Laurens van Vliet wrote on 13.11.2009 15:19:
Hi,
I'm developing a international website with Zend Framework 1.9.5 and I
would like to know somethi
The rest-route is overriding the module given in the hostname route. You
may try this (not tested):
$restRoute = new Zend_Rest_Route($front, array('module' => 'api'),
array('api'));
This should enforce the api-module if the first segment of the URL does
not match any existing module.
Kyle
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Benjamin Eberlei wrote on 22.09.2009 21:44:
> On Tuesday 22 September 2009 09:38:37 pm Derk wrote:
>> Hello,
>>
>> Is it true that Zend_Http can't deal with spaces in the uri? I got some
>> exceptions with the message "..." is not a valid HTTP path. I
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ralph Schindler wrote on 16.09.2009 16:51:
> Your component is very intersting. From a developers standpoint, I can
> tell you that the problem of calendaring comes up more than you think.
> In the past, we've seen several Zend_Calendar proposals, mos
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Sergio Rinaudo wrote on 30.08.2009 01:44:
> If a website is structured between various subdomains, what should be a
> solution with Zend Framework to have an user logged for each subdomain?
> I'm stuck with this problem..
Just set the cookie domain in
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Vibhor Singh wrote on 17.08.2009 13:13:
> Now suppose I want to access data under this node(),
> then how should I do this using the Zend_Config_Xml object.
>
> Can someone please help me in this? Any help would be greatly appreciated.
$config->items
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mustafa A. Hashmi wrote on 15.08.2009 13:03:
> Zend Framework version 1.7.4.
> PHP version 5.2.4 (ubuntu hardy 8.04 pkg)
>
> Hi all,
>
> When updating a configuration file via Zend_Config_Writer_Ini, I
> noticed that constants defined in the configur
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Sergio Rinaudo wrote on 14.08.2009 18:27:
> Hi,
> yes, the default route is a Zend_Controller_Router_Route_Module as
> explained in this page of the doc
> http://framework.zend.com/manual/en/zend.controller.router.html#zend.controller.router.default-ro
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
debussy007 wrote on 12.08.2009 21:47:
> I would have had less routes if the default values were working like it is
> suggested in the manual.
> E.g.
> Zend_Controller_Router_Route(':lang/:controller/:pageid/*',
> array('controller' => 'index'), array('
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
admirau wrote on 12.08.2009 16:21:
> AFAIK there is currently no option supporting this behavior.
> Custom helper is a good choice.
Yes there is, but don't ask me for the options, robinsk knows!
- --
...
: ___ _ __
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
debussy007 wrote on 12.08.2009 18:59:
> Hi,
>
> I defined 8 custom routers in my bootstrap, including the default router
> that makes it 9 routers.
> For every request, it will check the routers one by one as long as one
> didn't match. Thus I wondere
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
till wrote on 10.08.2009 13:37:
> IMHO, that's not a bad idea as well. I mean, generally it sort of
> depends how useful 10 vs 60 is. Configuration is not a bad idea, but
> it might also help to add a page to the manual so people just set the
> ini set
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
debussy007 wrote on 08.08.2009 21:08:
> Hi,
>
> I'm building a CMS and I want to allow the users to configure for each page
> and language a personnalized URL.
>
> E.g. rename http://example.com/services/list to:
> in French http://example.com/no
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Sergio Rinaudo wrote on 01.08.2009 17:11:
> Hi,
> I'm using a Zend_Controller_Router_Route_Regex to make searches on my
> application,
> unfortunatelly, when I search special characters like double quote " or
> also < or > I get
> the Apache 403 forbid
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
> Hi,
>
> I have a few question about what the naming scheme will look like now that
> Php 5.3 and namespaces is here. I've looked a bit at Zend_Application and
> how that component is structured.
>
> 1. Should all base level classes be moved? So th
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
> Is this possible?
No, use a controller plugin for that.
...
: ___ _ ___ ___ ___ _ ___:
: | \ /_\ / __| _ \ _ (_) \ :
: | |) / _ \\__ \ _/ / | |) | :
: |___/_/:\_\___/_| |_|_\_|___/ :
::..
;)
...
: ___ _ ___ ___ ___ _ ___:
: | \ /_\ / __| _ \ _ (_) \ :
: | |) / _ \\__ \ _/ / | |) | :
: |___/_/:\_\___/_| |_|_\_|___/ :
:::
: Web: http://www.dasprids.de :
: E-mail : m...@dasprids.de :
: Jabber : jab...@dasprids.de :
: ICQ: 105677955 :
:::
Ben Scholzen 'DASPRiD' schrieb:
> Hello,
>
> I'd like to create a proposal about error-handl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello,
I'd like to create a proposal about error-handling as exceptions in PHP,
and thus required write access to the RFC section of the php wiki. Could
you enable my user account "dasprid" to do so?
Thanks in advanc
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
It would be helpful when you could provide a dump of the generated
Zend_Config object. Additionally, it doesn't make any sense to set an
extend on the root node of the configuration.
...
: ___ _ ___ ___ ___ _ ___
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
$id = $db->insert('my_table', $data);
...
: ___ _ ___ ___ ___ _ ___:
: | \ /_\ / __| _ \ _ (_) \ :
: | |) / _ \\__ \ _/ / | |) | :
: |___/_/:\_\___/_| |_|_\_|___/ :
::
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
You should take another look at the documentation again, you must chain
every single route (or use tree-structure chaining, tho this is not
suitable for INI-configuration files). So both the route "plain" and
"announces" should have "abstract = true",
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
You should probably take a look at Foreign Keys and Cascading in your
database's manual.
...
: ___ _ ___ ___ ___ _ ___:
: | \ /_\ / __| _ \ _ (_) \ :
: | |) / _ \\__ \ _/ / | |) | :
: |___/_/:\_\___/_|
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
You need at least version 5.1.4 or later, source:
http://framework.zend.com/svn/framework/standard/branches/release-1.5/documentation/manual/en/ref/requirements.xml
Any newer ZF version depends on an even higher PHP version.
.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
There's no difference in using it without the MVC-part of ZF, as it
doesn't use it. You just need Zend_Loader and Zend_Exception in place.
...
: ___ _ ___ ___ ___ _ ___:
: | \ /_\ / __| _ \ _ (_) \ :
: | |
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
In any case, you can just put a .htaccess file in your root directory,
rewriting all requests into the public directory. See:
http://site.svn.dasprids.de/trunk/.htaccess
...
: ___ _ ___ ___ ___ _ ___:
: | \ /
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I'd suggest that you extend the dispatcher and check inside there, if an
overring controller exists (and also make sure, that it extends the
original controller). Then additionally, cache the result of the check
(memcached if possible) so you avoid too
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi peeps,
I've just finished the proposal for Zend_Toolbar, a debug bar for
Firefox. I'd like to collect some feedback before moving on to the next
step:
http://framework.zend.com/wiki/display/ZFPROP/Zend_Toolbar+-+Ben+Scholzen
Re
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
http://tinyurl.com/actionstack
...
: ___ _ ___ ___ ___ _ ___:
: | \ /_\ / __| _ \ _ (_) \ :
: | |) / _ \\__ \ _/ / | |) | :
: |___/_/:\_\___/_| |_|_\_|___/ :
:::
: Web
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Couldn't you just use Zend_Mail and get the information via IMAP?
...
: ___ _ ___ ___ ___ _ ___:
: | \ /_\ / __| _ \ _ (_) \ :
: | |) / _ \\__ \ _/ / | |) | :
: |___/_/:\_\___/_| |_|_\_|___/ :
:.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
If I understand you right, you are talking about shared libraries. In
that case I would just create an svn repos which get's linked via
svn:externals in all projects which require it. Then everytime you make
fixes to it, they will be updated in all oth
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I'm also working on a Zend_Search_Sphinx implementation.
...
: ___ _ ___ ___ ___ _ ___:
: | \ /_\ / __| _ \ _ (_) \ :
: | |) / _ \\__ \ _/ / | |) | :
: |___/_/:\_\___/_| |_|_\_|___/ :
::.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Good day to everyone!
Ryan and myself have put together a proposal for Zend_Service_Linkback,
to add Client and Server components to easily allow Pingback, Trackback
and Refback services to be performed by ZF based applications.
We would appreciate a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
For those who are interested in writing their config files with PHP
arrays, or want to read reasons for using them, should take a look at my
newest article in my blog:
http://www.dasprids.de/blog/2009/05/08/writing-powerful-and-easy-config-files-with-
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
You most certainly didn't add the "My_" namespace to the autoloader.
...
: ___ _ ___ ___ ___ _ ___:
: | \ /_\ / __| _ \ _ (_) \ :
: | |) / _ \\__ \ _/ / | |) | :
: |___/_/:\_\___/_| |_|_\_|___/ :
:..
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Bruno Friedmann wrotes:
>> 1. What OS you are using during development? Windows? Mac? Linux?
> openSUSE Linux 11.1 (32bits due to multimédia and proprietary software
: Zend studio, Adobe AIR
32bit software runs fine on a 64bit system, thanks to ia32 l
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
1. Linux (Ubuntu 9.04 right now)
2. Remote (local fileserver)
3. Zend Studio for Eclipse 6.0.1
4. SVN (1.5, soon moving to 1.6)
5. PHPUnit
...
: ___ _ ___ ___ ___ _ ___:
: | \ /_\ / __| _ \ _ (_) \ :
: | |
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
A hostname route is just there to match a hostname, not a path. See the
(1.8) documentation about the ChainRoute.
...
: ___ _ ___ ___ ___ _ ___:
: | \ /_\ / __| _ \ _ (_) \ :
: | |) / _ \\__ \ _/ / | |)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi folks,
I've just release my Zend_Tag_Cloud screencast, take a look at leave a
comment if you like.
http://www.dasprids.de/blog/2009/04/24/zend-tag-cloud-screencast
Regards,
Ben
- --
...
: ___ _ ___ ___ ___ _ _
he GA.
...
: ___ _ ___ ___ ___ _ ___:
: | \ /_\ / __| _ \ _ (_) \ :
: | |) / _ \\__ \ _/ / | |) | :
: |___/_/:\_\___/_| |_|_\_|___/ :
:::
: Web: http://www.dasprids.de :
: E-mail : m...@dasprids.de :
: Jabber : jab...@dasprids.de :
: ICQ: 105677955 :
::....:
Ben Scholzen 'DASPRi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Thanks for the feedback, I'll add some more examples for the GA.
...
: ___ _ ___ ___ ___ _ ___:
: | \ /_\ / __| _ \ _ (_) \ :
: | |) / _ \\__ \ _/ / | |) | :
: |___/_/:\_\___/_| |_|_\_|___/ :
:..
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
The chain route in 1.8 (trunk and PR) allows this pretty easily, take a
look at the documention (trunk, not compiled so far).
...
: ___ _ ___ ___ ___ _ ___:
: | \ /_\ / __| _ \ _ (_) \ :
: | |) / _ \\__ \
ler.
...
: ___ _ ___ ___ ___ _ ___:
: | \ /_\ / __| _ \ _ (_) \ :
: | |) / _ \\__ \ _/ / | |) | :
: |___/_/:\_\___/_| |_|_\_|___/ :
:::
: Web: http://www.dasprids.de :
: E-mail : m...@dasprids.de :
: Jabber : jab...@dasprids.de :
: ICQ: 105677955 :
:::
Ben Scholzen 'DASPRiD' schrieb:
> http://www.rmauger.c
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
http://www.rmauger.co.uk/2009/03/why-the-zend-framework-actionstack-is-evil/
...
: ___ _ ___ ___ ___ _ ___:
: | \ /_\ / __| _ \ _ (_) \ :
: | |) / _ \\__ \ _/ / | |) | :
: |___/_/:\_\___/_| |_|_\_|___/
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Did you take a look at the demo in demos/Zend/ProgressBar/ ?
...
: ___ _ ___ ___ ___ _ ___:
: | \ /_\ / __| _ \ _ (_) \ :
: | |) / _ \\__ \ _/ / | |) | :
: |___/_/:\_\___/_| |_|_\_|___/ :
::.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I'd do:
routes.article.route = ":controller/:link"
routes.article.defaults.action = "article"
routes.article.reqs.controller = "(students|teachers|resources)"
to make sure, that no wrong controller can be called.
...
:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
When creating your bootstrap file, the methods are actually executed in
the order they appear in the class. The same goes for the resources;
they are executed in the order they are added (FIFO).
...
: ___ _ ___ ___
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Just switch your svn:externals to the branch. Thus you will also get
future security-fixes (if any). New tags will not be created for the old
branches.
...
: ___ _ ___ ___ ___ _ ___:
: | \ /_\ / __| _ \ _ (_)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Not really. When assembling a route, the default values are always
omitted from right-to-left. If you really want SEO URLs, you should not
use the module-route.
...
: ___ _ ___ ___ ___ _ ___:
: | \ /_\ / __| _
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Why would you want to do that?
a) It's against SEO
b) The assemble method will always create the correct case-sensitive
version.
...
: ___ _ ___ ___ ___ _ ___:
: | \ /_\ / __| _ \ _ (_) \ :
: | |) / _ \\_
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ah yeah, you should add them in the reverse direction. They are always
evaluated LIFO. Also, you should remove the default routes.
Regards,
Ben
...
: ___ _ ___ ___ ___ _ ___:
: | \ /_\ / __| _ \ _ (_) \ :
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I see, you got so far yet. Well then, what's the actual problem?
...
: ___ _ ___ ___ ___ _ ___:
: | \ /_\ / __| _ \ _ (_) \ :
: | |) / _ \\__ \ _/ / | |) | :
: |___/_/:\_\___/_| |_|_\_|___/ :
:..
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Pretty simple, you would make your route look like this:
:@controller/:@action or :@module/:@controller/:@action
But really copying the module-route by this is not possible. I suggest
you to create one route per action as usual. And personally, I wou
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
There is a translate view helper which you may want to look at.
...
: ___ _ ___ ___ ___ _ ___:
: | \ /_\ / __| _ \ _ (_) \ :
: | |) / _ \\__ \ _/ / | |) | :
: |___/_/:\_\___/_| |_|_\_|___/ :
:...
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Well, just don't use internal values but the public constants.
...
: ___ _ ___ ___ ___ _ ___:
: | \ /_\ / __| _ \ _ (_) \ :
: | |) / _ \\__ \ _/ / | |) | :
: |___/_/:\_\___/_| |_|_\_|___/ :
:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
$date = new Zend_Date('2009-03-09 09:20', Zend_Date::ISO_8601);
...
: ___ _ ___ ___ ___ _ ___:
: | \ /_\ / __| _ \ _ (_) \ :
: | |) / _ \\__ \ _/ / | |) | :
: |___/_/:\_\___/_| |_|_\_|___/ :
:...
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
A bit late, but, you should just use jsPull with the persistentNamespace.
...
: ___ _ ___ ___ ___ _ ___:
: | \ /_\ / __| _ \ _ (_) \ :
: | |) / _ \\__ \ _/ / | |) | :
: |___/_/:\_\___/_| |_|_\_|___/
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
When the current unit tests do not fail, you have to create a new test
which fails with the current version (1.7.6) but successes with your
patch. The test itself should be located in the test suite of the component.
...
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi people,
I have just finisehd the proposal for the translatable route. I welcome
any comments and ideas for it.
http://framework.zend.com/wiki/display/ZFPROP/Zend_Controller_Router_Route_Translatable+-+Ben+Scholzen
Regards,
Ben
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hehe, we just had the same topic some days ago. I solved the same
problem some time ago, with simply a new route (which
i will probably port to ZF in modified way some day). It works like this:
Fixed text is prepended with an @, while translatable par
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Did you probably save the xml file with UTF-8 encoding?
...
: ___ _ ___ ___ ___ _ ___:
: | \ /_\ / __| _ \ _ (_) \ :
: | |) / _ \\__ \ _/ / | |) | :
: |___/_/:\_\___/_| |_|_\_|___/ :
::..
ny other solution?
>
> How about something like $this->_setInternalParam() and
> $this->_getInternalParam()
>
> Would that be hard to implement?
>
>
>
> On Thu, Feb 19, 2009 at 12:07 PM, Ben Scholzen 'DASPRiD'
> mailto:m...@dasprids.de>>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Inno,
I solved the same problem some time ago, with simply a new route (which
i will probably port to ZF in modified way some day). It works like this:
Fixed text is prepended with an @, while translatable parameters are
prepended with :@. For exa
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
That really depends. The easiest thing would be to store the value in a
session, and if required give the user an hashed identifier as parameter
to identify the data. If the data should be long-term persistent or for
multiple users, store the data in a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
And answer to the question is:
- ---
$subSelectDraft = $db->select()
->from('articles',
array('COUNT(*)')
->where('status = 0
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Actually, when you want to switch the DB engine, it does matter.
...
: ___ _ ___ ___ ___ _ ___:
: | \ /_\ / __| _ \ _ (_) \ :
: | |) / _ \\__ \ _/ / | |) | :
: |___/_/:\_\___/_| |_|_\_|___/ :
:..
ids.de :
: Jabber : jab...@dasprids.de :
: ICQ: 105677955 :
::....:
Ben Scholzen 'DASPRiD' schrieb:
> Or, as actions are suffixed with Action, helpers could thus be suffixed
> with Helper. So you could access the URL-Helper like this:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Or, as actions are suffixed with Action, helpers could thus be suffixed
with Helper. So you could access the URL-Helper like this:
$this->urlHelper(...);
Just random thoughts.
...
: ___ _ ___ ___ ___ _ ___:
:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
It's:
$paginator->getTotalItemCount();
...
: ___ _ ___ ___ ___ _ ___:
: | \ /_\ / __| _ \ _ (_) \ :
: | |) / _ \\__ \ _/ / | |) | :
: |___/_/:\_\___/_| |_|_\_|___/ :
::..
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
http://framework.zend.com/manual/en/zend.controller.router.html#zend.controller.router.routes.hostname
...
: ___ _ ___ ___ ___ _ ___:
: | \ /_\ / __| _ \ _ (_) \ :
: | |) / _ \\__ \ _/ / | |) | :
: |__
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
The config writers are not intended to write configs which do not
contain sections (except the array writer). Tho it is correct that no
errors should be thrown at that point.
...
: ___ _ ___ ___ ___ _ ___:
: |
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
http://www.melbournechapter.net/wordpress/programming-languages/php/cman/2006/06/15/sharing-a-session-across-multiple-domainsservers-with-php/
First hit on google with the following keywords:
one session over multiple domains
Hope you get that next t
1 - 100 of 173 matches
Mail list logo