PDA

View Full Version : PHP Menu?



@hattori
03-01-2007, 22:44
Em vừa tìm được một PHP menu khá tốt (theo như cái demo của nó) tại http://www.devmansion.com/Products/PHP/Menu/Default.aspx nhưng em không tài nào cài đặt được nó. Dù đã làm theo đúng như hướng dẫn cài đặt của nó những vẫn là chỉ hiện lên một trang trắng tinh sau khi cấu hình. Em đã thử trên cả Apche Server và IIS nhưng đều không thành công. Các bác thử tải nó về và cài đặt xem, sau đó làm ơn chỉ dùm em phát. :)

File SQL đi kèm:

DROP TABLE IF EXISTS `menudata`;
CREATE TABLE `menudata` (
`id` int(10) unsigned NOT NULL auto_increment,
`pid` int(10) unsigned default NULL,
`text` varchar(250) NOT NULL default '',
`url` varchar(250) NOT NULL default '',
PRIMARY KEY (`id`)
);

INSERT INTO `menudata` (`id`,`pid`,`text`,`url`) VALUES
(1,NULL,'DevMansion.com','http://www.dewmansion.com/Default.aspx'),
(2,NULL,'Products',''),
(3,NULL,'Support',''),
(4,NULL,'Order PHP Wrapper Now!',''),
(5,NULL,'Links',''),
(6,2,'PHP Wrapper for DMAPI.Menu',''),
(7,4,'<b>Developer License for 49 US$</b><br><span style=\'font-size: 9px;\'>A license for use of the product by a single developer in development of an <U>unlimited</u> number of applications/web sites</span>','https://secure.shareit.com/shareit/checkout.html?PRODUCT[300032945]=1&cartcoupon=1&DELIVERY[300032945]=EML&languageid=1&currencies=USD,all'),
(8,4,'<b>Enterprise License for 149 US$</b><br><span style=\'font-size: 9px\'>A license for use of the product by an <u>unlimited</u> number of developers in a single organization in the development of an <u>unlimited</u> number of applications/web sites</sp','https://secure.shareit.com/shareit/checkout.html?PRODUCT[300032945]=1&cartcoupon=1&DELIVERY[300032945]=EML&languageid=1&currencies=USD,all'),
(9,2,'<b>PHP Wrapper for DMAPI.Menu</b>','../Default.aspx');
INSERT INTO `menudata` (`id`,`pid`,`text`,`url`) VALUES
(10,9,'<b>Order Developer License for 49 US$</b><br><span style=\'font-size: 9px;\'>A license for use of the product by a single developer in development of an <U>unlimited</u> number of applications/web sites</span>','https://secure.shareit.com/shareit/checkout.html?PRODUCT[300049778]=1&cartcoupon=1&DELIVERY[300049778]=EML&languageid=1&currencies=USD,all'),
(11,9,'<b>Order Enterprise License for 149 US$</b><br><span style=\'font-size: 9px\'>A license for use of the product by an <u>unlimited</u> number of developers in a single organization in the development of an <u>unlimited</u> number of applications/web sit','https://secure.shareit.com/shareit/checkout.html?PRODUCT[300032945]=1&cartcoupon=1&DELIVERY[300032945]=EML&languageid=1&currencies=USD,all'),
(12,2,'<b>DMAPI.Menu</b><br><span style=\'font-size: 9px\'>Freeware JavaScript Menu</span>','../../../JavaScript/Menu/Default.aspx'),
(13,2,'<b>JavaScript MenuBuilder</b><br><span style=\'font-size: 9px\'>WYSIWYG JavaScript Menu Builder</span>','../../../JavaScript/MenuBuilder/Default.aspx'),
(14,3,'<b>Have a question?</b><br>Contact our Support Team','mailto:support@devmansion.com?subject=PHP Wrapper Support Request');
INSERT INTO `menudata` (`id`,`pid`,`text`,`url`) VALUES
(15,3,'Online Docs & Examples',''),
(16,15,'Tutorials','../Docs/Default.aspx?go=tutorials/tutorials.ascx'),
(17,15,'Examples','../Docs/Default.aspx?go=examples/examples.ascx'),
(18,15,'Reference','../Docs/Default.aspx?go=reference/reference.ascx'),
(19,5,'<b>PHP.NET</b><br><span style=\'font-size: 9px\'>PHP is a widely-used general-purpose scripting language</span>','http://www.php.net');

~guest
03-01-2007, 23:47
Cái này kết hợp cả Php, JavaScript và MySql, tương đối phức tạp nhưng bạn chỉ cần tham khảo kỹ hướng dẫn là làm đc, tôi vừa test thử trên localhost theo hướng dẫn tại http://www.devmansion.com/Products/PHP/Menu/Docs/Default.aspx?go=tutorials/gettingstarted/installation.ascx thì ok, nhưng test demo mỗi menu thì dễ, nhưng khi chèn vô file html thì hơi khó, vì nó dễ bị lệch khỏi vị trị mình muốn.

kid08
04-01-2007, 09:51
mình thì nghĩ Menu xài JS là đủ rồi :P nhưng PHP cũng tốt :D

@hattori
04-01-2007, 16:59
Cái này kết hợp cả Php, JavaScript và MySql, tương đối phức tạp nhưng bạn chỉ cần tham khảo kỹ hướng dẫn là làm đc, tôi vừa test thử trên localhost theo hướng dẫn tại http://www.devmansion.com/Products/PHP/Menu/Docs/Default.aspx?go=tutorials/gettingstarted/installation.ascx thì ok, nhưng test demo mỗi menu thì dễ, nhưng khi chèn vô file html thì hơi khó, vì nó dễ bị lệch khỏi vị trị mình muốn.

Cám ơn bác đã trả lời, xin hỏi bác dùng PHP và MySQL version bao nhiêu và webserver của bác như thế nào. Em cũng đã làm theo hướng dẫn đó, nhưng vẫn không thành công. :-(