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 6 replies, 3 voices, and was last updated 9 years, 6 months ago by
Steven Zahm.
-
AuthorPosts
-
05/30/2014 at 8:28 am #292518
Erez Baron
ParticipantHello
In my slim plus it shows the names and when you click it expands.
However, I want to add next to the name also the city.Example
Now:
BBQ RESTAURANT VI want:
BBQ RESTAURANT (new york) Vand when clicking the city, it will show all results for this city, like it does when clicking the city from the “expanded” mode (inside the full address clock)
Thanks
Erez05/30/2014 at 1:33 pm #292565Steven Zahm
Keymaster@ Erez
You would have to edit the core template
card.php
file in order to accomplish. You would also very likely have to make adjustments to the template’sstyles.css
file to accommodate. The amount of changes required are far more than just a few minor code tweaks that I could provide in a forum post, sorry, if it were I would be more than happy to provide it. If you need custom development, I do have a dev I can recommend. He has plenty of experience with Connections and it’s templates.05/30/2014 at 3:31 pm #292575Erez Baron
ParticipantI think I can manage this by just editing the line in the card.php to display
, $entry->getNameBlock( array %city%but i don’t know.. can you see if you can parse this (this is example)
echo '<div><h3 class="cn-accordion-item" data-div-id="cn-detail-' , $uuid , '"' , ' style="border-bottom: ' , $atts['color'] , ' 1px solid; color:' , $atts['color'] , ';"><span class="cn-sprite' . $open . '" style="background-color: ' , $atts['color'] , ';"></span>' , $entry->getNameBlock( array( 'format' => $atts['name_format'] ) ) , '</h3></div><div style="float:none; padding-right: 20px; font-size:12px !important;">' . $entry->getAddSOMETHING'</div>';
Can you see if you can do anything with that? i want it to work really badly and it doesnt seem to be very complicated… :(
05/30/2014 at 3:36 pm #292576Erez Baron
ParticipantThis reply has been marked as private.06/04/2014 at 1:56 pm #292992Steven Zahm
Keymaster@ Erez
I think I sorted out rtl issues…
When you make edits, make changes to the files in this path so they are update safe:
../wp-content/uploads/connections-templates/slim-plus
Take a look at these couple QuickTips for more details:
http://connections-pro.com/2014/05/04/quicktip-custom-css/
http://connections-pro.com/2014/05/07/quicktip-custom-css-templates/06/07/2014 at 4:12 am #293201Erez
GuestThank you. it indeed looks great.
but can you please explain to me the differences between all locations:
\plugins\connections…
\plugins\connection-slimplus-template\
\uploads/connections-templates/slim-plusAnd another short Q: when doing a search/category filter – it has text “You are now filtering for category X…” etc – and then a link “Clear Search”. in which PHP this is located? because I want to translate “clear search” and can’t do it by PO/MO
Thanks
Erez06/07/2014 at 10:51 am #293202Steven Zahm
Keymaster@ Erez
re: but can you please explain to me the differences between all locations:
../plugins/connections/
This path is the core Connections plugin which you installed from wordpress.org.../plugins/connection-slimplus-template/
This path does not exist, but I think this is the path you mean:
../plugins/connection-slim-plus/
This is the plugin path to the Slim Template which your purchases from here and installed. The template requires the core Connections plugin.../uploads/connections-templates/
This is one of the paths in which custom files can be placed. The files within the this path will override some of the core Connections files which will be update safe.../uploads/connections-templates/slim-plus/
This path is like the one above, but specific to the Slim Plus template.To learn more, read these QuickTips:
http://connections-pro.com/2014/05/04/quicktip-custom-css/
http://connections-pro.com/2014/05/07/quicktip-custom-css-templates/
http://connections-pro.com/2014/06/04/quicktip-custom-template-override-files/This is a lot of information… but Connections has an extremely flexible templating engine which can allow anyone to create really unique directories if they choose.
re: when doing a search/category filter – it has text “You are now filtering for category X…” etc – and then a link “Clear Search”. in which PHP this is located?
I strongly advise against this as you will have to make the changes every time there is Connections update. Instead, read this QuickTip:
http://connections-pro.com/2014/05/04/quicktip-easy-text-changing/Even though you can use the Say What? plugin to do this, the right way would be this:
http://connections-pro.com/documentation/connections/translation/This is how MO/PO files are created and managed for Connections.
Darn, I just looked, there is a bug with the “Clear Search” button which is why it is not translated.
The file name is
class.template-parts.php
and can be found here:
../plugins/connections/includes/template/
I’ll have to push out another bug fix release to fix the “Clear Search” button so it can be properly translated.
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.