Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff
Author Message
paranor
Worker
Worker



Joined: Aug 28, 2003
Posts: 227

PostPosted: Sun Sep 14, 2003 1:20 pm Reply with quote

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.
 
View user's profile Send private message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Sun Sep 14, 2003 1:43 pm Reply with quote

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.
 
View user's profile Send private message
Raven







PostPosted: Sun Sep 14, 2003 1:46 pm Reply with quote

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







PostPosted: Sun Sep 14, 2003 4:34 pm Reply with quote

yes, that would seem to be it.

But does it require coding or is it a module where any idiot can create a menu? Smile

My concern is I need something that non-techies can use.
 
Raven







PostPosted: Sun Sep 14, 2003 5:00 pm Reply with quote

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







PostPosted: Mon Sep 15, 2003 7:26 am Reply with quote

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. Smile
 
Raven







PostPosted: Mon Sep 15, 2003 7:28 am Reply with quote

It could be modified to 'include' a file that they would modify. Have fun Smile
 
paranor







PostPosted: Mon Sep 15, 2003 7:42 am Reply with quote

Can that go 3 levels deep?
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©