Browsing Paginated Wagtail CMS Collections - django

Before posting this as an issue on the Wagtail GitHub page, I was hoping there is a coding solution someone could help with here.
I am using Wagtail CMS and love the new 'Collections' feature added. I created about a dozen collections and then added all my images in their respective collection...works great. When I view the images in a collection by choosing from the collection dropdown selector, it filters out all my images by collection as it should, but when I click the 'next' link to view the second page, it un-filters and reverts back to showing all images.
Questions:
Is there a way to browse through all the filtered collections without it reverting back to all?
Is there a way to add a selector at the top to choose how many images to show per page? Currently there's 20 per page, but it would be nice to be able to 'show all'
I understand that this isn't exactly a specific technical question, but is relevant to the software. If its better suited as an issue on the Wagtail GH page, let me know - no reason to down-vote; I can delete the question.
Thank you.

This is a known bug, reported here: https://github.com/torchbox/wagtail/issues/2700

Related

How to go about enabling side scrolling in Wagtail admin site

I have been tackling a particular design issue with Wagtail admin. Thus far I have not found a way to enable side scrolling admin listing pages. I want to extend my user model with more data about the users (e.g., occupation, education, address, and so on). While extending Wagtail with some models for a particular project, I noticed Wagtail admin listing pages do not automatically activate sides crolling as Django admin does.
I have looked at Wagtail hooks doccumentation but apparently there isn't a straightforward way to do that. I don't think it would be wise to mess with core css. Does anyone have an idea on how to customize css to enable that?
See pictures below:
This is how Django admin handles it. We can add filters while the table adjusts itself activating side scrolling.
Wagtail Bakery demo user model has few fields. So the listing admin page does not need to side scroll. I have not tested adding filters on this page yet, but I am assuming it will work just as it did to my other models.
This is how my admin page looks like when using filters. The table does not activate side scrolling and gets messed up when I use filters.
I'd appreciate any help poiting the way to best tackle this problem. Thus far I found this and this answers to similar, though not exaclty the same, problems with Wagtail admin design.

How to insert multiple images in the Django blog app?

What I want is similar to the stack overflow posts, I can add images in between the text, just simply copy the image and paste it in my blog while editing. is it possible?
I.ve seen some posts that can add a single image as post cover or add the designated number of images like 'must insert 3 images in a post'. that's not what I want.
Have you heard of the Django content management system (CMS) Wagtail? It really sounds like what you want is a CMS, and Wagtail is, as far as I know, the most popular and fleshed out one for Django. You can read in the Wagtail docs about inserting images in a page (tailored for editors) or using images in templates (tailored for developers).
Do keep in mind though that Wagtail is a whole CMS. If you were aiming for more limited functionality, that doesn't come with a bundle of other CMS niceties, you might want to look elsewhere.

Need help to add front-end on slatwall eCommerce

I am trying to build the eCommerce store by using Slatwall and lucee. Slatwall is the ColdFusion based eCommerce framework. The admin part is working fine. But I could not create the user side. I also referred the slatwall documentation. But no luck I couldn't seen any clear example and document for adding the front end on slatwall. If anyone knows help me please?
Slatwall frontend document
As OP says, SlatWall has excellent $upport, that's where they make a living. You now have three choices for a front end:
1) Slatwall latest versions have their own integrated CMS now. I'd recommend you export your product info, install the latest Slatwall, import the data back in.
2) Load MuraCMS, an Open Source Content Management (i.e. front-end) system that has integration to Slatwall (or the other way round, IIRC)
3) Roll your own in ColdFusion after learning ins and outs of the Slatwall api. Not recommended unless you're already CF experienced and have some previous experience with an api, any api.
For completeness I am going to answer this question even though its months old, for anyone else that views this.
You have a couple options here but the easiest way:
There is a complete example of a fully implemented Slatwall site including product listing pages, shopping-cart, and checkout included with Slatwall.
You may view the sample site by visiting http://{yourslatwallsite}/meta/sample
On the sample site, you can choose from the menu to view your products, add them to your cart, or checkout. Make sure your products are both active and published in the admin or you will not see them on the sample site. If you go through the .cfm pages that makeup the sample site, there are many examples documented (as comments in the code). Note that the actual .cfm files will be stored in /public/views/xxx.cfm and the meta folder just references them. /public/views/templates/slatwall-productlisting.cfm for example has complete examples on listing products on the frontend.
The sample site is powerful enough that you could restyle it and use it as your store

Which one is the Right Approach - Re Using Page Layouts or adding Web parts directly to pages instead of page layouts in SP 2013 online site?

I am SharePoint 2013 developer. Before asking question I would like to explain the requirement in clarity.
We are developing one O365 SharePoint online site which is having 10 different page layouts with different and some common web parts and we are reusing these page layouts by deploying a sandboxed solution which is having page layouts. These page layouts contain filter and query to display data using some condition and predefined values. By using these layouts we have to create 100+ pages. All pages will show data according to that page name and category (if it belongs any). We have not written any code to develop the site, everything is OOB feature.
We have used below feature/list/lib of SP Online 2013:
- Document Library
- Survey
- Calendar
- Lists
- Discussion forum library
- OOB Search feature
Now, I would like to know whether this is the right approach to reuse the page layouts. Or can we add webparts directly where the logic resides in the web parts and add them to the pages instead of page layouts?
Also how to deploy page layouts/pages from one server to another? Currently we are deploying everything as a feature using sandbox solution.
Could you please let me know the right approach to follow. I am asking this question because we are facing below issues:
- Sometime page layouts gets corrupted, showing nothing.
- All written filters/logic disappear when we open layouts in Designer
- Deployment is pain using Sandbox solution
Waiting for your reply.
Thanks in Advance,
Shifa Mittal
As you already know developing a custom feature which deploys your web part to the Sharepoint O365 environment is a good idea.
As you have already faced some issues with the Page layouts like got corrupted and not displaying any data is also a thing to be considered. One more thing is to open the Page layuout will require Designer as well and that is the another major thing to be consider.
If you create a webpart which has all the logic of displaying the data in it is better with several advantages of writing your code and reusing it as per your requirement.
So my vote goes with Writing you Sandboxed solution with custom web part with all the logic in it. Though it has some complications but once it is written you can manage it easily on the server and easily debug it as well.
Please correct me if I have missed something
Thanks

Opencart create children page on Information Catalogue

My question is quite simple.
I would like to know if there is any simple way for me to create a sub-page into the Catalog > Informations into the admin panel.
My point si that I need to create Some CMS pages with a parent page. I would like to have a solution that only cost time and not a buyable plugin ;)
The documentation of OpenCart is quite useless : http://docs.opencart.com/display/opencart/Information
Any idead or links?