Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Goto page: 1 - 2 [+1]

Bottom
Image with Story.
  • Posted: 13.05.2005, 13:01
     
    Vinyard
    rank:
    Softmore Softmore
    registered:
     April 2005
    Status:
    offline
    last visit:
    03.04.07
    Posts:
    93
    I am unable to display a little image next to the news article that I post. I was wondering how to fix this problem. I browsed the forum for people with the similar problem but only got half answered.

    What I do to add a new storey is I go into Add Storey in my admin panel. I fill in the title for subject I chose linux, for category I added my own and chose that. I said yes to publish on homepage. I filled in the rest of the boxes with the appropriate information. When I click to preview the story, it has a little image next to the storey. When I submit the storey and goto my homepage there is no image. How do I get this image to appear on my homepage.

    Am I going to have to edit things in stories.php ? If so what do I need to do.
    Any help would be appreciate. Thanks.
  • Posted: 13.05.2005, 14:20
     
    MACscr
    rank:
    Professional Professional
    registered:
     December 1969
    Status:
    offline
    last visit:
    10.01.08
    Posts:
    1631
    Do you have image with attributes enabled in your PN settings?
  • Posted: 13.05.2005, 21:00
     
    Vinyard
    rank:
    Softmore Softmore
    registered:
     April 2005
    Status:
    offline
    last visit:
    03.04.07
    Posts:
    93
    The only thing I came across in reference to images (in the settings) was.

    "Enable graphics in administration menu."

    And I had yes selected
  • Posted: 13.05.2005, 21:44
     
    Simon
    rank:
    Steering Committee Steering Committee
    registered:
     December 2002
    Status:
    offline
    last visit:
    28.11.08
    Posts:
    13417
    Are you sure that your theme is set up to show the topic image?

    --
    Regards,
    Simon

    itbegins.co.uk - Zikula Consulting

    Please read the Support Guide
  • Posted: 14.05.2005, 00:39
     
    Vinyard
    rank:
    Softmore Softmore
    registered:
     April 2005
    Status:
    offline
    last visit:
    03.04.07
    Posts:
    93
    I am not sure of that at all. I'm using Silvert-T.
  • Posted: 14.05.2005, 01:12
     
    Simon
    rank:
    Steering Committee Steering Committee
    registered:
     December 2002
    Status:
    offline
    last visit:
    28.11.08
    Posts:
    13417
    Well, try visiting www.yoursite.com/index.php?theme=ExtraLite and see if the image appears.

    --
    Regards,
    Simon

    itbegins.co.uk - Zikula Consulting

    Please read the Support Guide
  • Posted: 14.05.2005, 01:27
     
    Vinyard
    rank:
    Softmore Softmore
    registered:
     April 2005
    Status:
    offline
    last visit:
    03.04.07
    Posts:
    93
    http://137.186.151.71:8083/index.php?theme=Silver-T
    http://137.186.151.71:8083/index.php?theme=ExtraLite

    Both do not show the image on the main page.


    ps. excuse the banner, it was a test and I need to change it.
  • Posted: 18.05.2005, 01:38
     
    FrankDeRosa
    rank:
    Professional Professional
    registered:
     March 2002
    Status:
    offline
    last visit:
    15.04.07
    Posts:
    2489
    Actually, ExtraLite doesn not show topic images, so don't worry about that one. I think all the other core themes do show them. Assuming you're running .750 or later, make sure one of the core themes is initialized and try it.

    Depending on what kind of theme it is, showing a topic image is a little different. Don't post the theme's whole code here - it's a bit much. ;) We can point you to resources so you can edit it. No worries, it's not hard.

    Frank

    --
    Serious hosting - all the features, bandwith and storage you could want without breaking the bank at DreamHost.com


    See what I do with PostNuke - http://surreal-dreams.com
  • Posted: 24.05.2005, 03:03
     
    Vinyard
    rank:
    Softmore Softmore
    registered:
     April 2005
    Status:
    offline
    last visit:
    03.04.07
    Posts:
    93
    Okay I'm running the t-silver theme and I'm guessing its one of the themes that does not show topic images. It shows the image with the story when I preview it. When I submit it the story is there but the imagae is not. How can I edit my theme to get this to work.

    www.pissed.ca
  • Posted: 24.05.2005, 04:08
     
    Vinyard
    rank:
    Softmore Softmore
    registered:
     April 2005
    Status:
    offline
    last visit:
    03.04.07
    Posts:
    93
    I was just reading in the PostNuke and this seems to be a common problem. It says that you need to allow the tag with parameters so the image source can be defined.

    There for I went into the global settings and allowed the . It still didn't fix the problemo.


    Should I have
    Translate embedded HTML entities into real characters
    set as yes or no.
  • Posted: 24.05.2005, 18:47
     
    FrankDeRosa
    rank:
    Professional Professional
    registered:
     March 2002
    Status:
    offline
    last visit:
    15.04.07
    Posts:
    2489
    Neither of those options are what you need. Allowing the tag allows the tag in posted content. Translate embedded characters takes non-ascii characters and stores them as HTML codes for those characters.

    You need to actually edit your theme to include some code to display the topic image. This will vary, depending on what kind of theme it is. It's pretty easy, no matter what kind of theme it is.

    Frank

    --
    Serious hosting - all the features, bandwith and storage you could want without breaking the bank at DreamHost.com


    See what I do with PostNuke - http://surreal-dreams.com
  • Posted: 24.05.2005, 21:53
     
    Vinyard
    rank:
    Softmore Softmore
    registered:
     April 2005
    Status:
    offline
    last visit:
    03.04.07
    Posts:
    93
    ahh, okay

    Is how to do this in the docs?
  • Posted: 24.05.2005, 22:02
     
    FrankDeRosa
    rank:
    Professional Professional
    registered:
     March 2002
    Status:
    offline
    last visit:
    15.04.07
    Posts:
    2489
    I dunno about the docs, but you will definietely find the answer if you search the forums here. I recently saw this very question answered, so search a little. You'll find it.

    Frank

    --
    Serious hosting - all the features, bandwith and storage you could want without breaking the bank at DreamHost.com


    See what I do with PostNuke - http://surreal-dreams.com
  • Posted: 26.05.2005, 10:48
     
    Vinyard
    rank:
    Softmore Softmore
    registered:
     April 2005
    Status:
    offline
    last visit:
    03.04.07
    Posts:
    93
    Okay I've done some reading but I'm still unsure of exactly how to do this. I am using PN .75

    From what I read I've gathered that I have to add

    Code

    <A HREF="modules.php?op=modload&name=News&file=index&topic=<?= $info[tid] ?>">
    <IMG SRC="images/topics/<?= $info[topicimage] ?>" ALIGN="RIGHT" BORDER="0">
    </A>


    to either index.php or to /includes/blocks/stories.php. But I'm not sure where in the file I add the code.
  • Posted: 26.05.2005, 13:43
     
    Simon
    rank:
    Steering Committee Steering Committee
    registered:
     December 2002
    Status:
    offline
    last visit:
    28.11.08
    Posts:
    13417
    you probably want $preformat['searchtopic'] actually - that saves you needing the img or a href tags as they're handled by PostNuke.

    Add it into themes/yourtheme/theme.php if using a Classic theme

    --
    Regards,
    Simon

    itbegins.co.uk - Zikula Consulting

    Please read the Support Guide

Goto page: 1 - 2 [+1]

Extensions Moderation

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula