Template Club Package Silver Pacakage Gold Pacakage Developer Pacakage Accepted Payments Member Login
TemplatePlazza Support Forum
Welcome, Guest
Please Login or Register.    Lost Password?
Thumbnail in minifrontpage module (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Thumbnail in minifrontpage module
#20502
Tino (Visitor)
Click here to see the profile of this user
Birthdate:
Thumbnail in minifrontpage module 6 Months, 4 Weeks ago  
I want to show a thumbnail picture within the minifront page module. With the included settings for that I only get the image from the introtext.

With joomla! 1.5 I don't use the "read more" function that often anymore, what means that I don't have an introtext.

With the helper.php I can change if it should take the first or last picture of a text, but it still needs to be splitted.

Code:

preg_match_all("#<img(.*)>#", $rows[$r]->introtext . $rows[$r]->fulltext, $txtimg);
I've tried a lot here, but without success. Maybe someone can help me? Would be very very cool. Thanks.
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
 
Report to moderator   Logged Logged  
  Reply Quote
#20525
rwin_schro (Moderator)
search 1st - learn - try - still no luck - ask
Moderator
Posts: 2827
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Joomla Tips and Tricks rwin_schro
Re:Thumbnail in minifrontpage module 6 Months, 3 Weeks ago Karma: 69  
J! 1.5 still have a 'read more' plugins and if you look at the #__content table, there are still introtext and fulltext row, so the code will works. I guess you have inserted the content image(s) with the path that can't be found by the code which will look for them into the /images/stories/ folder and under it. Please confirm that.
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
 
Report to moderator   Logged Logged  
 
It\'s not that we\'re so smart. It\'s just that we stay with problems longer.\" ~Albert Einstein
  Reply Quote
#20535
Tino (Visitor)
Click here to see the profile of this user
Birthdate:
Re:Thumbnail in minifrontpage module 6 Months, 3 Weeks ago  
damn, thank you. my partner here really uploaded it to the wrong folder though I explained it to him. I should have checked this. Thank you

(http://www.der-kaese.de -> Käseportrait, Käserezepte, Käsezitat is solved with minifrontpage. I really like it)
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
 
Report to moderator   Logged Logged  
  Reply Quote
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop
ico spot
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad
  • icoad