Thanks Gerard
I have got that working what you said below. I have got a module that points
to a sub-domain via htaccess. But this is all happening on my WAMP test
server and I also created a sub-domain in the host file inside WIndows.
But the web hosting company's production server (plesk)
Hi,
prado wrote:
But the web hosting company's production server (plesk) also creates the
folders with all that standard public_html folder and others once I create a
sub-domain. Now I don't want that to happen, I want the sub-domain to exist
but without its physical folders. I will be asking
Thanks Gerard for your help again.
I don't have a VPS account, it is just one of those standard shared hosting
service. I am using a local company and I can get in touch with the domain
manager who is helpful.
I know that is my last option to use.
thanks anyway!
cheers
Pradosh
drm-4 wrote:
Plesk doesnt support wildcard domains. A possible work around is using
the same root dir for all subdomains.
Thanks
Daniel
2009/12/10 prado prados...@hotmail.com:
Thanks Gerard for your help again.
I don't have a VPS account, it is just one of those standard shared hosting
service. I am
same root dir for all subdomains? could you clarify further?
thanks
Pradosh
Daniel Latter wrote:
Plesk doesnt support wildcard domains. A possible work around is using
the same root dir for all subdomains.
Thanks
Daniel
2009/12/10 prado prados...@hotmail.com:
Thanks Gerard
Well I use plesk and ZF. I have many subdomains running from a single ZF app.
Now I cant have wilcard domains which means I will need a subfolder
for each domain - this will become unwieldly, so I have a single
sub-domain root dir and I just
use this for each new subdomain I create. All the dir
Unlike cpanel Plesk creates a separate account with all its httpdocs etc.
so you are saying that you create one sub-domain and control all other sub
domains via it.
So does your index.php direct to the bootstrap/application.php on the main
domain?
I have a module www.example.com/blog which I
On Wed, Nov 25, 2009 at 9:52 PM, swilhelm st...@studio831.com wrote:
Prompted by Fozzyuw's latest post, I will approach the issue from a different
tack.
I am looking open source projects that exemplify the best practice use of
the Zend Framework and its advanced features. Ideally these
Just to quickly throw in my Open Source project: conjoon, a personal
information manager build upon Ext JS and Zend Framework. More information
here: http://www.conjoon.org
It runs on ZF 1.9.4 - the ContextSwitch helper was a life saver when working
with JSON encoded responses.
There are
*Unlike cpanel Plesk creates a separate account with all its httpdocs etc.
so you are saying that you create one sub-domain and control all other sub
domains via it.*
I create the subdomain as a sub-folder as cpanel gives you two options, I
use Subdomain on subfolder option.
The only small snag
-- swilhelm st...@studio831.com wrote
(on Wednesday, 09 December 2009, 08:24 PM -0800):
Any word from Forest regarding ZF core component use in current release and
where find the 2.0 repository?
If you're talking the ZF 2.0 repository, it hasn't been created yet. ;)
wllm wrote:
From
I am trying to use the redirector action helper to call gotoRoute.
The page I need to go to is something like
http://mywebsite.com/blog/documentation/tags/#add which would take me
to the add anchor in the tags page. To go to that URL, my code is:
$this-_helper-redirector-gotoRoute(array('module'
wow, pretty nice :)
On Thu, Dec 10, 2009 at 7:12 AM, Thorsten Suckow-Homberg
t...@siteartwork.de wrote:
Just to quickly throw in my Open Source project: conjoon, a personal
information manager build upon Ext JS and Zend Framework. More information
here: http://www.conjoon.org
It runs on ZF
Hi,
Is there a way to pass an associative array via URL to the request object?
This /controller/action/arr/foo/arr/bar would be converted to $arr ==
array(foo, bar); and I would like to pass something like
/controller/action/arr[foo1]/bar/arr[foo2]/bar so I would have $arr == array
(foo1 =
The gotoRoute() method doesn't support hashes, but you can accomplish this
by using the url action helper to construct the url based on your route, and
then concatenate your hash to it. Then call the redirector's gotoUrl method:
$url = $this-_helper-url-url(array('module' = 'blog',
'controller' =
Hi Everyone,
I have been looking far and wide through every possible search engine
and cannot find some template that I can use to write a CRON/BATCH/CLI
process that uses the Zend Framework. Everyone has a different opinion
on what is correct.
*Ok, I can manage to hack something together,
Funny that you posted this because I have the same issue I was about to
tackle with a comments anchor. I hope you get a good response. I will let
you know if I find out anything.
On Wed, Dec 9, 2009 at 4:51 PM, Jason Austin jason_aus...@ncsu.edu wrote:
I am trying to use the redirector action
You can do this using a good ol' query string:
/controller/action?sort[column1]=descsort[column2]=asc
You should be able to access those using the request object:
$sort = $this-_request-getParam('sort');
--
Hector
2009/12/10 WebCorp s.r.o. | Jan Juříček jan.juri...@webcorp.cz
Hi,
Is
Maybe one could add a target to the gotoRoute method in the future. I can't
believe that people don't need to do something like this often.
Similar to
$url = $this-_helper-url-url(array('module' = 'blog',
'controller' = 'documentation', 'action' = 'tags', 'anchor'
='comments'));
On Thu, Dec
It should be possible to extend the redirector helper to create your own
that accepts a hash as the 5th parameter. Since the action helper broker
uses a LIFO stack, you can even use the same helper name redirector.
--
Hector
On Thu, Dec 10, 2009 at 10:06 AM, Fred Jiles fredji...@gmail.com
You could also serialize the array, base64_encode it, and then pass it
as a single parameter to your controller. Then reverse the process.
Mark
2009/12/10 WebCorp s.r.o. | Jan Juříček jan.juri...@webcorp.cz:
Hi,
Is there a way to pass an associative array via URL to the request object?
How to send feeds properly?
I want browser read whole file, only if it has new entries.
I read data from the database. Limit result to 15 items.
Then create an array and pass it to the Zend_Feed.
Shall I cache the above steps with Zend_Cache + very long lifetime,
and use a cache tag, clean
Thanks guys. The most straight forward way was using the URL helper,
adding the hash to the end of the URL, then using gotoUrl(). One
caveat was that I had to do the following to not get the baseUrl() to
be added twice:
You'll want to use a mix of server-side caching and client-side caching. The
server-side caching can be done with Zend_Cache. That way if two separate
users try to access the feed, your application only needs to build it once.
For client-side caching, you'll need to analyze the request and send
Is there any simple way of using a different module when accessing a site
through specific domain?
At this time, I have two modules setup and running: front and admin.
front is default. admin is through /admin/. Now I want to add a third
called something like ssl that will load for any access to
I can see this being useful to many people, too. Maybe instead of a 5th
parameter, there can be a setHash() method. So usage would be like this:
$redirector = $this-_helper-redirector;
$redirector-gotoRoute(/* ... */);
*$redirector-setHash('add');*
$redirector-redirectAndExit();
--
Hector
On
Have you tried creating a Hostname route?
http://framework.zend.com/manual/en/zend.controller.router.html#zend.controller.router.routes.hostname
--
Hector
On Thu, Dec 10, 2009 at 1:28 PM, Philip G g...@gpcentre.net wrote:
Is there any simple way of using a different module when accessing a
That's a good point. Making it a reserved word would make a lot of sense,
but I'd be afraid of breaking sites that already use anchor (like maybe an
Anchors R Us website that sells anchors for ships?) Hash may also already
be in use by some sites. But I really like the idea, maybe you should open
This thread is a few months old, but I'd rather put it here than start a new
one, in case someone else stumbles across it.
While I'm good on using an XML file, how would I make an INI if I wanted to
use an INI file instead of XML? Lets say I have this simple XML file, what
would the INI file
Jason Austin wrote:
Hope this helps. I smell a feature request for adding hashes to
routes url helpers :)
+1
--
takeshin
--
View this message in context:
http://n4.nabble.com/Adding-a-to-a-URL-using-gotoRoute-tp957210p960642.html
Sent from the Zend Framework mailing list
+1
On 10 Dec 2009, at 22:54, takeshin admi...@gmail.com wrote:
Jason Austin wrote:
Hope this helps. I smell a feature request for adding hashes to
routes url helpers :)
+1
--
takeshin
--
View this message in context:
isn't the use of named anchors deprecated?
On Fri, Dec 11, 2009 at 7:23 AM, Daniel Latter dan.lat...@gmail.com wrote:
+1
On 10 Dec 2009, at 22:54, takeshin admi...@gmail.com wrote:
Jason Austin wrote:
Hope this helps. I smell a feature request for adding hashes to
routes url
The name attribute is deprecated in XHTML, in favor of the id attribute
(which behaves like the old name attribute did).
--
Hector
On Thu, Dec 10, 2009 at 5:17 PM, Cameron themsel...@gmail.com wrote:
isn't the use of named anchors deprecated?
On Fri, Dec 11, 2009 at 7:23 AM, Daniel Latter
33 matches
Mail list logo