You are here:Templates Club arrow Help and Support arrow Support Forums
Youjoomla Support
Welcome, Guest
Please Login or Register.    Lost Password?
Help with PHP for Joomla site (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Help with PHP for Joomla site
#4110
treehugger
Moderator
Posts: 160
graphgraph
User Offline Click here to see the profile of this user
Gender: Female Heathen Vegan Location: Lost in Joomla Land
Help with PHP for Joomla site 6 Months, 4 Weeks ago Karma: 8  
Sorry if this is in the wrong place



I've been looking for a component/module for Joomla that will function for a radio station website. I'd like it to be able to display a specific image during specific times of day, the times will be based on server time.

Example:
From 8am - 12 Noon, display the title of the show AND the host's picture.

From 12 Noon - 3:00pm, display the title of the next show AND the host's picture.

...and so on and so forth


The schedule will be the same Monday thru Friday, but Saturday and Sunday will have a different schedule.

I've searched and searched and tried and tested numerous components, module's and plugins for Joomla but none of them cater for my specific need.....BUT I managed to glean a nifty bit of PHP script off the internet, tweaked it and it is exactly what I want - and it works!

YAY!

Now...I place the images and PHP into the folder of my server where I want it to be and where it should be and I know it works because when I type in the url of the php it shows up in IE and FF, my question is (and I apologise for it being very long winded) What Do I Do With It Now??

I've tried placing the php script into a html module in Joomla (PLEASE DON'T LAUGH)
Obviously this isn't working so how do I point the html mod to read the PHP?

Any help GREATLY appreciated and thank you for taking the time to read all this - I find it's better to explain as much as possible to save time and confusion for everyone's sake.
 
Logged Logged  
 
CDO - it\'s like OCD but alphabetical - LIKE IT SHOULD BE!
  The administrator has disabled public write access.
#4112
neo
Admin
Posts: 3521
graph
User Offline Click here to see the profile of this user
Re:Help with PHP for Joomla site 6 Months, 4 Weeks ago Karma: 80  
post the file here , I will test it and try to wrap it in the module and give you options for module manager, so you dont have to tweak it every time you need to change something, might take few hours if you can wait since I am working on site conversion as we speak.

do me a favor and place notes in the php before each function
 
Logged Logged  
 
Please mark your post as SOLVED if your issue is resolved. Thank you. To mark the post as solved , edit your first post title : NOTE FOR UNANSWERED POST: IF YOUR POST IS NOT ANSWERED WITHIN 48H PLEASE SEND ME AN EMAIL TROUGH OUR CONTACT FORM WITH SUBJECT UNANSWERED POST
  The administrator has disabled public write access.
#4113
CProject60
Moderator
Posts: 1214
graphgraph
User Offline Click here to see the profile of this user
Re:Help with PHP for Joomla site 6 Months, 4 Weeks ago Karma: 36  
Try using an iframe take the url and put it in the custom html module using the iframe.
 
Logged Logged  
  The administrator has disabled public write access.
#4116
treehugger
Moderator
Posts: 160
graphgraph
User Offline Click here to see the profile of this user
Gender: Female Heathen Vegan Location: Lost in Joomla Land
Re:Help with PHP for Joomla site 6 Months, 4 Weeks ago Karma: 8  
You guys are the best have I told you that!!

I will try an iframe CP.......
File Attachment:
File Name: Image_Rotator.zip
File Size: 934
 
Logged Logged  
 
CDO - it\'s like OCD but alphabetical - LIKE IT SHOULD BE!
  The administrator has disabled public write access.
#4119
treehugger
Moderator
Posts: 160
graphgraph
User Offline Click here to see the profile of this user
Gender: Female Heathen Vegan Location: Lost in Joomla Land
Re:Help with PHP for Joomla site 6 Months, 4 Weeks ago Karma: 8  
iframe doesn't work.

pap!

that would have been nice and easy.

Thanks anyway CP!

 
Logged Logged  
 
CDO - it\'s like OCD but alphabetical - LIKE IT SHOULD BE!
  The administrator has disabled public write access.
#4122
neo
Admin
Posts: 3521
graph
User Offline Click here to see the profile of this user
Re:Help with PHP for Joomla site 6 Months, 4 Weeks ago Karma: 80  
need whole pack with images the complete code that works outside joomla , lazy to make own
 
Logged Logged  
 
Please mark your post as SOLVED if your issue is resolved. Thank you. To mark the post as solved , edit your first post title : NOTE FOR UNANSWERED POST: IF YOUR POST IS NOT ANSWERED WITHIN 48H PLEASE SEND ME AN EMAIL TROUGH OUR CONTACT FORM WITH SUBJECT UNANSWERED POST
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop