Cake 3 Link to nested resource

2015-05-31 Thread slowjack2k
Hi, I didn't find any hint how to create a link to a nested Resource. Routes: $routes->resources('Posts', function ($routes) { $routes->resources('Comments'); }); View: $this->Html->link("Show Comment", ['controller' => &

Plugin adding to link url

2015-03-27 Thread Keith Mountifield
rated by the CakePHP HTMLHelper link method:; Here's my code for anexample: Html->link(__(' List Customers'), array('controller' => 'customers', 'action' => 'index', 'full_base' => true), array('escape' => fal

Re: Fatal error: Call to a member function link() on a non-object in

2015-02-26 Thread euromark
Am Donnerstag, 26. Februar 2015 09:06:57 UTC+1 schrieb JAI PRAKASH SINGH: > > hello all, > > i am very new to cake php, hardly 2-3 days , i stated working on > project. > i am facing a error i.e > > Fatal error: Call to a member function link() on a no

Fatal error: Call to a member function link() on a non-object in

2015-02-26 Thread JAI PRAKASH SINGH
hello all, i am very new to cake php, hardly 2-3 days , i stated working on project. i am facing a error i.e Fatal error: Call to a member function link() on a non-object in line " app/views/layout/default.ctp link(array(FV_JS . "jquery-1.7.

Re: CakePHP 3.0 Html->image, need to link to root

2014-12-02 Thread frocco
I ended up doing this. $path = $this->Url->build([ "controller" => "products", "action" => "index", $row->brand->id ]); and then -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You rec

Re: CakePHP 3.0 Html->image, need to link to root

2014-12-02 Thread frocco
I tried fullBase and that is not working, how do I do that using Html->image? On Tuesday, December 2, 2014 1:07:41 AM UTC-5, Dakota wrote: > > CakePHP treats the application webroot folder as the asset root (i.e. the > webroot/ folder in your project directory). If you want to get something > e

Re: CakePHP 3.0 Html->image, need to link to root

2014-12-01 Thread Dakota
CakePHP treats the application webroot folder as the asset root (i.e. the webroot/ folder in your project directory). If you want to get something elsewhere on the server then you need to give an absolute http:// url. On Monday, 1 December 2014 22:20:16 UTC+2, frocco wrote: > > Hello, > > $catim

CakePHP 3.0 Html->image, need to link to root

