Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - More Than One App On One Page
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

More Than One App On One Page

 Post Reply Post Reply
Author
Dazz View Drop Down
Newbie
Newbie
Avatar

Joined: 24 January 2003
Location: United Kingdom
Status: Offline
Points: 29
Post Options Post Options   Thanks (0) Thanks(0)   Quote Dazz Quote  Post ReplyReply Direct Link To This Post Topic: More Than One App On One Page
    Posted: 09 March 2003 at 9:54am

How do i put the guestbook and weekly poll on the same page without recieving errors?

Any Help Would Be Greatly Appreciated

Dazz

Back to Top
fernan82 View Drop Down
Mod Builder Group
Mod Builder Group
Avatar

Joined: 17 November 2002
Location: United States
Status: Offline
Points: 362
Post Options Post Options   Thanks (0) Thanks(0)   Quote fernan82 Quote  Post ReplyReply Direct Link To This Post Posted: 09 March 2003 at 10:02am
Read the weekly poll documentation, it tells you how to do it.
Back to Top
Dazz View Drop Down
Newbie
Newbie
Avatar

Joined: 24 January 2003
Location: United Kingdom
Status: Offline
Points: 29
Post Options Post Options   Thanks (0) Thanks(0)   Quote Dazz Quote  Post ReplyReply Direct Link To This Post Posted: 09 March 2003 at 10:10am
No it doesnt
Back to Top
faubo View Drop Down
Senior Member
Senior Member
Avatar

Joined: 30 May 2002
Location: Brazil
Status: Offline
Points: 560
Post Options Post Options   Thanks (0) Thanks(0)   Quote faubo Quote  Post ReplyReply Direct Link To This Post Posted: 09 March 2003 at 10:15am

you have to choose one of the apps and rename the variables,

like strcon, adocon etc...

both have the same variables, so it mess up the logic of the server if you put them in the same page.

Remember that you need to change the names of the variables of the to-be-modified app in all pages.

If you have dreamweaver, put all the pages in a folder and search-substitute the variables in that folder, this way you have to do it only once per app.

and don't forget to make back-ups before anything.



Edited by faubo
Back to Top
fernan82 View Drop Down
Mod Builder Group
Mod Builder Group
Avatar

Joined: 17 November 2002
Location: United States
Status: Offline
Points: 362
Post Options Post Options   Thanks (0) Thanks(0)   Quote fernan82 Quote  Post ReplyReply Direct Link To This Post Posted: 09 March 2003 at 3:36pm
No you don't if you use <% server.execute "weekly_poll.inc" %> to include it as the documentation says you don't have to rename the variables.......i have them like that on my site and i didn't renamed the variables....
Back to Top
faubo View Drop Down
Senior Member
Senior Member
Avatar

Joined: 30 May 2002
Location: Brazil
Status: Offline
Points: 560
Post Options Post Options   Thanks (0) Thanks(0)   Quote faubo Quote  Post ReplyReply Direct Link To This Post Posted: 09 March 2003 at 11:33pm

hmmm, interesting, how do you use that?

Not that will make much difference now but... always good to learn something new.

Back to Top
fernan82 View Drop Down
Mod Builder Group
Mod Builder Group
Avatar

Joined: 17 November 2002
Location: United States
Status: Offline
Points: 362
Post Options Post Options   Thanks (0) Thanks(0)   Quote fernan82 Quote  Post ReplyReply Direct Link To This Post Posted: 10 March 2003 at 4:16pm

Just like the include but it has to be inside <% %> tags and you can start the virtual path with / to start from the root instead of having to use ../../etc as with the include...and you don't have to re-define the variables.... that's how the weekly poll documentation tells you to do it i'm pretty sure...

 

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.