Page 1 of 1

Help with adding a link btn in php

Posted: Tue Jul 19, 2005 3:47 pm
by flashplaya
First off I suck at php:) But I am trying to get a cms working with flash. I have it all working but I need to add a link btn in the edit section. I have no idea how hard this would be, but i would really appreciate your guys help:)

Here is the admin section: http://dyaddesigns.com/testing/cms/

here is the php file http://dyaddesigns.com/testing/cms/index.php

Here is the part where I need to add a link btn at the bottom: http://dyaddesigns.com/testing/cms/inde ... e=text.txt

here is the php file: http://dyaddesigns.com/testing/cms/index.zip

Thanks guys

Posted: Tue Jul 19, 2005 6:12 pm
by Burrito
I'm not sure I understand what you mean?

you mean you want to add a flash button that carries the user to a different php page?

if that's the case, you need to create the link from within flash. If it needs to be dynamic, then you need to pass flash the parameter that you want. You can do that with with url vars, or some JS integration...

Posted: Wed Jul 20, 2005 11:28 am
by flashplaya
Sorry for being so vague... I want to have a insert link btn that lets the user add a html link the text, not the flash:

Here is a image of want I am talking about: http://dyaddesigns.com/testing/cms/image.jpg


I hope this helps.. I really appericate or help!!

Posted: Wed Jul 20, 2005 6:20 pm
by Burrito
I'm still not certain I understand your problem.

you want to create an option for them to insert a link to your web site???

I tried you link and got a 404

Posted: Wed Jul 20, 2005 6:25 pm
by Chris Corbyn
flashplaya wrote:I want to have a insert link btn that ...
The btn part is confusing me... is this an acronym or a lazy way of writing "button"? Using better english probably helps ;)

Erm... sorry if that sounded like I was having a dig at you... it wasn't supposed to :?

Posted: Wed Jul 20, 2005 7:04 pm
by Burrito
I was thinking button too 8O

Posted: Wed Jul 20, 2005 8:12 pm
by flashplaya
Sorry guys I will try to be more clear about what I am trying to-do. I am trying to put a Insert Link "BUTTON" lol, so that the user does not have to code the html link by hand. Here is a visual: http://dyaddesigns.com/testing/cms/image.jpg

Here is the javascript that I want to incorporate http://fundisom.com/live_preview.html I just dont know where to put the javascript in the php?

here is the php file: http://www.dyaddesigns.com/testing/cms/index.zip

Thanks guy!!!;)

Posted: Wed Jul 20, 2005 9:57 pm
by The Monkey
Ah. That has nothing to do with PHP... I believe it's a flash problem. You should be able to do what you want from within flash.

Posted: Wed Jul 20, 2005 10:55 pm
by flashplaya
Ah. That has nothing to do with PHP... I believe it's a flash problem. You should be able to do what you want from within flash.
What are you talking about? I need to add the link button inside the php, that is where it is being called from..