Can someone point me at a tutorial for adding new pages to my Dolphin 7 site?
I kind of stumbled through New Page in the page builder and added a top nav tab and link for the new page, thinking I'd change the default page name via ftp and update the nav link. Then I'd just keep adding pages that way. The trouble is that the New Page URL indicates the page is in a folder called /dolph/page that doesn't seem to exist anywhere on my server.
|
Pages created via the administration interface are displayed on the fly. If you want to change anything about them you can do so in sql sys_page_compose. Just find the name of your page and then edit from there. |
Mauricecano,
Where do I find the sql sys_page_compose file?
Thanks,
|
in your phpmyadmin
table
sys_page_compose
|
Well, now I have to ask the next dumb question -- how do I edit the page? I found sys_page_compose in phpMyAdmin, but just changing the name didn't allow me to call up the page. When I created the new page, it showed up at mysite.com/dolph/newpage I substituted the new name for new page, but I get a page not found error. |
He wanted to update the page name and nav link, I'm assuming the page link. The only way to do that is through the DB as the page editor keeps those elements fixed once you enter them.
Oh don't forget the htaccess edit so you can go to your new page like this: site.com/pagename instead of site.com/page/pagename
Add this to the bottom of your htaccess file right above this line: RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteRule ^pagename$ viewPage.php?ID=pagename [QSA,L] - just change pagename with whatever name you used for your page, upload, and now you can go to site.com/pagename and have it displayed.
|
Thanks, houstonlively and mauricecano -- that'll give me enough to tinker with for a while. You really can't overestimate how much I don't know about this stuff.
|
Wow, this is a life saver. Thanks :) |
@HoustonLively : Thanks for the tutorial :) greatly appreciated.
If I recall correctly, we cannot add PHP to those pages, without a mod that is, is there one you would suggest as I have to create a php page for my radio station that will display a few stats about what is going on.
Thanks
BeN
|
Just FYI for all the new people asking for help here...
When getting help from some Thank them....Its their time and saves you money most of us including me would be lost with out all the help of people on here..
|
There you go Houston, teachin' the new kids things they don't yet. Next thing we know you'll be takin' 'em all out for ice cream sundaes. Geezus. |
So my girlfiend has been trying for a few days to add a page.....I found this link for her and tried my self step by step...
And I just cant not get it to work....Get to step 8 veiw page and I get a 404....
I delete cache nothing still 404
I change the htacces file to and to different things clearing cache each time and always directs to the same url and I get a 404 it seems no matter what I change the the htaccess it goes somewhere to the same place like it gets hijacked by somali pirates along the way
So I look in the root folder and no page.php that I create...I check database and its there. Now I do notice that a new page that I add has system value of 0 so I change it to 1 like the rest and still nothing..
I have no clue whats going on other then I can not add a page at this point I would give access to some one of the regulars to show I am not nuts here
please help!!!
|
Thanks tons for the tutorial folks.
I also have the challenge that after following all the steps, changing htaccess, the new page still won't show. ( I get a profile not available for view error)
I also added a new tab to the nav bar ( with the new item from the listings) then the new page to the tab.
So just wondering if there is another step that I may have overlooked.
thk
|
Sorry HL, I should have updated this post.
With some help from a member she was able to get this working. The editing of the .htaccess came from a direct suggestion not in a post here.
But the end result had to do with the way the URL was being rewritten by modrewite, ( http://www.boonex.com/unity/forums/?action=goto&my_threads=1#topic/CSS-Error-.htm ) is the link to thread that she ended up getting help in.
|
On a new page how can I add an icon and a page title such as the one provided on the sounds home page?
Sounds.
Thanks in advance.
|
On a new page how can I add an icon and a page title such as the one provided on the sounds home page?
Sounds.
Thanks in advance.
Ditto
|
He wanted to update the page name and nav link, I'm assuming the page link. The only way to do that is through the DB as the page editor keeps those elements fixed once you enter them.
Oh don't forget the htaccess edit so you can go to your new page like this: site.com/pagename instead of site.com/page/pagename
Add this to the bottom of your htaccess file right above this line: RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteRule ^pagename$ viewPage.php?ID=pagename [QSA,L] - just change pagename with whatever name you used for your page, upload, and now you can go to site.com/pagename and have it displayed.
when adding a new page with one name, then add it to the htacess, it works fine. in what format do i use in the htacess if i'm adding new pages with multiple names? for example, i create a new page called my_new_page. do i use the underscores or spaces or all one word? i can't seem to get it to work properly.
thank
i'm tired |
Ok, Ive created my new page. I have it ready to add to the site.
How do I add a link to the nav bar for it?
My signature can beat up your signature! |
Ok, Ive created my new page. I have it ready to add to the site.
How do I add a link to the nav bar for it?
Administration, builders, navigation menu.
There will be a new item block in the inactive area. Drag it to the active area and click to begin editing it.
BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
Magnussoft - Thanks so much! That was simple!
May I ask another question? (assumes you said yes) lol
How in the world do I add the Image in that section? I tried pasting a URL to a photo in 2 pleaces ( Picture and Icon ) and nothing!
My signature can beat up your signature! |
In the icon field enter the image name you want to use. Like myimage.png
Make sure you upload that image to templates/base/images/icons/
https://www.deanbassett.com |
My signature can beat up your signature! |
One other thing. The image size for the icon is 16x16
The other spot for picture is for the big picture that shows up between the top menu and the member menu and is 32x32. But i don't think that will show unless there are sub menu items. That also is uploaded if used to templates/base/images/icons/ https://www.deanbassett.com |
Useful information. Thank you again. My signature can beat up your signature! |