+ Post New Thread
Results 1 to 13 of 13
Home Access Plus+ Thread, Style Sheet not being implemented. in Projects:; Hello... We have just installed our HAP and it seems like its not picking up our CSS. It just looks ...
  1. #1
    Dan_ATR's Avatar
    Join Date
    Oct 2011
    Location
    Bournemouth
    Posts
    74
    Thank Post
    5
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Style Sheet not being implemented.

    Hello...

    We have just installed our HAP and it seems like its not picking up our CSS. It just looks blockish.

    Please Advise..

  2. #2
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,469
    Thank Post
    37
    Thanked 483 Times in 415 Posts
    Rep Power
    109
    Any screenshot?

    This is usually down to a permissions issue

  3. #3
    Dan_ATR's Avatar
    Join Date
    Oct 2011
    Location
    Bournemouth
    Posts
    74
    Thank Post
    5
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Here you go... Attachment 12118

  4. #4
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,469
    Thank Post
    37
    Thanked 483 Times in 415 Posts
    Rep Power
    109
    Ok, you need to now update the master.masterpage file, to reinsert your school's custom CSS

  5. #5
    Dan_ATR's Avatar
    Join Date
    Oct 2011
    Location
    Bournemouth
    Posts
    74
    Thank Post
    5
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    From :
    <%@ Master Language="C#" %>
    <%@ Register Assembly="HAP.Web" Namespace="HAP.Web.Controls" TagPrefix="hap" %>
    <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    <html xmlns="http://www.w3.org/1999/xhtml">
    <head id="Head1" runat="server">
    <title>Home Access Plus</title>
    <link rel="shortcut icon" href="~/favicon.ico" />
    <hap:jQuery runat="server" />
    <link href="~/style/jquery-ui.css" rel="stylesheet" type="text/css" />
    <link href="~/style/basestyle.css" rel="stylesheet" type="text/css" />
    <link rel="icon" type="image/vnd.microsoft.icon" href="~/favicon.ico" />
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
    <hap:HAPTag runat="server" />
    <asp:ContentPlaceHolder id="head" runat="server" />
    </head>
    <body>
    <form runat="server">
    <div id="hapContent">
    <asp:ToolkitScriptManager runat="server" EnablePartialRendering="true" />
    <asp:LoginView runat="server">
    <LoggedInTemplate>
    <div id="usertop">Logged in as <asp:LoginName runat="server" /> | <asp:LoginStatus runat="server" /></div>
    </LoggedInTemplate>
    </asp:LoginView>
    <div id="baseContent">
    <asp:ContentPlaceHolder id="body" runat="server" />
    </div>
    </div>
    </form>
    </body>
    </html>
    To:
    <%@ Master Language="C#" %>
    <%@ Register Assembly="HAP.Web" Namespace="HAP.Web.Controls" TagPrefix="hap" %>
    <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    <html xmlns="http://www.w3.org/1999/xhtml">
    <head id="Head1" runat="server">
    <title>Home Access Plus</title>
    <link rel="shortcut icon" href="~/favicon.ico" />
    <hap:jQuery runat="server" />
    <link href="~/style/jquery-ui.css" rel="stylesheet" type="text/css" />
    <link href="~/style/MyCustomCSS.css" rel="stylesheet" type="text/css" />
    <link rel="icon" type="image/vnd.microsoft.icon" href="~/favicon.ico" />
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
    <hap:HAPTag runat="server" />
    <asp:ContentPlaceHolder id="head" runat="server" />
    </head>
    <body>
    <form runat="server">
    <div id="hapContent">
    <asp:ToolkitScriptManager runat="server" EnablePartialRendering="true" />
    <asp:LoginView runat="server">
    <LoggedInTemplate>
    <div id="usertop">Logged in as <asp:LoginName runat="server" /> | <asp:LoginStatus runat="server" /></div>
    </LoggedInTemplate>
    </asp:LoginView>
    <div id="baseContent">
    <asp:ContentPlaceHolder id="body" runat="server" />
    </div>
    </div>
    </form>
    </body>
    </html>
    ??

  6. #6
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,469
    Thank Post
    37
    Thanked 483 Times in 415 Posts
    Rep Power
    109
    Can you explain to me what your are trying to do?

    HAP+ is moving to using a Microsoft Metro Styled Interface, i.e. blocks.

  7. #7
    Dan_ATR's Avatar
    Join Date
    Oct 2011
    Location
    Bournemouth
    Posts
    74
    Thank Post
    5
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Yer I read about that. Looks ok but Im now remaking a style sheet.

    Now that I know what css to modify, (after naming the original to something else) I have starting on moddifying the looks. But this may take some time. Do you have any pre done templates by any chance?

  8. #8
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,469
    Thank Post
    37
    Thanked 483 Times in 415 Posts
    Rep Power
    109
    To do what, move back to the old way it was styled? Nope.

  9. #9
    Dan_ATR's Avatar
    Join Date
    Oct 2011
    Location
    Bournemouth
    Posts
    74
    Thank Post
    5
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    ??? No to a way that sutes our schools new joomla website.

  10. #10
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,469
    Thank Post
    37
    Thanked 483 Times in 415 Posts
    Rep Power
    109
    Edit the master.masterpage file, adding in your school's HTML Layout

    Add a new CSS file that has your school's CSS in it

    Add that CSS reference to the masterpage

  11. #11
    Dan_ATR's Avatar
    Join Date
    Oct 2011
    Location
    Bournemouth
    Posts
    74
    Thank Post
    5
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    So what you mean is.... Get the Sites structure, place it around the existing "master.masterpage" contents. Then Add in your schools CSS etc... and what ever to it too...

  12. #12
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,469
    Thank Post
    37
    Thanked 483 Times in 415 Posts
    Rep Power
    109
    Yep that's it. That's what I do.

    The things you need to leave in place are anything with runat="server" in.

    If you have a look at www.crickhs.org/hap, you will see what I mean

  13. #13
    Dan_ATR's Avatar
    Join Date
    Oct 2011
    Location
    Bournemouth
    Posts
    74
    Thank Post
    5
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    oooo.. Very nice

SHARE:
+ Post New Thread

Similar Threads

  1. %Userprofile% Variable not being set.
    By drjturner in forum Windows
    Replies: 16
    Last Post: 23rd November 2006, 09:07 PM
  2. GPO's not being applied
    By pooley in forum Windows
    Replies: 7
    Last Post: 9th November 2006, 10:52 AM
  3. Not being around
    By Dos_Box in forum General EduGeek News/Announcements
    Replies: 7
    Last Post: 27th October 2006, 09:44 PM
  4. Group Policy not being applied
    By faza in forum Windows
    Replies: 23
    Last Post: 7th July 2006, 04:19 PM
  5. Office error: This file could not be found
    By webman in forum Windows
    Replies: 2
    Last Post: 17th May 2006, 01:47 PM

Thread Information

Users Browsing this Thread

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

Posting Permissions

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