473,789 Members | 3,084 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

looking for menu--navigation code

Folks:

I've custom-built a text-only chapter-section menu in PHP (see below). It
does everything I want...

But it is really quite difficult even for me to edit, add, and subtract
entries. If I get run over by a truck, my successor will be very unhappy!

I want to replace my "brilliant" work with code that reads the data from an
easily-edited array or external tagged-text file --NOT a database-- and it
would be great to have the option to go as deep as 3 levels. A
you-are-here indicator would be nice. That's all. Really.

My implementation displays something like this in the site's left column:

Chapter 1 Name
Chapter 2 Name
Section 2.1 Name*
Section 2.2 Name*
Section 2.3 Name*
...
Chapter 3 Name
Chapter 4 Name
Chapter 5 Name
...

Probably obvious, but worth mentioning: Entries marked with '*' are links.
Only one set of Sections are visible at a time.

To repeat, I'm looking for easily configurable/maintainable code that does
this.

I've done some php archive-searching and come up about 20+ candidates, all
freeware or GPL or similar, but I realize I need to get on with site
content, not spend a lot of time evaluating these. (I spent quite a bit of
time on a promising candidate and discovered: 1. It didn't work, and 2. The
design required adding a tag to target files, both deal-breakers.)

So, it would be great to hear from someone who has been through this before
and can say, "The code you want to use is <here>".

Worth a try, right?

TIA

Henry

(remove z-z-z)

Jun 27 '08 #1
3 1386
henry wrote:
Folks:

I've custom-built a text-only chapter-section menu in PHP (see
below). It does everything I want...

But it is really quite difficult even for me to edit, add, and
subtract entries. If I get run over by a truck, my successor will be
very unhappy!

I want to replace my "brilliant" work with code that reads the data
from an easily-edited array or external tagged-text file --NOT a
database-- and it would be great to have the option to go as deep as
3 levels. A you-are-here indicator would be nice. That's all.
Really.

My implementation displays something like this in the site's left
column:

Chapter 1 Name
Chapter 2 Name
Section 2.1 Name*
Section 2.2 Name*
Section 2.3 Name*
...
Chapter 3 Name
Chapter 4 Name
Chapter 5 Name
...

Probably obvious, but worth mentioning: Entries marked with '*' are
links. Only one set of Sections are visible at a time.

To repeat, I'm looking for easily configurable/maintainable code
that does this.

I've done some php archive-searching and come up about 20+
candidates, all freeware or GPL or similar, but I realize I need to
get on with site content, not spend a lot of time evaluating these.
(I spent quite a bit of time on a promising candidate and discovered:
1. It didn't work, and 2. The design required adding a tag to target
files, both deal-breakers.)

So, it would be great to hear from someone who has been through this
before and can say, "The code you want to use is <here>".
When I started out doing web pages, I went through the stage of thinking
about writing something like this. Then I thought to myself that someone
must have done something like this before. Then I found that what I was
looking for was a CMS. I now use Mambo/Joomla as the basis of most of the
sites I do, because I can concentrate on getting good content and not having
to worry about the mechanics.

I do write custom applications to run under these CMSs, but I see no point
in reinventing the category/menu/user management/login &c. stuff.
Jun 27 '08 #2
Paul Lautman:

Thanks for your response:

in article 6b************* @mid.individual .net, Paul Lautman at
pa**********@bt internet.com wrote on 6/10/08 2:38 PM:
henry wrote:
>Folks:

I've custom-built a text-only chapter-section menu in PHP (see
below). It does everything I want...
<snip>
>>
I want to replace my "brilliant" work with code that reads the data
from an easily-edited array or external tagged-text file --NOT a
database-- and it would be great to have the option to go as deep as
3 levels. A you-are-here indicator would be nice. That's all.
Really.
<snip>
>
When I started out doing web pages, I went through the stage of thinking
about writing something like this. Then I thought to myself that someone
must have done something like this before. Then I found that what I was
looking for was a CMS. I now use Mambo/Joomla as the basis of most of the
sites I do, because I can concentrate on getting good content and not having
to worry about the mechanics.
Sure, that makes sense.

I've used Joomla for a collaborative project, but on some customizations
issues I found the learning curve too steep.

When I needed to manage a bunch of photos for another collaborative project,
I installed Coppermine Photo Gallery. It did everything I wanted, except
it just wouldn't support logical linkages between images -- something so
basic I didn't think to check for it when I compared all the alternatives.
Now the project is stalled because this vital tool is missing.
>
I do write custom applications to run under these CMSs, but I see no point
in reinventing the category/menu/user management/login &c. stuff.

