473,320 Members | 1,948 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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 1361
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**********@btinternet.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
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
by: John | last post by:
Hi, Can anybody recommend a good code generator for data driven apps? Thanks in advance, John
1
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...
1
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
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...
8
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
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...
3
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...
0
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...
2
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.