Sendgrid customise unsubscribe page - sendgrid

I'm trying to figure out how to setup a (slightly) customised unsubscribe page for sendgrid, but can't find anything in the documentation about how to do it.
It seems like an obvious thing to want to do. All I really want to do is put a header graphic on it.
Would I actually need to come up with a completely custom subscription management code to handle this simple use-case?

Related

Craft CMS: sending email after entry is published

I want to create a site with a channel. On this channel, I want to post activities. Inside the entry, there will be a category selectable with an email address within. Once I publish the entry, craft should send an email to the email of the selected category with the details of the entry (like an info mail "hey, there is a new activity. have a look).
I googled and searched for hours, but I couldn't find a suitable solution. I stepped over craft modules, but I am new to programming and the explanations are pretty overwhelming. Is there anyone who can help me and would walk me step by step through creating such a solution?
Modules are indeed the way to go. They allow you to write custom code to extend Craft CMS functionality.
What you want can be achieved with the help of events: Craft CMS dispatches a lot of events at various points in the lifecycle of every request. You can listen to these events to react accordingly.
In your case, you should have a look to the EVENT_AFTER_SAVE of the craft\elements\Entry class. To help you get started, Craft provides an event listener code generator.
You then need to write a module that includes the generated code. This article from the Craft knowledge base should help you. This article from NYStudio107 is also a nice introduction.
There's a discord community for Craft CMS where you can ask for help as well as a dedicated stackexchange site.
If you need more help here, we'll need to see some code.

HTML coding a newsletter

I'm an absolute - and I mean absolute - beginner with code. I understand a lot about graphic design and how digital design works, but this doesn't help much!
I want to use Mailchimp to send out a newsletter for a client, who has a specific brand design identity. Unlike other drag-and-drop email services (such as the Squarespace newsletter add on) there is little I can do to customise the email design.
One way I've been told to do this is to use Photoshop to design the email content (layout, text etc) and import as images into the Mailchimp template. I have reservations about building an email from images though, as the images won't be responsive and work well on mobiles. It also means I can't use hyperlinks from specific text.
So I've considered coding my own using HTML... but baffled where to start? And whether it's a good idea at all? While there's a lot Mailchimp can do to keep a newsletter looking on-brand, the main thing I'd want to incorporate is a specific font.
Two questions:
Is it a good idea for a newbie to attempt to HTML code an email?
If not, how else could I work with Mailchimp to customise as much as possible?
If it is 'doable', where can I go about learning the process? Resources, tutorials?
Responsive e-mail design is one of the most complicated HTML tasks in my opinion, if I were you I would start from some nice existing templates:
https://litmus.com/community/templates
And read up about some responsive email tips.
Good luck!

Dynamic web site plus decoupled content delivery from CMS

I have a web site project, a mixture of complex dynamic pages and authored CMS-managed content. I have the tools for the complex dynamic part and would like a CMS that allows me to call it to retrieve content that's been approved, i.e. for web site inclusion.
To be clear, I need the complex dynamic part to be the master and the CMS-managed content to be served up as and when I want it.
I had thought they'd be loads of options around this - it being an obvious (to me) thing to want to do. I'd also thought that CMS's would naturally publish API's (web service based ideally) to enable this...but my research so far doesn't seem to show this. Hopefully I'm just missing a trick. Can anyone help?
I've looked, btw, at openText, Alfresco, Jahia, Enfold, Percussion, Interwoven, EPIServer, Ektron to name a few.
Ideally, I'd like an open source CMS solution if there is one, definitely can't afford the big $ that some of the vendors are looking for.
Am I right in assuming you are wanting to use an API or Service to retrieve content from the CMS that has been through some approval process?
This is definately possible with EPiServer, through either the code API or, if more appropriate, a webservice, although I think the price might be an issue here.

Simple form validation

I have a site with a simple contact form using ASP for customers to e-mail quote requests. However, I'm getting quite a few messages through with no contact information; I think people assume that their e-mail address is coming through automatically.
I'd like a simple way to make the e-mail and/or telephone number fields required, preferably so that the fields are highlighted as such if they're submitted without anything in them. I've Googled for this but they seem either too simple, diverting people to a separate page and requiring a 'back click', or incredibly complicated with massive reams of code.
Any suggestions?
EDITED
You should use a combination of server-side validation as well as client-side (JavaScript) to ensure there are no security holes in your form.
For any specific coding examples, please direct the question to Stack Overflow.
You can use "ASP form generators" that generate both server side and client side scripts.

Which CMS do I need? Needs to be easy to post a certain kind of post

I'm creating a site for a video store and it needs to be CMS. I'm doing this for free so I need to use a free CMS like Wordpress, Drupal or Joomla.
Do I need a new CMS, a plugin or some PHP of my own?
What I need:
User accounts
Categories
Custom post
Here's the site as it stands with WP: http://sundancevideo.ca. Right now an experimental site to try to work this out.
What I've done now, is created a "Draft" that includes a template table with images and text and so on. The user would then have to copy everything, past into a new post and replace necessary. This really isn't working well. As you may notice by the condition of the posts.
What I would prefer is if it was integrated into the WP UI. Like a field for "Description" and field for "Image" where they can upload the images as necessary. This would then generate post, with a table including all the information and images, for as many movies that were added in the UI.
I would suggest taking a look at PodsCMS as a great way to implement real CMS functionality in to WordPress. It allows you to create various content types, relate these content types, and more importantly live outside of the "WordPress bubble".
You'll find a fairly good codex and user guides (the ones authored by Johnathan Christopher are a great start). There is a solid API for this in the event that you need to integrate Pods in to an existing plugin or one you are creating. There are also developer and user contributed packages for Pods and there is even a YouTube video package you may want to check out.
PodsUI (soon to be merged with PodsCMS) allows you to create administration menus in WordPress very easily and allows you to pretty much make it look and feel how ever you want.
Flutter is a dead project and while it may be a little more user friendly than PodsCMS it lacks in in development, support, and over all usability.
Feel free to drop in the Pods Chat or # them on Twitter.
As for the user accounts you should read up on WordPress user roles/capabilties and also check through the WordPress PHPxref. A lot can be done in the way of using WordPress' current user system and you can even add other meta information for users if needed.
If you want a full CMS backend then you can't use Wordpress without extensive customising. You might want to check out pods cms for Wordpress which is an extension to attempt to turn Wordpress into a CMS. However, I have tried using it before and you will still be left with a confusing UI for your users. It will allow you to do the custom fields you want, however.
If you want full control over the UI, you will have to use either your own PHP or Drupal. Which one depends on how complex the project is and how much experience with Drupal you have had. If it is simple and your Drupal experience is limited, definitely go with your own PHP because Drupal is hard to learn. I think it would take you more time to learn Drupal than it will be to get a simple interface going with PHP.
I think this post will be helpful, depending on your experience, if you go with your own code.
i don't have particular suggestion for you custom need. Except beware for how much you give permission for your member. Please make sure they were a contributor and not author. In wp, the contributor role has no ability to publish. They have ability to post something just as a review. Thus, Administrator can review them and then published if it appropriated.
The problem with this situation is when you need them to upload things. The member with contributor role has no ability to upload video, image, or song. You have to custom this.
But if you only need their snippet or HTML link to the video (probably in youtube), then you don't have to change default wordpress role.
sorry if i mislead by your question. just trying to help as much as i can
I guess it depends on your shop's needs. I understand wanting to use wordpress, and you can do it, but at this point it almost makes people think... 'why?' If youre just going to use paypal and have a few products it might be a good idea but I think carts like zencart and oscommerce that are much better suited to store's needs. Though they are a little older. Magento and opencart are more modern, and all free. Though I've only ever used zen cart. None of these are terribly hard to set up. I guess You could always have you wordpress from page and use a link to your carts store menus.
MODx is brilliant for customisability - it was designed from the ground up to be extensive. It runs on PHP and MySQL.
You can create your own templates, add fields to those templates that appear in the UI when someone wants to create or edit a page based on that template. It has widgets for different data types, like images, dates etc that your users can use to add data to a page.
You also have full control over the HTML because you write the templates yourself. If the core code doesn't do what you need, you can write snippets in plain PHP to change the behaviour.
I've used it on a few projects over the past 3 years and I love it. I'd recommend MODx Evolution (v1.0.3) as that's stable. There's a brand-new rewritten version (Revolution 2.0.0) which is a release candidate at the moment, so you might want to have a play with that instead.
I reckon once you know MODx enough to create the site design, it'd be fairly easy to implement an off-the-shelf shopping cart into it (there may even be a MODx plugin that already does this.)