| Author |
Message |
paranor Worker


Joined: Aug 28, 2003 Posts: 227
|
Posted:
Sun Sep 14, 2003 1:20 pm |
|
I'm looking for something that maybe easier than what I'm doing now for a menu program.
I'm using Sothink DHTML program to create my menu (http://www.ravenwebhosting.com/~strapha/)
The part I don't like is:
1) every change I make I have to cut & paste into theme.php
2) I need to have the program loaded (nothing in nuke)
3) with the theme I'm using now, I need to replae all " with /" to work with php (the theme only has a theme.php file)
So I'm wondering if anyone knows of a mod/block that is a customizeable menu program. |
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
|
Posted:
Sun Sep 14, 2003 1:43 pm |
|
Just a note on #3, I assume you mean \" and not /". The only reason you need to do that is not necessarily php related but most any language that allows quotes within quotes. If you surround your text with single quotes, then you don't need the \ (escape) character. In other words, these 4 lines are equivalent in php:
| Code: | $variable = "This is a quote \"Hello\" within a quote.";
$variable = 'This is a quote "Hello" within a quote.';
$variable = 'This is a quote \'Hello\' within a quote.';
$variable = 'This is a quote "Hello" within a quote.';
|
You can place dhtml code easily into php by using the WHEREDOC syntax. I have coded several DHTML menus for people and it works perfectly. I can post an example for download if you like. |
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
|
Posted:
Sun Sep 14, 2003 1:46 pm |
|
I just activated the DHTML Example in the bottom left block on my site. See if that's the kind of thing you are after. |
|
|
|
 |
paranor Worker


Joined: Aug 28, 2003 Posts: 227
|
Posted:
Sun Sep 14, 2003 4:34 pm |
|
yes, that would seem to be it.
But does it require coding or is it a module where any idiot can create a menu?
My concern is I need something that non-techies can use. |
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
|
Posted:
Sun Sep 14, 2003 5:00 pm |
|
You would have to be the judge of that. This particular one only functions correctly in IE browsers. It was just meant to be a demonstration. I will post a link to the download. It should be available in about 10 minutes. |
|
|
|
 |
paranor Worker


Joined: Aug 28, 2003 Posts: 227
|
Posted:
Mon Sep 15, 2003 7:26 am |
|
That's what I'm looking for but I'm not too keen on having the end-user edit the php file.
Maybe it's time to build my first module.  |
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
|
Posted:
Mon Sep 15, 2003 7:28 am |
|
It could be modified to 'include' a file that they would modify. Have fun  |
|
|
|
 |
paranor Worker


Joined: Aug 28, 2003 Posts: 227
|
Posted:
Mon Sep 15, 2003 7:42 am |
|
Can that go 3 levels deep? |
|
|
|
 |
|
|
|
|