I was trying to recreate a menu part in a new module that I am tring to work on. What I am tring to do is make 1 blook in the module and it has info in it Like a little menu then call another file into another block below the first one and keep the menu block. An example of what i am trying to do is here at www.dragonsperch.easywayhost.com/ddo/index.php click on GW_Skills and you will see the block that I am tring to recreate. Then click on the gw_armor and you can see what I am getting in result when I try it. any help with this would be greatfull.
Also I am having issues with changing the button below each picture. I am tring to change them to call a file but I can not get it to work it keeps telling me there is an error at that like when I change it to pull up another file.
I got the first part to workbut still have issues with one more the code is posted a little father down in here
Last edited by DragonsPerch on Mon Nov 20, 2006 5:07 pm; edited 1 time in total
Endeavour Corporal
Joined: Oct 22, 2006
Posts: 59
Posted:
Sun Nov 19, 2006 5:57 am
I can't see what the problem is you're trying to describe. The only difference I can see between GW Armour and GW Skills is that you forgot to add OpenTable() and CloseTable() in the Armour module...
_________________ Stand up for courtesy and decency in the Nuke community, don't support nukeforums.
DragonsPerch Nuke Soldier
Joined: May 25, 2006
Posts: 19
Posted:
Sun Nov 19, 2006 9:14 am
Thanks I got that part to work, But how can I get the buttons to bring in a external file in to another block below that one with out having to use SQL data base. Everytiime I change it to link to a file it will cause an error.
Endeavour Corporal
Joined: Oct 22, 2006
Posts: 59
Posted:
Mon Nov 20, 2006 10:31 am
I don't really understand what you're trying to do...
_________________ Stand up for courtesy and decency in the Nuke community, don't support nukeforums.
DragonsPerch Nuke Soldier
Joined: May 25, 2006
Posts: 19
Posted:
Mon Nov 20, 2006 1:30 pm
So far here is the code I have:
<?php
if (!defined('MODULE_FILE')) {
die ("You can't access this file directly...");
}
require_once("mainfile.php");
$module_name = basename(dirname(__FILE__));
get_lang($module_name);
/**********************************/
/* Configuration */
/* You can change this: */
/* $index = 0; (right side off) */
/**********************************/
$index = 0;
button 1 = value of "elementalist"
Button 2 = value of "warrior"
button 3 = value of "Necro"
Button 4 = value of "Rit"
now when button 1 is pressed it bring up a (sub)menu below
(each button in the 1st menu has the same (sub)menu buttons)
button 5 = value of "prophecies"
Button 6 = value of "factions"
button 7 = value of "nightfall"
(now this is were I am having problems)
Then when the (sub)menu button 5 is pressed it brings up related info for the 1st and 2nd button that was pressed
so in the short if I want info on Elementalist armor in prophecies i would click the button for elementalist then click the sub menu button for prophecies and get a list armor for that particular class. then say I wanted to see another one I would click on Warrior button then click the submenu button of prophecies and it would display armor for a warrior in prophecies.
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