Similar to the popular XFMG feature that allows members to embed media/ablums into a post
I've added the ability to embed AMS Articles and Series into a post.
Here are a couple screen shots ...
In this shot, you can see that there is a new button (newspaper icon) (if the viewing user has appropriate permissions and you've added the button to the toolbar(s)). When hovering over the button, it tells the viewing user that the button does.
Important Note: You will need to add the AMS embed Button to the Tool Bars via the "BB code button manager" just like you have to do for XFMG.
![Selection_039.png Selection_039.png](https://xenaddons.com/data/attachments/5/5598-377d34e12c4872ceafbfbc2e39f28456.jpg)
I made this as close as possible to how XFMG embeds work so that its familiar with those that have and use XFMG. Clicking on the button will launch an overlay that initially loads the "Your articles" tab with any ams articles that the viewing user owns. The amount of articles loaded is based on your "Articles per page" options setting. You can navigate between 4 sets of tabs to choose articles/series to embed in a post.
![Selection_040.png Selection_040.png](https://xenaddons.com/data/attachments/5/5597-d4df29c4acfe14b995e10c970f491d53.jpg)
![Selection_041.png Selection_041.png](https://xenaddons.com/data/attachments/5/5596-93d44addc604a1fb9ffb4e36018b4f07.jpg)
In this shot, I've selected (by clicking on the TITLE) 2 articles and 1 series.
![Selection_042.png Selection_042.png](https://xenaddons.com/data/attachments/5/5595-d1104736c7ca7742a403b1b9eaf53699.jpg)
When I click on the "Continue" button, 3 BB Codes are added to the editor (as shown below).
![Selection_043.png Selection_043.png](https://xenaddons.com/data/attachments/5/5594-d409c4aadbd16e84dae2ef1d67b0766d.jpg)
Its always a good idea to PREVIEW to make sure the embed BB Codes are working (which you can see below that they are).
![Selection_044.png Selection_044.png](https://xenaddons.com/data/attachments/5/5593-27b369dd8c0b2cc8356757f46910057a.jpg)
And here you can see what the final embed looks like for both a Series (top one) and an Article (the other 2).
![Selection_045.png Selection_045.png](https://xenaddons.com/data/attachments/5/5592-fac6390b0e95ef95b06ee0338e283906.jpg)
I've also added clipboard helpers on the "Share this Article" block that will display on all Article and pages.
![Selection_046.png Selection_046.png](https://xenaddons.com/data/attachments/5/5591-5c67b1b4e86c7910cde7a961e204a69f.jpg)
The series page now includes a sidebar with 2 blocks, one of which is the "Share this series" block. This block also includes 2 clipboard helpers.
![Selection_047.png Selection_047.png](https://xenaddons.com/data/attachments/5/5599-3041ea6f65642a97d61528c1d011fc4f.jpg)
![upload_2019-6-6_15-13-7.gif upload_2019-6-6_15-13-7.gif](https://xenaddons.com/data/attachments/5/5590-d89746888da2d9510b64a9f031eaecd5.jpg)
I've added the ability to embed AMS Articles and Series into a post.
Here are a couple screen shots ...
In this shot, you can see that there is a new button (newspaper icon) (if the viewing user has appropriate permissions and you've added the button to the toolbar(s)). When hovering over the button, it tells the viewing user that the button does.
Important Note: You will need to add the AMS embed Button to the Tool Bars via the "BB code button manager" just like you have to do for XFMG.
![Selection_039.png Selection_039.png](https://xenaddons.com/data/attachments/5/5598-377d34e12c4872ceafbfbc2e39f28456.jpg)
I made this as close as possible to how XFMG embeds work so that its familiar with those that have and use XFMG. Clicking on the button will launch an overlay that initially loads the "Your articles" tab with any ams articles that the viewing user owns. The amount of articles loaded is based on your "Articles per page" options setting. You can navigate between 4 sets of tabs to choose articles/series to embed in a post.
![Selection_040.png Selection_040.png](https://xenaddons.com/data/attachments/5/5597-d4df29c4acfe14b995e10c970f491d53.jpg)
![Selection_041.png Selection_041.png](https://xenaddons.com/data/attachments/5/5596-93d44addc604a1fb9ffb4e36018b4f07.jpg)
In this shot, I've selected (by clicking on the TITLE) 2 articles and 1 series.
![Selection_042.png Selection_042.png](https://xenaddons.com/data/attachments/5/5595-d1104736c7ca7742a403b1b9eaf53699.jpg)
When I click on the "Continue" button, 3 BB Codes are added to the editor (as shown below).
![Selection_043.png Selection_043.png](https://xenaddons.com/data/attachments/5/5594-d409c4aadbd16e84dae2ef1d67b0766d.jpg)
Its always a good idea to PREVIEW to make sure the embed BB Codes are working (which you can see below that they are).
![Selection_044.png Selection_044.png](https://xenaddons.com/data/attachments/5/5593-27b369dd8c0b2cc8356757f46910057a.jpg)
And here you can see what the final embed looks like for both a Series (top one) and an Article (the other 2).
![Selection_045.png Selection_045.png](https://xenaddons.com/data/attachments/5/5592-fac6390b0e95ef95b06ee0338e283906.jpg)
I've also added clipboard helpers on the "Share this Article" block that will display on all Article and pages.
![Selection_046.png Selection_046.png](https://xenaddons.com/data/attachments/5/5591-5c67b1b4e86c7910cde7a961e204a69f.jpg)
The series page now includes a sidebar with 2 blocks, one of which is the "Share this series" block. This block also includes 2 clipboard helpers.
![Selection_047.png Selection_047.png](https://xenaddons.com/data/attachments/5/5599-3041ea6f65642a97d61528c1d011fc4f.jpg)
![upload_2019-6-6_15-13-7.gif upload_2019-6-6_15-13-7.gif](https://xenaddons.com/data/attachments/5/5590-d89746888da2d9510b64a9f031eaecd5.jpg)
Last edited:
Upvote
0