| View previous topic :: View next topic |
| Author |
Message |
vociti
Joined: 10 Jan 2007 Posts: 11
|
Posted: Thu Feb 01, 2007 8:17 pm Post subject: Left Align vs Center Align |
|
|
When you click on an event in my calendar to view details, it centers the image and any text that I used within event_view.php. What file do I need to modify so it aligns everything to the left, not the center? You can see a screen shot of what I mean at this link.
http://www.vociti.com/calendarimage/img.jpg
Thanks!
Vociti |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Sat Feb 03, 2007 4:19 pm Post subject: |
|
|
Hi,
It looks like everything is aligned to the left. It just has the left margin. Are you looking to remove the left margin? |
|
| Back to top |
|
 |
vociti
Joined: 10 Jan 2007 Posts: 11
|
Posted: Sat Feb 10, 2007 8:18 am Post subject: yes |
|
|
Hi Ian,
Forgot I posted this one. Yes, I would like to do 2 things with event view.
1) Get rid of the left margin so the text and image are to the left.
2) How do I control the size of the event view template? Is there a table width I can specify in some file?
Thanks for everything. |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Sat Feb 10, 2007 8:15 pm Post subject: |
|
|
Hi,
1) Edit include/templates/event_view_tpl.php and around line 217, change
$_cal_tmpl->section_row(_NOTES_, $_cal_event->format_notes());
.. to ..
$_cal_tmpl->new_row();
echo($_cal_event->format_notes());
$_cal_tmpl->end_orw();
2) There are the 2 custom settings EVENT_POPUP_H and EVENT_POPUP_W to control the height and width of the popup. You may enter these in Admin -> Site Settings -> Custom. For instance under Name enter EVENT_POPUP_H and under value enter 500
Let me know if you have any questions. |
|
| Back to top |
|
 |
|