Forum Replies Created
-
AuthorPosts
-
Steven Zahm
Keymaster@ Troy
Guess it was a fluke of sorts. Good to hear it is working now.
Steven Zahm
Keymaster@ Phillip
Can you double check the permissions? This is the error I see being presented when I visit the link:
The following error(s) occured: Could not create the index.html file - to fix this create an empty file named index.html file in the cache directory. Could not create cache clean timestamp file.This just about always indicates a permissions issue.
Steven Zahm
Keymaster@ Leonid Design
You can add the categories to the
card.phporcard-single.phpfiles by adding this where you want them to be displayed:$entry->getCategoryBlock( array( 'separator' => ', ', 'before' => '<span>', 'after' => '</span>' ) );I recommend following the method in this QuickTip so you can add it in an update safe way.
Hope that helps!
Steven Zahm
Keymaster@ Kent
I just logged in (sorry, I seem not to be notified of private replies, everytime I turn around that plugin seems to have a new bug, sigh). Things seems fine or I do not understand what exactly the issue is.
The Slim Plus set as the All template which is being used as it should. The Slim Plus template as the Individual and it too is being used as it should. And the Market template set as the Organization template. That would be used but there is no way for it actually to be used. Let me explain…
The
Kontakterpage has just the[connections]shortcode. It will use the template activate under the All template type, Slim Plus. The Slim Plus template has no way of clicking thru to the single entry so there is no way to click on an organization and end up on the single entry page using the Market template.The
Företagpage is using this shortcode[connections list_type='individual, organization']. Sinceindividualis the first entry type listed that is the template type that will be used which is set to Slim Plus. Again, which does not provide a way to click thru to a single entry.You could actually see that the settings are working if you change the All template type to the Names template, then on the
Kontakterpage the list would show using the Names template and when you click thru to a single individual page, it’ll display using the Slim Plus template and when you click on an organization to view its single entry page it’ll show using the Market template.I hope that clears this up how this functionality works.
Steven Zahm
Keymaster@ Marco
Here are the phone type label strings:
Home Phone
Home Fax
Cell Phone
Work Phone
Work FaxHere are the address type label strings:
Home
Work
School
OtherHere are the email type label strings:
Personal Email
Work EmailHope that helps!
Steven Zahm
Keymaster@ Ken
Cool! Many thanks for taking the time to leave a review!
Steven Zahm
Keymaster@ Michael
Great to hear! If you have a moment, I would truly appreciate a review as they really do make a difference. Many thanks in advance!
http://wordpress.org/support/view/plugin-reviews/connectionsSteven Zahm
Keymaster@ Tim
The
card.phpfile was modified overwriting the$attsvar. This is the error line:printf( '<a class="cn-note-anchor toggle-div" id="note-anchor-%1$s" href="#" data-uuid="%1$s" data-div-id="note-block-%1$s" data-str-show="%2$s" data-str-hide="%3$s">%2$s</a>', $entry->getRuid(), $atts = 'Show Research', $atts = 'Hide Research' );I changed it to this:
printf( '<a class="cn-note-anchor toggle-div" id="note-anchor-%1$s" href="#" data-uuid="%1$s" data-div-id="note-block-%1$s" data-str-show="%2$s" data-str-hide="%3$s">%2$s</a>', $entry->getRuid(), $atts['str_note_show'] = 'Show Research', $atts['str_note_hide'] = 'Hide Research' );That fixed the issue.
If you have a moment, I would truly appreciate a review as they really do make a difference. Many thanks in advance!
http://wordpress.org/support/view/plugin-reviews/connectionsSteven Zahm
Keymaster@ Michael
I know it’s been a few days, but I think I have a solution for you to try. Install the Code Snippets plugin. Add a new snippet with the following code:
add_action( 'wp', 'cn_search_category_reset' ); function cn_search_category_reset() { global $wp_rewrite, $post; $keywords = get_query_var( 'cn-s' ); $categoryIDs = get_query_var( 'cn-cat' ); $categorySlug = get_query_var( 'cn-cat-slug' ); if ( ! empty( $keywords ) && ( ! empty( $categoryIDs ) || ! empty( $categorySlug ) ) ) { cnSEO::doFilterPermalink( FALSE ); // Get the directory home page ID. $homeID = cnSettingsAPI::get( 'connections', 'connections_home_page', 'page_id' ); $permalink = $wp_rewrite->using_permalinks() ? trailingslashit( get_permalink( $homeID ) ) : get_permalink( $homeID ); wp_redirect( add_query_arg( array( 'cn-s' => $keywords, 'cn-cat' => FALSE, 'cn-cat-slug' => FALSE ), $permalink ) ); exit; } elseif ( ! empty( $categoryIDs ) && ! empty( $categorySlug ) ) { cnSEO::doFilterPermalink( FALSE ); // Get the directory home page ID. $homeID = cnSettingsAPI::get( 'connections', 'connections_home_page', 'page_id' ); $permalink = $wp_rewrite->using_permalinks() ? trailingslashit( get_permalink( $homeID ) ) : get_permalink( $homeID ); wp_redirect( add_query_arg( array( 'cn-cat' => $categoryIDs, 'cn-cat-slug' => FALSE ), $permalink ) ); exit; } }Basically this will globally search the db instead of being limited to the current category whether it is set by the category ID (used by drop down) or category slug (used by category shortcode). And if there is no search but both a category ID and a category slug, the category slug wins and the URL is redirected back to the directory home page filtering by the category selected in the drop down.
Let me know how it goes.
Steven Zahm
Keymaster@ Tim
Was the Market template altered or is it “stock”? If you give me a temp admin account, I can take a quick look. It can be posted here as a private reply.
-
AuthorPosts
