sohum
Forum Replies Created
-
Hi Chris, I wasn’t.
The site will allow for readers to submit events and the WYSIWYG is disabled for this reason.
I also didn’t want to rely on reader to include the break at the appropriate point. Could foresee readers wanting their event to standout, for example, and them not adding a break which would affect the site layout.
My solution was to add a limited height to the div displaying the events, and then use css to control the overflow. Nasty hack…
Just to update my message = I discovered that images uploaded through the Events Manager default “Submit an Event” page showed. If added through the WP-admin using the upload media link, it does not show.
Now to find out why #_EVENTEXCERPT shows ALL of the #_EVENTNOTES instead of just 40 or so words… 🙂
Thank again Debsch!
Just to add an update if this helps anyone.
I discovered that when adding images via the wp-admin interface, images do not show. However, events created through the events manager “submit an event” page, seemed to show the image without a problem.
Hi,
I’ve been searching the forum looking for a solution to have the Event image display in my template. On my homepage template, I’ve followed SalsaTrips advice, which worked! Yay.
However, the image still doesn’t show. I’ve tried a variety of tactics using #_EVENTIMAGE{x,y} #_EVENTIMAGE and now #_EVENTIMAGEURL (SalsaTrips method).
However, the only way the image shows is if I call #_EVENTNOTE. But the problem is I have all the copy and the full sized image. I’m needing a smaller image and not all the copy.
Any help on what I’m missing would be great.
The site is question is here: http://abbyravera.com/romeing/#events
And the code I’m using to display the event is below:
[Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]
Thank you so much for your code Debsch! This saved me a lot of time and headaches.
One question though, it works like a charm, the only thing I can’t get to work is the #_EVENTIMAGE or #_EVENTIMAGE{x,y} placeholders. I’ve tried both without luck.
These show without a problem on the single event posts, but not elsewhere such as the homepage. Any idea how to get them working?
Hi agelonwl,
Thanks for your help!
I tried to give your advice a shot, but think perhaps I placed the suggested code incorrectly because I’m still not seeing individual category colors showing on the small calendar…
I’m also confused: should this not happen automatically (if you’re asked to enter category colors during the category creation stage, shouldn’t this show automatically)?
The code for my calendar-small.php file looks like this:
[Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]
Hoping there’s something really small and silly that I’m missing 🙂
Thanks again for your help!
Hi Marcus,
I posted this question elsewhere, but am hoping by posting here, it will get a response?
I’ve followed your instructions, as best I could, templates/templates/calendar-small.php, I’ve edited the following copy:
<a href="<?php echo esc_url($cell_data['link']); ?>" title="<?php echo esc_attr($cell_data['link_title']); ?>" style="color:#_CATEGORYCOLOR;"><?php echo date('j',$cell_data['date']); ?></a>To read:
<a href="<?php echo esc_url($cell_data['link']); ?>" title="<?php echo esc_attr($cell_data['link_title']); ?>" style="color:#_CATEGORYCOLOR;"><?php echo date('j',$cell_data['date']); ?></a>But so far can still only see orange as color displayed for events, despite having 3 catogries with different categories and the events listed belonging exclusively to one of the 3 categories.
My site is: http://abbyravera.com/romeing/ and you can see the small calendar displayed towards the top of the page.
Thank you so much for your help. hoping you can help!