Michele
Forum Replies Created
-
AuthorPosts
-
hmmm…nope crashed the site…
Quick Question…
If I wanted to still add the list of “I’m in” attendees to my attendees tab on the details page, what piece of code would I extract from the widget to have the list appear in the tab area as well.I tried this code but nothing happened…
add_filter(‘geodir_detail_page_tab_list_extend’, ‘geodir_detail_page_tab_list_extend’);function geodir_detail_page_tab_list_extend($tab_array) {
if ( ‘gd_event’ == get_post_type() )
$tab_array[‘my_new_tab’] = array(
‘heading_text’ => __(‘Attendees’,GEODIRECTORY_TEXTDOMAIN),
‘is_active_tab’ => false,
‘is_display’ => apply_filters(‘geodir_detail_page_tab_is_display’, true,’my_new_tab’),
‘tab_content’ => ”);
return $tab_array ; }add_action(‘geodir_after_tab_content’ ,’geodir_my_new_tab_content’);
function geodir_my_new_tab_content($tab_index)
{
if($tab_index ==’my_new_tab’)
{geodir_ayi_rsvp_users_for_a_post($post->ID, “event_rsvp_yes”, $no_of_users, $gde);}Works beautifully! Thank you so much! This is a God Send!
Michele
Yes that is exactly what I am looking for!!!! How do I go about getting the new addon???
Michele
Done 🙂
Works perfectly now. Thank You!!!
Cheers,
MicheleOk. I followed your frontend navigation and that fixed it. The setting must have reset when I reactivated the plugin. Sorry about that. Thanks for the help!!!
This reply has been marked as private.This reply has been marked as private.Thanks for the reply Kor. After some research, I think you’re right. I can restrict permalinks with s2member and that should solve the issue.
Thanks!
Ah ok. I see now. Thank you!!
YES! THANK YOU! Now everything is working harmoniously. 🙂
Thank you so much for adding that plugin and the code!
Cheers!
MicheleThanks for your help!
Hi Paolo,
Ok, I did a quick disable of another geo loaction plugin I have running for my members directory, Geo My WordPress.
I deactivated it and Geo Directory works and my issue with the business link works like it should.
This now posses a new issue for my members directory. How am I going to have a geo located members directory if I want to run both plugins?
Or can geo directory function like geomywordpress and geo locate my buddypress members?
Maybe a multisite would allow me to run both plugins?
Michele
This reply has been marked as private. -
AuthorPosts