Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Adding an Event Banner

Adding an Event Banner 13 years 1 month ago #15283

  • jjermyn
  • jjermyn's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 12
  • Thank you received: 0
Hi,

I was wondering if it is possible to upload an image to display on top of the event listing. I would like to add our company banner above the listed events, is this possible? If so, how can I accomplish this? Thanks!

-Jenni

Please Log in or Create an account to join the conversation.

Adding an Event Banner 13 years 1 month ago #15308

  • dthadmin
  • dthadmin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 5470
  • Thank you received: 3
You can add it in this file:

/components/com_dtregister/views/event/tmpl/list.php

Search for:
<div style="clear:both; margin:0 0 10px 0" class="event_message"><?php echo JText::_( 'DT_EVENT_LIST_INSTRUCTIONS' );?></div>

This is the display of the text that shows above the event list. Load HTML for your banner above or below this.

Please Log in or Create an account to join the conversation.

Adding an Event Banner 13 years 1 month ago #15318

  • jjermyn
  • jjermyn's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 12
  • Thank you received: 0
Thanks so much for your reply! I was able to successfully place my banner on my event list page thanks to you! I was wondering how can I center my banner?

<IMG align="center"> doesn't seem to be working for me, is there another method I can use? Also, what pixel size would you recommend my banner so that it fits across the entire top of my page, you can see what I mean by going here:

http://www.testpromenet.com/index.php/events

Any help would be greatly appreciated, thanks!!


-Jenni

Please Log in or Create an account to join the conversation.

Adding an Event Banner 13 years 1 month ago #15320

  • dthadmin
  • dthadmin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 5470
  • Thank you received: 3
No, that won't center anything for you. The easiest way would be to put <center> </center> around your image tag. You could also do this:
<img src="filename.jpg" style="text-align:center">

Regarding size... that will depend on the amount of space your template gives for the content area.

Please Log in or Create an account to join the conversation.

Adding an Event Banner 13 years 1 month ago #15331

  • jjermyn
  • jjermyn's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 12
  • Thank you received: 0
Thank you! Works perfectly!! :D

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.169 seconds