I'm an email designer and I've recently seen something that I think is rather impressive but I have no idea how this company have done it.
Basically, they have links on their email that adds products directly into the user's basket (on their website). I've never seen this kind of functionality before. I'm guessing they've got some clever re-directing going on but I really don't know.
A link to the email is here: http://tinyurl.com/ose5m22
Do you know how they've done it?
Cheers! Paul
It's not an "email" feature. The button is just a link to a website and the link got parameters to initialize a basket.
Related
I've created a Shopify store where discount codes can be entered indirectly. Therefore I am trying to disable the discount box as seen below.
I've researched it and seen you can edit the code in Themes > Actions > Edit Code.
And I've followed some videos:
https://www.youtube.com/watch?v=EJi6zfc63RU
However I am unable to do it.
Has anyone done this before?
Please Help!
You are in the right place, you need to look for the "checkout.liquid" file to make that edit.
Looks like you need to have a Shopify Plus account to be able to access that specific file, and lacks a workaround because of the security necessary to keep that page PCI compliant.
You can see more here: https://community.shopify.com/c/Shopify-Discussion/Customizing-Checkout-Page/td-p/453743
Now before you post one of the many "Add a Page" tutorials I've read, I'm going to say that none of those have helped because not only has Tumblr removed the "Redirect" option on it (courtesy of April 8th, 2015, unfortunately), but the add a page feature does not seem to work when using a custom HTML code--even when you use the "add a page" link that you created and paste it into the link url section provided for the tabs!
Of course, I have also looked at questions on here, but those pertain to loops leading back to the Home page, and do not specify how to have your posts redirected to a specific page. Believe me, I have tried the whole /tagged/yourname URLS under the URL section for the Link, but that is ineffective. I have even tried giving the post a Custom URL and then pasting that URL into the designated link URL section to see if it would pop up under the page but alas, that did not work either. And yes, I've even scoured through the code to find a possible paste solution and have pasted the link into the code directly, but that didn't change anything either as it was just under the "naming" section in the beginning of the code, anyways (should've known that wouldn't work).
If anyone can help me with this issue, or at least understand what I'm even asking, I would be forever grateful.
EFFORT FURTHER EXPLAINED:
Note: the tumblr's /submit URL works, but my attempts on, for eg, a separate art page for posts tagged "somethingart" have been fails.
Redirect: Here's an example of one of the many tutorials I read that has a clear image of where the "redirect" option should be, but of course it's outdated as the edit appearance looks slightly different from that now (you have to scroll down a little).
Okay, so let's move on to the other attempts now although, unfortunately, you're going to have to view them on a google document because apparently, you need to have 10+ reputation to post more than two links (click the link above)!
As for the coding part, well I'm actually a beginner at coding as I've only had two classes last semester (which was a while ago), and that was in C# and the foundations of computer science, so scouring through this code to try and find where I could add something to make it work only gave me a headache in the end (it's really long...).
I think I get you now. As a new account some features are not yet available to you. You will get those features eventually. For now (from what you have in the pictures):
The link (link6 URL) went to home page (or to the error page) most probably because you did not have http:// in the beginning. I said that by assuming how your theme is made based on the picture of 'Theme Options'.
After that is solved, you know the page would not redirect itself to your "tagged/something" page because it is not a "Redirect" page, and you do not have any script to do the redirection (if you do not actually).
Do not worry though, there is a better way; just have the "tagged/something" link directly in your "Link6 URL" option (as in the pictures). You have to put it something like; http://yourblog.tumblr.com/tagged/something.
Let me know if you have any questions?
I am creating a website and there is a page with people that are part of the company. Each person has an email that i want for the user to be able to get the email for the person that he/she want.
If we were in 2011 i would have used mailto: html tag. But really not so many people are using desktop email clients.
I thought about linking to a link so a new window would open in gmail and a new message would be created with recepient the pressed email. BUT not everyone uses gmail.
The only posible "solution" that i though that when the user clicks on the email this would be copied automatically in the clipboard. It would have the same result as doing CTRL & C at something. BUT this requires a lot of time and i dont want to get my hands dirty with javascript.
Is there any other way to do this ?
You should probably still use mailto:. mailto: is not intended for just desktops, it identifies a handler for the client. A mobile device would be able to recognize it just as well, and launch its preferred MTU.
With a lot of addons like smartaddon contact form and foxyform available out there, you could add them to your html code.
But, if you could use php, it to would just take few statements of code to set up the contact form on your own. Refer this post which explains clearly on how to set up your contact form using php.
Situation
I want to create a Community-like Website/Portal with Liferay's Open Source Portal Software.
My issue right now is, I don't know how to realize a separated or partly divided site. It should be possible to have some pages before the login, to inform the possible future user and then after registration/login some internal pages which obviously shouldn't be visible to not registered users. The internal part is not much the problem, because I can just set the user permissions for the sites, so the "guest" users can not see them. But if I create pages for public guests, they also appear internally when logged in. But these ones should not be seen in the menu, but if I set the settings "hide page from navigation bar" they are also gone for the public area obviously.
Also I thought about organizing my site, it is anyways better to have it a bit structured so the internal part is separated from the outside part.
Possible Solutions
First I tried with the public and private pages, but unfortunately I came to no success. Maybe it is possible but if, then I did something wrong with them.
Another approach I have in mind would be using user roles/permissions, but I have not figured out how it could be done in an efficient way and I am also quite unsure if it is a good way how to achieve that. The problem is that every user inherits the permissions from "guest" so I cannot hide pages from them. I mean it would be enough to not have it on the internal navigation.
My last and maybe closest approach which could work, would be the community/organization mechanism, but unfortunately I couldn't find much information on that how one could achieve what I want to have.
I would be really glad if someone could help me with that?
New Approaches
What I would want to have is a "flag"/checkbox or something like "Hide Menu Button"(Internally/Externally -> Logged in user etc...), which I can check, what would cause the link to disappear.
I was thinking about maybe there could be a CSS style solution? Are there attributes in the navbar links of the pages which I could address and hide the links via CSS/jQuery? Like a "private" or "public" attribute or something?
The best way of doing it is using -
Public and Private pages. Public pages are visible to guest users and private only to members. In order for this to work you will have to code your theme accordingly.
Public pages will be still accessible to logged in users but you can hide them from the menu.
Tina
Looks like you want to hide 'public pages of a site' from internal users. Achieving this through permissions would be very difficult, if not impossible. You may want to try coding this logic in your theme's navigation.vm.
OR
If you still want to achieve this using Liferay configuration, try following steps:
Find your site from Control panel > Sites
Click "Manage Pages"
Do the following for each page under "Public pages"
Click on 'Permissions'
Remove 'View' permission for 'Site Member' role
I haven't tried this myself, but it should work.
I played around a bit and found a better pleasing solution now (better than hardcode something or change themes or anything).
I created two sites (not pages), where one has the "open" membership type and one the "private" membership type.
In the "open" site I create pages now which are for the public and not logged in user, so they are visible before the login.
The "private" site represents the "intern life" of the page, so I create the pages which only should be visible to logged in/registered users.
Now I create a site link/default landing page in the "open" site to the "private" site.
There are then only the internal sites visible for the users.
Don't mix that solution up with "public"/"private" pages, because these are working a bit different.
I like that solution way better, because then I can split concerns between the outer and inner "world".
If someone has an even better way of doing that, I would be glad to hear that :)
Until then, I hope maybe I could also help others with that.
So,
Imagine that I have this link:
Test
How do you deal with people that visit your site and don't have any email handler? What are the possible solutions? Like showing the email, for example? Any other solutions?
Thanks
EDIT: This solution requires you putting the email in between the anchor links. Why would you not?
I would not worry about it. Most browsers (all modern ones) would allow a user to right click and copy the email to their clipboard in the worst case. Its not such a mission critical feature that I would worry about it. If they do click it, I believe the browser will ask the user what mail client they would like to associatemailto links to.
The only other choice would to allow them to fill out a form that your mail server will generate into an email and then send to the appropriate recipients.
On mouse over it could show a tool tip above the link with the email?
If you don't want to be dependant on client settings, you ll need to provide the service server side. Meaning allow ppl to send an email from your site using some simple text box and a SMTP plugin.
You might find this question helpful: Has anyone ever come up with a way to detect the email program a recipient is using?
Essentially, there's no possible way to check if there's an outside program to handle email, so short of writing a submission forum that automatically sends the email to the intended recipient, there's probably not much you can do.