Here's what worked for me and my little girl, though she was younger and I still had the cot and I knew she wasn't going anywhere. However she would still cry her eyes out and the missus would rush straight in giving her the attention she wanted. So I had to send the missus out for a week to get things done.
Start with a fixed routine, and make something a clear indicator that it's time for bed, like a bath, or letting them watch a certain programme on TV. Do this over and over again.
Do all the getting ready for bed stuff in their bedroom, things like pyjamas, story time and saying goodnight, do it all in their room. Don't be tempted to win an extra five minutes peace for the sake of having them put their pyjamas on in the living room for example. Keep conversation to a minimum and lower and relax your voice, don't get drawn into a battle.
When it's bedtime, put your child in bed, say goodnight and walk away, if they cry or get out of bed do not acknowledge them at all for one minute. After a minute has elapsed pick them up put them back in bed, say goodnight again and walk away again, repeat the process for 2 minutes, then 3 minutes etc etc. At no point get into a fight or an argument with them, the only thing I would be doing each time is picking them up, putting them in bed and saying goodnight. After a while the child will find the whole process boring and will go to sleep.
With my little girl night one I got upto seven minute wait before she dropped off, then night two it came down to four minutes, night three it came down to two minutes. By the friday she did not cry or do anything. Put time as side to do this for the first few days and wait in your bedroom, it will be worth it if your experience is anything like mine.