2014-12-01 Thread frocco
Hello, $catimg = '/media/'. $row->brand->image_path; echo $this->Html->image("$catimg", array( "alt" => "no image", 'fullBase' => true, This tries to find image in my cakephp3 app, not web server root. What am I doing wrong? Thanks -- Like Us on FaceBook https://www.f

Re: custumize $this->Html->link()

2014-11-10 Thread Yannick Nascimento
> hi there ppl, i have this! > > > > >Morris > > > > > > and i want to make ot like this! > > > Html->link(__('list'), > array( > 'controller'=>'transactions', > 'ac

Re: custumize $this->Html->link()

2014-11-10 Thread Leandro Machado Pereira
see this: http://stackoverflow.com/questions/16964599/how-to-write-html-tag-in-cakephp-link I hope help you. 2014-11-10 13:08 GMT-02:00 Yannick Nascimento : > > <https://lh3.googleusercontent.com/-wlDzHgOGX-c/VGDUvb_lDYI/BdI/QwDQB40_Y4o/s1600/link.PNG> > > > >

custumize $this->Html->link()

2014-11-10 Thread Yannick Nascimento
<https://lh3.googleusercontent.com/-wlDzHgOGX-c/VGDUvb_lDYI/BdI/QwDQB40_Y4o/s1600/link.PNG> hi there ppl, i have this! Morris and i want to make ot like this! Html->link(__('list'), array( 'co

Re: custumize $this->Html->link()

2014-11-10 Thread Mike Karthauser
hi Yannick like this: Html->link(‘ '.__('list'), array( 'controller'=>'transactions', 'action'=>'index' ) ); ?> > On

custumize $this->Html->link()

2014-11-10 Thread Yannick Nascimento
hi there ppl, i have this! s and i want to make ot like this! Html->link(__('list'), array( 'controller'=>'transactions', 'action'=>'index' )

paginator helper - link in tag

2013-10-15 Thread Bernardo Berg
how to apply a class to the link contained in the wrapping tag? previously mentioned at https://groups.google.com/d/topic/cake-php/IulU5bF-nzQ/discussion using cakephp 2.0 thanks -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You

RE: Link with inline CSS styles

2013-08-29 Thread Advantage+
Thanks, I will give that a shot. Let you know how it goes. Appreciated. Dave From: cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] On Behalf Of euromark Sent: Thursday, August 29, 2013 11:55 AM To: cake-php@googlegroups.com Subject: Re: Link with inline CSS styles

Re: Link with inline CSS styles

2013-08-29 Thread euromark
t; > $email -> template('default'); > > $email -> emailFormat('html'); > > > > if($email -> send()){ > > $sent = true; > > } > > return $sent; > > > > Thank

Re: Link with inline CSS styles

2013-08-28 Thread lowpass
echo $this->Html->link( 'whatever', array( // ... ), array( 'style' => 'color: red; text-decoration: none;' // etc. ) ); On Tue, Aug 27, 2013 at 3:13 PM, Advantage+ wrote: > Is there a way to add inline CSS styles to a link? >

RE: Link with inline CSS styles

2013-08-28 Thread Advantage+
send()){ $sent = true; } return $sent; Thanks again for your time, Dave From: cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] On Behalf Of euromark Sent: Wednesday, August 28, 2013 9:06 PM To: cake-php@googlegroups.com Subject: R

Re: Link with inline CSS styles

2013-08-28 Thread euromark
legroups.com [mailto: > cake...@googlegroups.com ] *On Behalf Of *euromark > *Sent:* Tuesday, August 27, 2013 8:23 PM > *To:* cake...@googlegroups.com > *Subject:* Re: Link with inline CSS styles > > > > See https://github.com/dereuromark/tools/blob/master/Lib/InlineCssLib

RE: Link with inline CSS styles

2013-08-28 Thread Advantage+
mailto:cake-php@googlegroups.com] On Behalf Of euromark Sent: Tuesday, August 27, 2013 8:23 PM To: cake-php@googlegroups.com Subject: Re: Link with inline CSS styles See https://github.com/dereuromark/tools/blob/master/Lib/InlineCssLib.php for details. Am Mittwoch, 28. August 2013 00:46:50 UTC+2 schri

RE: Link with inline CSS styles

2013-08-27 Thread Advantage+
Thanks, I will check it out. Dave From: cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] On Behalf Of euromark Sent: Tuesday, August 27, 2013 8:23 PM To: cake-php@googlegroups.com Subject: Re: Link with inline CSS styles See https://github.com/dereuromark/tools/blob/master

Re: Link with inline CSS styles

2013-08-27 Thread euromark
>> <STYLE> >> >> body { >> >> …. >> >> } >> >> .some_class{} >> >> .other_class{} >> >> >> >> >> >> *From:* cake...@googlegroups.com [mailto:cake...@googlegroups.com] *On >> Behalf

Re: Link with inline CSS styles

2013-08-27 Thread euromark
> > > > Trying to avoid standard class's as normal: > > <STYLE> > > body { > > …. > > } > > .some_class{} > > .other_class{} > > > > > > *From:* cake...@googlegroups.com [mailto: > cake...@googlegroups.com ] *On Beha

RE: Link with inline CSS styles

2013-08-27 Thread Advantage+
ps.com] On Behalf Of euromark Sent: Tuesday, August 27, 2013 6:54 PM To: cake-php@googlegroups.com Subject: Re: Link with inline CSS styles You never need to. There is always a wax with CSS But applying it as normal options key value pair helps: $this->Html->link(LinkTitle, LinkU

Re: Link with inline CSS styles

2013-08-27 Thread euromark
You never need to. There is always a wax with CSS But applying it as normal options key value pair helps: $this->Html->link(LinkTitle, LinkUrl, array('style' => 'here it goes')) As documented in the helper section. Am Dienstag, 27. August 2013 21:13:52 UTC+2 sch

Link with inline CSS styles

2013-08-27 Thread Advantage+
Is there a way to add inline CSS styles to a link? I tried to combine / add in the $this->Html->style(array()); with the link but to no avail. Any insight would be great. I know it's not best to use inline styles but in this case I need to. Thanks, Dave -- Like Us on Fac

Re: Download link

2013-08-06 Thread raj kumar Pustela
thank you .. majerle On Tue, Aug 6, 2013 at 7:23 PM, Tilen Majerle wrote: > Check for media view in cake book > Dne 6. avg. 2013 15:43 je "raj kumar Pustela" > napisal/-a: > > Hi to all, >> >> >>how to create download link on website in

Re: Download link

2013-08-06 Thread Tilen Majerle
Check for media view in cake book Dne 6. avg. 2013 15:43 je "raj kumar Pustela" napisal/-a: > Hi to all, > > >how to create download link on website in cakephp 2.0 >pls help me > > Thanks > Rajakumar.P > > -- > Like Us on FaceBook https://ww

Download link

2013-08-06 Thread raj kumar Pustela
Hi to all, how to create download link on website in cakephp 2.0 pls help me Thanks Rajakumar.P -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups

Image Link

2013-06-27 Thread Advantage+
I am trying to link to an image in webroot/img folder but it always adds in the current controller / action echo $this->Html->link( $this->Html->image($thumb['thumb'], array('fullBase' => true)), array(

Re: Can somebody link an example of using Amazon S3?

2013-06-10 Thread Gaurav Matta
Follow and comment if you like http://itfeast.blogspot.in/2013/05/upload-files-to-amazon-s3simple-storage.html?m=1 Hell there! I'm new to Cake, and I'm working on a download site. I have it in my mind to use Amazon S3. Can any of you link me to fairly clear examples of implementing this

Can somebody link an example of using Amazon S3?

2013-06-10 Thread Baordog
Hell there! I'm new to Cake, and I'm working on a download site. I have it in my mind to use Amazon S3. Can any of you link me to fairly clear examples of implementing this? I'm sure there's a great explanation of how this is done, but a few examples or a step by step exp

JS Link Submit or JS Submit with Class

2013-06-01 Thread Joey
I am trying to submit a form using CakePHP, but either I can't stylize the button correctly or the form will not submit. Basically, this question is how to submit form with a stylized image/link/whatever using the cake routines. Here's what I have so far: echo $this->Js->sub

Re: create has many link

2013-05-15 Thread steve van christie
; => array('Product.id DESC'), 'conditions' => array('Product.category_id' => $category_id, 'Product.is_active' => 'Y')); $products = $this->Paginate('Product'); $this->set(compact('products')); } } *View/

create has many link

2013-05-13 Thread steve van christie
) NOT NULL, `category_id` int(11) NOT NULL, PRIMARY KEY (`id`)); i want to create the link in view if someone click categories (in the left sidebar) it will show the products that have categories that have been clicked. any idea, suggestion to achieve this in cakephp? thank you very much in adv

