Elcan Software

Small software, big solutions.

Home arrow Support Forum
Support Forum
Welcome, Guest
Please Login or Register.    Lost Password?
Re:Redundant intro text in full article (1 viewing) (1) Guest
Support for feed2post
Go to bottom Post Reply Favoured: 0
TOPIC: Re:Redundant intro text in full article
#699
movilla (Admin)
Admin
Posts: 279
graph
User Online Now Click here to see the profile of this user
Re:Redundant intro text in full article 6 Months, 1 Week ago Karma: 1  
hmm, not really, this is not usual...
Can you provide me the feed source and all data you can so I can replicate the site at my test development place ?
That way I'll be able to debug the code and identify where the problem might be...

Regards,
Mario
 
Report to moderator   Logged Logged  
 
Best regards,
Mario - Feed2post coder
  The administrator has disabled public write access.
#702
Micah (User)
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Re:Redundant intro text in full article 6 Months, 1 Week ago Karma: 0  
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#756
Micah (User)
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Re:Redundant intro text in full article 5 Months, 2 Weeks ago Karma: 0  
Has there been any progress on this issue? My website is functionally useless until this problem gets resolved. Please help!

Thanks!
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#829
patrickegan (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Re:Redundant intro text in full article 4 Months, 3 Weeks ago Karma: 0  
I faced the same issues you talked about on this post. I spent some time digging around in code, and I have found the solution!

I am using:
Joomla! 1.0.13 Stable
Feed2post: 1.5

First I wrote code that limited the intro text to 1100 Characters. This prevents the intro text from being to long.

Then I set the variable to hide intro text from the Full text. (introtext = 0)
I also set the variable to show the authors name. (author=1)

I edited the file administrator/components/com_feedpost/admin.feedpost.php
line 450

Code:

// Modification by Richard.Hilton at CMCMedia.com // This code determines if the intro text was cut correctly. // if no, then cut the intro text at a given character count (1100) // Origonal Codes is just this: // $row->introtext = str_replace( '<br>', '<br />', $introText ); $introTxt = str_replace( '<br>', '<br />', $introText ); $introTxt = str_replace( '<pre>', '', $introText ); if (strlen($introTxt) > 1300) { $introTxt = substr($introTxt,0,1100); $row->introtext = $introTxt . "[...]"; } else { $row->introtext = $introTxt; } // also make so Intro Text Doesnt display where Full Text Displays: $row->attribs = "introtext=0 author=1"; // End Modification by Richard
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#837
movilla (Admin)
Admin
Posts: 279
graph
User Online Now Click here to see the profile of this user
Re:Redundant intro text in full article 4 Months, 2 Weeks ago Karma: 1  
Thanks for your help, we'll consider this codes for a future release.

Best regards,
Mario
 
Report to moderator   Logged Logged  
 
Best regards,
Mario - Feed2post coder
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Sponsors

Your Ad Here
Joomla Templates by Joomlashack