Erin
I'am italian and my inglish isn't good;
but I'am searching one way for printing a record of database whitout internet esplorer mask.
Thanks
If I understand you correctly you want to print a single database record from the browser without all that other brother stuff? That could be achieved using a special CSS style sheet for printing. I will have a closer look at the problem.
There's also an Italian forum if you prefer using your mother tongue: http://moodle.org/course/view.php?id=23
Cheers,
Frank
div#header, div.navbar, div#footer, div.tabtree, div.paging {
display: none !important;
}
The easiest and most flexible way to apply the CSS without actually changing any CSS file of your Moodle installation is using the Firefox extension "Stylish" (http://docs.moodle.org/en/Themes_FAQ#Stylish).
See Stylish for screenshots how it should look.
hth
Frank
I used the above code in the CSS section,and enabled the RSS as well to test the prinitng option of the Database record.
I am not sure if its due to these actions, how ever, I cannot access the tabs in the database ativity. Only the Database list viw is displayed.
Plese let me know ho could I get the tabs back on.
You have to make sure the CSS is only applied to the print view of the page, see http://docs.moodle.org/dev/Print_style for details.
hth
Frank
Dear Frnk,
I may have made a mistake. I have applied some CSS setting to remove unnecessary elemets from the view. I have simply added the CSS to the List view Template.
Now, the issues is How would I break in to this. I mean to the CSS window and adjust it. Is there a place, I mean a databasefield that stores the CSS code inside the moodle database.
Try entering the URL directly into your browser's address field, e.g.
http://localhost/moodle/mod/data/templates.php?d=2&mode=listtemplate
(You probably will have to change the id in the URL to match the id of your database.)
hth
Frank