Forum Replies Created
-
AuthorPosts
-
Steven Zahm
KeymasterHmmm, check this page out, under the Notes section.
I wonder if you are facing a similar issue, that your site behind some type of load balancer or proxy server….
Steven Zahm
Keymaster@ Gates
I recently answered a similar question and I think the answer will help you too. Here the link.
I hope that helps, if not, please let me know.
Steven Zahm
Keymaster@ Tracy
I think this might work:
[connections category=X]X would equal the category ID of your featured category.
If I recall correctly, the downside is that the Select All Categories option will now default to category X rather than all categories. I can’t think of any other issues this might cause off the top of my head.
I hope this helps. Let me know if that works for you.
Steven Zahm
Keymaster@ Christopher
Honestly, I can not think of a way to do this without editing the core Connections code… maybe.
That custom query is the killer…
A solution might be to register a custom shortcode. Grab your query vars, do your custom query, but only select the
idcolumn. make sure the results is an indexed array.Then you could call the method that drives the Connections shortcode:
$atts = array( id => $custom_query_results ); return cnShortcode::view( $atts );Or, maybe even easier…
Hook into the
cn_list_attsfilter, do your custom query like I mentioned and set$atts['id']to an array of ids from the query results and pass back the moadified$attsvariable back from the filter.Will either of these work?
Steven Zahm
Keymaster@ Mitch
Yes, both those options are on the list for the category widget.
Steven Zahm
Keymaster@ Kim
Coincidentally I just answered a very similar question right here.
I think the answer very much applies to you question. If it does not, please let me know.
I hope that helps!
Steven Zahm
Keymaster@ Rex
I’m sorry! I did read the other post but I didn’t think you were looking for a response…
I think you might have misunderstood my answer… Many of the templates include a user searchable category drop drop such as cMap rather than a list of categories. A list of categories simply takes up too much space, especially if you have a lot of them, which many users do. By putting in a searchable drop down that brings the actual important content closer to the top of the page, the entries.
If you prefer a list of categories, the Market template outputs a list beside the entries, take a look the demo.
Alternatively, the Widget Pack includes a widget that can be placed in the theme’s sidebar. This outputs a list as well and by being in the sidebar, the list can be quickly available to the user site wide.
These design choices were made to ensure the important content is front and center by being as close to the top of the page as possible while requiring one less click for the user.
I hope this better clarifies my previous answer.
Steven Zahm
Keymaster@ Mario
Thanks for reporting this with a solution!
Quick question, can you try this solution?
Comment out this line, like you’ve done:
$protocol = isset( $_SERVER['HTTPS'] ) ? 'https://' : 'http://';So it becomes:
//$protocol = isset( $_SERVER['HTTPS'] ) ? 'https://' : 'http://';Now, change this line from:
'ajaxurl' => admin_url( 'admin-ajax.php', $protocol ),To this:
'ajaxurl' => admin_url( 'admin-ajax.php', ( is_ssl() ? 'https' : 'http' ) ),That should do it so you do not have to do the string replace. Let me know. And thanks again!
Steven Zahm
Keymaster@ cynthia
No problem!
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@ Chris
Sorry, but this is not possible since no relationship is created between entries that have the same department. However…
You could setup the shortcode to filter by organization and then use multiple shortcodes on a page to list the various organizations.
Another option is…
Go to the Connections : Settings admin page, click the Advanced tab. In the Links section you can enable the Organization and Department link options. After they are enable, the organization and department link when clicked will filter the results by the org/dept that was click. One exception to the rule is… if the entry is an org, it will not filter by that org.
I hope that helps!
-
AuthorPosts