Re: Link to PDF? Yikes!

2013-02-21 Thread April DeRossett
@AD7six Thanks...You were right...I had my path wrong. Gosh I hate that. Thank you to everyone for your help! -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "C

Re: Link to PDF? Yikes!

2013-02-21 Thread lowpass
gt; > > On Wed, Feb 20, 2013 at 8:05 AM, April DeRossett > wrote: >> >> I have read, and read, but I can not figure this out. I am hoping someone >> will point me in the right direction. I have .pdf resources in >> app/files/id#/../.. To which I need to l

Re: Link to PDF? Yikes!

2013-02-21 Thread AD7six
d#/../.. To which I need to link. It's not clear from your example but a url fragment (#) is never sent to a server. so if you're using # in urls (terrible idea) you need to escape it, otherwise the server will only see /files/id irrespective of what's at the end of the url if you&

html link helper with subdomain SubdomainRoute only first routeClass is working correctly

2013-02-21 Thread Andras Kende
oute')); = DOESNT WORK Router::connect('/category/:slug', array('controller' => 'categories', 'action' => 'view'), array('pass' => array('slug'), 'routeClass' => 'SubdomainRoute')); = DOESNT

Re: Link to PDF? Yikes!

2013-02-20 Thread Marcus James
Lets say your file is inside /webroot/file/#id/mypdf.pdf So in your view you write something like this:- $id = 'value of id from database'; $this->Html->link('see file here','/file/'.$id.'/mypdf.pdf'); Also ,if you are storing the name of the f

