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: 0.7.9.3, category description, cMap
- This topic has 6 replies, 2 voices, and was last updated 9 years, 7 months ago by
Julie.
-
AuthorPosts
-
01/28/2014 at 10:34 am #278416
Julie
ParticipantGood Morning,
I decided against the excerpt template and edited a re-named copy of cMap to fit my needs. The price is more than fair, it just would not give me the look I wanted but I can’t figure out how to call the category Name and/or description. I’m using my edited version on this page:
Is there a way to call the category name and/or description without a major hack?
The test page is a theme page template that I I’m using short code on, but I can change it to a static page to use PHP and _GET to populate the page if it’s not possible with short code. The boxes on the right will be the categories, the names are hard coded in, the description will be in the part that says ‘new style’ and and also above the list. I could hard code it all but If I could call it from the info entered in the Connections categories I would be less married to the website.
Also, when I was editing the cmap.php I found that
$permittedAtts['str_bio_head'] = 'Biography';
is repeated on 202 and 208.Thank you,
Julie01/29/2014 at 4:07 pm #278602Steven Zahm
Keymaster@ Julie
Well, I don’t think I have any function you can just call, although, you might be able to use this code here and tweak it to suit your needs.
I hope that helps!
01/30/2014 at 11:52 am #278693Julie
ParticipantThank you, I think I can work with this.
Here’s how I’m using your plug in in another part of our site:
http://jhcband.org/yearly-schedule/halloween-concert-detailsSince your notes and bio fields allow shortcode I was able to easily include a history of performances in the venue contacts (using a plugin called GigPress). Check out this one:
http://jhcband.org/member-resources/business-contacts/name/center-for-the-artsThank you again for a great plug in!
Julie01/30/2014 at 3:21 pm #278715Steven Zahm
Keymaster@ Julia
You bet … more great things to come!
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/connections02/01/2014 at 10:39 am #278894Julie
ParticipantDone!
02/04/2014 at 11:19 am #279094Julie
ParticipantHere’s My solution:
http://jhcband.org/partners?cn-cat=22
As soon as I get the text in the descriptions done I will change the menu item on top that says “Links” to “Our Partners” and link to the above, so the default is category 22.For the boxes on the right, I was able to get the description from your example but I could not figure out how to get it from a category other than the current one, so I ended up querying the database and using a LEFT JOIN, the title and description are controlled in Connections admin, Categories. for the links I just added the ?cn-cat=[category number] to the links. It’s working perfectly so far.
I had trouble with the title being too long for my design, I just wanted the category name, not the page title. I could not figure out how to do it using your code so I just changed
this:
‘the_title();’
to this:
‘echo substr(get_the_title($ID), 0, -20);’
If there was an easier way I’m curious.PHP = Some days I’m a Rock Star and some days I’m a Village Idiot, this morning I’m a rock star, but the day’s not over.
Thanks again,
Julie02/04/2014 at 11:21 am #279095Julie
ParticipantThis reply has been marked as private. -
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.