1
gambert
CSS
  • 2005/4/24 1:36

  • gambert

  • Just popping in

  • Posts: 13

  • Since: 2005/4/23


I'm using the "enterprise" module.

It makes use of enterprise.css as a style sheet, however after you "clone" the default template set, so that you can modify the enterprise template, it stops making use of the enterprise.css competley.

On top of that, the css file appears in the list of files for templates in the template manager with a "generate" button next to it and a space available for you to upload a new file.

When you click "generate" it says file does not exist, when you try and upload the original CSS file via theupload box it returns

Errors Returned While Uploading
MIME type not allowed: text/css

So now it looks c*ap because it wont make use of the CSS style sheet no matter what I do

2
jdseymour
Re: CSS

Check in the enterprise module folder in the modules directory. The CSS file should be located in that folder.

3
gambert
Re: CSS
  • 2005/4/24 9:37

  • gambert

  • Just popping in

  • Posts: 13

  • Since: 2005/4/23


No it is there in the modules folder, and it works fine as the "default" theme..

the problem lies in when you "clone" the template set so that you can make changes. it then drops the ability to use a css file.

I have got around this by pasting the CSS info into each and every template which was painful but at least its working.

4
rowdie
Re: CSS
  • 2005/4/24 10:50

  • rowdie

  • Just can't stay away

  • Posts: 846

  • Since: 2004/7/21


Another way around it is to put the enterprise.css file in the main enterprise folder, not in enterprise/templates/.

Then change the enterprise/footer.php file so that it locates the file in the main directory,
href="'.XOOPS_URL.'/modules/enterprise/enterprise.css" />';

Login

Who's Online

144 user(s) are online (100 user(s) are browsing Support Forums)


Members: 0


Guests: 144


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits