I have created a new doctype in my module. And i have included the show in website field in that so that the entered details will be shown in the website. But it is not shown so i checked the py file of the doctype and it shows like this: `
from future import unicode_literals
import frappe
from frappe.model.document import Document
class PhotoItems(Document):
pass
`Only this much code is shown .PhotoItems is my doctype name . Why is it so??? is there some permission needed for creating new doctype???
Now the page appears in the website, but i have included slide show in the website it is not showing instead in that place iam getting this {{ slideshow_header }} also in console iam getting the error : Uncaught TypeError: Cannot read property ‘offsetWidth’ of undefined.