I think it is up to each of us to decide for each project how much we are
willing to develop custom mechanics versus how much we're willing to put up
with the learning curves and potential inflexibilities of a standard CMS or
quasi-CMS package. Seems to me, my threshold is simply two or three
notches towards towards custom coding, compared to yours.

Thanks for sharing your philosophy and preference.

Henry


>
Jun 27 '08 #3
On Jun 10, 7:44 pm, henry <henry.zzzab... @gmail.comwrote :
Folks:

I've custom-built a text-only chapter-section menu in PHP (see below). It
does everything I want...

But it is really quite difficult even for me to edit, add, and subtract
entries. If I get run over by a truck, my successor will be very unhappy!

I want to replace my "brilliant" work with code that reads the data from an
easily-edited array or external tagged-text file --NOT a database-- and it
would be great to have the option to go as deep as 3 levels. A
you-are-here indicator would be nice. That's all. Really.

My implementation displays something like this in the site's left column:

Chapter 1 Name
Chapter 2 Name
Section 2.1 Name*
Section 2.2 Name*
Section 2.3 Name*
...
Chapter 3 Name
Chapter 4 Name
Chapter 5 Name
...

Probably obvious, but worth mentioning: Entries marked with '*' are links.
Only one set of Sections are visible at a time.

To repeat, I'm looking for easily configurable/maintainable code that does
this.

I've done some php archive-searching and come up about 20+ candidates, all
freeware or GPL or similar, but I realize I need to get on with site
content, not spend a lot of time evaluating these. (I spent quite a bit of
time on a promising candidate and discovered: 1. It didn't work, and 2. The
design required adding a tag to target files, both deal-breakers.)

So, it would be great to hear from someone who has been through this before
and can say, "The code you want to use is <here>".

Worth a try, right?

TIA

Henry

(remove z-z-z)
I'd recommend PHP Layers menu - or look for a PHP Docbook parser.

C.
Jun 27 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
10370
by: not telling | last post by:
There are two functions in matlab. Polyfit and polyval. I am looking for C/C++ code to duplicate their functionality. TIA Brian.
2
1247
by: John | last post by:
Hi, Can anybody recommend a good code generator for data driven apps? Thanks in advance, John
1
1131
by: AngleWyrm | last post by:
I've got too much time on my hands. If you want an online debugger, send me some code to fix! Language is C++, and the price is that I get to offer one suggestion. No apologies for style or ability please. Send attachments to anglewyrm@hotmail.com
1
1533
by: MLH | last post by:
After running some code on some forms and in some modules... I am getting stuff like this in the immediate window... 9 9 9 9 9 9 9
2
1565
by: dik mus | last post by:
Hi, My application can show employee pictures that are on the local hard drive. In case the picture is not there, i want to get it from my (anonymous) ftp site. The application should run without anny add ons. So i am looking for some simple code to get this function working: ftpcopy (ftp://mysite/mypicture;c:\\picturemap\mypicture)
8
2501
by: gumi | last post by:
Hi, I am looking for code for a alarm clock program that pops up a messege to be used as part of my VB.Net class project. Any help is very much appreciated. Thanks
3
1357
by: scorpion53061 | last post by:
Hi, I am looking for a code sample that communicates from a client to a remote Windows Service on another computer over the internet, that is the Windows Service performing instructions the client sends. That being said, I also would like feedback on this. Currently in my Windows applications, I do a lot of communication with my servers at work from customers to place orders, check stock status etc. The production server is a AIX...
3
1963
by: richk | last post by:
I am looking for a way to determine the screen type when I am checking out a laptop that has no HDD installed. I am looking for something I can compile to run under a DOS or windows 98 command prompt when I boot from a CD to dfetermine if a screen is 800X600, XGA, SXGA+, UXGA, etc. I can compile C++ under visual studio 6. Thanks
0
891
Lokean
by: Lokean | last post by:
Hi, I'm a VB.net programmer who is coordingating with our SQL Server specialist to convert functions into vb CLR projects. We want to use statistical functions, but we can not port them directly. Does anyone know of existing code libraries of aggregate statistical functions? I can go and code each one, but I'd rather not....
2
1578
by: Amzul | last post by:
hello all, i wasnt sure under which forum i should post this Q, hope this is the one. i am looking for easy to use/install CVS application (prefer open source) that can help our developers team to mange the code version. so we will have more control of our progress in each project. any recommendation will be helpfull
0
9665
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9511
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10199
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10139
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9983
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9020
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7529
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5417
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3697
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.