3 answers
0 votes
changing HTML/CSS layout and graphics
Hi all,
I have a cakephp script for an online store and I would like to change the default layout and design of the website. Is it possible to change the website design using wysiwig editor and what is the process for doing this? Also, do I have...
1 answer
2 votes
User-Agent header
Well, another question:
Is there a posibility to determine by using RequestHandler wheter client uses Internet Explorer (like User-Agent header)? I need it to know if I can send application/xhtml+xml mime type or not.
1 answer
0 votes
$html->HELPER returning wrong URL
I've developed a cakephp application on IIS, but when I uploaded it to a shared hosting server, everything was working except that all links is showing the wrong domain "http:172.31.254.241/domain.comm/app/webroot/img/images.gif". Why isn't it...
1 answer
1 vote
[résolu] Enelever les balises HTML dans un texte
Bonjour,
Sur une appli cakePHP, j'ai une news qui est saisie en back office via un FCKEditor/CKEditor, cette news peut donc contenir des balises HTML, genre un <Strong ou un lien.
Coté front, j'ai une page qui affiche la liste de toutes les news....
2 answers
0 votes
Why is Content-type text/html when I am outputting XHTML?
Hi,
I have a web site that generates XHTML; the DOCTYPE is XHTML 1.0 STRICT.
However, when I view the page in FireFox (or other browsers), the content-type is reported as text/html. This also results in various tags not being closed correctly (ie....
1 answer
0 votes
Plain HTML site under CakePHP Authentication & Authorization
Is there any simple-fast way to put a complete HTML site (already developed) under CakePHP Authentication and Authorization layer?
We have an admin section (built on CakePHP) to control users that will have access to a specific info (like a plain...
1 answer
0 votes
How add links at $html->link()?
Hai,
I want to add web url or external links at $html-link() for my website menu.
Please refer following for my code:
<ul>
<li><?php echo $html->link(__('Home', true), '/'); ?></li>
<li><?php echo $html->link(__('Register', true),... 1 answer
0 votes
problem using Html helper in Email layout
I am writing Forgot password functionality, where i am sending email to user with a new random password by using email component. My email has a default layout(/views/layouts/email/html/default.ctp) as following.
<!DOCTYPE html PUBLIC... 0 answers
0 votes
Using HTML Purifier
Hi,
I am trying to use HTMLPurifier with a tinymce editor. I am unable to get the HTMLPurifier to work with cakephp. I tried using the brita (componentbakery.cakephp.org/.../brita-component-with-html-purifier), but unable to get rid of <script...
0 answers
0 votes
$number->format()
Help! I am trying to format numeric data in my view. I am attempting to use the $number-format(number,options) helper.
Can someone show me a real-world example of this function being used? It is used in the view, correct? I have made a ton of...
1 answer
0 votes
Why CakePHP does not has a download documentation and API?
Hi,
I wonder, why CakePHP does not have an official downloaded version of its documentation and API in several formats such as CHM, PDF, HTML pages archives and even an SQL dump with PHP application to access documentation locally or off-line?
I...
0 answers
0 votes
how to make a link https/http with html helper
is there an option in html helper that allows changing of the protocol (http/https) without having to specify the full base url?
$html->link('always secure', array('controller' => 'c', 'action' => 'a'));
desired result:...
1 answer
0 votes
CSS and images not working on production server
Hi,
I just tried to deploy my first cakephp app on a production server. The CSS and images are not displaying. The database connection is ok, and the database data is displaying correctly. Any idea what's up with the css and images?
My server is a...
1 answer
0 votes
HTML5 input types with form helper
Is there a way to create html5 input types (for example type="email") using the form helper, or to create custom input types? When I tried the obvious method of setting 'type' in the options array I got a textarea which from looking at the code...
1 answer
0 votes
1 answer
0 votes
Create Web Application using HTML5 caching
Hi All,
Im looking to build an application in Cake which will be able to be used mobile devices (android, iPhone etc).
Basically the application will be used to create little microsites for different events (and have the program etc for each event)...
1 answer
0 votes
not escaping html tags in link
I'm learning CakePHP from the well-known apress book, now I have to create a link and within the <a tags I should have h1 tags, in my view I have this...
1 answer
0 votes
$html and the pagepreaks
Hi all!
I'm in troube with the $html-helper.
When does $html add pagebreaks, when doesn't he and how to force him?
For example in my view.ctp I have:
<?php echo $html->docType('html4-trans'); ?>
<html xmlns="http://www.w3.org/1999/xhtml">
... 1 answer
0 votes
How to use HtmlHelper in plugin without mod_rewrite?
Hello, I have a problem in using the plugin without mod_rewrite. The
plugin I am now trying to use is "api_generator". Since I don't use
the mod_rewrite feature, I enabled
Configure::write('App.baseUrl', env('SCRIPT_NAME'));
And remove the...
1 answer
0 votes
Add javascript confirmation on $this->Form->submit()
Is there a way to add javascript confirmation on $this->Form->submit() as in $this->Html->link()?






