Posted in Basic CMS: Allow users to add custom CSS
For an App I am building, the platform provides users with a unique subdomain, which they can customize the layout by adding Rows, which have various templates to choose from. I want to allow users to upload their own CSS / JS to customize the look of the page.
Right now I am allowing them to upload a file to the platform, and then I render the file in page if present. I am wondering if there is a better approach to this.
Thanks for your help.
I currently am creating an object with jQuery file upload, and than inserting a fields_for into the form with the new object.
However, I am unable to update the existing object while creating the other object. I can create a hack around this, but would prefer not to if there is a rails way to achieve this.
Help is apprecaited.
Posted in Receiving incoming emails
Your use case isn't quite clear to me, but I achieve this in my app by using Outlook / Gmail API to create a subscription against an e-mail account, which generates a webhook. The webhook then notifies my app when the mailbox is updated, and I parse the new e-mail and determine if the contents should be saved to the system. Most companies use either Outlook / Gmail, and they built these webhooks to eliminate the need for IMAP.
I am trying to make my app a SPA app, and accomplish most of this with erb templates, which I know is not ideal, but it works for now.
I need help with performing a search and filtering of data without performing a page reload. As of right now I believe I will have to begin to use Turbolinks or a front-end framework such as Angular to accomplish this. However, I wanted to see if there was another way to accomplish this.
If implementing Turbolinks / Angular is the best way to achieve this, please let me know so I can begin to go down that path.
Any help being pointed in the right direction is much appreciated. : - )