Jeff Mann
Forum Replies Created
-
And close, yet again. I found that onclick, it would expand the correct bio, but jump to the top of the page. This was the final code that I used that seemed to work properly!
<a href="#-<?php echo $entry->getId() ?>" onclick="$('#hidden-<?php echo $entry->getId() ?>').toggle('fast');">Read <?php echo $entry->getFirstName() ?>'s Bio</a> <div id="hidden-<?php echo $entry->getId() ?>" style="display: none;"><?php echo $entry->getBio() ?></div>
Thank you!
if you’re speaking of the double lines appearing at the top of dates 15-19 of Nov, it appears you have events trying to appear that aren’t. I’m a noob coder, but from what I see, for example, Nov 16, “N.C. Museum of Art’s Fall Film Series” and “November Events at the N.C. Museum of History” are in the code and trying to appear, but coming up blank. The border is still appearing. Other than that, not a good person to ask.
No. you?
Here is the code I used based on @arpitap. Hopefully this helps you.
<div id='event_<?php echo $eventId; ?>' class="tec-event <?php foreach((get_the_category()) as $category) { echo 'cat_' . $category->cat_name . ' '; } ?> "> <?php foreach((get_the_category()) as $category) { if($category->cat_name == 'Academic Events') { ?> <a href="<?php the_permalink(); ?>" style="color:#ff0000;"><?php the_title(); ?></a> <? } else if($category->cat_name == 'Art Events') { ?> <a href="<?php the_permalink(); ?>" style="color:#00cc1f;"><?php the_title(); ?></a> <? } else if($category->cat_name == 'Athletic Events') { ?> <a href="<?php the_permalink(); ?>" style="color:#ffaa00;"><?php the_title(); ?></a> <? } else if($category->cat_name == 'Corporate Events') { ?> <a href="<?php the_permalink(); ?>" style="color:#1100ff;"><?php the_title(); ?></a> <? } else if($category->cat_name == 'Alumni Events') { ?> <a href="<?php the_permalink(); ?>" style="color:#ea00ff;"><?php the_title(); ?></a> <? } } ?> <div id='tooltip_<?php echo $eventId; ?>' class="tec-tooltip" style="display:none;">
Forum: Plugins
In reply to: [The Events Calendar] [Plugin: The Events Calendar] How do you show the time?For example, the code in the list.php is:
<tr> <td class="tec-event-meta-desc"><?php _e('Start:', $spEvents->pluginDomain) ?></td> <td class="tec-event-meta-value"><?php echo the_event_start_date(); ?></td> </tr> <tr> <td class="tec-event-meta-desc"><?php _e('End:', $spEvents->pluginDomain) ?></td> <td class="tec-event-meta-value"><?php echo the_event_end_date(); ?></td> </tr>
This will show the date as:
Start: November 13, 2010
End: November 13, 2010In the readme.txt, the template tags are as such:
**the_event_start_date( $id, $showtime, $dateFormat)**
**the_event_end_date( $id, $showtime, $dateFormat)**I’ve tried a few variations, but I’m a bit of a php noob and haven’t quite made it work.
Any help?
Fantastic! This did the trick. Works great now. Thank you!
Forum: Plugins
In reply to: [Connections Business Directory] [Plugin: Connections] Can't update existingThanks @complainer. I have the Connections plugin working and think it’s a very useful tool. I’m using 5 separate customized templates to list staff, board, directors, partners and sponsors. The pictures were displaying by default, just depending on which template I used.
THE ISSUE: When I try to change the category assigned to a profile and click update, I receive the ERROR message. When I change some of the other details, it updates properly.
I’m using WP 3.1, PHP 5.2, MySQL 5.1, and Connections 0.7.0.4.
@shazahm1, any help?
Forum: Plugins
In reply to: [Connections Business Directory] [Plugin: Connections] Can't update existingI’m having the same problem. I’m receiving this message.
“ERROR: Entry could not be updated.”
How do install the dev version without losing the contacts, category ids or templates?
Thanks arpitap! This did the trick! Much appreciated!!!
Forum: Plugins
In reply to: [Plugin: The Events Calendar] Call for sidebar calendar?Hey isocreative, I too would love to know how you called the gridview of The Events Calendar in your sidebar. I’ve been dying to figure this out and keep breaking my site in several different attempts.
Great! Thank you Arpita!
This is what I’m trying to do.
Just following up. Would you be able to to provide instructions to solve this? I’d be greatly appreciative. Thank you!
yes, that would be great! was this done in your events.css?
Amazing Event Calendar Plugin.
Would love to know how to change the coloring for each category.
I’m aware the #tec-content in events.css is customizable, but would love to assign different colors for each sub-event category.