Re: Link to PDF? Yikes!

2013-02-20 Thread April DeRossett
but I can not figure this out. I am hoping someone >> will point me in the right direction. I have .pdf resources in >> app/files/id#/../.. To which I need to link. How do I do this? I keep >> getting a missing controller. "Files". Isn't there a way to

Re: Link to PDF? Yikes!

2013-02-20 Thread Jonathan Sundquist
right direction. I have .pdf resources in > app/files/id#/../.. To which I need to link. How do I do this? I keep > getting a missing controller. "Files". Isn't there a way to link without > controller and model? > > -- > Like Us on FaceBook https://www.faceboo

Link to PDF? Yikes!

2013-02-20 Thread April DeRossett
I have read, and read, but I can not figure this out. I am hoping someone will point me in the right direction. I have .pdf resources in app/files/id#/../.. To which I need to link. How do I do this? I keep getting a missing controller. "Files". Isn't there a way to link wit

Re: Ajax Pagination using elements - only each second link is using ajax function

2013-02-14 Thread Michael Bartos
Be sure to render the JavaScript code *outside* of your update DIV. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this grou

Re: Add colour and bold hyperlinks in html->link()

2013-02-01 Thread lowpass
$this->Html->link('Text of link', ..., array('class' => 'YourLinkClass'); In your css (because this is a css issue) ... a.YourLinkClass { font-weight: bold; color: ... } On Fri, Feb 1, 2013 at 4:50 AM, Sam wrote: > Hi CakePHP experts, >

Re: Add colour and bold hyperlinks in html->link()

2013-02-01 Thread André Luis
07h50min11s UTC-2, Sam escreveu: > > Hi CakePHP experts, > > I would like to add color and bold to the hyperlink set in html-link(). > This is how my code looks > > $this->Html->('Text of link','/website'); > > I tried to bold the text $this-

Re: Add colour and bold hyperlinks in html->link()

2013-02-01 Thread Jeremy Burns | Class Outfit
Add a third option to the Html link: echo $this->Html->link(Text of link', '/website', array('escape' => false)); Jeremy Burns Class Outfit http://www.classoutfit.com On 1 Feb 2013, at 09:50:11, Sam wrote: > Hi CakePHP experts, > > I would like to

Add colour and bold hyperlinks in html->link()

2013-02-01 Thread Sam
Hi CakePHP experts, I would like to add color and bold to the hyperlink set in html-link(). This is how my code looks $this->Html->('Text of link','/website'); I tried to bold the text $this->Html->('Text of link','/website') but it does

Re: select box link and jump to selected category

2012-12-17 Thread Chris
thanks cricket,... I'll go dig into it,... I'll update you with results,... thank you so much for your help,... you are responding to almost any post that I make,... On Saturday, December 15, 2012 12:37:38 PM UTC-8, cricket wrote: > > D'oh! Screwed up twice. That's not the Sluggable I meant. U

Re: select box link and jump to selected category

2012-12-15 Thread lowpass
D'oh! Screwed up twice. That's not the Sluggable I meant. Use this one: https://github.com/dereuromark/tools/blob/2.0/Model/Behavior/SluggedBehavior.php That other one is a really lame "update" of the original. On Sat, Dec 15, 2012 at 3:18 PM, lowpass wrote: > On Fri, Dec 14, 2012 at 7:55 PM,

Re: select box link and jump to selected category

2012-12-15 Thread lowpass
That should be: array('label' => false) On Sat, Dec 15, 2012 at 3:18 PM, lowpass wrote: > On Fri, Dec 14, 2012 at 7:55 PM, Chris wrote: > >> hi cricket,... >> this is what I got so far: >> it's kind of works,... but then again not completely, I'm loosing >> categories value: >> > > No, you'

Re: select box link and jump to selected category

2012-12-15 Thread lowpass
On Fri, Dec 14, 2012 at 7:55 PM, Chris wrote: > hi cricket,... > this is what I got so far: > it's kind of works,... but then again not completely, I'm loosing > categories value: > No, you're not losing the values; you want something other than the defaults, but haven't taken the right step

Re: select box link and jump to selected category

2012-12-14 Thread Chris
>> ); > >> > >> Then just set up the model to return Category.slug instead of id when > >> you do a find('list'). > >> > >> On Thu, Dec 13, 2012 at 8:13 PM, Chris wrote: > >> > hi criket,... > >> > I have a links too

Re: select box link and jump to selected category

2012-12-14 Thread lowpass
wrote: >> > hi criket,... >> > I have a links too,... but it looks ugly to display with video >> > thumbs,... I >> > need it to jump to category page once it selected from select box,... I >> > guess I have to do it with js,... >> > >> > t

Re: select box link and jump to selected category

2012-12-13 Thread Chris
but it looks ugly to display with video > thumbs,... I > > need it to jump to category page once it selected from select box,... I > > guess I have to do it with js,... > > > > thanks > > > > > > On Thursday, December 13, 2012 4:49:22 PM UTC-8, cricket

Re: select box link and jump to selected category

2012-12-13 Thread lowpass
egory and then use JS to change the window location >> to '#' + your_id. But why not just create normal links rather than use >> a select box? >> >> Or do you mean something altogether different? Your question is a bit >> vague. >> >> On Thu, Dec 13

Re: select box link and jump to selected category

2012-12-13 Thread Chris
Your question is a bit > vague. > > On Thu, Dec 13, 2012 at 7:09 AM, Chris > > wrote: > > hi guys,... > > how can I link and jump to selected category from select box once it > > selected,...? > > I'm reading categories from helper: > > Form-&g

Re: select box link and jump to selected category

2012-12-13 Thread lowpass
bit vague. On Thu, Dec 13, 2012 at 7:09 AM, Chris wrote: > hi guys,... > how can I link and jump to selected category from select box once it > selected,...? > I'm reading categories from helper: > Form->input("categories" , array('label' =&g

select box link and jump to selected category

2012-12-13 Thread Chris
hi guys,... how can I link and jump to selected category from select box once it selected,...? I'm reading categories from helper: Form->input("categories" , array('label' => false, 'type' => 'select', 'options'=>$applicatio

Re: Using .replaceWith() or .attr() in JsHelper::link ?

2012-12-04 Thread Salines
*I solved.* 1. Use html helper for creating links 2. jshelper for creating js code, use JsHelper :: get, JsHelper :: event, and JsHelper :: Request -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message

Using .replaceWith() or .attr() in JsHelper::link ?

2012-12-04 Thread Salines
Hi, I have a probably trivial question. Can I put in cakephp JsHelper :: link options other jQuery method, for example. replaceWith ()? Clarification, on the admin page I have more links (twitter bootstrap buttons) on each individual record, one of the buttons should change when clicked. Eg I

update on ajax link call

2012-11-20 Thread Chris
hi guys,... how can I update on ajax call function...? my controller functions are working well,.. but I need to update when user is join this group, and when user is a group member, so "leave" link will display,... I have tried to add 'frequency' => 5 but no luck,

Re: Payment link button to PayPal just goes to sandbox dot paypal dot com without payment details

2012-11-15 Thread Daniel
I was using the wrong address, "http" should have been "https". -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email

Re: Payment link button to PayPal just goes to sandbox dot paypal dot com without payment details

2012-11-15 Thread lowpass
rote: > I have a submit button that takes the user to PayPal using the form action. > When I click the PayPal link I get taken to the front page of PayPal > https://www.sandbox.paypal.com/ but there is no reference to my payment > details. The code in the helper is as follows: >

Payment link button to PayPal just goes to sandbox dot paypal dot com without payment details

2012-11-15 Thread Daniel
I have a submit button that takes the user to PayPal using the form action. When I click the PayPal link I get taken to the front page of PayPal https://www.sandbox.paypal.com/ but there is no reference to my payment details. The code in the helper is as follows: function PPSetVars

Re: HtmlHelper->image. Making using HtmlHelper image function to create a link to a external sites url

2012-11-07 Thread Henry Flink
Couldn't find the edit button and I forgot to mention this. *update to the previous tip:* If you use the tag function in your $this->Html->link you have to se the tag htmloptions('escape' => true) and in the link htmloptions set it false. Atleast for me, when I don

Re: HtmlHelper->image. Making using HtmlHelper image function to create a link to a external sites url

2012-11-07 Thread Henry Flink
Ok, I think I found a suitable way by doing something else :). I came about to this idea when I had to make some elements to my site and figured out that I can use that for the image problem too. *You can do it by using the HtmlHelpers tag-function: * $this->Html->tag('img', null, array('src'

HtmlHelper->image. Making using HtmlHelper image function to create a link to a external sites url

2012-11-07 Thread Henry Flink
My problem is quite simple: How do I create -tags with an external url using cakephp's htmlhelper ? I have a site that hosts all static content, such as images and javascripts and I need to use it's address on my sites. *CASE* Lets assume my cake is running at http://www.mysite.com/caek/ My v

Re: ajax link with unique ID

2012-10-31 Thread Jeremy Burns | Class Outfit
are you php tag inside php tag?? > > use it as- > > link(ucfirst(__('accept', true)), array('controller' => > 'friends', 'action' => 'accept', $friend['FriendRequest']['id']), > array('update&#

Re: ajax link with unique ID

2012-10-31 Thread Chris
THANKS Chetan,... you are the MAN ! it works,... On Wednesday, October 31, 2012 11:07:05 AM UTC-7, chetan varshney wrote: > > Why are you php tag inside php tag?? > > use it as- > > link(ucfirst(__('accept', true)), array('controller' => &

Re: ajax link with unique ID

2012-10-31 Thread Chetan Varshney
Why are you php tag inside php tag?? use it as- link(ucfirst(__('accept', true)), array('controller' => 'friends', 'action' => 'accept', $friend['FriendRequest']['id']), array('update' => "friend_"

ajax link with unique ID

2012-10-31 Thread Chris
hi guys,... I'm having a problem placing unique ID in a ajax link 'update': 'update' => 'friend_' here is the link: link(ucfirst(__('accept', true)), array('controller' => 'friends', 'action' => 'accep

Re: Html link not changing url location

2012-09-28 Thread arron
Sorry for the ignorance, what do you mean? On Friday, September 28, 2012 12:38:52 PM UTC-7, Léo Willian Kölln wrote: > > Why not use Routing Array on the Html::link() ? > http://book.cakephp.org/2.0/en/appendices/glossary.html#term-routing-array > > http://book.cakephp.org/2.0/en

Re: Html link not changing url location

2012-09-28 Thread Léo Willian Kölln
Remember, you don´t need to use Router::url(array()). Pass only the array(). Léo Willian Kölln On Fri, Sep 28, 2012 at 5:37 PM, arron wrote: > > I just tried this, with a little work I think i can get this to work. > Thanks > Html->link($datas['Model'][

Re: Html link not changing url location

2012-09-28 Thread arron
I just tried this, with a little work I think i can get this to work. Thanks Html->link($datas['Model']['filed'], Router::url(array('controller' => 'controller', 'action' => 'view', 5)))?> On Friday, September 28, 2012 1

Re: link to username from view

2012-09-27 Thread Chris
OK,... I got It ,... THANKS On Thursday, September 27, 2012 4:00:15 PM UTC-7, Chris wrote: > > hi guys,... sound like a stupid question,... > but how can I link to this "user" "username" from view > > link(ucfirst(__('Profile', t

link to username from view

2012-09-27 Thread Chris
hi guys,... sound like a stupid question,... but how can I link to this "user" "username" from view link(ucfirst(__('Profile', true)), '/profile/' . $this->user['username']) ?> ??? thanks -- Like Us on FacekBook https://www.fa

Re: $this->html->link not changing location

2012-09-26 Thread Dakota
Just a small mistake :) >> >> check your line >> >> $this->Html->link($examples['model']['somename'], '/controllername/slug/' >> + $examples['model']['slug']); >> >> You wrote '+', it wi

Re: $this->html->link not changing location

2012-09-26 Thread arron
thank you that worked On Wednesday, September 26, 2012 12:12:56 AM UTC-7, marco metal wrote: > > Hi, > > Just a small mistake :) > > check your line > > $this->Html->link($examples['model']['somename'], '/controllername/slug/' > +

Re: $this->html->link not changing location

2012-09-26 Thread Marcus James
Hi, Just a small mistake :) check your line $this->Html->link($examples['model']['somename'], '/controllername/slug/' + $examples['model']['slug']); You wrote '+', it will concat the string. Use '.' sign

Html link not changing url location

2012-09-25 Thread arron
I have configured routes.php so i can have pretty urls it works when i do this ?> but I am trying to use cakes way for generating links $this->Html->link($examples['model']['somename'], '/controllername/slug/' + $examples['model']['slu

$this->html->link not changing location

2012-09-25 Thread arron
I have routers configured to have pretty urls html link not changing stuck on first result the below code works and does what I want, but I am trying to use cakes way of generating links when I do this the url name is different but the hyper link doesn't change Html->link($

html link not changing stuck on first result

2012-09-25 Thread arron
I have routers configured to have pretty urls the below code works and does what I want, but I am trying to use cakes way of generating links when I do this the url name is different but the hyper link doesn't change Html->link($examples['model']['somename&#

html link not changing stuck on first result

2012-09-25 Thread arron
I have routers configured to have pretty urls html link not changing stuck on first result the below code works and does what I want, but I am trying to use cakes way of generating links when I do this the url name is different but the hyper link doesn't change Html->link($

Re: $this->Html->link with javascript back()

2012-09-19 Thread matze
Am Freitag, 25. Februar 2011 13:48:22 UTC+1 schrieb (unbekannt): > > > i think its much better to add > > $this->set('referer',$this->referer()); > > to your beforeRender(); > > and > > $this->Html->link('back',$referer); &

Re: create a link to download file

2012-09-12 Thread lowpass
On Wed, Sep 12, 2012 at 4:56 AM, euromark wrote: > why not using the new response class? > http://book.cakephp.org/2.0/en/controllers/request-response.html#cakeresponse > > since mediaview will be deprecated in 2.3 anyway? This looks like 1.3 code: $html->link( ... -- You receiv

Re: create a link to download file

2012-09-12 Thread lowpass
t. On Mon, Sep 10, 2012 at 10:05 PM, Arie Yuniarto wrote: > Hi all, > > I wanna ask about create a link to download file. > > so in my view i add this code > >> link('Download CSV',array( "action" => "download")); ?> > &g

Re: create a link to download file

2012-09-12 Thread euromark
' => 'csv', >> 'path' => APP . 'data/csv/' . DS >> ); >> >> $this->set($params); >> $this->autoLayout = false; >> >> } > > > > > > > On Tue, Sep 11, 2012 at 1:23 PM, Yasir Arafat Hasib

Re: create a link to download file

2012-09-11 Thread jeet bajaj
t; 'path' => APP . 'data/csv/' . DS > ); > > $this->set($params); > $this->autoLayout = false; > > } On Tue, Sep 11, 2012 at 1:23 PM, Yasir Arafat Hasib wrote: > > > On Tue, Sep 11, 2012 at 11:25 AM, Yasir Arafat Hasib > wrote:

Re: create a link to download file

2012-09-11 Thread Yasir Arafat Hasib
On Tue, Sep 11, 2012 at 11:25 AM, Yasir Arafat Hasib wrote: Yes > Hello > > Check the link i think this will help you > > > http://arafats.info/cakephp-download-media/ > > > > On Tue, Sep 11, 2012 at 8:05 AM, Arie Yuniarto wrote: > >> Hi all, >> &

Re: create a link to download file

2012-09-11 Thread Tilen Majerle
but if you're on cake 2.x you need to use $this->viewClass instead of $this->view -- Lep pozdrav, Tilen Majerle http://majerle.eu 2012/9/11 Yasir Arafat Hasib > Hello > > Check the link i think this will help you > > http://arafats.info/cakephp-download-me &

Re: create a link to download file

2012-09-10 Thread Yasir Arafat Hasib
Hello Check the link i think this will help you http://arafats.info/cakephp-download-me dia/ On Tue, Sep 11, 2012 at 8:05 AM, Arie Yuniarto wrote: > Hi all, > > I wanna ask about create a link to download file. > > so in my view i add this code > > link('Do

create a link to download file

2012-09-10 Thread Arie Yuniarto
Hi all, I wanna ask about create a link to download file. so in my view i add this code link('Download CSV',array( "action" => "download")); ?> and then i use Media View on the controller function download(){ > > $this->view = 'Media'

Re: How to link to a non cake php page, and where to put it?

2012-09-10 Thread d6games
rote: > > I need to do this too. Sadly, this doesn't work in version 2.2. In my > > index.ctp view I have a standard hyperlink like... > > > > Join" ?> > > > > Which renders the correct link, but when I click it I get... > >

Re: How to link to a non cake php page, and where to put it?

2012-09-10 Thread Mike Griffin
On Sun, Sep 9, 2012 at 11:50 PM, d6games wrote: > I need to do this too. Sadly, this doesn't work in version 2.2. In my > index.ctp view I have a standard hyperlink like... > > Join" ?> > > Which renders the correct link, but when I click it I get... >

Re: How to link to a non cake php page, and where to put it?

2012-09-09 Thread d6games
I need to do this too. Sadly, this doesn't work in *version 2.2*. In my index.ctp view I have a standard hyperlink like... Join" ?> Which renders the correct link, but when I click it I get... *Error: **Joingame.htmlController* could not be found. *Error: *Cre

Existing named params included into link with additional named params?

2012-08-30 Thread elogic
the find). I think the Paginator function does this so I guess I am looking to replicate it somehow. A current link looks like this for me: Html->link(__($statustypes[$card['Prospect']['prospect_type_id']]), array('action' => 'index', $this-&

Re: Problem encountered: about passing multiple paramters from view (html helper: link) to an action ($arg1 = null, $arg2 = null) that the passed parameter became empty & null strings

2012-08-09 Thread Tilen Majerle
if you want to fetch like this, try this Html->link($this->Andante->fetchLanguage('aside_addasfriend', $opt_as), array('controller' => 'relationships', 'action' => 'addfriend', $current_user['id'], $user_data['

Problem encountered: about passing multiple paramters from view (html helper: link) to an action ($arg1 = null, $arg2 = null) that the passed parameter became empty & null strings

2012-08-08 Thread Andante Cheng
Dear all: I would be grateful if you could help me on this issue what I have been working on it few days: my problem is: about passing multiple paramters from view (html helper: link) to an action ($arg1 = null, $arg2 = null) that the passed parameter became empty & null strings 1. First,

RE: paypal returning link not working

2012-08-03 Thread ecom
thanks, got fixed,now Date: Fri, 3 Aug 2012 18:08:50 -0700 From: ml-node+s1045679n5710142...@n5.nabble.com To: letterlet...@hotmail.com Subject: Re: paypal returning link not working How could anyone help you with such a vague question? On Thu, Aug 2, 2012 at 10:06 PM, ecom <[hid

  1   2   3   4   5   6   7   8   9   10   >