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

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.