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, links, recently updated, upcoming birthdays, wrong url
- This topic has 8 replies, 2 voices, and was last updated 12 years, 11 months ago by
Steven Zahm.
-
AuthorPosts
-
09/18/2013 at 9:07 am #269438
Steve Cooke
ParticipantFirst up, what a great extension and add-ons, thanks! I’ve purchased the Extension Pro Pack today and am having some difficulty with the widgets, namely upcoming birthdays and recently updated.
The link to the individual’s page within these widgets is being generated as:
/name/joe-bloggsWhich just displays my homepage with “Joe Bloggs >>” in front of the blog entry titles.
The Connections > Settings > General > Home Page is set as
/staff-directory, so I think I’m correct in saying that the link in the widgets should be:/staff-directory/name/joe-bloggsHopefully that makes sense? I can’t provide a link unfortunately as the site I’m developing is an Intranet that can only be seen on the internal network. I can provide screenshots if required though.
09/18/2013 at 10:31 am #269450Steven Zahm
Keymaster@ Steve
Yes, what you’re saying does make sense. The links should only build that way if the output of the entry info is within the page loop. Is the widget in your sidebar or did you somehow include it within the page content of your home page?
09/18/2013 at 10:41 am #269451Steve Cooke
ParticipantI see, that makes sense. The widgets could well be within the loop. I’m using some pre-defined widget areas in a theme that I’ve picked up from here: https://github.com/helpful/helpful-intranet (I don’t expect you to get involved in debugging that of course).
If you could pass your eyes over this single page template and see if it gives you any clues/confirms your suspicion, that would be a great help.
This is the code of page-home.php and the widgets are in the
dynamic_sidebar('home-widget-area2')09/18/2013 at 11:01 am #269453Steve Cooke
Participant…just to add to that – I’ve tried including that
dynamic_sidebar('home-widget-area2')both right at the end of footer.php and also as the first thing after the nav in header.php just to see if it made a difference. The links are still built as/name/joe-bloggsfor some reason. I guess it must be something else in the theme’s functions that’s causing the problem.Any suggestions? I’d probably be happy to employ a hack for this project, even if it meant somehow hardcoding that /staff-directory/ prefix into all links?
Thanks again for looking into this.
09/18/2013 at 11:35 am #269461Steven Zahm
Keymaster@ Steve
The
dynamic_sidebarfunctions are definitely within the post loop. Moving them before line 6 or after line 57 should do the trick.Since you’re on a page so
is_page()will be definitely be returningtrue. Can you do avar_dump( in_the_loop() );before line 6 or after line 57 to see if is returningtrueorfalse? Just for curiosity actually…He’s what you can do to fix it… Update to Connections 0.7.9 if you haven’t already and install the version of the Widget Pack I’ll be emailing you directly. It’s been altered to take advantage of a new feature in 0.7.9 that allows me to either force or alter the destination of links created for entries.
09/18/2013 at 11:55 am #269465Steve Cooke
Participantvar_dump( in_the_loop() );on line #5 of that page returnsbool(false)(switching it to line #7 returns true).I had in fact already updated to Connections 0.7.9 this morning and I’ve just installed the version of the Widget Pack that you’ve kindly e-mailed to me. I’m pleased to say that it is now all working perfectly!
I can’t thank you enough for the speedy response on this. Cheers! The only question I have now is, do I need to worry about future updates to the widget pack undoing this?
09/18/2013 at 12:28 pm #269469Steven Zahm
Keymaster@ Steve
Great to hear! Nope, you will not lose that if you update the Widget Pack. I’m actually going to get the very version you just installed uploaded sometime later today.
Have you left a review? If you have a moment, I would truly appreciate one as they really do make a difference. Many thanks in advance!
http://wordpress.org/support/view/plugin-reviews/connections09/19/2013 at 7:25 am #269539Steve Cooke
ParticipantSorry for the delay, a review – consider it done! Thanks once again for all your help.
09/19/2013 at 2:00 pm #269574Steven Zahm
Keymaster@ Steve
No problem and thanks again!
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.
