Swami Vivekananda advocated secularism long before Constitution of India was drafted and his teachings put India back in the spotlight at a time when it was known merely as a colony of western nations, Chief Justice of India NV Ramana said on Sunday.