Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8716147
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T06:00:33+00:00 2026-06-13T06:00:33+00:00

What I did I wrote this code in a index.ctp $this->Html->css(‘default’) located at /Views/Themed/{THEME

  • 0

What I did

I wrote this code in a index.ctp $this->Html->css('default') located at

/Views/Themed/{THEME NAME}/layout/index.ctp

the code tries to access a default.css located at

/Views/Themed/{THEME NAME}/webroot/css/default.css

What happened

When the page index.ctp is rendered the translation for $this->Html->css('default') is

/cakePHP/css/default.css

What I expected to happen

but it has to be

/cakePHP/theme/{THEME NAME}/css/default.css

The above problem occurred in LAMP

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T06:00:34+00:00Added an answer on June 13, 2026 at 6:00 am

    are you telling cake to use your theme?

    // controller
    public $theme = 'theme_name';
    
    //action
    $this->theme = 'theme_name';
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Did I not get enough sleep or what? This following code var frame=document.getElementById(viewer); frame.width=100;
(1) is this way : http://code.google.com/intl/en/appengine/articles/djangoforms.html (2) is write by self : #/usr/bin/env python2.5
I wrote this code in the onCreate() method, but nothing was played ! SoundPool
I wrote this code: <? $text='how are you [b] today [/b]'; $patterns = array();
I wrote this code in C++, and I used getchar() to puase the console,
I wrote this code in asp.net for sending email: MailMessage mailObject = new MailMessage(a@b.com(I
I did something silly in an R session. I wrote print = FALSE Now
I've started using Objective-C blocks today. I wrote the following code: NSArray *array =
This is code from the book - Programming Interviews Exposed 2nd Edition - Pages
Let's say I did this: script/generate controller home And in the home controller made

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.