Support has been upgraded!
The Support Forum is closed. Not to worry! Providing the top quality support you expect and we're known for will continue! We're not ending support, just changing where you submit requests. This will provide you with the best experience possible.
Premium Support
Have you purchased an addon for Connections such as one of our premium templates or extensions with a valid license and you need help?
Please open a Support Ticket in your user account.
Free Support
Are you using the free Connections plugin? Don't worry, you are still very important to us! We are still providing you with the same high quality support that we're known for.
Please open a new support topic in the WordPress support forums for Connections.
Tagged: 8.5, custom css, names, templates
- This topic has 5 replies, 2 voices, and was last updated 10 years, 10 months ago by
Steven Zahm.
-
AuthorPosts
-
10/08/2015 at 5:15 pm #349942
Mitch
ParticipantDoubt this is really a ‘bug report’ it’s simply something not quite working as I expected. :)
I wanted to create a custom css file, tired of over writing on every update. I only use ‘names’ in one very specific instance. I have it called in the shortcode structure in a sidebar widget. Everywhere else I use cmap. But in that one names instance, I want all columns to default to 1, regardless of @media.
I created a names-custom.css file, placed it in my child theme
wp-content/themes/childtheme/connections-templates/names/names-custom.css
but no joy. I got this process from your templates css post here on the site.
It is not pulling this file, but still pulling the original. Flushed cache at server after changes, nada. Did I miss something?
Thanks.
10/09/2015 at 2:37 pm #350041Steven Zahm
Keymaster@ Mitch
The free core templates are a special case that I really should document! Without going into a long technical description of why, I’ll simply say that will not work. That said, I think, it work if you name the file to
names.css. Can you give it a try and let me know?10/09/2015 at 2:55 pm #350043Mitch
Participant“that will not work” is sufficient for me some days. :)
I went back into the Names template in the main Connections plugin and changed style.css back to its original settings, eg. multiple columns, etc… (I had manually overwritten to get this done).
I then changed custom-names.css to names.css in the /childtheme/connection-templates/names/
I then checked the display on the site, and viola, it is as I wanted, the changes in the css in the childtheme are in place, overwriting the css for the Names template from the base plugin.
All good, it seems.
Someday, there might be a better way to display the selected records as I am attempting with the Names usage there. But for now, if it works, I’m on to the next thing on my site that doesn’t. :)
Thanks!
10/09/2015 at 6:32 pm #350067Steven Zahm
Keymaster@ Mitch
Good to hear that worked… question, Can you not use the Entry List widget from the Widget Pack instead of the name template? It is a newer widget so you might have missed it.
10/09/2015 at 7:27 pm #350070Mitch
ParticipantFunny, I didn’t have the Widgets 2.1 on my Live site, and thought, hey this will do it. But it’s never that easy. :)
I created a special category (83) that when included would place a listing in the widget. And when combined with the category id (52, or 4, or 5, etc…) would display (only) those specific listings.
I then created a text widget in the sidebar that has shortcode that looks like this (partial):
Accounting and CPA [connections template="names" category_in='52,83' order_by='department|SORT_DESC, organization|ASC'] Attorney and Legal [connections template="names" category_in='4,83' order_by='department|SORT_DESC, organization|ASC'] Automotive [connections template="names" category_in='5,83' order_by='department|SORT_DESC, organization|ASC']The finished product looks like the attached image.
Not at all elegant, I know. :) But works for now.
The new widget doesn’t seem to allow me to have multiple separated categories like the screencap shows. (without creating tons of individual widget instances).
Does that make any sense? And if you have a better way to accomplish this I’m all ears.
Thanks!
Attachments:
You must be logged in to view attached files.10/09/2015 at 8:20 pm #350072Steven Zahm
Keymaster@ Mitch
Yeah… you would need a bunch of widgets just like you have a bunch of shortcodes. The widget does have the equivalent if the
category_inshortcode option. After choosing your two categories you would select the “Must be in all categories selected above?” option. Even though you can do that, the widget does not have the order options.Honestly, I can’t think have a better way of doing what you have now without something being custom coded. Maybe after I have the featured and featured in category with their associated widgets completed that’ll be something you can use.
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.
