Log in | Register | Lost password

Bottom
Template Problems
  • Posted: 28.11.2007, 20:09
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    I've created a publication type, the preview works and shows the uploaded image in the article. But when you view the user side of the article then the image doesn't show up.

    What could be causing the problem? I'm unsure on how to fix this and have searched the site so any help is appreciated.



    edited by: justin, Nov 28, 2007 - 09:39 PM
  • Posted: 29.11.2007, 03:22
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    I've used the

    Code

    <img src="<!--[$image.url]-->">
    and the code displays correctly on the preview page but doesn't show up on the main page. I've changed all the settings on the site in order for the tag to be displayed but I still get the blank with this but when you preview the article then you get the image.
  • Posted: 29.11.2007, 03:44
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    right click on the broken image to view the properties and post what is says for the address of the image.
  • Posted: 29.11.2007, 05:49
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    I don't get a broken image on the user's side and when I look at the source code I see the reference tag then that's why I'm confused because I see the image with the link on the admin side when 'previewing' the article.

    I've been racking my brain on this one, updating the caching (didn't work). Attempting to change the URL from the pid to the id but I couldn't make this work because I couldn't get that to work. Besides there are so many places to change this in the system I thought I should stick to trying to get it to work because I know it does. Jorn is using it on his site but I'm very frustrated.

    I'm back to reading the manual and I'm sure its something simple I'm missing although I can't see it right now.
  • Posted: 29.11.2007, 06:26
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    Here is the template code. What am I missing?

    Code

    <h1><!--[$core.title|capitalize]--></h1>

    <table width="100%" border="0">

    <tr>

    <td>

    <a href="javascript:openwindow('<!--[$image.url]-->')"><img src="<!--[$image.thumbnailUrl]-->"></a>

    </td>

    <td valign="top"><!--[$description]--></td></tr>

    <tr><td colspan="2"><hr size="1"><!--[$core.printThis]--> | <!--[$core.sendThis]--> |



    <!--[nocache]--><!--[$core.editThis]--><!--[/nocache]-->

    </td></tr>

    </table>


    This is the URL that works:
    index.php?module=Pagesetter&func=viewpub&tid=1&id=1

    This is the URL that doesn't work: index.php?module=Pagesetter&func=viewpub&tid=1&pid=0





    edited by: justin, Nov 29, 2007 - 07:34 AM
  • Posted: 28.12.2007, 05:47
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    Did you get this fixed? send me an e-mail if you didn't

Template courtesy of Designs By Darren.