Hi, I am testing your ticketing, it is great. while there is a little display problem When the drupal theme style has this define
* {
margin:0;
padding:0;
}
then the ticket block with the ul li tags will lost the default margin and padding style.
So I suggest that add a main css selector with the ticket display block and let the user define the margin and padding style themselves.
Here is my change:
In file ticket.pages.inc
search:
drupal_add_css(drupal_get_path('module', 'ticket').'/ticket.css');
$output = '<ul>';change to:
drupal_add_css(drupal_get_path('module', 'ticket').'/ticket.css');
$output = '<ul id = "ticket">';
In ticket.css
At the end add
#ticket ul{
margin-left:0 0 0 15px;
padding:0;
}
#ticket ul li{
margin:3px 0 3px 0;
padding:0;
}
Also I add little css change of my custom theme style file to display as I want
.ticket_desc {
margin-left:-15px;
}
-------------------------
ty for your great work.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | ticketing-2008-11-03.zip | 15.19 KB | wqmeng |
Comments
Comment #1
wqmeng commentedSorry a typo mistake in above comment:
In ticket.css
At the end add
ty
Comment #2
wqmeng commentedFinally I change to this:
In file ticket.pages.inc
Change function theme_ticket_info($t_infos) to this:
--------------------
In file ticket.css
Add the following style at the end:
---------------------
and the tickets block looks right now, tested on IE6 7 8beta, Firefox3.03, Opera9.50 beta, and Safari3.1.2.
ty
Comment #3
roczei commentedWe modified the code but not exact way what you suggested, please check the code that it is good for you or not. There is a new rc1 release and this content this too.
Comment #4
mr.york commented