#FullText Field in Category Blog Layout Basic Parameters
-
- Joomla! Apprentice
- Posts: 5
- Joined: Thu Feb 21, 2008 11:15 am
#FullText Field in Category Blog Layout Basic Parameters
WHAT
When I use the Category Blog Layout, I would like to be able to view ALL my articles in FullText, not only in IntroText.
HOW
Add a # FullText Field in the Basic Parameters of the Category Blog Layout Item Type:
Then, when using Following settings, it should give me ALL (999) my articles in a FullText Blog.
# Leading = 1
# Intro = 0
# FullText = 999
Columns = 1
# Links = 999
Thanx!
When I use the Category Blog Layout, I would like to be able to view ALL my articles in FullText, not only in IntroText.
HOW
Add a # FullText Field in the Basic Parameters of the Category Blog Layout Item Type:
Then, when using Following settings, it should give me ALL (999) my articles in a FullText Blog.
# Leading = 1
# Intro = 0
# FullText = 999
Columns = 1
# Links = 999
Thanx!
- Hackwar
- Joomla! Virtuoso
- Posts: 3788
- Joined: Fri Sep 16, 2005 8:41 pm
- Location: NRW - Germany
- Contact:
Re: #FullText Field in Category Blog Layout Basic Parameters
Why do you set the readmore when you don't need it?
god doesn't play dice with the universe. not after that drunken night with the devil where he lost classical mechanics in a game of craps.
Since the creation of the Internet, the Earth's rotation has been fueled, primarily, by the collective spinning of English teachers in their graves.
Since the creation of the Internet, the Earth's rotation has been fueled, primarily, by the collective spinning of English teachers in their graves.
-
- Joomla! Apprentice
- Posts: 5
- Joined: Thu Feb 21, 2008 11:15 am
Re: #FullText Field in Category Blog Layout Basic Parameters
I would like to use them both in two different menu item structures, one blog with IntroText only, the other blog with FullText.
- Hackwar
- Joomla! Virtuoso
- Posts: 3788
- Joined: Fri Sep 16, 2005 8:41 pm
- Location: NRW - Germany
- Contact:
Re: #FullText Field in Category Blog Layout Basic Parameters
This feature is already possible with a template override. Moving this one to "denied"
god doesn't play dice with the universe. not after that drunken night with the devil where he lost classical mechanics in a game of craps.
Since the creation of the Internet, the Earth's rotation has been fueled, primarily, by the collective spinning of English teachers in their graves.
Since the creation of the Internet, the Earth's rotation has been fueled, primarily, by the collective spinning of English teachers in their graves.
-
- Joomla! Explorer
- Posts: 270
- Joined: Mon Dec 12, 2005 9:59 pm
SOLVED: #FullText Field in Category Blog Layout
Around line 108 or 109 template/your-template/html/content/com_content/category/blog_item.php, replace:
With something like (where sectionid, or categoryid if you prefer, represents the section or category where you want full text in blog view):
That way you can still have blogs that function the core way.
Code: Select all
<?php echo (JFilterOutput::ampReplace($this->item->text)); ?>
Code: Select all
<?php if ($this->item->sectionid == 5) :
echo JFilterOutput::ampReplace($this->item->fulltext);?>
<?php else :
echo JFilterOutput::ampReplace($this->item->introtext);
endif; ?>
-
- Joomla! Fledgling
- Posts: 1
- Joined: Mon Jun 16, 2008 7:26 am
Re: #FullText Field in Category Blog Layout Basic Parameters
Hi,
I realise the suggestion has been denied because it can be achieved with a template override, but I'd just like to add my voice to the fact that I think it would be a good modification to a core component .. greater flexibility and should be relatively simple to implement.
Andy
I realise the suggestion has been denied because it can be achieved with a template override, but I'd just like to add my voice to the fact that I think it would be a good modification to a core component .. greater flexibility and should be relatively simple to implement.
Andy
-
- Joomla! Explorer
- Posts: 306
- Joined: Sun Mar 23, 2008 9:54 pm
Re: #FullText Field in Category Blog Layout Basic Parameters
@latristesse
Where can I find that line? Using Joomla 1.5 I can't find what you're referring to.
Where can I find that line? Using Joomla 1.5 I can't find what you're referring to.
-
- Joomla! Explorer
- Posts: 270
- Joined: Mon Dec 12, 2005 9:59 pm
Re: #FullText Field in Category Blog Layout Basic Parameters
Look in the beez modifications if using tableless Joomla! and copy the page to which I refer above into your template's html folder.
- weting
- Joomla! Enthusiast
- Posts: 103
- Joined: Sun Nov 25, 2007 9:10 am
- Location: Aspudden, Stockholm
Re: SOLVED: #FullText Field in Category Blog Layout
And what should I write if I want my sections to be ordinary blog layout but all my categries to show full text? I am not a php-coder so if someone can help me with very exact instructions I would be very greatful!latristesse wrote:Around line 108 or 109 template/your-template/html/content/com_content/category/blog_item.php, replace:With something like (where sectionid, or categoryid if you prefer, represents the section or category where you want full text in blog view):Code: Select all
<?php echo (JFilterOutput::ampReplace($this->item->text)); ?>
That way you can still have blogs that function the core way.Code: Select all
<?php if ($this->item->sectionid == 5) : echo JFilterOutput::ampReplace($this->item->fulltext);?> <?php else : echo JFilterOutput::ampReplace($this->item->introtext); endif; ?>
/I
/
Det finns en mening med allt som sker...