Forum Replies Created
-
AuthorPosts
-
Steven Zahm
Keymasterre: Brittany
That’s not actually a category menu… judging by the page source, this is what they did (best guess).
They created several pages for Connections, one for each of their faculty/staff directories. On those pages, they used the
[connections]shortcode and limited the display to specific categories by utilizing the category shortcode option and then disabled the category filter of the template by using theenable_category_select='false'shortcode option.Then on the WordPress Menus admin page created a new menu and added the directory pages to it.
Lastly, on the WordPress Widgets admin page they added a new Custom Menu widget to the theme’s sidebar selecting the new menu they just created.
Hope this helps, please let me know.
Steven Zahm
Keymaster@ Alex
What do you see? I just noticed a small type in the code… but that should have cause a PHP error. Here’s the corrected code:
$entry->getImage( array( 'image' => 'logo', 'fallback' => array( 'type' => 'none', ), ) );Does that fix it?
If you do not see any change and you are using template override files, make sure you have the files in the correct folder so Connections will load them instead.
Steven Zahm
Keymaster@ Jabbergirl
re: I am very impressed with the level of support you provide. Its the main reason I bought your plugins over about 5 others I tried. ( I know I read the forums I will give you a great review! ;-) )
Thanks, in advance! I really do appreciate you taking time to leave a review as they really do make a difference.
re: The colour altering also worked – but it created another design issue for me. When I change the title (name) for the entry (to green) all the rest of the info changes as well – – I can’t see where I would prevent this from happening – can I add a css override somewhere?
Ahhh, yes, it would change all the text color. If you want, I do have an updated version, as of yet unreleased, that adds more color changing options to allow more fine grained control. It’s stable, nothing beta, matter of fact the only changes were to allow more color changes. If you would like an advanced copy, I will more more than willing to email it to you. Please let me know.
Steven Zahm
Keymaster@ Jabbergirl
Hard to say from screenshots, you’ll have to share a link with me to the page having the issue.
Steven Zahm
Keymaster@ Jabbergirl
re: Can I change the width of the cmap entry form – right now because I took off the logo it has a huge amount of space to the left that i don’t need to show
No, not really, that said, it can be done with some custom CSS. The width will be as wide as the theme’s page content is designed to be. So, the card and profile view will be 100% wide of whatever the theme says it should be. You can limit the max width with a bit of custom CSS though. Add the following to the theme’s custom CSS area:
#cn-cmap { max-width: 600px; }re: is it possible to show several columns with the entries ( that would be responsive)
cMap, as demoed, is designed as a single column template. Other users have use custom CSS to varying degrees of success in making cMap into a columnar layout. Here’s reply I made to a very similar question a few days ago. I gave the user a bit of custom CSS to get them started that you might be able to use too. Here’s the link https://wordpress.org/support/topic/multiple-columns-14#post-7909669.
Hope that helps!
Steven Zahm
Keymaster@ Alex
If you only just replaced the images… then you likely need to force refresh the page because the browser will use the images it already downloaded into its local cache.
Steven Zahm
Keymaster@ Matt
re: Thanks for your response. So the Forms extension is used when New users submit the form to create their directory entry? Can it be used to edit entries and send notifications?
Yes.
re: Is there another way to do this or do we need the Form extension?
Sorry, no, not presently. The best solution would be an extension that would “bridge” Connections and s2member so when a user registers with s2member and entry would automatically be added.
Steven Zahm
Keymaster@ Alex
re: i understand this requires php and it may be alot to ask but an i get guidance on how to implement this?
To get started you would need to read this and this.
In the
card.phpandcard-single.phpyou’ll find these lines:if ( $atts['show_addresses'] ) $entry->getAddressBlock( array( 'format' => $atts['address_format'] , 'type' => $atts['address_types'] ) ); if ( $atts['show_family'] )$entry->getFamilyMemberBlock(); if ( $atts['show_phone_numbers'] ) $entry->getPhoneNumberBlock( array( 'format' => $atts['phone_format'] , 'type' => $atts['phone_types'] ) ); if ( $atts['show_email'] ) $entry->getEmailAddressBlock( array( 'format' => $atts['email_format'] , 'type' => $atts['email_types'] ) ); if ( $atts['show_im'] ) $entry->getImBlock(); if ( $atts['show_dates'] ) $entry->getDateBlock( array( 'format' => $atts['date_format'], 'type' => $atts['date_types'] ) ); if ( $atts['show_links'] ) $entry->getLinkBlock( array( 'format' => $atts['link_format'], 'type' => $atts['link_types'] ) ); if ( $atts['show_social_media'] ) $entry->getSocialMediaBlock();You would have to remove the lines for email, phone and links and write your own code to output your own custom icons. You can query that raw data for these by using the
$entry->getPhoneNumbers(),$entry->getEmailAddresses()and$entry->getLinks()functions. found in theclass.entry-data.phpfile. The “block:” functions that you are replacing can be found in theclass.entry-output.phpfile.re: Also how do i change the font color from black to grey
This can be done easily by using the Template Customizer. Go to the Connections : Templates admin page and click the Customize button for the Default Entry Card template. The page will reload with a preview on the right and the Customizer on the left. Click the back arrow in the upper left of the Customizer and then click the Style panel. You’ll have options to change a few styles.
Hope that thoroughly answers your questions.
Steven Zahm
Keymaster@ Thomas
When you add entries in Connections, there is an option of setting them as Private. When set to private, only logged in Subscriber users can view those entries. In addition to that addresses , phone, and email can also be set to Private so only logged in Subscribers can view that info per entry. So, what you could do is add the entries as Public (the default) and when you add their details you can set that to Private. There is not an option for private for the image or logo though.
Hope that answers your question thoroughly.
Steven Zahm
Keymaster@ Alex
Sorry, no, not without edit the PHP for the template. If this is something you can do, I suggest giving this and this a read.
You would add this to the template
card.phpandcard-single.phpfiles:$entry->getImage( array( 'image' => 'logo, 'fallback' => array( 'type' => 'none', ), ) );Hope that helps!
-
AuthorPosts
