We are using our own theme for our website, and would like to keep that theme whilst set up the new membership feature, style the forms, alert/error messages and styles.
Can anyone give us a hand?
Same problem here.
I looked into Lyra theme which is available on github.
I copy and pasted {{#if access}}{{else}}{{/if}}on post.hbs,
and moved āmembersā folder on my theme, but things wonāt work here.
I enabled the setting correctly so I know itās a problem of my themeā¦
Does anybody know if I miss something?
This is on my near-term TO-DO list (to provide the community with a step-by-step tutorial for the most simple way.)
So I would also appreciate any specific references from developers (and/or more experienced themers) that might pitch in and help with that by pointing in the right directions of already existing materialsā¦
Amazing! Thatās exactly what we need!
I was trying to find specific documents on the web but I couldnāt find something like that.
Here is my themes dev & testing & tutorials site (besides my entries here on the forumā¦)
Iām in the process of adding membership functionality to my theme, too, but I havenāt gotten too far yet. Nonetheless, I noticed that the Lyra theme includes some JS/jQuery that is necessary for membership to function. Itās included in the default template: Lyra/default.hbs at main Ā· TryGhost/Lyra Ā· GitHub
Hopefully that helps.
Thank you for the suggestion!
I included those lines on my theme.
Still, my problem stays the same.
The pay-wall is still showing up and replacing all the post contents, including for the free postsš¢
I could solve that paywall issue.
package.json was the key.
I changed ghost-api section to āv3ā from āv2ā, and I clean installed the theme.
{
ānameā: āyourthemenameā,
āversionā: ā1.0.0ā,
āenginesā: {
āghostā: ā>=3.0.0ā,
āghost-apiā: āv3ā
},