limit text in calendar popups

Home Forums Calendar Products Events Calendar PRO limit text in calendar popups

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #948114
    oniregoc
    Participant

    Hello,

    In my theme child, how can I limit the text to be only the text before and without the more tag in the full calendar view popup ?

    Thanks

    #948117
    oniregoc
    Participant

    Hello,

    In that tread I found a solution to remove completely the popups which is not what I want but may be a started point to modified code to display only the text before the more tag :

    Fix suggested by support to disable event popups in calendar view no longer work

    any help ?

    #948194
    Geoff
    Member

    Hi there Bali–welcome back to the forums. πŸ™‚

    You can override theΒ tooltip.php file to get what you’re looking for here. That file is located in /plugins/the-events-calendar/views/month/tooltip.php.

    Cheers!
    Geoff

    #948272
    oniregoc
    Participant

    Hello

    Thanks but :

    As I want to modify excerpt only in events popups and not for all the site and following this :

    http://codex.wordpress.org/Function_Reference/the_content

    I tried to replace in my child theme in tooltip.php :

    <p class=”entry-summary description”>[[=raw excerpt]]</p>

    by this

    <p class=”entry-summary description”>[[=raw content]]</p>

    and it doesn’t work… πŸ™ get : [object window]

    #948274
    oniregoc
    Participant

    mmmm…was too easy :

    <p class="entry-summary description"><?php the_content(); ?></p>

    #948275
    Geoff
    Member

    Hi Bali, sorry my first suggestion didn’t help out.

    To be honest, I’m having a little trouble following what it is you are looking to do. Are you trying to increase the length of the excerpt? Are you trying to replace the excerpt with the full content? Maybe you can help me get a better idea of what it is you need and I’ll do my best to point you in the right direction. πŸ™‚

    Thanks!
    Geoff

    #948277
    oniregoc
    Participant

    No it’s ok Geoff…I finaly find the way. In my events description I use a read more tag. The purpose was to remove “the read more” tag from the pop up because I think that user’s because for final user seeing “read more” in the popup then clicking on events and getting one more time “read more” is too much confusing.

    As I said the trick was to replace excerpt by the_content… easy as I said. πŸ˜‰

    Now I have to customize css because the popup is really using too big font.

    Thanks for your help

    #948300
    oniregoc
    Participant

    One more problem on this the CSS do not apply

    I already try to change it in tribe-events.css but look like using the_content css is override by some other css than the one working for [[=raw excerpt]]

    p.entry-summary description {
    	padding: 0;
    	font-size: 6px;
    	line-height: 1.5;
    }

    One more thing the pop up is cover by the title at the top of the calendar:

    change tribe-events-tooltip to this but doesn’t work either

    .tribe-events-tooltip{
    	z-index:1000000 !important;
    }

    any help ?… one more time ? πŸ˜‰ thanks!

    #948567
    Geoff
    Member

    Awesome, thanks for following up Bali! Looks like we were replying right on top of each other on Friday, so I’m glad you were able to find an easy fix. πŸ™‚

    Yeah, it’s very possible that your theme’s CSS is overriding the calendar’s CSS. You can try using this:

    .tribe-events-tooltip .tribe-events-event-body {
    /* Your styles */
    }

    I would try placing that in your theme’s style.css file. It’s very possible you will need to mark your attributes withΒ !important if the styles aren’t cascading well with your theme.

    I wonder if the adding more specificity to the tooltip CSS will allow you to set the z-index:

    .tribe-events-calendar .tribe-events-tooltip {
    z-index:Β 10000 !important;
    }

    I’m going to go ahead and close this thread since it seems we’ve covered the original question–but please feel free to start a new thread if you other questions and we’d be happy to help you out there. πŸ™‚

    Cheers!
    Geoff

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘limit text in calendar popups’ is closed to new replies.