Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

forum/social/manage adds extra /forum/ in links #1506

Closed
GaryFunk opened this issue Jan 2, 2013 · 3 comments
Closed

forum/social/manage adds extra /forum/ in links #1506

GaryFunk opened this issue Jan 2, 2013 · 3 comments

Comments

@GaryFunk
Copy link

GaryFunk commented Jan 2, 2013

In version 2.1a22 when you load the /forum/social/manage page, the code as an extra /forum/ to the links.

Instead of:
domain.com/forum/social/enable/Facebook

the link is
domain.com/forum/forum/social/enable/Facebook

This is true on the image link on that page also.

@GaryFunk
Copy link
Author

GaryFunk commented Jan 8, 2013

Here is what I came up with.

In /applications/dashboard/views/social/connection_functions.php

change

line 29:

line 51:
echo Anchor(Sprite('SpOptions'), "/social/{$Connection['Index']}", 'Connection-Configure').' ';

line 53:
echo Wrap(Anchor(T('Enabled'), "/social/disable/$Index"), 'Hijack SmallButton'), 'span', array('class' => "ActivateSlider ActivateSlider-{$SliderState}"));

line 56:
echo Wrap(Anchor(T('Disabled'), "/social/enable/$Index", 'Hijack SmallButton'), 'span', array('class' => "ActivateSlider ActivateSlider-{$SliderState}"));

in the /plugins/XXX/class.XXX.plugin.php

in the function Base_GetConnections_Handler

remove the Icon key from the array.

@tburry
Copy link
Contributor

tburry commented Mar 25, 2013

I do believe this is fixed in 5168711.

@tburry tburry closed this as completed Mar 25, 2013
@GaryFunk
Copy link
Author

I can confirm that this is fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants