Jump to content

Help with dynamically retrieving something


JClark4321

Recommended Posts

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 .= '"';

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.