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 8066307
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T11:56:39+00:00 2026-06-05T11:56:39+00:00

I am working with dynamic generated CSS files. To let Apache know, they have

  • 0

I am working with dynamic generated CSS files.
To let Apache know, they have to be preprocessed, they have to end with

.php

Now here is the Problem:

Textmate won’t discern / differ between *.css.php and *.php. When i set the .css.php file to the CSS MarkUp, my other .php files are also set to CSS MarkUp.

.html files for example, are still MarkedUp by the associated .html-language-preferences defined in the bundle editor.

Is there a way to not completely rewrite the PHP MarkUp definition?

  • 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-05T11:56:40+00:00Added an answer on June 5, 2026 at 11:56 am

    I have enhanced the PHP language bundle by:

    {
        name = 'css.embedded.block.html';
        begin = '(/\*CSS)';
        end = '(CSS\*/)';
        patterns = ( { include = 'source.css'; } );
    },
    

    in the patterns section, but now the CSS code in the .css.php-files have to start with /*CSS and end with CSS*/.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working with a dynamic DOM here, and have called the jQuery UI datepicker
I have been working on a dynamic page http://www.euroworker.no/order and I want my lovely
Working with a dynamic page that 1. generates a list of files in the
The project I'm working on allows an end-user to modify CSS code to integrate
I am working on a dynamic bingo game that randomly generates the number in
I am working on a dynamic search view wherein clicking a button should add
I am working on a dynamic web app using Eclipse with Tomcat 7 and
We're working in a Dynamic Data project that will handle entities coming from two
I am working on a dynamic report where charts need to be recreated on
My company is working on a dynamic mobile app that updates the look and

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.