Ken

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 85 total)
  • Author
    Posts
  • in reply to: Featured Image Thumbnail displays full size in IE #135342
    Ken
    Participant

    Hey Barry, I cant really test a default theme on the live site. I will try with our dev environment if I find time. I have not seen a demo of the ECP with a featured image in a post so I was not able to see what size image would be brought in. I have noticed a bigger problem on my server that the “other” sizes are not being generated when I upload media.
    So that is probably the root cause of my issue and is likely a permissions issue that I need to fix.
    Can you confirm on your end what image is supposed to be brought in for the featured image on the pop-up? Is it “post-thumbnail”? How can we define what image is pulled in?
    The template file month/tooltip.php file shows
    <img src="[[=imageTooltipSrc]]" alt="[[=title]]" />
    But what defines that source? and how do we change it to ‘medium’ for instance?

    in reply to: Featured Image Thumbnail displays full size in IE #134115
    Ken
    Participant

    For now I have added in the CSS
    .tribe-events-tooltip .tribe-events-event-thumb {max-width: 296px;}

    Is there a better solution?

    in reply to: Update fail #132360
    Ken
    Participant

    Hey Leah,
    I guess that it is just misleading when you see something like this:
    http://i60.tinypic.com/346x98w.png
    I expect both the “files”(the files) and the “data” (info in database) to be removed. Hence doing the manual FTP of files guarantees that you are not messing with database.

    in reply to: Add custom fields to tooltip in month view #129838
    Ken
    Participant

    Jesse, I got it worked out.
    These changes go inside the month/single-event.php I put mine at lines 23-25

    $additional_data = array();
    $somestringname = tribe_get_custom_field('Your Custom Field'); 
    $additional_data['bracketname'] = $somestringname;

    Then at line 194 change the “data-tribejson” part to include additional_data like this:
    data-tribejson='<?php echo tribe_events_template_data( $post, $additional_data );

    Then in the month/tooltip.php add your brackets and the name you chose [[=bracketname]]
    I hope that helps and makes sense.

    in reply to: Update fail #129739
    Ken
    Participant

    Hey Leah, So when it says that it will delete data is that not the case when removing ECP? It will leave the data intact and only remove the files? I didn’t trust it which is why I did it manually.

    in reply to: Add custom fields to tooltip in month view #129630
    Ken
    Participant

    Ah ok…I didn’t check that against other zones, I thought it was just too easy.
    So back to the drawing board for me :0)

    So I’m back to the question how do I create that template variable?
    Where does the code go so that [[=zone]] will work when I place it in tooltip.php?
    I’m just not getting it.

    in reply to: Add custom fields to tooltip in month view #129548
    Ken
    Participant

    Hi Barry,
    After looking at it fresh this morning, I think I was overthinking things yesterday.
    The field I wanted to add is called “Time Zone” in the ECP settings. So I was trying to figure out how to add in this string with the [[ myString ]] samples that were in the single-event.php file. By doing something like this:

    $additional_data = array();
    $zone = tribe_get_custom_field('Time Zone'); 
    $additional_data['zone'] = $zone;
    echo tribe_events_template_data( $post, $additional_data );

    Then I realized I could just add in the php I needed to the tooltip.php file where I wanted the data to appear.
    So I added this in:

    <?php
    $zone = tribe_get_custom_field('Time Zone');
    if(!empty($zone)) {
    echo ' (' . $zone . ')' ;
    ?>

    So I have it working now. But I am still not clear on the bracket code and how to get that to work instead. Am I doing it correctly? Just because it works doesn’t mean I am doing it correctly.

    in reply to: Add custom fields to tooltip in month view #129265
    Ken
    Participant

    Not Really.
    I have already looked at both of those php files before posting here. I do not see how to go about updating them for the custom fields. I have already placed them in my corresponding theme folder.

    in reply to: Update fail #129084
    Ken
    Participant

    I was having similar issues stating the download failed. But my license was valid and the download link when typed in manually worked. I resorted to deleting the pro folder via FTP (since deleting via WP stated with would delete data) and re-uploading via WP.

    Ken
    Participant

    I have updated some child theme files and cleared out a few functions. Flushed some permalinks and it seems like everything is working correctly for now. Not sure if it was a glitch with the theme or not.

    Ken
    Participant

    Nice to know that even you guys experience glitches now and then 🙂

    The URL structure is the same as your first reference:
    http://www.mysite.com/training-events/2014-04

    Ken
    Participant

    This reply is private.

    Ken
    Participant

    This reply is private.

    Ken
    Participant

    This reply is private.

    Ken
    Participant

    I was able to get it to function properly with Gravity Forms (1.8.5) disabled. But I can’t keep it turned off. For now disabling the search function in the bar is my work around.

Viewing 15 posts - 1 through 15 (of 85 total)