The Joomla! Forum ™



Forum rules


Please use the mailing list here: http://groups.google.com/group/joomla-dev-general rather than this forum.



Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Sat Jun 30, 2012 2:01 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sun Jun 10, 2012 3:19 pm
Posts: 15
Hi all,

Still pretty new to Joomla!

Can anybody tell me where the PHP is located for the full article text? So basically I want to be able to store the entire article text in a variable and manipulate it (add links for SEO, etc.).

I realise there are extensions around that will automatically add links to article text for SEO purposes, but I'm trying to learn the system to some level of competence as a coder, so would like to know.

So far I've found components >com_content > views > article > tmpl > default.php

However, this file appears to only handle the data for the article information such as author, title, hitcount, etc., but doesn't appear to have any PHP which echoes the article text itself.

Help much appreciated,

Thanks.


Top
 Profile  
 
PostPosted: Sat Jun 30, 2012 11:45 pm 
Joomla! Ace
Joomla! Ace

Joined: Sat Oct 01, 2011 7:06 pm
Posts: 1361
Look again!


Top
 Profile  
 
PostPosted: Sun Jul 01, 2012 1:28 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sun Jun 10, 2012 3:19 pm
Posts: 15
Thanks for the encouragement.

I seem to have found it inconspicuously hidden among the statements:

Code:
<?php echo $this->item->text; ?>


Cheers!


Top
 Profile  
 
PostPosted: Sun Jul 01, 2012 5:53 am 
Joomla! Ace
Joomla! Ace

Joined: Sat Oct 01, 2011 7:06 pm
Posts: 1361
And fulltext?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 



Who is online

Users browsing this forum: No registered users and 15 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group