Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

CodeIgniter and Dreamweaver

Community Beginner ,
Apr 25, 2011 Apr 25, 2011

Copy link to clipboard

Copied

Hi... I'm using the CodeIgniter framework. It's an MVC based framework. All is well expect for the V (Views). My Views are broken into 3 pieces; header, body, & footer. All css links (and js too) are in the header view.

The problem I have is css. I don't have control over the css. And it's a huge file,  it beats the hell out of me what class is what. I'm just following guildlines. So code hinting would help GREATLY. Trouble is the body view is a  fragment - it's doesn't  have links to css. Those links are in the header. So right now I'm switching back and forth between the view i'm working on and the css files.  And  and it's KILLING me.

Anyone have any suggestions?

I could just throw the css in every View but that'd break my DRY mantra. Not to mention that would be horribly inefficient.

-Thanks

TOPICS
Server side applications

Views

3.8K
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
May 02, 2011 May 02, 2011

Copy link to clipboard

Copied

The problem I have is css. I don't have control over the css. And it's a huge file,  it beats the hell out of me what class is what. I'm just following guildlines. So code hinting would help GREATLY. Trouble is the body view is a  fragment - it's doesn't  have links to css. Those links are in the header. So right now I'm switching back and forth between the view i'm working on and the css files.  And  and it's KILLING me.

Anyone have any suggestions?

I could just throw the css in every View but that'd break my DRY mantra. Not to mention that would be horribly inefficient.

Dreamweaver has a Design-time Style Sheet (DTSS) feature that allows you to add style sheets that are only seen by DW (they are not linked from your page fragment). From the main menu, Use:

  Format > CSS Styles > Design-time...

HTH,

Randy

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
May 03, 2011 May 03, 2011

Copy link to clipboard

Copied

LATEST

Yeah I figured this out. Thanks though. Add i more reason why I keep DW on my machine.

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines