Re: Theme still referring to base webroot css file

2011-10-16 Thread WebbedIT
What is the [username] coming from in:
link rel=stylesheet type=text/css href=/[username]/css/
default.css /

HTH, Paul

On Oct 15, 10:09 am, Travis Rowland travis.rowl...@gmail.com wrote:
 My webroot folder in my Theme folder had a capital W -- go figure.







 On Sat, Oct 15, 2011 at 12:08 AM, Theaxiom travis.rowl...@gmail.com wrote:
  I am experiencing this same exact issue, what did you do to resolve it?

  --
  Our newest site for the community: CakePHP Video Tutorials
 http://tv.cakephp.org
  Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help
  others with their CakePHP related questions.

  To unsubscribe from this group, send email to
  cake-php+unsubscr...@googlegroups.com For more options, visit this group
  athttp://groups.google.com/group/cake-php

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: Theme still referring to base webroot css file

2011-10-15 Thread Theaxiom
I am experiencing this same exact issue, what did you do to resolve it?

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: Theme still referring to base webroot css file

2011-10-15 Thread Travis Rowland
My webroot folder in my Theme folder had a capital W -- go figure.

On Sat, Oct 15, 2011 at 12:08 AM, Theaxiom travis.rowl...@gmail.com wrote:

 I am experiencing this same exact issue, what did you do to resolve it?

 --
 Our newest site for the community: CakePHP Video Tutorials
 http://tv.cakephp.org
 Check out the new CakePHP Questions site http://ask.cakephp.org and help
 others with their CakePHP related questions.


 To unsubscribe from this group, send email to
 cake-php+unsubscr...@googlegroups.com For more options, visit this group
 at http://groups.google.com/group/cake-php


-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Theme still referring to base webroot css file

2011-04-26 Thread Doug
Hi. I set up a theme directory structure for themes within my cakephp
1.3 app. It seems to work correctly except that it's still referencing
the base css file (app/webroot/css/cake.generic.css) instead of the
themed css file (app/views/themed/default/webroot/css/default.css).

articles_controller.php:

class ArticlesController extends AppController {
var $view = 'Theme';
var $theme = 'default';
var $helpers = array('Form', 'Html', 'Markdown');


app/views/themed/default/layouts/default.ctp:

?php echo $html-css('default'); ?

When the page is rendered in my browser, and I view the source, this
is the result:

link rel=stylesheet type=text/css href=/[username]/css/
default.css /

Why is the app not referencing the css within the theme folder instead
of the default folder?

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: Theme still referring to base webroot css file

2011-04-26 Thread cricket
On Mon, Apr 25, 2011 at 12:12 PM, Doug douglas.sprin...@gmail.com wrote:
 Hi. I set up a theme directory structure for themes within my cakephp

 class ArticlesController extends AppController {
        var $view = 'Theme';
        var $theme = 'default';

Looks like you got these mixed up.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: Theme still referring to base webroot css file

2011-04-26 Thread Doug Springer
What do you mean? This is per the book. the $view variable should be set to
'Theme' to indicate that I am using themes and the $theme should be set to
the name of my theme (which is 'default' in this case) right?

On Tue, Apr 26, 2011 at 2:01 PM, cricket zijn.digi...@gmail.com wrote:

 On Mon, Apr 25, 2011 at 12:12 PM, Doug douglas.sprin...@gmail.com wrote:
  Hi. I set up a theme directory structure for themes within my cakephp

  class ArticlesController extends AppController {
 var $view = 'Theme';
 var $theme = 'default';

 Looks like you got these mixed up.

 --
 Our newest site for the community: CakePHP Video Tutorials
 http://tv.cakephp.org
 Check out the new CakePHP Questions site http://ask.cakephp.org and help
 others with their CakePHP related questions.


 To unsubscribe from this group, send email to
 cake-php+unsubscr...@googlegroups.com For more options, visit this group
 at http://groups.google.com/group/cake-php




-- 
www.3dtoaster.com

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: Theme still referring to base webroot css file

2011-04-26 Thread cricket
On Tue, Apr 26, 2011 at 2:05 PM, Doug Springer
douglas.sprin...@gmail.com wrote:
 What do you mean? This is per the book. the $view variable should be set to
 'Theme' to indicate that I am using themes and the $theme should be set to
 the name of my theme (which is 'default' in this case) right?

My bad. I read that wrong.

Are you sure the CSS file exists? What's the path to it?

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php