wort

Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • in reply to: Assign different template to community add-on. #751152
    wort
    Participant

    I’d prefer that only the community add-on form pages use the new template, not the calendar.

    in reply to: Assign different template to community add-on. #751100
    wort
    Participant

    Almost there… the community form shows WITHIN our default WordPress template. The form is not compatible with our default template’s sidebar, so I need to create a new template without a sidebar for the community form to display within. Are you writing that the themer’s guide has the necessary information for this?

    in reply to: Assign different template to community add-on. #750962
    wort
    Participant

    Doesn’t seem to be anything in the themer’s guide about changing the template used for the community related screens. I looked at edit-event, but don’t see where its using a particular template. I’ll need to setup page-sometribename.php and have the community add-on pull from that.

    wort
    Participant

    Hi Daniel, here is how I did it:

    function add_calendar_venue_columns($columns) {
    	return array_merge($columns,
    	array(
    		'_VenueAddress' => __('Address'),
    		'_VenueCity' => __('City'),
    		'_VenueState' =>__('State'),
    		'_VenueZip' =>__('Zip'),
    		'_VenuePhone' =>__('Phone'),
    		'_VenueURL' =>__('URL')));
    }
    add_filter('manage_tribe_venue_posts_columns' , 'add_calendar_venue_columns');
    
    add_action( 'manage_tribe_venue_posts_custom_column', 'calendar_venue_columns_content', 10, 2 );
    function calendar_venue_columns_content( $column_name, $post_id ) {
    	if ($column_name == '_VenueAddress') {
    		echo = get_post_meta($post_id, '_VenueAddress', true);
    	}
    	if ($column_name == '_VenueCity') {
    		echo get_post_meta($post_id, '_VenueCity', true);
    	}
    	if ($column_name == '_VenueState') {
    		echo get_post_meta($post_id, '_VenueState', true);
    	}
    	if ($column_name == '_VenueZip') {
    		echo get_post_meta($post_id, '_VenueZip', true);
    	}
    	if ($column_name == '_VenuePhone') {
    		echo get_post_meta($post_id, '_VenuePhone', true);
    	}
    	if ($column_name == '_VenueURL') {
    		echo get_post_meta($post_id, '_VenueURL', true);
    	}
    }
    

    Put that in your theme functions.php file. Hope that helps!
    ~Miriam at WORT

    in reply to: Help us help you: improving the forum #26052
    wort
    Participant

    Please fixenhance the search results!
    Search results seem throttled — https://theeventscalendar.com/?s=category&x=0&y=0 only brings back a single page; I know there are other threads (Google searching the forum digs them up, but with strange results).

    It would be extremely useful to differentiate between visited and unvisited links here. When you’re digging through the forums hunting down an issue, it’s easy to hit the same post, not immediately seeing that you’ve already been down that path.

    Search results should also show the post date and number of replies. If you want to get fancy, you could date of most recent reply.

    Thanks for asking! –Miriam

    wort
    Participant

    I am having the same problem. When I click on an event, the URL I am sent to is: http://www.wortfm.org/?tribe_events=mad-toast-live-music-talk-variety&eventDate=2012-10-23%2F
    If I simply remove the %2F from the end of the URL, the event info is there.
    What is tacking on the %2F? We do indeed use default permalinks, and may not be able to switch to post style.

    in reply to: Make a specific Calendar catagory private #23828
    wort
    Participant

    Great idea, and something our people have been requesting. We’ve got it working for the calendar, but not the list, so far. Thank you!

Viewing 7 posts - 1 through 7 (of 7 total)