21
rgauci
Re: News module Hack - Headline picture / thumbnail
  • 2008/3/1 9:38

  • rgauci

  • Not too shy to talk

  • Posts: 173

  • Since: 2007/8/31


First of all the link should behttp://www.evucan.com/free/
I have downloaded the latest version .3 of this wonderfull hack but still keeps on giving the error: modules/news/include/storyform.inc.php in llines 111 etc

So please is it possible to have a clean and updated version? so we can experience teh result that you had in your website
Be Set FREE!

22
Shiva
Re: News module Hack - Headline picture / thumbnail
  • 2008/3/1 12:43

  • Shiva

  • Quite a regular

  • Posts: 280

  • Since: 2006/7/9 1


Ok here it is again. It should be in working order now. I have definitely removed all references to evufunctions which is what the problem was.
So let me know when you see it working.

The zip file is here :
http://www.evucan.com/free/News Module Picture Hack_0.4.zip

or go to the directory here :

http://www.evucan.com/free

23
mrphilong
Re: News module Hack - Headline picture / thumbnail
  • 2008/3/1 15:04

  • mrphilong

  • Quite a regular

  • Posts: 351

  • Since: 2006/7/14


Shiva,

Can you hack the headline picture so it can be clickable.

24
akor__
Re: News module Hack - Headline picture / thumbnail
  • 2008/3/1 22:23

  • akor__

  • Just popping in

  • Posts: 23

  • Since: 2007/10/7


shiva, good work, last files are running very good
now , try to add the picture to module's block
mrphilong
make this stip to have clickable picture
1- open this file to edit it "modules/news/templates/news_item.html"
2 - search for
<{if $img_thumb!=''}>
                        <
img src="<{$xoops_url}>/modules/news/images/storys/<{$story.story_imgurl}>" style="float:left;padding:8px;border:1px;width:<{$img_thumb}>px;height:auto;">    
                    <{else}>
                        <
img src="<{$xoops_url}>/modules/news/images/storys/<{$story.story_imgurl}>" style="float:left;padding:8px;border:1px;width:auto;height:auto;">    
                    <{/if}>

replace it with
<{if $img_thumb!=''}>
                            <
a href="<{$xoops_url}>/modules/news/article.php?storyid=<{$story.id}>"><img src="<{$xoops_url}>/modules/news/images/storys/<{$story.story_imgurl}>" style="float:left;padding:8px;border:1px;width:<{$img_thumb}>px;height:auto;">    a>
                    <{else}>
                        <
a href="<{$xoops_url}>/modules/news/article.php?storyid=<{$story.id}>"><img src="<{$xoops_url}>/modules/news/images/storys/<{$story.story_imgurl}>" style="float:left;padding:8px;border:1px;width:auto;height:auto;">    a>

                    <{/if}>

you will have what you want
that an exampel here http://www.raf3.org

25
mrphilong
Re: News module Hack - Headline picture / thumbnail
  • 2008/3/2 13:04

  • mrphilong

  • Quite a regular

  • Posts: 351

  • Since: 2006/7/14


Had a look on your site, very nice hack with the clickabe image, thankyou.

26
rgauci
Re: News module Hack - Headline picture / thumbnail
  • 2008/3/2 15:47

  • rgauci

  • Not too shy to talk

  • Posts: 173

  • Since: 2007/8/31


I have done all the updates and in the admin teh hack works great, in the edit file I see the image that was uploaded.....the problem is that the same image is not showing either in the thumbs and in the main article.

Any help please????
Be Set FREE!

27
rgauci
Re: News module Hack - Headline picture / thumbnail
  • 2008/3/2 22:01

  • rgauci

  • Not too shy to talk

  • Posts: 173

  • Since: 2007/8/31


Figuered it out! Works fine now all I had to do was to upload the Templates from the Cpanel.

Now regarding the News Blocks.

How can you hack the Recent News block to show the thumbnail also like it is in the News Index page as I need to have listed the blocks as I cannot start the home with the module News.
Be Set FREE!

28
rgauci
Re: News module Hack - Headline picture / thumbnail
  • 2008/3/3 17:28

  • rgauci

  • Not too shy to talk

  • Posts: 173

  • Since: 2007/8/31


Any ideas how to put this hack (the image thumbnail)also in the Blocks?
Be Set FREE!

29
Shiva
Re: News module Hack - Headline picture / thumbnail
  • 2008/3/4 7:36

  • Shiva

  • Quite a regular

  • Posts: 280

  • Since: 2006/7/9 1


I am bit busy for a couple of days but will try to do block hack by the end of the week.

30
startace
Re: News module Hack - Headline picture / thumbnail
  • 2008/3/5 10:49

  • startace

  • Just popping in

  • Posts: 27

  • Since: 2003/9/22


Some suggestions:can make every news shown on news homepage block shows the
first attached pic's thumb (news1.44).
thank you !

Login

Who's Online

437 user(s) are online (306 user(s) are browsing Support Forums)


Members: 0


Guests: 437


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits