Questions tagged with html

3 answers

0 votes

Asked by new2cakephp, on 12/11/09 in Views

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

Asked by JakubLedl, on 15/11/09 in Models

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

Asked by codeboyx, on 17/12/09 in Installation / Configuration

$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

Asked by mee, on 3/2/10 in Models

[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

Asked by Techie42, on 19/2/10 in Views

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

Asked by Dominguez, on 1/4/10 in Installation / Configuration

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

Asked by gmchun83, on 13/4/10 in Models

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

Asked by patelnehal4u, on 13/5/10 in Components

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

Asked by spnkychnk, on 21/6/10 in Models

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

Asked by GeoffW, on 8/7/10 in Helpers

$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

Asked by saidbakr, on 30/8/10 in Installation / Configuration

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

Asked by techlands, on 19/7/10 in Models

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

Asked by marko, on 31/7/10 in Installation / Configuration

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

Asked by andrewbelcher, on 17/8/10 in Helpers

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

Asked by JaRo, on 2/9/10 in Helpers

Html link with image and text


<a href="#" title=""><img src="#" alt="" />Text here!!!</a>

How can I get this as cake html helper link?

SOLVED

Working example


$html->link($html->image('#') . 'Text here!!!', '#', array('escape' => false), null);

Thanks...

1 answer

0 votes

Asked by twitchel, on 10/9/10 in CakeQS

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

Asked by unts, on 5/10/10 in Helpers

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

Asked by suven.myopenid.com, on 17/10/10 in Helpers

$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

Asked by allencch, on 22/11/10 in Plugins

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

Asked by , on 23/11/10 in Views

Add javascript confirmation on $this->Form->submit()

Is there a way to add javascript confirmation on $this->Form->submit() as in $this->Html->link()?

<< previous 1   2   3