ATutor

Learning Management Tools







Pages:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


Custom stylesheet in export content


  • 2005-05-20 06:54:53

    Custom stylesheet in export content

    First, sorry for my poor english.

    I'm creating a course and i need to use a custom stylesheet to apply styles to the content, but i don't need/want to modificate the styles of Atutor. What i want is to use a "style" (external style, of course) only for the content of the course.

    That style must be available inside Atutor and when exporting the content.

    I create the content adding the html code, but this is only the code for the BODY, and i can not use LINK tags to apply a stylesheet if i want that the code be XHTML valid. It works, but it isn't the correct way. In the exported content (and inside atutot), the link is in the body section, not in the head section.

    How can i do that? ...if it is posible.

    One more question. I use images added from css (bullets for lists), but that images are not exported. Atutor only export images that are linked from the course content, not from the stylesheet. Is there any way to export images used in the stylesheets?.

    Thanks... if you understood me ;-)

  • 2005-05-20 07:22:16

    .

    If you are asking for help, provide lots of detail so problems can be reproduced.

    Things to describe:
    operating system -
    version of ATutor -
    versions of php -
    version of mysq l -
    webserver & version -
    copies of error messages -
    changes to default settings -
    web browser being used -
    and anything else relevant -
    Ah, in the Atutor How to i read:

    [i] \"Style Sheets called from other sources
    Finally, you can store all your styles in a separate file, and call that file into each of your HTML documents using the link element. You might link to an external stylesheet out on the Web, for example a stylesheet on your school or company Web site, or you might link to a stylesheet in your course directory. The example below shows the HTML you would use to link to a stylesheet in your course directory.

    link rel=\"stylesheet\" href=\"stylesheet.css\" type=\"text/css\"

    Note that when a course stylesheet is created using the ATutor Course StyleSheet Editor, a file is inserted in the course directory called stylesheet.css. You may want to view it as an example for creating your own custom styles.\"[/i]


    This sounds like what i want. But....perhaps iam blind ... but i can not find the \"ATutor Course StyleSheet Editor\".

    Thanks.

  • 2005-05-20 07:22:40

    .

    Ah, in the Atutor How to i read:

    [i] \"Style Sheets called from other sources
    Finally, you can store all your styles in a separate file, and call that file into each of your HTML documents using the link element. You might link to an external stylesheet out on the Web, for example a stylesheet on your school or company Web site, or you might link to a stylesheet in your course directory. The example below shows the HTML you would use to link to a stylesheet in your course directory.

    link rel=\"stylesheet\" href=\"stylesheet.css\" type=\"text/css\"

    Note that when a course stylesheet is created using the ATutor Course StyleSheet Editor, a file is inserted in the course directory called stylesheet.css. You may want to view it as an example for creating your own custom styles.\"[/i]


    This sounds like what i want. But....perhaps iam blind ... but i can not find the \"ATutor Course StyleSheet Editor\".

    Thanks.

  • 2005-05-20 08:27:02

    No more styles editor

    The Stylesheet Editor was removed serveral versions ago. It has been replaced by themes.

    [reply][b]In reply to:[/b]
    First, sorry for my poor english.

    I'm creating a course and i need to use a custom stylesheet to apply styles to the content, but i don't need/want to modificate the styles of Atutor. What i want...
    [op]forums/view.php?fid=7;pid=4568;page=1#4568[/op][/reply]