Remove samble content
Permalink
I have made my own theme, and then I add a new page, the page is filled with content from C5, are there a way not to get that content, without having to remove it manually every time?
yes Navigation, header images and so on, yes i have checked Page Types and its empty.
How did you create your own theme? Did you start from scratch or did you modify an existing one? Did you activate your theme in the dashboard?
Sorry, I'm in the dark here - could you maybe zip your theme folder and post it here or send me a PM with it?
Sorry, I'm in the dark here - could you maybe zip your theme folder and post it here or send me a PM with it?
Yes from scratch, and yes I have activate my theme in the dashboard.
Thanks for the upload, I think we're getting closer :-)
You only have default.php and view.php in your theme - these files can't be used for page types.
So, please do the following:
* copy your default.php and rename that copy to something like sample_page.php
* in the Dashboard, go to Pages & Themes, and click on the "Inspect" button next to your theme
* activate the new file by clicking on the button "Activate new files"
* click on "Page types" and check: there should now be a new page type called "Sample Page" (this name comes from the .php file that you created), which you can use when adding a new page.
Cheers,
stromberg
You only have default.php and view.php in your theme - these files can't be used for page types.
So, please do the following:
* copy your default.php and rename that copy to something like sample_page.php
* in the Dashboard, go to Pages & Themes, and click on the "Inspect" button next to your theme
* activate the new file by clicking on the button "Activate new files"
* click on "Page types" and check: there should now be a new page type called "Sample Page" (this name comes from the .php file that you created), which you can use when adding a new page.
Cheers,
stromberg
Great it worked, thank you so much for your help:)
You can make any block show up by default by editing page type defaults - or *remove* any block from your page type, for that matter.
There's a screencast for this: http://www.concrete5.org/documentation/how-tos/editors/share-conten...
HTH!
stromberg