Skip to main content
Known Participant
April 26, 2011
Question

CodeIgniter and Dreamweaver

  • April 26, 2011
  • 1 reply
  • 3841 views

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

This topic has been closed for replies.

1 reply

Randy Edmunds
Adobe Employee
Adobe Employee
May 3, 2011

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

Known Participant
May 3, 2011

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