Results 1 to 3 of 3

Thread: Custom css files

  1. #1
    prajeesh is offline Senior Member
    Join Date
    Jun 2009
    Posts
    64

    Default Custom css files

    Hi

    I need to load a custom css file . I tried the following code in /custom/modules/<module>/metadata/editviewdefs.php


    'includes' =>
    array (

    0 =>
    array (
    'file' => 'modules/Opportunities/Opportunities.css',
    ),
    ),

    but it does not work. Please guide me.

    Thank a lot,

    Prajeesh.

  2. #2
    eggsurplus's Avatar
    eggsurplus is offline Sugar Community Member
    Join Date
    Dec 2005
    Location
    Minnesota
    Posts
    2,343

    Default Re: Custom css files

    Try looking at overriding the views/view.edit.php for that module instead and add the css include in there. I'm not sure on the code needed to do that but I'd start by checking the forums here using a search term like "view.edit.php".

  3. #3
    prajeesh is offline Senior Member
    Join Date
    Jun 2009
    Posts
    64

    Default Re: Custom css files

    HI
    I solved the problem by putting the styles in the controller.php

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. .html files in the custom directory?
    By erica26 in forum Developer Help
    Replies: 3
    Last Post: 2009-04-03, 12:38 AM
  2. How do you determine what can be overridden with custom files
    By josh.sweeney in forum Developer Help
    Replies: 4
    Last Post: 2009-01-12, 08:51 PM
  3. Custom Bean Files
    By genius786 in forum Developer Help
    Replies: 1
    Last Post: 2008-11-14, 09:20 AM
  4. Where to put the require_once for custom include files?
    By ingo.jaeckel in forum Developer Help
    Replies: 6
    Last Post: 2008-03-17, 08:57 AM
  5. Custom Files
    By sacramentojoe in forum Help
    Replies: 0
    Last Post: 2006-05-12, 02:45 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •