The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
dialog pages
Author Message
Coruja
Sphere Developer
*****

Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7

Dimension Shard

Post: #7
RE: dialog pages
the sphere always send all dialog pages to the client, you just need to make it change the page using "BUTTON x y id id 0 2 0", in other words, these numbers means:
0: there's no real button action (you cant use ON=2, ON=3, etc), since there's no action, sphere will automatically define that button as an "page button"
2: this will open page 2
0: as I said before, the button doesn't have a real action, so it doesnt need a tag number to use ON=2, ON=3, etc

you can open dialogs directly on a specific page using DIALOG d_something 2 too, this will open the dialog directly on page 2, but it's only recommended to open the dialog, not to change pages if the dialog is already open. If you change pages using this, sphere will send the entire dialog again to the client everytime you hit the button. If you use the first method above, the client can change the dialog page itself without need to reload the dialog (this will make it load faster)
(This post was last modified: 08-11-2014 10:42 AM by Coruja.)
08-11-2014 10:41 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
dialog pages - richm - 08-11-2014, 02:35 AM
RE: dialog pages - darksun84 - 08-11-2014, 03:17 AM
RE: dialog pages - richm - 08-11-2014, 06:35 AM
RE: dialog pages - darksun84 - 08-11-2014, 06:58 AM
RE: dialog pages - richm - 08-11-2014, 07:12 AM
RE: dialog pages - eberk - 08-11-2014, 10:15 AM
RE: dialog pages - Coruja - 08-11-2014 10:41 AM
RE: dialog pages - richm - 08-11-2014, 06:09 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)