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 5 replies, 2 voices, and was last updated 12 years, 1 month ago by
Craig.
-
AuthorPosts
-
06/15/2014 at 5:30 am #293909
Craig
ParticipantJust a quick request. I’ve made a few modifications on my connectiosn-pro and one supposedly simple change seems to have me a bit flummoxed.
For the life of me, I can’t figure out what to change in order to make the image or site logo link to the connections entry instead of the entries website URL. I use cmap, but I don’t see it called in there so I’m no really sure what to change to do that.
And while I’m at it, any quick code change I can make to chnage the SEO setting to set the title tag to simply be the name of the listing and the address field instead of the default?
For example:
http://www.travelhub.com/travel_agencies/name/rose-tours-and-travel/Instead of the default title which redundantly adds the section and sitename onto the end of every title, I’d love for the title to simply be the name of the Agency and the first address listed.
So instead of the current title: Rose Tours And Travel Travel Agency DirectoryTravelHUB | TravelHUB
It would read: Rose Tours And Travel – 9 Huntingdon Pike -Rockledge PA 19046
This is how my old directory listed items, and I find it much more useful for helping people find what they are looking for than the other useless info.
Once again, great product. I rave about it everyday, and with over 5,000 entries in my Connections-Pro database, it works like a champ with no server load problems at all unlike other disastrous similar plugins I paid much more for only to crumble under the weight of such a large database on a very active site.
Thanks!
Craig06/16/2014 at 8:57 am #293986Steven Zahm
Keymaster@ Craig
re: image link
Changing how the image/logo works will be non-trivial. Likely the most simply will be to add an
elsestatement on the following two lines 210 and 255 in the following file:../wp-content/plugins/connections/includes/entry/class.entry-output.phpWithin that else statement, create a link to the entry like it is done on line 521.
Hope that helps!
06/16/2014 at 9:04 am #293987Steven Zahm
Keymaster@ Craig
re: page title
This is actually non-trivial too. Well, change it to just the name should be a bit easy, adding the address is not.
The change to make it just the name can be done on line 254 in this file:
../wp-content/plugins/connections/includes/class.seo.phpChange it to:
return $entry->getName();Adding the address is non-trivial due to the fact Connections support adding n-number of addresses to each entry. So you would have to check for addresses and then pull just the first one and then check that there are values for each address part before adding it to the title.
That should do it. Hope that helps.
06/16/2014 at 9:07 am #293988Steven Zahm
Keymaster@ Craig
fyi, I did add to my feature request tracker to add a method for configuring the page title. Any other suggestions on that topic?
06/23/2014 at 9:47 pm #294879Craig
ParticipantThis reply has been marked as private.07/05/2014 at 12:05 am #296076Craig
ParticipantBump. In the absence of the custom parameters I specified above, the ability to customize the page title manually would be very helpful with a custom override would also work.
Thanks,
Craig -
AuthorPosts
- You must be logged in to reply to this topic.
