DMXzone App Connect Support Product Page

Answered

Dynamic query strings in a script

Asked 19 Dec 2017 16:47:34
1
has this question
19 Dec 2017 16:47:34 Simon Chapman posted:
I have a question that I cannot solve, is it possible to get the refno from a database using DMXZone App Connect in a script?

I have added the code that works below, followed by my attempts to create the code dynamically.

If this is not possible, is there anyway to create a dynamic link within a script.


Replies

Replied 19 Dec 2017 16:48:16
19 Dec 2017 16:48:16 Simon Chapman replied:
I cannot post the code in this forum.
Replied 19 Dec 2017 16:49:38
19 Dec 2017 16:49:38 Teodor Kuduschiev replied:
Hello,
You cannot use dynamic code from app connect in javascript code.
Replied 19 Dec 2017 16:57:06
19 Dec 2017 16:57:06 Simon Chapman replied:
When I made my previous site with Dreamweaver and Server behaviours it worked. Do you have any suggestions how I can embed a gallery. I do not want to use iframe.
Many Thanks in advance.
Replied 19 Dec 2017 17:00:30
19 Dec 2017 17:00:30 Teodor Kuduschiev replied:
It is not possible to do this like that using app connect. App Connect code cannot be used within other js code.
Replied 19 Dec 2017 17:11:22
19 Dec 2017 17:11:22 Simon Chapman replied:
So you can only bind dynamic values to images or links?
Could you add a dynamic link to a php include?
Replied 19 Dec 2017 17:24:01
19 Dec 2017 17:24:01 Teodor Kuduschiev replied:
PHP code is run on the serverside, js code is run on the clientside so this is not possible.
Replied 21 Dec 2017 18:36:36
21 Dec 2017 18:36:36 Simon Chapman replied:
Is it possible to store code in the database, and then place it on the html page with App Connect.

For istance, pull the code below from a database to display the video?



<iframe width="560" height="315" src="www.youtube.com/embed/ebOtU69697Q" frameborder="0" allowfullscreen></iframe>

Or is it possible to create a dynamic link to a php include?
Replied 09 Jan 2018 23:59:31
09 Jan 2018 23:59:31 Simon Chapman replied:
Hi Teodor,
I am looking for some advice.
I am using elpatiodelola.com as a testing server. When the site is complete it will replace www.malagaestates.com a site I built with dreamweaver nearly 10 years ago.
DMXzone app connect works great but I am having trouble creating an image gallery. The option offered by DMXzone is not what I am looking for. I am basically self taught and would like advice on how I could integrate an image gallery similar to my old site on malagaestates.com using dmxzone.
Simon
Replied 08 Feb 2018 12:08:22
08 Feb 2018 12:08:22 Simon Chapman replied:
I gave up on DMXzone, yes it will pull up info from a database, but it is not a replacement for the php connectivity that Dreamweaver used to have.

Reply to this topic