[SOLVED] Put description directly below title

Register an Account
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 01-16-2009, 07:12 PM
Fuggled's Avatar
New Pligger
Pligg Version: 9.9.5
Pligg Template: Darkwater
 
Join Date: Jan 2009
Location: UK
Posts: 28
Is there any way to change the order that each entry is displayed in?

At present Pligg churns out each entry in the following way
TITLE
DETAILS (who posted, category, etc) (news-details)
DESCRIPTION (news-body-text)

I would like to change this to the following order
TITLE
DESCRIPTION
DETAILS

I imagine this is simple - but can't find the relevant bit of code to edit.
Can anyone help?
Reply With Quote
  #2 (permalink)  
Old 01-16-2009, 09:44 PM
chuckroast's Avatar
Pligg Developer/Coder/Designer
Pligg Version: SVN
Pligg Template: Social Pro Kit
 
Join Date: Jun 2006
Posts: 5,448
While you search the forums for the answer, I'll move your post to the proper forum.

Please only post in the proper forum.
Reply With Quote
  #3 (permalink)  
Old 01-17-2009, 05:26 AM
Fuggled's Avatar
New Pligger
Pligg Version: 9.9.5
Pligg Template: Darkwater
 
Join Date: Jan 2009
Location: UK
Posts: 28
Thank you. I have already searched the forums for this answer - which is why I posted the question

Any helpful suggestions?
Reply With Quote
  #4 (permalink)  
Old 01-17-2009, 11:46 AM
Fuggled's Avatar
New Pligger
Pligg Version: 9.9.5
Pligg Template: Darkwater
 
Join Date: Jan 2009
Location: UK
Posts: 28
Right, well I have found the perfect answer on my own.

Edit link-summary.tpl (in the relevant template folder)

Find the follwing segment

{if $viewtype neq "short"}
<span class="news-body-text">
<span id="ls_contents-{$link_shakebox_index}">
{checkActionsTpl location="tpl_link_summary_pre_story_content"}
{if $show_content neq 'FALSE'}
{$story_content}
{/if}
{if $Enable_Extra_Field_1 eq 1}{if $link_field1 neq ""}<br/><b>{$Field_1_Title}:</b> {$link_field1}{/if}{/if}
{if $Enable_Extra_Field_2 eq 1}{if $link_field2 neq ""}<br/><b>{$Field_2_Title}:</b> {$link_field2}{/if}{/if}
{if $Enable_Extra_Field_3 eq 1}{if $link_field3 neq ""}<br/><b>{$Field_3_Title}:</b> {$link_field3}{/if}{/if}
{if $Enable_Extra_Field_4 eq 1}{if $link_field4 neq ""}<br/><b>{$Field_4_Title}:</b> {$link_field4}{/if}{/if}
{if $Enable_Extra_Field_5 eq 1}{if $link_field5 neq ""}<br/><b>{$Field_5_Title}:</b> {$link_field5}{/if}{/if}
{if $Enable_Extra_Field_6 eq 1}{if $link_field6 neq ""}<br/><b>{$Field_6_Title}:</b> {$link_field6}{/if}{/if}
{if $Enable_Extra_Field_7 eq 1}{if $link_field7 neq ""}<br/><b>{$Field_7_Title}:</b> {$link_field7}{/if}{/if}
{if $Enable_Extra_Field_8 eq 1}{if $link_field8 neq ""}<br/><b>{$Field_8_Title}:</b> {$link_field8}{/if}{/if}
{if $Enable_Extra_Field_9 eq 1}{if $link_field9 neq ""}<br/><b>{$Field_9_Title}:</b> {$link_field9}{/if}{/if}
{if $Enable_Extra_Field_10 eq 1}{if $link_field10 neq ""}<br/><b>{$Field_10_Title}:</b> {$link_field10}{/if}{/if}
{if $Enable_Extra_Field_11 eq 1}{if $link_field11 neq ""}<br/><b>{$Field_11_Title}:</b> {$link_field11}{/if}{/if}
{if $Enable_Extra_Field_12 eq 1}{if $link_field12 neq ""}<br/><b>{$Field_12_Title}:</b> {$link_field12}{/if}{/if}
{if $Enable_Extra_Field_13 eq 1}{if $link_field13 neq ""}<br/><b>{$Field_13_Title}:</b> {$link_field13}{/if}{/if}
{if $Enable_Extra_Field_14 eq 1}{if $link_field14 neq ""}<br/><b>{$Field_14_Title}:</b> {$link_field14}{/if}{/if}
{if $Enable_Extra_Field_15 eq 1}{if $link_field15 neq ""}<br/><b>{$Field_15_Title}:</b> {$link_field15}{/if}{/if}
{if $pagename neq "story"} <a href="{$story_url}">{#PLIGG_Visual_Read_More#}</a> &raquo; {/if}<br />
</span>
</span>
{/if}


And move it to just after the </div> of div class ="top"

Hope this helps somebody!
Took me a day to figure this out!
Reply With Quote
  #5 (permalink)  
Old 05-28-2010, 09:39 AM
aahna's Avatar
Casual Pligger
Pligg Version: 1.1.4
Pligg Template: wistie
 
Join Date: May 2010
Location: India
Posts: 64
Great yaar you fix that problem without anyone's help???
Reply With Quote
Reply

Tags
description, order, title

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] how to make story's title link to original resource? hbtq Questions and Comments 15 02-24-2010 01:40 PM
how to merge title & description in RSS importer grofzr Questions and Comments 1 04-12-2009 06:12 PM
[SOLVED] Use story title as link not work for me Max09 Questions and Comments 1 12-31-2008 12:22 PM
[SOLVED] 9.9: The description is not displayed properly dano Questions and Comments 3 01-12-2008 01:58 AM
Description, title and tag length manusolo Questions and Comments 1 06-04-2007 02:16 AM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development