Home  | FAQ  | Search  | Memberlist  | Usergroups  | Register  | Profile  | Log in  | Log in for your private messages
adding new pages

 
Post new topic   Reply to topic    myWebland Forum Index -> Customization
View previous topic :: View next topic  
Author Message
df123
Newbie


Joined: 08 Jun 2005
Posts: 5

PostPosted: Wed Jun 08, 2005 6:22 am    Post subject: adding new pages Reply with quote

hello, this is amazing!!!! Just what i'm looking for.

here's where i need help:
I'd like to manualy add more links that could call tpl or html files in the main window. For example: lets say I wanted to load exA.htm exB.tpl in blog frame, so that it will look all uniformed.

This is much different from using frames, cause in basic html you just declair the frame name and it loads, I'd like to know how to do this in php.

any help would be great!

thank you

Df
Back to top
View user's profile Send private message
sean
Site Admin


Joined: 14 Jul 2004
Posts: 671

PostPosted: Wed Jun 08, 2005 1:12 pm    Post subject: Reply with quote

read this will help you

http://mywebland.com/forums/showtopic.php?t=229
Back to top
View user's profile Send private message Send e-mail
df123
Newbie


Joined: 08 Jun 2005
Posts: 5

PostPosted: Fri Jun 10, 2005 7:29 am    Post subject: Reply with quote

Sean that worked out great! Thank you So much....

Can anyone please tell me how to fix the exsiting problem now..

OK i now have my custom pages loading beautifuly in the main window but there seems to be a linking problem.

EX:
Lets say I load Yahoo.com in my main window, loads perfectly but what happens is if you click a link on the yahoo page it's looking at my .com instead of yahoo.com.... address its looking at my.com/http://www.yahoo.com

So how do I stop that from happening ? does it have something to do with $global ? if so please tell me how to do it...

thank you
DF
Back to top
View user's profile Send private message
sean
Site Admin


Joined: 14 Jul 2004
Posts: 671

PostPosted: Fri Jun 10, 2005 3:55 pm    Post subject: Reply with quote

I dont think i understand your question, can you show me your link
Back to top
View user's profile Send private message Send e-mail
df123
Newbie


Joined: 08 Jun 2005
Posts: 5

PostPosted: Sat Jun 11, 2005 1:49 am    Post subject: Reply with quote

Hi sean, Ok i posted the site at http://www.xceptionaldj.com/blogx when the page loads click the link that says EVENTS you'll see it breaks out of the site.

again any help would really help thank you..
Back to top
View user's profile Send private message
sean
Site Admin


Joined: 14 Jul 2004
Posts: 671

PostPosted: Sat Jun 11, 2005 7:25 am    Post subject: Reply with quote

If you planning to display the events page with the mybloggie environment. We have can use ...include events.htm.. under the case switch.

I'm still not very sure what you want .. I hope my assumption is correct
Back to top
View user's profile Send private message Send e-mail
df123
Newbie


Joined: 08 Jun 2005
Posts: 5

PostPosted: Sat Jun 11, 2005 9:22 pm    Post subject: Reply with quote

yes yes yes how do I keep all my pages within the mybloggie environment
Back to top
View user's profile Send private message
sean
Site Admin


Joined: 14 Jul 2004
Posts: 671

PostPosted: Sun Jun 12, 2005 2:17 am    Post subject: Reply with quote

if you have a new file ..eg : test.php ot test.htm

look for this

Code:
if (isset($mode)) {
    switch ($mode) {
    case "viewid":
    include 'view.php';
    break;
    case "viewdate" :
    include 'viewmode.php';
    break;
    case "viewmonth":
    include 'viewmode.php';
    break;
    case "delcom":
    include 'delcomment.php';
    break;
    case "viewcat":
    include 'viewmode.php';
    break;
    default: include($mybloggie_root_path.'blog.php'); break;
    }
}


add in new line in tehre

Code:
case "test":
    include 'test.php';
    break;


to access type index.php?mode=test
Back to top
View user's profile Send private message Send e-mail
df123
Newbie


Joined: 08 Jun 2005
Posts: 5

PostPosted: Sun Jun 12, 2005 9:53 pm    Post subject: Reply with quote

Your awsome dude! thanx!
DF123
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    myWebland Forum Index -> Customization All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
TNX?

Error. Page cannot be displayed. Please contact your service provider for more details. (7)




Powered by phpBB © 2001, 2005 phpBB Group
Contact Us