Go Back   Pligg CMS Forum > Pligg Development > Pligg Modules > Module Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-31-2008, 04:52 AM
Constant Pligger
Pligg Version: 9.9
Pligg Template: yget mod
 
Join Date: Oct 2007
Posts: 199
Thanks: 4
Thanked 3 Times in 2 Posts
how to insert an image into the "Featured Story" module?

hi..

i want to insert an image into the "Featured Story" module,

i tried with some html code, but i'm not so good writting codes.. does anyone can help me please

thank you,
Reply With Quote
  #2 (permalink)  
Old 02-04-2008, 08:11 AM
Constant Pligger
Pligg Version: 9.9
Pligg Template: yget mod
 
Join Date: Oct 2007
Posts: 199
Thanks: 4
Thanked 3 Times in 2 Posts
anybody please?
Reply With Quote
  #3 (permalink)  
Old 02-04-2008, 10:01 AM
Banned
Pligg Version: 9.8.
Pligg Template: Custom
 
Join Date: Feb 2007
Location: Canada
Posts: 849
Thanks: 74
Thanked 49 Times in 45 Posts
Do you mean have it display the image that is part of the story?

Geoserv
Reply With Quote
  #4 (permalink)  
Old 02-04-2008, 10:24 AM
Constant Pligger
Pligg Version: 9.9
Pligg Template: yget mod
 
Join Date: Oct 2007
Posts: 199
Thanks: 4
Thanked 3 Times in 2 Posts
what i want to mean is this..

the feature news module insert into the top of summary_center.tpl one single news chossed (manually) by the news ID, and by default it display the same parameters of the other news, like author, date, link.. etc.. normally the news don't have pictures associated it

i want to add a image chosed by me somewhere inside this module..

thank you
Reply With Quote
  #5 (permalink)  
Old 02-04-2008, 10:40 AM
Banned
Pligg Version: 9.8.
Pligg Template: Custom
 
Join Date: Feb 2007
Location: Canada
Posts: 849
Thanks: 74
Thanked 49 Times in 45 Posts
Will this image be changed often? If its just an image to indicate its a featured story, you could use CSS.

I will look at the code to see if its possible to do it directly in the module.

Geoserv.
Reply With Quote
  #6 (permalink)  
Old 02-04-2008, 06:12 PM
Constant Pligger
Pligg Version: 9.9
Pligg Template: yget mod
 
Join Date: Oct 2007
Posts: 199
Thanks: 4
Thanked 3 Times in 2 Posts
ok i know how to deal with css, but it's just that it's not a very clean way

and i will like to change the image as i wish

thank you
Reply With Quote
  #7 (permalink)  
Old 02-22-2008, 11:59 AM
graphicsguru's Avatar
Pligg Donor
Pligg Version: 9.9.5
 
Join Date: Aug 2006
Location: USA
Posts: 416
Thanks: 75
Thanked 48 Times in 36 Posts
I just did it on FoxieWire / Published News very simple to do I change one page only

edit you featured_story_index.tpl

you can also ad random banners with php
I have random banners on the side bar only
and site wide with the featured story
Reply With Quote
  #8 (permalink)  
Old 02-22-2008, 05:08 PM
Constant Pligger
Pligg Version: 9.9
Pligg Template: yget mod
 
Join Date: Oct 2007
Posts: 199
Thanks: 4
Thanked 3 Times in 2 Posts
yessss but what is the code to write there???????
Reply With Quote
  #9 (permalink)  
Old 02-23-2008, 08:15 AM
graphicsguru's Avatar
Pligg Donor
Pligg Version: 9.9.5
 
Join Date: Aug 2006
Location: USA
Posts: 416
Thanks: 75
Thanked 48 Times in 36 Posts
<a href="http://www.glubble.com" target="_parent"><img src="http://www.foxiewire.com/featured_banner.gif" alt="Glubble Family Edition for Firefox allows your child to discover the best of the web safely for free." width="600" height="60" /></a>
Reply With Quote
The Following User Says Thank You to graphicsguru For This Useful Post:
  #10 (permalink)  
Old 02-23-2008, 10:01 AM
graphicsguru's Avatar
Pligg Donor
Pligg Version: 9.9.5
 
Join Date: Aug 2006
Location: USA
Posts: 416
Thanks: 75
Thanked 48 Times in 36 Posts
when I use the http://forums.pligg.com/downloads.php?do=file&id=50
from Author: AshDigg

featured_story_index.tpl add soon as I add {if $user_authenticated ne true} I get nothing but errors ;(

--------------------------------------------------------
{if $pagename eq "published"}
{if $user_authenticated ne true}
--------------------------------------------------------

I can add text or banners no errors

but I would like only to show when someone is not logged in


suggestions welcome
Reply With Quote
Reply

Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
Image Upload Module -- Call for feature requests cent Modification Tutorials 12 11-15-2008 12:13 PM
Fixes to Profile Extra Fields Module v0.2 and Extended Profile Module v0.1 redwine Modification Tutorials 3 10-18-2008 10:28 AM
[MOD] Image Upload Module (v1.0) -- Now Available cent Modification Tutorials 181 09-24-2008 10:43 PM
[MOD] Image Upload Module (v0.93) -- Please test cent Modification Tutorials 48 05-16-2008 08:08 PM
Miising loading image in image upload/thickbox module Peter General Help 5 12-06-2007 02:24 AM


Search Engine Friendly URLs by vBSEO 3.2.0