11 votes

Custom Read More text

Yes is posible, go to each article, from here you can see a Tab called Optionsat the bottom you can see the field Read More Text, see the screenshot. Regards.
AlejandroVega's user avatar
5 votes
Accepted

How to show a module inside com_content/article/default.php

Assuming with fails you mean it simply doesn't show on the article page and not that you are getting any other kind of errors. The code you posted seems okay and should work. So, I guess it might be ...
FFrewin's user avatar
  • 19.6k
5 votes
Accepted

Language tags in article content

You can use this language plugin: http://extensions.joomla.org/extension/easy-language Once installed in your article you can do: {lang en}Monday{/lang}{lang es}Lunes{/lang} It will display the ...
Piero Marsilio's user avatar
4 votes
Accepted

Article custom fields for one category

Right, been playing around and got it working. You're firstly going to need to add the parameter to select a category to your acf.xml file, like so: <config> <fields name="params"> ...
Lodder's user avatar
  • 26.9k
4 votes

Adding Custom Fields to Article Component [Not in attribs field]

I've been using FieldsAttach for this sort of thing, for a few years, the the concepts are clean and eloquent. Brian Teeman explains it well from an integrator point of view in his talk at https://www....
AndyGaskell's user avatar
3 votes

Joomla assets table ucm rows

The #__ucm_content database table is used to store tags for core extensions, so I would not remove them, else you may get an error along the line in the future. See more information tags with ...
Lodder's user avatar
  • 26.9k
3 votes

Jmodel get articles of an attribute

In the most generic way, you can write a query to load the articles in a list. Or, you can work with the article model. You can check how it works in a content module or in content component: ...
Anibal's user avatar
  • 7,435
3 votes

I need to change "Continue Reading " to "Read more" How to do?

You can override the "Read more" text in the admin section. In the "Extensions" menu, choose the Language menu item. Then choose "overrides" and click "new". You can search for the constant you ...
Lance's user avatar
  • 533
3 votes

Query database for articles, filtering by tag

You could Join the #__content table with the one of the #__contentitem_tag_map, which is the table that stores the many-to-many relationships among the various content items and the tags: $query->...
FFrewin's user avatar
  • 19.6k
3 votes
Accepted

How to add gravatar support to Joomla article

Take a look at the Gravatar PHP documentation. Basically, you want to generate a URL for the image to be displayed. This URL is based on the users email address, and will of course only work for ...
johanpw's user avatar
  • 13.3k
3 votes

How to show previous/next buttons in my articles?

To display Next / Previous buttons at the bottom of articles pages, then first of all the content pagination plugin should be enabled. Then for each of the articles, the corresponding value of show ...
FFrewin's user avatar
  • 19.6k
3 votes

How can I increase the maximum length of article titles?

After reading the comments under your question: You could modify the #__content.title column but bear in mind that this involves a potential risk of data lοss if a future Joomla update contains ...
FFrewin's user avatar
  • 19.6k
3 votes

Getting the source code of an older version of an article?

Revisions are stored in the #__ucm_content table. The version number is the core_version field. If you want, for example, to get the body of the 2nd reversion of the article with ID 123, you issue the ...
itoctopus's user avatar
  • 3,216
3 votes

Define a default intro image on article submissions

You would want to put this as a template override for com_content. Depending on whether you want it to appear on the category page or single article, the file would go /templates/TEMPLATE_NAME/html/...
YellowWebMonkey's user avatar
2 votes
Accepted

Adding Custom Fields to Article Component [Not in attribs field]

I would recommend using FieldsAttatch for this, see http://www.fieldsattach.com/ for more info. It is not a full on CCK, but a much lighter system that allows you to add fields to the Joomla content ...
AndyGaskell's user avatar
2 votes

How to display user profile fields on an article?

Download, install and enable a plugin name DirectPHP. This plugin gives the facility to write PHP code in article. After these in your article write following code. <?php jimport( 'joomla.user....
Shiplu's user avatar
  • 121
2 votes

Check if Content exists

I'd agree with comments, best to maybe un-publish empty articles. Also there is one possible flaw in this plan, and that is the assumption that the component being called is com_content with a single ...
AndyGaskell's user avatar
2 votes

How to get the intro image of a joomla article

I had the same problem on twitter. I was trying to add my link picture just as facebook does automatically but had to investigate the CARD Validator here https://cards-dev.twitter.com/validator ......
Luis H Cabrejo's user avatar
2 votes
Accepted

Calling category title params from a com_content

Here is a quick bit of code that will retrieve the category name for you. This code assumes that you are on an article page. <?php $JInput = JFactory::getApplication()->input; $articleId = $...
Terry Carter's user avatar
  • 1,812
2 votes

Joomla create content plugin to add fields to article (com_content)

The easiest approach is to simply add the fields as additional properties of the attribs, so you don't need to handle database changes; the additional properties will be stored as a string ...
Riccardo Zorn's user avatar
2 votes
Accepted

Article Manager: "No Matching Results" when navigating in pagination after page 1 - Joomla 3.4.5

I just sorted it out... and found what was causing this. The issue was caused by a bug in the ACL Manager extension. I had ACL Manager 2.4.4 installed and that had a bug as reported here, although the ...
FFrewin's user avatar
  • 19.6k
2 votes
Accepted

Menu Item - Show only a few articles

You can use the featured articles system represented with a star in content manager and use a "Featured Articles" menu item type to show only the specific articles that you have marked. Then use a ...
Kitase88's user avatar
  • 977
2 votes

Ask for confirmation before article publish

You can do this by adding the following code to the very end of your /administrator/components/com_content/views/tmpl/edit.php: <script> jQuery("#jform_state").on('change', function(e){ ...
itoctopus's user avatar
  • 3,216
2 votes
Accepted

Get values of other custom fields in field layout override

Create an override of com_fields/layouts/fields/render.php. Find this line: $content = FieldsHelper::render($context, 'field.' . $layout, array('field' => $field)); Change it to also pass the ...
Sharky's user avatar
  • 10.9k
2 votes
Accepted

Query database and show latest 3 articles from __content

Resolved this as follows: In foreach, for the intro image, I replaced $introimage = $r->images; with $introimage = json_decode($r->images)->image_intro; For the date formatting, I added: ...
RustyJoomla's user avatar
  • 2,076
2 votes

Execute Joomla CLI script to bulk import JSON data to articles

I found when running CLI scripts that other things that you don't really need to execute, i.e. plugins, will cause failures because they don't check themselves to disable if they are running under a ...
Irata's user avatar
  • 3,597
1 vote
Accepted

Getting latest article from category including subcategories

You need to enable subcategories with the subcategories.filter and also specify the levels of subcategories you want to go deep down. $model->setState('filter.subcategories', true); $model->...
FFrewin's user avatar
  • 19.6k
1 vote

I want to create a module that shows the content of an article

There is not a standard form field for articles, but there is the SQL field which allows querying the database and returns a dropdown list with the results, which could be sufficient for a simple ...
FFrewin's user avatar
  • 19.6k
1 vote

Copy partial site content from old site to new site

It would be simpler if you would have asked before building a new website, as me personally I would have suggested you to copy the old database and build over there. Now there more things to consider ...
FFrewin's user avatar
  • 19.6k
1 vote

Create a Custom field for content for adminside as Video

Fieldsattach is one CCK that can add YouTube or Vimeo video fields to your content. The YouTube and Vimeo fields are free add-ons. DPFields which is scheduled to become the core CCK in Joomla 3.7 ...
Neil Robertson's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible