-
-
Notifications
You must be signed in to change notification settings - Fork 825
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
dev/cloud-native#16 Migrate Contribution Page widget extern url to us… #17969
dev/cloud-native#16 Migrate Contribution Page widget extern url to us… #17969
Conversation
(Standard links)
|
I haven't tested, but the broad contours look good. 👍 |
a842295
to
b1e8c40
Compare
@eileenmcnaughton @totten I have expanded the test coverage here to cover both endpoints which shows we are getting a consitatnt return from both endpoints, Is there anything else needed to prove that this works? |
b1e8c40
to
c10bf28
Compare
I was kinda hoping @kcristiano would test it... |
c10bf28
to
1e40eaa
Compare
did an r-run. Without the PR: script:
With the PR: Script:
Widget looks off: |
Did you rebuild the menu Kevin?
…On Tue, 18 Aug 2020 at 4:49 am, Kevin Cristiano ***@***.***> wrote:
did an r-run.
Without the PR:
[image: image]
<https://user-images.githubusercontent.com/1892544/90432520-a5d3e680-e098-11ea-8df2-4565f8f9282a.png>
script:
<script type="text/javascript" src="http://wpcvmaster.test/wp-content/plugins/civicrm/civicrm/extern/widget.php?cpageId=1&widgetId=1&format=3"></script>
With the PR:
Script:
<script type="text/javascript" src="http://wpcvmaster.test/civicrm/contribute/widget/?cpageId=1&widgetId=1&format=3"></script>
Widget looks off:
[image: image]
<https://user-images.githubusercontent.com/1892544/90432591-c2701e80-e098-11ea-9f09-87c9a29ad905.png>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#17969 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABT36FKUGRES6ZRDHJD7C2DSBF3TFANCNFSM4PII5K2Q>
.
|
I did, and cleared caches. |
1e40eaa
to
c3d8cf1
Compare
@kcristiano I rebased this and re-tested and after clearing menu cache my url was Are you able to re-test? |
53bb825
to
a38da21
Compare
@seamuslee001 I'll do this, it may take a few days, but I'll give you feedback. |
@seamuslee001 sorry for the delay but I cannot get the patch to apply on d7 master or wp master. Can you rebase? |
…e the normal CMS routing mechanism Update test to test both endpoints
a38da21
to
ea737cd
Compare
@kcristiano rebased now for you mate |
@seamuslee001 I did a new Contribution works directing me to real form. Tested on: WP 5.5.1 Looks good to merge. |
boom |
…e the normal CMS routing mechanism
Overview
This migrates the Contribution Page Widget js end to use an endpoint within the normal routing system
Before
extern file used
After
Non extern route used
ping @eileenmcnaughton @totten @kcristiano