Questions tagged [com-content]

For questions regarding Joomla's built-in article manager component

Filter by
Sorted by
Tagged with
1
vote
1answer
50 views

Combine two components in one template override

Basically, I want to display the "Add to Cart" block of j2store component in a particular position of my com_content template override. Any idea how can I do that? Thanks a bunch
1
vote
2answers
582 views

Add Content Field Data on form submit

I have a plugin that adds a couple extra fields to com_content. I've already sorted out how to add the fields to the frontend editing form, so that they're displayed and saved appropriately, that is ...
2
votes
2answers
102 views

See content form data submitted

is there any way to see the data that's being submitted in a content form? I'm trying to use the onContentBeforeSave plugin event to do some actions based on the content in the form, but I'm not sure ...
1
vote
1answer
234 views

Displaying Content - Vote form in com_content template overriding

I want to display the Content Vote form in a specific position of my joomla article, so I can't use the Content - Vote standard plugin because it's set to be displayed before the article body (I need ...
4
votes
1answer
367 views

Article multi language selection

I have a multi language site with 4 languages, and I need one article to display in all languages except one. I need to assign more than one language to each article, how can I override and change ...
1
vote
2answers
144 views

How to get currently opened article vote / rating value

I want to display the article rating number in my template 'com_content/article' override. How can I get the value of rating_sum and rating_count of the opened article?
4
votes
1answer
2k views

Adding class to content 'Read More'

I want to add a class to the Read More link found in //components/com_content/views/category/tmpl/blog_item.php I want the class to be: <a class="btn btn-primary readmore-link"> But I can't ...
3
votes
2answers
680 views

Displaying more articles in the article view

I'm using joomla 3.3.6 and I designed content page as I want, but I need one more thing. Is there a plugin or a component to display all/other articles as a list, so the user can move to them. The ...
2
votes
2answers
2k views

How to move print/email to be inline with article title for blog view?

for single article view I've moved the print/email function up to be inline with the title, instead of being located below the title in top-right corner of the content. Did this my moving the code ...
2
votes
2answers
294 views

No way to make any changes on com_content category blog view - T3 Template

I am out of ideas with this one... I have to make a few changes on the category blog template on a Joomla 2.5 site. The issue is that whatever I do in any of the templates of the view, it won't be ...
2
votes
3answers
885 views

Joomla! - Give Blog Categories Classes

First off, I'm a PHP noob :/ just to get that out of the way My goal is to give each Joomla! category a class, so I can pre-style layouts for my client, and when they choose a Category, they would ...
0
votes
1answer
149 views

Change article edition workflow

I have to make some changes on the article edition worflow, to add some features in the middle of the current edition proccess. I mean, the articles when published must be saved in a different status,...
3
votes
1answer
2k views

Display Joomla article contents and title using PHP

I have a component and module built by an external company, they have hardcoded content into the component - I want to change it so the content is called from the Joomla Article Manager. The ...
1
vote
2answers
54 views

Custom content plugin not saving data when conditionally restricted to single page

I have written a simple plugin to include custom content against Joomla articles. Here's the code: defined ( '_JEXEC' ) or die ( 'Restricted access' ); class plgContentHomegrid extends JPlugin { ...
1
vote
1answer
359 views

Crawler finding URLs with ids and catid

While trying to generate a sitemap with a crawler, it is finding some really weird URLs which is not giving a 404 and displaying incorrect content on the wrong section. So for example, I have a Menu ...
1
vote
1answer
51 views

How can I turn off Front-End editing of articles without changing Content Permissions?

Our component depends on the users permission to edit articles, but is intended to intervene with that editing process, so the icon that allows the article editing to occur is a problem for us. ...
3
votes
1answer
294 views

How to trace source of open <div> in Joomla template

I really hope you can help me! I'm building a site as a favour to a charity (I am only a beginner with Joomla. I'm alright with html and css but crap with php). My problem is on a category blog page. ...
1
vote
1answer
435 views

Separate custom fields in com_content from the options tab

With a content plugin and the onContentPrepareForm trigger, I inject custom extra fields into article's edit page. The problem is that my Custom Fields Tab binds with the Article's Options Tab (...
6
votes
1answer
329 views

Menu Item loads any article content when ID passed in the URL instead of showing 404 error

I am having a very strange issue where I have a menu item called /foo which loads article Item 1. Now if I do /foo/2, I would expect this to generate a 404 page since I don't have a sub menu item '2' ...
3
votes
3answers
2k views

Overriding Core Components Model Form XML

I want to change the Field type for the Article's Links, from input text to DropDown List with internal menu items. I am looking for a convenient way to do this with the minimum work. I can't find ...
2
votes
1answer
88 views

Display Categories in Different Layouts

I've got two categories, say "Cat A" and "Cat B" and both of them are associated with a menu item so that a category list can be displayed. Now, I want to display Cat A in list style, which is the ...