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.
- This topic has 7 replies, 3 voices, and was last updated 8 years, 7 months ago by
Alyssa Morrisey.
-
AuthorPosts
-
10/10/2013 at 12:28 am #271102
Alyssa Morrisey
GuestI am currently using the Profile Entry Card and like how the text wraps around the image. However the basic template does not include the search bar, the category search or the directory. However, I do not like the design of the pro templates. Is there a way that I can keep the design of the Profile Entry Card template but include some of the pro features like the category search, etc.
10/10/2013 at 11:45 am #271128Steven Zahm
Keymaster@ Alyssa
In a plugin and play fashion, sorry no. However, if you can make some very basic PHP edits you could. Here’s how:
Open the the
profile.php
file found here:
../wp-content/plugins/connections/templates/profile/
Copy the code from lines 52 to 67 which should be:
<div class="cn-entry" style="-moz-border-radius:4px; background-color:#FFFFFF; border:1px solid #E3E3E3; color: #000000; margin:8px 0px; padding:6px; position: relative;"> <span style="float: left; margin-right: 10px;"><?php $entry->getImage( array( 'preset' => 'profile' ) ); ?></span> <div style="margin-left: 10px;"> <span style="font-size:larger;font-variant: small-caps"><strong><?php $entry->getNameBlock(); ?></strong></span> <div style="margin-bottom: 20px;"> <?php $entry->getTitleBlock() ?> <?php $entry->getOrgUnitBlock(); ?> </div> <?php echo $entry->getBioBlock(); ?> </div> <div style="clear:both"></div> </div>
From here I’m going to assume doing this to the cMap template but the instructions would be pretty much the same for the others as well. I think just the file path would differ.
Open the
card.php
file found here:
../wp-content/plugins/cmap/
Replace the entire contents of this file with the code from the Profile template.
Save and upload overwriting the original.
The result should be a template that appears like the Profile template but includes the category drop down, search and pagination. You’ll lose much of other cMap specific features but it should achieve your goal.
I hope that helps.
10/16/2013 at 2:29 pm #271613Alyssa Morrisey
ParticipantHello Steven. Thank you for getting back to me so quickly. I was not able to try out your suggestion until today after purchasing Cmap. However, I have run into a problem. Here is a link to my directory page. It looks like the individual cells do not line up with the thumbnail images I am using. Plus, the background is still gray, even though the profile template specifies that they should be white. Is there another file that I should alter to fix these issues?
Thank you again.
10/16/2013 at 2:51 pm #271616Alyssa Morrisey
ParticipantWhoops! Looks like I forgot to copy the last two lines of code from profile.php, that fixed the problem with the thumbnail size not lining up. Don’t I feel silly.
However, the background is still gray. I toggled with the cmap.css to see if I could change the color to white, but to no avail. Would you still be able to help with this?
10/16/2013 at 3:38 pm #271633Steven Zahm
Keymaster@ Alyssa
Can you post the link to your directory and I’ll take a look. Likely there is something I overlooked in my instructions.
10/16/2013 at 4:37 pm #271637Alyssa Morrisey
ParticipantSure, HERE is the link.
10/17/2013 at 1:06 pm #271733Steven Zahm
Keymaster@ Alyssa
You need to remove the background gradient from the CSS files,
cmap.css
andcmap.min.css
.Look for this:
#cn-cmap .cn-entry{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:0 3px 4px 2px rgba(100,100,100,.4);-moz-box-shadow:0 3px 4px 2px rgba(100,100,100,.4);box-shadow:0 3px 4px 2px rgba(100,100,100,.4);background:#e3e3e3;background:-moz-linear-gradient(top,#e3e3e3 1%,#f1f1f1 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(1%,#e3e3e3),color-stop(100%,#f1f1f1));background:-webkit-linear-gradient(top,#e3e3e3 1%,#f1f1f1 100%);background:-o-linear-gradient(top,#e3e3e3 1%,#f1f1f1 100%);background:-ms-linear-gradient(top,#e3e3e3 1%,#f1f1f1 100%);background:linear-gradient(top,#e3e3e3 1%,#f1f1f1 100%);border:1px solid #d3d3d3;font-size:12px;margin:10px 4px;padding:12px;position:relative}
10/22/2013 at 11:42 pm #272121Alyssa Morrisey
GuestRemoving the gradient in both files worked. Thanks so much!
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.