I've this methods in a helper:
?php
/*
* Boostrap table helpers
*/
public function full_table(array $headers, array $rows, array $footer,
$table_class = 'table table-bordered table-condensed', $header_class =
'active', $footer_class = 'active') {
//style=white-space:
nice! Is bshelper part of cakephp?
On Friday, May 1, 2015 at 9:54:43 PM UTC+1, Sylvain Lévesque wrote:
?php
echo $this-Html-tag( 'table', null, array( 'class' = 'table
table-hover table-condensed' ) );
echo $this-Html-tag( 'thead' );
echo $this-Html-tableHeaders( array( 'One', 'Two',
?php
echo $this-Html-tag( 'table', null, array( 'class' = 'table table-hover
table-condensed' ) );
echo $this-Html-tag( 'thead' );
echo $this-Html-tableHeaders( array( 'One', 'Two', 'Three', 'Four', 'Five'
, 'Six', 'Seven', 'Eight', 'Nine' ) );
echo $this-Html-useTag( 'tagend', array( 'thead' )
Dear all.
This so stupid but please help me.
In my cell: *app/src/View/Cell/MyCell.php*
i'm use public $helpers = ['Html'];
In my cell view: *app/src/Template/Cell/MyCell/display.ctp*
?php
$this-Html-link('name', ['controller' = 'mycontroller', 'action' =
'myaction', 'param']); // This one work
Where did you put that generateLink() function?
Helpers can only be used in the templates and from other helpers. What you
are trying to do is not possible. You can create other helpers that can
call the Html helper internally
On Tuesday, September 2, 2014 1:57:30 PM UTC+2, Nguyễn Anh Tuấn
*Hello *
*
*
I noticed that htmlhelper generated errors and creates not valid html code.
?php echo $this - Html - charset(); ?
generate: meta charset=utf-8 with missing quote
//
other errors generated by html helper
http://validator.w3.org/check?uri=http%3A%2F%2Ffarm.ba%2Fcharset=%28detect
(); ?
generate: meta charset=utf-8 with missing quote
//
other errors generated by html helper
http://validator.w3.org/check?uri=http%3A%2F%2Ffarm.ba%2Fcharset=%28detect+automatically%29doctype=Inlinegroup=0st=1user-agent=W3C_Validator%2F1.3+http%3A%2F%2Fvalidator.w3.org%2Fservices
i used cakephp
Hi,
I need to display an image outside the webroot/img dir for cake 1.3.
Specifically I have to link to an image in the ckeditor which is at
webroot/js/ckeditor...
When I use $this-Html-image() it gives me a reference at webroot/img by
default. Is there a solution that is portable between
-php@googlegroups.com [mailto:cake-php@googlegroups.com] On Behalf
Of Robert Gravel
Sent: Monday, April 01, 2013 10:42 PM
To: cake-php@googlegroups.com
Subject: html helper - image outside of webroot/img dir
Hi,
I need to display an image outside the webroot/img dir for cake 1.3.
Specifically I
the editor
package itself just reference it as the correct path/filename
*From:* cake...@googlegroups.com javascript: [mailto:
cake...@googlegroups.com javascript:] *On Behalf Of *Robert Gravel
*Sent:* Monday, April 01, 2013 10:42 PM
*To:* cake...@googlegroups.com javascript:
*Subject:* html
No problem. Hope it helped. No expert but seems pretty straight forward so
glad I could help in any way.
From: cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] On Behalf
Of Robert Gravel
Sent: Monday, April 01, 2013 11:08 PM
To: cake-php@googlegroups.com
Subject: Re: html helper
was looking over the routing docs and doing some other searches but
couldnt find exactly what I needed.
here is the issue.
I have a site that is hosted at a subdirectory that is being pushed
through a proxy that when ever the URLS are written from the HTML helper
they dont go where they are supposed
that is being pushed through
a proxy that when ever the URLS are written from the HTML helper they dont
go where they are supposed to relative to the root of the subdirectory.
The site loads fine from the subdirectory (with no changes to htaccess in
root app or webroot) but what is happening is any
http://majerle.eu
2012/8/8 Andante Cheng andantech...@gmail.com
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
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
hey send me more and big clear pics
On Wednesday, October 5, 2011, rchavik wrote:
You could create a custom helper inheriting HtmlHelper, then use the
joeb'sAnalogue pluginhttps://github.com/joebeeson/analogueto masquerade
your helper as core HtmlHelper. This way, you don't have to
modify
On 5 Paź, 03:31, rchavik rcha...@gmail.com wrote:
You could create a custom helper inheriting HtmlHelper, then use the
joeb'sAnalogue pluginhttps://github.com/joebeeson/analogueto masquerade
your helper as core HtmlHelper. This way, you don't have to
modify your view files
Thanks... that
I have 3 roles in my app.
To Avoid adding the prefix arrays to each url, I am using this helper
function.
View code to create musician prefix url:
echo $this-Html-link('Dashboard',
$this-RoleLink-linkRole(array('controller'='users','action'='dashboard'),array('musician')));
Helper function:
On 28 Wrz, 19:44, euromark dereurom...@googlemail.com wrote:
i use a custom app helper method i called defaultLink() which resets
all prefixes unless specified.
although thats maybe not exactly what you have in mind
but you could make sth similar with your own default values
either way -
You could create a custom helper inheriting HtmlHelper, then use the
joeb'sAnalogue pluginhttps://github.com/joebeeson/analogueto masquerade your
helper as core HtmlHelper. This way, you don't have to
modify your view files
--
Our newest site for the community: CakePHP Video Tutorials
could add 'admin'=false to all links that should not be
prefixed but that's not really a feasible solution.
So here comes my question: is there a way for Html helper not to add
prefixes to links in prefixed routes unless when I explicitly set it
to do so with 'admin'=true?
I think it should
/posts(- wrong)www.domain.com/admin/users
I know I could add 'admin'=false to all links that should not be
prefixed but that's not really a feasible solution.
So here comes my question: is there a way for Html helper not to add
prefixes to links in prefixed routes unless when I explicitly set
Does anybody know a reason that the Html Helper contains a method to output
table cells and headers, but not a method to output tables? Like, at least
tableStart and tableEnd?
It just looks sloppy to echo 'table' when everything else is done via the
helper.
--
Our newest site
Its to generate rows using a helper, not really meant for generation
within the view.
On Jul 15, 7:28 am, DragonFlyEye dragonflyey...@gmail.com wrote:
Does anybody know a reason that the Html Helper contains a method to output
table cells and headers, but not a method to output tables? Like
as far as i know thats in order to address all browsers (because some
stupid ones - i won't name any^^ - behave differently as the rest)
On 4 Mai, 22:47, Ross rcurry1...@googlemail.com wrote:
Hi
I just got started with CakePHP, and have the following in my layout,
between the head tags's as
On May 4, 2011, at 15:47, Ross wrote:
I just got started with CakePHP, and have the following in my layout,
between the head tags's as you'd expect:
?php echo $this-Html-meta('icon') . \t\n; ?
The output, however is:
link href=/cakephp/myapp/favicon.ico type=image/x-icon
rel=icon
That makes sense! Thank you.
On May 5, 9:28 am, Ryan Schmidt google-2...@ryandesign.com wrote:
On May 4, 2011, at 15:47, Ross wrote:
I just got started with CakePHP, and have the following in my layout,
between the head tags's as you'd expect:
?php echo $this-Html-meta('icon') .
Hi
I just got started with CakePHP, and have the following in my layout,
between the head tags's as you'd expect:
?php echo $this-Html-meta('icon') . \t\n; ?
The output, however is:
link href=/cakephp/myapp/favicon.ico type=image/x-icon
rel=icon /
link href=/cakephp/myapp/favicon.ico
Hi Guys,
I'm using the following code:
echo $this-Html-image('photos/' . $resource['Resource']['filename'],
array(
'alt' = $resource['Resource']['title'],
'url' = array('controller' = 'resources', 'action' = 'lightbox',
$resource['Resource']['filename_large'])
));
What I need to
the image() method doesn't take that, or any other link
attributes, into consideration.
http://api.cakephp.org/view_source/html-helper/#line-604
I use link() plus image():
echo $this-Html-link(
$this-Html-image(
'photos/' . $resource['Resource']['filename
I am struggling with Html helper in cake 1.3. The url method seems to
reference different relative roots:
?php
echo app: . APP;
echo www_root: . WWW_ROOT;
echo images: . IMAGES;
echo url_test_relative: . $this-Html-url('/albums/show/');
echo url_test_absolute: . $this-Html-url('/albums/show
I am struggling with Html helper in cake 1.3. The url method seems to
reference different relative roots:
?php
echo app: . APP;
echo www_root: . WWW_ROOT;
echo images: . IMAGES;
echo url_test_relative: . $this-Html-url('/albums/show/');
echo url_test_absolute: . $this-Html-url('/albums/show
always use arrays for internal links
On 10 Okt., 17:35, roktok heiko@googlemail.com wrote:
I am struggling with Html helper in cake 1.3. The url method seems to
reference different relative roots:
?php
echo app: . APP;
echo www_root: . WWW_ROOT;
echo images: . IMAGES;
echo
with Html helper in cake 1.3. The url method seems to
reference different relative roots:
?php
echo app: . APP;
echo www_root: . WWW_ROOT;
echo images: . IMAGES;
echo url_test_relative: . $this-Html-url('/albums/show/');
echo url_test_absolute: . $this-Html-url('/albums/show
Dear CakePHP
On my shared host (one.com) I'm having some issues with getting the
HTML helper to work properly. For example I have
?php echo $html-link('Members', array('controller' = 'users'); ?
which resolves in the URL:
http://myhost.com/customers/account_name/account_name/httpd.www/app_name
Hi guys!
I saw a really neat piece of code a few weeks ago, but forgot to
bookmark it and am running crazy now.
I was actually a component that did the following:
You put [image:123] in your text (e.g. Post text) and save it.
When you're reading the data out, you do $post['Post']['text'] =
Okay, I know I wasn't crazy, after 3 hours of searching, I found it.
http://www.gersh.no/posts/view/embed_images_anywhere_in_cakephp
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this
Interesting, I'll have to check myself then if javascript in $html-
link works in the latest cake version too.
I'm using revision 7296. I know it is quite an old one. I could not
find (or didn't know where to look for) info about this issue for the
revision I use.
On Sep 3, 4:46 am, Dr.
Hi there, thanks for your quick reply.
I already mentioned trying both SINGLE quotes and DOUBLE quotes. Both
result in escaped quotes, hence this post.
The example you gave results in:
a href=/image/a_link.php?test class=image
onClick=pageTracker._trackEvent(#039;category#039;,
Quoting myself:
I already mentioned trying both SINGLE quotes and DOUBLE quotes. Both
result in escaped quotes, hence this post.
I could have been more clear on where exactly I tried both double and
single quotes :)
On Sep 2, 9:44 am, Kana kana@gmail.com wrote:
Hi there, thanks for your
But your example was about double quotes that is wrong INITIALLY.
Btw, on my cakes there are no problems with single quotes in tags
attributes at all. What exact cake version do you have?
On Sep 2, 3:48 pm, Kana kana@gmail.com wrote:
Quoting myself:
I already mentioned trying both SINGLE
How to not escape Javascript in html helper link without having to use
Javascript outside $html-link?
I try to achieve:
- the quotes in the onClick event, either single or double quotes
a href=/image/a_link.php?test class=image
onClick=pageTracker._trackEvent(category, action, label
._trackEvent('category',
'action', 'label');
),
false,
false
);
?
On Sep 2, 12:15 am, Kana kana@gmail.com wrote:
How to not escape Javascript in html helper link without having to use
Javascript outside $html-link?
I try to achieve:
- the quotes in the onClick event, either
I don't know how you do it James. I just did a quick test in a view
and defining a function inline in the view will not provide that
function with access to the local variables outside the function
($html, $form...)
One ugly way of making it work is to make a global reference to the
html helper
such as writing the
anchor tag without the html helper, or turning the link array into a
simpler two dimensional array where I can then iterate the link()
function. However, I am wonder how I might specifically address the
question of making the html-link() function available to a function
the
anchor tag without the html helper, or turning the link array into a
simpler two dimensional array where I can then iterate the link()
function. However, I am wonder how I might specifically address the
question of making the html-link() function available to a function
within a view file.
I
a variable? There are some obvious work-arounds such as writing the
anchor tag without the html helper, or turning the link array into a
simpler two dimensional array where I can then iterate the link()
function. However, I am wonder how I might specifically address the
question of making the html-link
the
function.
Fatal error: Call to a member function link() on a non-object in...
Any ideas? Is there a way to make the link() function global as you do
a variable? There are some obvious work-arounds such as writing the
anchor tag without the html helper, or turning the link array into a
simpler
: Call to a member function link() on a non-object in...
Any ideas? Is there a way to make the link() function global as you do
a variable? There are some obvious work-arounds such as writing the
anchor tag without the html helper, or turning the link array into a
simpler two dimensional array where I
: Call to a member function link() on a non-object in...
Any ideas? Is there a way to make the link() function global as you do
a variable? There are some obvious work-arounds such as writing the
anchor tag without the html helper, or turning the link array into a
simpler two dimensional array where
as you do
a variable? There are some obvious work-arounds such as writing the
anchor tag without the html helper, or turning the link array into a
simpler two dimensional array where I can then iterate the link()
function. However, I am wonder how I might specifically address the
question
the html helper, or turning the link array into a
simpler two dimensional array where I can then iterate the link()
function. However, I am wonder how I might specifically address the
question of making the html-link() function available to a function
within a view file.
I have
hmm im not sure if this will work but you could try in your element:
App:import('Helper', Html');
$html = new html();
does html helper work in other parts of your element outside the
function? i usually have no problems at all using $html-link() within
an element function.
On Aug 11, 10:47 pm
method error or non-object error.
I think I will throw this all in an array - menu helper with the Html
helper. That way I'll be able to reference the object with the link()
function.
Thanks for your help.
On Aug 11, 11:15 pm, JamesF vacationrental...@gmail.com wrote:
hmm im not sure
.
I think I will throw this all in an array - menu helper with the Html
helper. That way I'll be able to reference the object with the link()
function.
Thanks for your help.
On Aug 11, 11:15 pm, JamesF vacationrental...@gmail.com wrote:
hmm im not sure if this will work but you could try in your
To: CakePHP cake-php@googlegroups.com
Sent: Monday, June 15, 2009 6:24 AM
Subject: Modifying Html Helper Image method for localization support
Hello,
I'm fairly new to CakePHP and have a question about the best way to
accomplish a task. Here is my situation: I'm building a little
localized
navigation buttons. The most logical way
to organize these images, it seems to me, is to put the images for
each language into a folder bearing the language abbreviation in the
img directory. So, for instance, English images would be in img/
eng/.
The app is working nicely now with Html helper
these images, it seems to me, is to put the images for
each language into a folder bearing the language abbreviation in the
img directory. So, for instance, English images would be in img/
eng/.
The app is working nicely now with Html helper image calls such as
$html-image('btn_action.gif
@googlegroups.com
Sent: Monday, June 15, 2009 6:24 AM
Subject: Modifying Html Helper Image method for localization support
Hello,
I'm fairly new to CakePHP and have a question about the best way to
accomplish a task. Here is my situation: I'm building a little
localized app that incorporates a dozen
even better...that seems like a more cake-like method than my concat
operator trick
On May 4, 9:44 pm, brian bally.z...@gmail.com wrote:
You can also pass '#' as an extra param:
$html-link(
'View More Photos',
array(
'controller'='listings',
I think it will be a solution
$html-link('View More Photos','/listing/view/id#anchor');
Thanks,
Mohsin
On Tue, May 5, 2009 at 7:44 AM, brian bally.z...@gmail.com wrote:
You can also pass '#' as an extra param:
$html-link(
'View More Photos',
array(
Moshin, that will work but will ignore any routes you might have. If
you use the array syntax for creating links, Cake will look at your
routes and create it from one of those, if there's a match. This can
be really handy.
On Mon, May 4, 2009 at 10:33 PM, Mohsin Kabir mohsint...@gmail.com wrote:
hey there i'm a big fan of verbose linking but i was having a problem
linking to a named anchor in the target page
figured it out before i posted my question so figured i would share.
code sans named anchor link:
echo $html-link('View More Photos', array('controller'='listings',
You can also pass '#' as an extra param:
$html-link(
'View More Photos',
array(
'controller'='listings',
'action'='view',
$id
'#' = 'anchor'
)
);
On Mon, May 4, 2009 at 5:55 PM, JamesF
Oh, thats easy. Is that HTML?
Just kidding. Sometimes it's still easier without cakebut only
sometimes
Thanks for helping my brain thinking in a non-cake way
Donnerbeil
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
of cource you also customise the built in html helper in
cake/libs/views/helpers/ putting the customised version in your
app/views/helpers/ - see the tags at the top would get you start
but depending on how many you have - guess you only have the one
- S
2009/4/3 donnerbeil donnerb
Hi,
Does anyone know, if it is possible to generate a link like:
skype:username?call
with the html-link() method?
I tried this:
$html-link('username','skype:username?call);
output is:
http://www.mydomain.com/skype:username?call
Any ideas?
I think that using the html helper is unnecessary it is more complicated
than simply
echo 'a href=skype:' . $username . '?call' . $username . '/a';
- S
2009/3/31 donnerbeil donnerb...@googlemail.com
Hi,
Does anyone know, if it is possible to generate a link like:
skype:username?call
Hello all,
I have an admin view set up at /view
so in the browser it looks like (when logged in as admin):
mysite.com/admin/view
on this page is a thumbnail of one image with a link to another
image.
echo $html-link($html-image($thumbnail_url , array('alt' =
'Thumbnail')),
On Tue, Mar 24, 2009 at 1:42 PM, JamesF usaexportexpe...@gmail.com wrote:
Hello all,
I have an admin view set up at /view
so in the browser it looks like (when logged in as admin):
mysite.com/admin/view
on this page is a thumbnail of one image with a link to another
image.
echo
well i didn't think of using plain old html and i have tested that
approach and it DOES work.
BUT.if I am using a thumbnail image to link to another image, I
have to make sure to update the paths in my view if i ever change my
webroot. seeing as how this is on a dev box in a subdirectory, it
This is not showing as a link in my browser:
td?php echo $html-link($post['Post']['title'], /posts/view/.$post
['Post']['id']); ?/td
Just looks like this:
link($post['Post']['title'], /posts/view/.$post['Post']['id']); ?
Any ideas? I'm new to Cake and I assume it's a helper issue.
I am not
Do you have var $helpers = array('Html') in your controller or AppController ?
Regards,
Alfredo
On Sat, Feb 7, 2009 at 9:41 AM, jim beeniecop...@gmail.com wrote:
This is not showing as a link in my browser:
td?php echo $html-link($post['Post']['title'], /posts/view/.$post
is there any way to generate the output for those metas as dealing with
description and
keywords metas?
Hi soosa,
The meta HTML helper currently supports building meta elements for
rss, icon, atom, keywords, and description. For all the
other types of meta elements, you are better off
that the missing metas
must be implemented by cake to complete the bundle!
Thanks again.
On Wed, Oct 1, 2008 at 11:22 AM, Lance Willett [EMAIL PROTECTED] wrote:
is there any way to generate the output for those metas as dealing with
description and
keywords metas?
Hi soosa,
The meta HTML helper
a ticket it will likely never happen
;)
S
Thanks again.
On Wed, Oct 1, 2008 at 11:22 AM, Lance Willett [EMAIL PROTECTED] wrote:
is there any way to generate the output for those metas as dealing with
description and
keywords metas?
Hi soosa,
The meta HTML helper currently supports
\helper.php, line 148].can we use html helper in cake 1.2 ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group
') in my form.it give me the following error
Method HtmlHelper::input does not exist [CORE\cake\libs\view
\helper.php, line 148].can we use html helper in cake 1.2 ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
use html helper in cake 1.2 ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL
Hi
I'm running the latest release candidate of CakePHP on a local Windows XAMPP
installation. The web root of Apache is set to the CakePHP directory (not
app/webroot).
Whenever I use the HTML helper, it outputs URLs such as:
css/style.css
However, it should output URLs like this:
/css
I am using cake 1.2 .When i use echo $html-input('FanType/
fantype_name') in my form.it give me the following error
Method HtmlHelper::input does not exist [CORE\cake\libs\view
\helper.php, line 148].can we use html helper in cake 1.2 ?
--~--~-~--~~~---~--~~
You
On Sep 10, 2008, at 1:35 AM, nayan wrote:
I am using cake 1.2 .When i use echo $html-input('FanType/
fantype_name') in my form.it give me the following error
Method HtmlHelper::input does not exist [CORE\cake\libs\view
\helper.php, line 148].can we use html helper in cake 1.2 ?
Yes
HtmlHelper::input does not exist [CORE\cake\libs\view
\helper.php, line 148].can we use html helper in cake 1.2 ?
Yes, but you use the FormHelper in 1.2 for forms. :)
-- John
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
the following error
Method HtmlHelper::input does not exist [CORE\cake\libs\view
\helper.php, line 148].can we use html helper in cake 1.2 ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post
hi all:
i get use the new cake version 1.2.0.7125 RC1,
i code the Html helper like before:
?php echo $html-input('Artist/name');?
but it got html:
input name=Artist name/
could somebody tell me how should i do?
--~--~-~--~~~---~--~~
You received
Hi,
i get use the new cake version 1.2.0.7125 RC1,
i code the Html helper like before:
?php echo $html-input('Artist/name');?
but it got html:
input name=Artist name/
could somebody tell me how should i do?
HtmlHelper::input() is deprecated and shouldn't be used anymore. Most
of it's
Also, be sure to use a dot instead of a slash:
$form-input('Artist.name');
Happy baking!
On Jun 24, 11:51 am, Daniel Hofstetter [EMAIL PROTECTED] wrote:
Hi,
i get use the new cake version 1.2.0.7125 RC1,
i code the Html helper like before:
?php echo $html-input('Artist/name
the Html helper like before:
?php echo $html-input('Artist/name');?
but it got html:
input name=Artist name/
could somebody tell me how should i do?
HtmlHelper::input() is deprecated and shouldn't be used anymore. Most
of it's functionality is now in the FormHelper
It's documented since a long time ago:
CakePHP 1.2:
http://book.cakephp.org/view/32/installation
CakePHP 1.1:
http://manual.cakephp.org/view/308/installing-cakephp
On Wed, May 21, 2008 at 10:34 AM, Joel Perras [EMAIL PROTECTED] wrote:
Add the line:
RewriteBase /~user/
to the .htaccess
Hi,
can anybody help me with this problem, I am creating a simple link in
one of my views and I am having a problem giving an onClick option/
attribute for the link, as it seems cake is escaping/encoding the
javascript function special characters like this:
echo $html-link(foo, '#',
You have to turn off the escaping in the link functions, it auto
escapes.
Check out:
http://www.donutczar.com/blog/?p=4
http://api.cakephp.org/1.2/class_html_helper.html
On May 22, 4:56 am, jimbo [EMAIL PROTECTED] wrote:
Hi,
can anybody help me with this problem, I am creating a simple link
Joel,
Thanks for the advice, but I am not sure what to set it to.
The site is currently in folder on URL http://localhost/~user/cakephptest/...
The images that the default layout includes are referencing to
http://localhost/img rather than http://localhost/~user/cakephptest/img
Can you advise
Add the line:
RewriteBase /~user/
to the .htaccess files that already exist in your cake installation.
They should be found in app/.htaccess and app/webroot/.htaccess (this
last one may be redundant). Assuming you haven't changed the location
of any Cake folders and files, this should solve
Hi all,
I've just started playing with CakePHP have found that, because I'm
not using a domain name to access my site, but instead using a sub-
folder, the HTML helper is using / as the webroot, rather than the sub-
folder the site is in.
Any advice on how to correct this welcomed.
Thanks,
T
-
folder, the HTML helper is using / as the webroot, rather than the sub-
folder the site is in.
Any advice on how to correct this welcomed.
Thanks,
T
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group
There should be an official solution sometime involving aliased
helpers.
In the meantime, check out my hack here:
http://groups.google.com/group/cake-php/browse_thread/thread/1c1c370160cb467f
On Apr 4, 3:02 pm, Greg Baker [EMAIL PROTECTED] wrote:
I want to create a custom HTML helper
/1c1c3701...
On Apr 4, 3:02 pm, Greg Baker [EMAIL PROTECTED] wrote:
I want to create a custom HTML helper that extends htmlhelper..
However because of the code I have already that I don't want to
change, I want to name this helper so that I can use $html-... in my
views.
Any way I can
I want to create a custom HTML helper that extends htmlhelper..
However because of the code I have already that I don't want to
change, I want to name this helper so that I can use $html-... in my
views.
Any way I can do this?
Normally if this was a new project I'd just create a new class
HTML helper that extends htmlhelper..
However because of the code I have already that I don't want to
change, I want to name this helper so that I can use $html-... in my
views.
Any way I can do this?
Normally if this was a new project I'd just create a new class and use
that in my
helpers.
In the meantime, check out my hack here:
http://groups.google.com/group/cake-php/browse_thread/thread/1c1c3701...
On Apr 4, 3:02 pm, Greg Baker [EMAIL PROTECTED] wrote:
I want to create a custom HTML helper that extends htmlhelper..
However because of the code I have
1 - 100 of 199 matches
Mail list logo