Hi,
Does anyone know how to create a new custom page on a D7 site? I see there is no view page button in the page builder like there is in D6 so when I create a page I have no idea of the URL to use when creating a menu entry.
Any hints?
Hi, Does anyone know how to create a new custom page on a D7 site? I see there is no view page button in the page builder like there is in D6 so when I create a page I have no idea of the URL to use when creating a menu entry. Any hints? |
TO make a new page go to Builders>Page Blocks, then from there click on create a new page. Populate it the way you want. Then you need to go to the html and add an entry like this(replace newpagename with your page name)
RewriteRule ^newpagename$ viewPage.php?ID=newpagename[QSA,L] Right above this : RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule .+ - [L] RewriteRule ^([^/]+)$ profile.php?ID=$1 [QSA,L] However, right now its broke and all new pages will appear as a blank white page with no code on it. |
Rules → http://www.boonex.com/terms |
TO make a new page go to Builders>Page Blocks, then from there click on create a new page. Populate it the way you want. Then you need to go to the html and add an entry like this(replace newpagename with your page name) RewriteRule ^newpagename$ viewPage.php?ID=newpagename[QSA,L] Right above this : RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule .+ - [L] RewriteRule ^([^/]+)$ profile.php?ID=$1 [QSA,L] However, right now its broke and all new pages will appear as a blank white page with no code on it. Thankyou! |