English > Scripts and Templates

html export question

<< < (2/3) > >>

dan16326:
in my database i have my trailers hyper-linked in my comments section i tried to move it to the url section for the sake of it showing up in my detailed pages when exporting html. but it shows up as the entire code instead of it being mask by the word "trailer" like in my comments. any ideas?

nostra is there a way i could get my comments section to appear at all? and if so is there a way to place it under the imdb ratings?

thx for the help guys i really appreciate it.

dan16326:
okay after playing with it for a while and looking up html code. i was able to get it to work using <a
href= yadda yadda. but i had to put it in the description which ultimately i don't want to do. i'd settle for it working in the links section but due to the programing of it, it won't work because once there is a space in the text it tries to create a separate link.

dan16326:
okay so a solution has been found thx to the help of luke

what i did was put an html code in my comment in PVD ie. <a href="url">Trailer</a>

then in the ptm file below the imdb rating line i put:

             
                  <td width="100" class="top"><div align="right"><strong>Trailer:</strong></div></td>
                  <td>{%value=comment}</td>
      

this gave me the result i was looking for. also just as a note the html code that gets entered in the comment field does not work in PVD but it works on the exported files.

thx again everyone.

rick.ca:

--- Quote ---the html code that gets entered in the comment field does not work in PVD but it works on the exported files.
--- End quote ---

Can't you save the trailer URL in its own custom field, and then pass that value in the template? In other words, use

     <td><a href="url">{%value=trailer}</a></td>

instead of

     <td>{%value=comment}</td>.

dan16326:
 :-\ i've only had PVD for about a week and i know next to nothing about html so i have no idea how to create a custom field in the database.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version