I have created a custom Home page as well as another custom page which are being added to the pages library in a publishing portal site. The pages are successfully being added, however they are not published, they are in pending status. I would like to have them both published once the feature is activated, how can i go about doing this?
Other info: The pages are being added via a module.Is there a way i can find the pages and activate in an event receiver? If so how?