CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 ‘CodeChargers Menu System’ for CCS

Print topic Send  topic

Author Message
CodeChargers
Posted: 05/25/2003, 1:23 PM

‘CodeChargers Menu System’ is simple – but useful demonstration of a MySQL driven DHTML menus written in PHP and JavaScript.

It can be downloaded via the ‘Under Development’ section of http://www.CodeChargers.net

Hope its of use...... :)

Kind Regards
Admin – CodeChargers
CodeChargers
Posted: 06/02/2003, 2:09 PM

This file has now been moved to the new CodeChargers ‘Download Section’ – Let’s hope it’s the first of many

Admin - CodeChargers
http://www.CodeChargers.net
user
Posted: 06/02/2003, 2:22 PM

your link is broken

you have the d/l dir as downloads instead of Downloads

http://www.codechargers.com/Downloads/CodeChargersMenu.rar

this link works
CodeChargers
Posted: 06/02/2003, 2:43 PM

Thanks – The fault was that I’d typed the old .net address and not the new .com. I received your ‘broken Link’ report via CodeChargers but thanks for drawing my attention to it here as well …… all fixed now :)
Rick
Posted: 06/03/2003, 9:03 AM

Thanks - Works well and only took a few minutes to get example to work. Like the data base option to open in new window, etc.

I am pretty new to CC Studio but it looks easy to incorporate into a site. Looks like only one include line needed in a header page that other pages use.

Not sure how to use with different security pages. Would be great to be able to enter into database the security level needed for the menu item and then check session variables or somehow only show say level 3 menu security pages to users who had level 3 security rights. Is it possible to modify to do that? Ideas on how it would be done would be great.

Only other ideas that come to mind are the option to put in top menu level images in place of text and have option for submenus to display as long as mouse pointer is over the menu set.

Good job. Thanks for taking the time to share.

CodeChargers.com looks good. I will be registering.

Rick
rclayh
Posted: 06/03/2003, 10:34 AM

Sure would be nice if it was a .zip file.
rrodgers
Posted: 06/03/2003, 4:50 PM

>>Sure would be nice if it was a .zip file.

Zip would be nice. But I was able to open it using this with out too much troble.

http://download.com.com/3000-2250-10204199.html?tag=lst-0-5

rob
rrodgers
Posted: 06/03/2003, 6:10 PM

>>too much troble.

In my language that is

Too Much trouble<g>
RonB
Posted: 06/04/2003, 3:05 PM

had a look at it but aint got the time at the moment to realy give it a try. One comment though. You use an external script (php) to do the connections. I'm so accustomed to the use if CCS classes I now include common.php and clesses.php etc in my outside scripts so I can use things like $db->query etc etc.
Just a though. Why setup your own routines for connecting to the database when CCS has all these beautifull classes ready for you.

Ron
Rick
Posted: 06/07/2003, 3:06 AM

I incorporated Menu system into a small Web site I am developing, CC Studio 2.0.5.6. PHP/MYSQL. Win2000.

I first tried to to call the menu from the 'Header' page. This seemed to work until I logged in using the CCS Login function. Then I got an error message that headers were already loaded with CodeChargersMenu system. I tried to comment out a number of lines of code on the login page but could not get past a number of errors.

I ended up working around this by adding one line of code in each pages HTML header page,

<!--Following Line added to HTML just after header to include menu for top of page -->
<script language="JavaScript" type="text/javascript" src="./menu/CodeChargersJava.js"></script>

and one line of code on each page's PHP code,

//Following Line added to PHP code to add menu header to page
include(RelativePath . "/menu/CodeChargersMenu.php");

I would prefer to put it only once in the header page but this was not that much work for the dozen or so pages that I have so far for this site. If anyone has suggestions in how to just put code in the header page please reply to this.

The only other problem I see so far is if the browser window is not wide (almost full screen wide) the menu choices on the first pull down to the left appear partially off screen to the left. It looks like I could modify the code to adjust for this. What I plan to do though is make that far left menu choice not have sub menus, but instead just connect to the 'Home' page of the site.

Thanks again CodeChargers for this menu. I prefer it to the standard CCS way of doing menus. I like that it is db driven and I like that I can get to any page from any page. It would be nice though if there was a way for it to work with security. For example, not show pages whose security exceeded logged in user, or at least color coded to show what security level was required to connect to that page.

Ultimately, it would be nice if CCS built in a slicker menu system (it would help make the web sites produced more professional) but until they do alternatives are welcome.

Rick

Rick
Posted: 06/07/2003, 4:59 AM

Spoke too soon. Only have it working with Login page if start with Login page. Even this will probably be problem when session times out and have to re-login.

Same header errors.

Will have to look into it a little more.

Rick
Rick
Posted: 06/07/2003, 12:02 PM

In addition to the problems I mentioned above, I also, had problems with menu when a search control was placed on a page with a grid. Menu works when page first displayed but if then do a search and returnning the same page get a headers error message.

Like the idea of this menu but I do not see an easy way to integrate it with CC Studio. I guess it was meant to demo the idea but not be fully functional.

Rick


   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.