Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

set flag to save and publish page


Reply


2 Posts   624 Views

Avatar
dreezy

Community Member, 9 Posts

30 December 2010 at 9:52am

hello all,

i put directly with php some html code into a page on de site. (The content of a page)

But i have to go to my CMS to save and publish the page.

Is there a table where a flag is set that the page is saved and published?

So i can do it in my php file?

Thanx for help

Avatar
dreezy

Community Member, 9 Posts

30 December 2010 at 9:58am

Edited: 30/12/2010 9:58am

Okay,

i find the solution

I made the changes in the table SiteTree.

Now i copy those changes in the table SiteTree_Live.

Everything is working fine now :)