The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.



Post new topic Reply to topic  [ 11 posts ] 
Author Message
PostPosted: Mon Jul 05, 2010 11:12 am 
Joomla! Intern
Joomla! Intern

Joined: Wed Feb 27, 2008 8:42 pm
Posts: 74
I am using Article Category in Blog format and I am interested where can I find the code which displays introtext, rating, read more, number of comments,...

I found where the code for all above is located:

/components/com_content/category/blog_item.php
Code:
<tr>
<td valign="top" colspan="2">
<?php if (isset ($this->item->toc)) : ?>
   <?php echo $this->item->toc; ?>
<?php endif; ?>
<?php echo $this->item->text; ?>
</td>
</tr>


but where can i find the code for $this->item->text? I would like to remove rating from showing in blog layout.


Top
 Profile  
 
PostPosted: Mon Jul 05, 2010 12:34 pm 
User avatar
Joomla! Explorer
Joomla! Explorer

Joined: Tue Aug 05, 2008 11:34 am
Posts: 366
Location: Hyderabad
Hi,
I guess you need not hack the code.Check the Menu Item Parameters (Component).
There you can find
*Read more... Link
*Article Rating/Voting ....


Top
 Profile  
 
PostPosted: Mon Jul 05, 2010 5:43 pm 
Joomla! Intern
Joomla! Intern

Joined: Wed Feb 27, 2008 8:42 pm
Posts: 74
I have tried that but if I do that even in article rating is gone. I only need those things to be gone in blog layout (list). So that there's only title, content (text) and image (and maybe author and date).


Top
 Profile  
 
PostPosted: Wed Jul 07, 2010 7:25 am 
Joomla! Intern
Joomla! Intern

Joined: Wed Feb 27, 2008 8:42 pm
Posts: 74
I never thought this would be such a though question. Is there maybe some nice extension alternative to menu blog layout which is a bit more adjustable?


Top
 Profile  
 
PostPosted: Mon Jul 19, 2010 4:59 pm 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Sun Feb 14, 2010 9:12 pm
Posts: 579
I'd like to know how to get mine back LOL Under parameters I have the "rating" set for Global. Doesn't work. Then I tried setting it for just that article and that doesn't work either.

Oddly, it used to be there, but I happened to be browsing around for a "fix" and saw this article. Thought maybe it would give me some more ideas. Didn't. :(

Anyone know how to get the ratings BACK?
Thanks


Top
 Profile  
 
PostPosted: Mon Jul 19, 2010 7:24 pm 
Joomla! Master
Joomla! Master

Joined: Mon Oct 27, 2008 9:27 pm
Posts: 13759
Location: Akershus, Norway
These settings are set in 3 levels: Global->Menu Item->Article
The later overwrites previous. To use the Global setting, Menu Item and Article must be set to "Use Global". Try to set it to "Hide" on you Blog layout menu item.


Top
 Profile  
 
PostPosted: Mon Jul 19, 2010 7:28 pm 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Sun Feb 14, 2010 9:12 pm
Posts: 579
Yes, it is set on each article for "global". Okay, set to "hide"? Okay. I'll fiddle around with those settings and see if anything changes. Thank you for the suggestions! :)


Top
 Profile  
 
PostPosted: Mon Jul 19, 2010 7:32 pm 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Sun Feb 14, 2010 9:12 pm
Posts: 579
Okay, tried that. Didn't help to hide it. It's been so long since I've seen the "ratings" module, where is it supposed to show up? next to the PDF/Print/Email or on the opposite side? Next to the title? Course I suppose if it pops up, I'll sure notice it LOL


Top
 Profile  
 
PostPosted: Tue Jul 20, 2010 7:40 am 
Joomla! Master
Joomla! Master

Joined: Mon Oct 27, 2008 9:27 pm
Posts: 13759
Location: Akershus, Norway
In the core files it's shown between the title and author/date. Your template may override the output and have not implemented it.

Try to view the site with the Rhuk Milkiway template (add &template="rhuk_milkiway" to the url).

The override file is templates\<your template>\html\com_content\article\default.php


Top
 Profile  
 
PostPosted: Tue Jul 20, 2010 9:13 pm 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Sun Feb 14, 2010 9:12 pm
Posts: 579
Okay, thank you again. I'll try that! SMILE


Top
 Profile  
 
PostPosted: Wed Apr 04, 2012 9:37 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Sat May 09, 2009 3:37 am
Posts: 2
Do not know if anybody is interested, but I was looking for the same issue:

Did not want the rating to show up on my blog layout, but did want it in my articles.

What I did is set the global parameters to hide and then in each individual article, I set it to show.

Hope this help, it worked for me


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



Who is online

Users browsing this forum: No registered users and 14 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