Author Topic: Help with dynamically retrieving something  (Read 243 times)

0 Members and 1 Guest are viewing this topic.

Offline JClark4321Topic starter

  • Irregular
  • Posts: 3
    • View Profile
Help with dynamically retrieving something
« on: September 09, 2010, 06:17:42 AM »
So basically I am using an extension for Joomla called Mosets Tree (I am a php noob).  The purpose of the extension is to display a directory of stores etc...  Right now the image that is in the listing links to the listings extra details, but I want it to link to a video that I have for that specific listing (each listing has it's own .mov video) so I need to dynamically get the NAME of the listing, which is the exact same name of the video file, which is what I do not know how to do.  So far I have this:

/*Modified next line so that link opens using ninja shadowbox plugin---line 39*/
$html = '<a rel="shadowbox;width=648px;height=364px;" href="images/stories/videos/';

/*How can I dynamically get the video name, which is also the listing name?--line 40*/
$html .= 'NEED LISTING NAME';

/*Add's the .mov onto the end--line 41*/
$html .= '.mov';

/*Closing " tag--line 42*/
$html .= '"';