문제

I am trying to accomplish the following. I need to use Drupal 6 as a project requirement, but I want to use it with my own HTML and CSS stylesheets for each node/view/panel etc.

The problem is, whatever the theme, I always found that Drupal applies to my HTML content both my CSS stylesheets and the CSS related to the theme chosen. I have also tried, without success, using the stylestripper module (installed in sites/all/modules). No matter what I do, additional CSS stylesheets are applied to my pages, completely destroying my layout.

What is the proper way to achieve this? Why stylestripper does not work at all? Is there a completely blank theme available? I have tried basic, mothership, zen etc, but I always see additional CSS stylesheets applied to my pages.

This is driving me crazy, Drupal was chosen by someone else for its flexibility. Thank you in advance.

도움이 되었습니까?

해결책

응용 프로그램에 대한 단위 테스트를 작성하려고 가정합니다.

INBuilt MS-Test를 사용하는 경우 테스트 메뉴에서 테스트를 디버깅 할 수 있습니다.

테스트 -> 실행 -> .... 실행중인 옵션 ...

테스트 결과 창에서 디버그 옵션을 사용하여 모든 테스트 및 디버그를 볼 수 있습니다.

NUNIT를 사용하는 경우 새 C # 콘솔 응용 프로그램을 만들고 테스트 프로젝트에 대한 참조를 추가 한 다음이 콘솔 ApplicaIton에서 테스트 프로젝트의 클래스 및 메소드를 호출하고 디버그를 디버그해야합니다.

다른 팁

If you define CSS and/or JavaScript files in your theme's .info file using filenames that match the core files then you override them, and if your overrides don't exist then they're not included.

See the .info file for the Tao theme for an example

I don't this will work but i think just remove the following line in your theme's page.tpl.php

 <?php echo $styles ?>

and then drupal will not any of its own styles..
this may be work for you.


Nitz

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top