- Moderated by:
- Support
-
- rank:
-
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. -
- rank:
-
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 -
- rank:
-
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 -
- rank:
-
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. -
- rank:
-
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 -
- rank:
-
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 -
- rank:
-
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 thetag 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. -
- rank:
-
Professional
- registered:
- March 2002
- Status:
- offline
- last visit:
- 15.04.07
- Posts:
- 2489
Neither of those options are what you need. Allowing thetag 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 -
- rank:
-
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 -
- rank:
-
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. -
- rank:
-
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
