Using phpwcms to run the script

Discuss phpwcms here, please do not post support requests, bug reports, or feature requests! Non-phpwcms questions, discussion goes in General Chat!
Post Reply
allround
Posts: 2
Joined: Mon 30. Oct 2006, 11:54
Location: MY

Using phpwcms to run the script

Post by allround »

Hi, I'm newbie in this forum and i do find a lot of good topic going on. :D However, i can't get the answer for my specific question. So i have to create a new thread (hope this is not repeated).

Is there a way to store the JavaScript in separate folder/directory beside the Phpwcms working directory and still get the script to work properly? For example, I’m using the content management system to call the script by using replacement tag {PHP:myscript.php} and it seem the script is running but all the image is not loaded (I can see a lot of cross blocks :( ). Could this happen because of I stored all the image file in other folder beside the working directory? Anyway to get the image loaded probably?
User avatar
Oliver Georgi
Site Admin
Posts: 9940
Joined: Fri 3. Oct 2003, 22:22
Location: Dessau-Roßlau
Contact:

Post by Oliver Georgi »

yes, just check where you have stored your images relative to index.php.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn
allround
Posts: 2
Joined: Mon 30. Oct 2006, 11:54
Location: MY

Post by allround »

Thanks for your prompt response. :)
What if i want to get my folder to be more ogarnize and i want to decide where to keep all those image files? For example i store my game script in the folder call 'game' and i upload all the script file and image file in that folder. The question is can i provide some simple instruction in CMS to ensure the script and image running properly? Would appreciate your prompt response and have a nice day.
User avatar
Oliver Georgi
Site Admin
Posts: 9940
Joined: Fri 3. Oct 2003, 22:22
Location: Dessau-Roßlau
Contact:

Post by Oliver Georgi »

I really don't understand your problem...

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn
Post Reply