This project is read-only.

Adding Pages

Feb 14, 2009 at 5:48 PM
I have 29046 up and runnimg, I tried adding a few pages which I did but where are they after being published?

They are nowhere to be found.

Thank you.
Feb 14, 2009 at 9:09 PM
I believe there is some kind of time-zone bug in Oxite that I've pointed out as an issue.

IF that is still around then you might get your pages to be published within a few hours! When ever I write a blog post on my Oxite I have to set the time back an hour to make them appear right away! ;~)

I suppose I could have fixed it but I haven't gotten round to it since it's a small thing. Also my site is not up to date it is running on a very much earlier build.

Not saying this is your issue but I have that issue. I am in time zone +1

Cheers,

M.

On Sat, Feb 14, 2009 at 18:48, jerrysdean43 <notifications@codeplex.com> wrote:

From: jerrysdean43

I have 29046 up and runnimg, I tried adding a few pages which I did but where are they after being published?

They are nowhere to be found.

Thank you.
Feb 14, 2009 at 9:15 PM
The posts show up immediately, the pages are nowhere to be found.
Feb 14, 2009 at 11:37 PM
Edited Feb 14, 2009 at 11:39 PM
A Page is basically a Post that is not connected to any area (blog).  Take a look at the oxite_Post table in the database, your data should be there. 

There is currently no admin view for managing pages, so you'd have to roll out your own unless the Oxite team decides to include one in the sample site. 

The default About page in the sample site is an example of a Page.  Take a look at the Header.ascx in the Views/Shared folder to see how the About page link is generated.

You should also be able to access your page directly  ...  http://../About
Feb 15, 2009 at 12:03 AM
Looks like they forgot the about page in 29046.
Feb 15, 2009 at 12:32 AM
I'm still on 28900, so I didn't notice.  You're right, that the About page isn't there.  You can add a page with the slug "About", and the About link should work.

The comment on the 29046 release says "Making the MDF in App_Data empty."
Feb 15, 2009 at 11:17 AM

@adr_k Yes, you are right (across the board).  :)

@jerrysdean43 Sorry about the confusion.  We wanted to make sure that anyone that wanted to ship the MDF that we ship with Oxite would have a unique SiteID (used for generating the AntiForgeryToken) and just make everyone run through the setup themselves (which will inherently make sure the SiteID is new and unique), but I completely forgot that there wouldn't then be an about page.  I think it would be weird to take About out of the menu with what comes out of the box with Oxite so to make sure this confusion goes away I'm going to revert the MDF back to what it was and put an explaination of SiteID in the "Getting Started with Oxite" doc.  We will probably have to readdress this issue in the future.

Thanks everyone!

Feb 15, 2009 at 1:52 PM
i am going to try and use Oxite for a CMS, will there be a way to insert html into a page, a code view of a page. I guess with an about page I could use the about page as a template? Thank you.
Feb 15, 2009 at 7:11 PM
Edited Feb 15, 2009 at 7:12 PM
After going though the MVC tutorial I have an understanding of how views work so I guess I have answered my own question.