Questions tagged [articles]

This tag is for questions related to Joomla articles and the com_content component.

Filter by
Sorted by
Tagged with
2
votes
1answer
462 views

How to get rendered full page before returning to the browser?

Is there any way to get full rendered page before returning to the browser? I want to get full page (from <html> to </html>), replace some pseudo variables and retrun to user changed ...
1
vote
1answer
47 views

Responsive Height Columns in Article

I am trying to fix a formatting Error in a Joomla! Project I took over in my School. Currently they used a HTML Instructions (as far as I unterstand this) in the Article. [columns add_margins=true ...
1
vote
0answers
91 views

Joomla add article & extra field values from custom component

I have a custom component, from which I am taking my data & creating a new article with extra field values(from code). Below, is my code & attempt. JLoader::import('components.com_content....
0
votes
1answer
147 views

Tracing source of this error: Call to a member function reorder() on boolean

Is there a way to trace this error: Call to a member function reorder() on boolean I'm checking my PHP Logs but this particular error isn't showing up there. It happens when I'm trying to create ...
1
vote
1answer
294 views

How can I add custom user field values to an article?

I have created a custom user field named "Gender". How can I show this field in an article? I can only manage to show: username, name, email and User Id Here is my current Sourcerer code to access ...
1
vote
1answer
71 views

Set featured article first in custom sort order

I am using a bespoke module (which has been inherited with the site) and the module sorts the articles shown based on the selected sort order from the XML params: <field name="sortopt" type="list" ...
0
votes
2answers
41 views

How do I make article images that can be enlarged on mobile devices?

I'm trying to enter lessons with images on my website, but the images are too tiny on mobile devices. Is there any way to make it so they can be enlarged by clicking on them rather than trying to ...
1
vote
1answer
212 views

How to set the title and intro text as hyperlinks to the full article in blog layout?

When displaying articles in blog layout on my website, I want the respective article link on the title and the whole intro text. I looked at the code in components/com_content/views/category/tmpl/...
3
votes
3answers
40 views

How to create many pages with the same content except for one variable?

I have over 100 pages to create and they will have the same exact content except for one variable (dog breed). Examples: www.dog.com/husky-dog www.dog.com/rottweiler-dog www.dog.com/pitbull-dog and ...
1
vote
1answer
250 views

Delete row from custom made SQL when deleting article in Joomla

I´m still new to Joomla and to coding SQL. I was thinking about how I should manage a big system I made with information that is saved in a sql table, that contains some user input and the "id" of an ...
1
vote
2answers
33 views

Why doesn't an article appear when following some links?

When I try to access an article by following a link like thisindex.php?option=com_content&view=article&id=9, the post appears as expected. However, when I use the link index.php/2-...
0
votes
1answer
139 views

How to dynamically filter blog/list layout by today's date?

I've created a Joomla article category 'Events' with three list views: all events past events future events All three views refer to the same "Events" category. The past and future events layout use ...
2
votes
1answer
453 views

Get tags for an article

How can I query the db for all the tags associated with an article? I have been able to use JTable to query to *_tags table, but that doesn't return the tags that are associated with the article ...
1
vote
1answer
47 views

How to automatically append slash to article links?

I want to make sure that all my links from one article to another end in a '/'. Currently, there is a link on article "One" that contains a link to "Two" and it's generated like this: https://...
0
votes
1answer
55 views

Send values from article to article

I have two articles in my Joomla site. One article has various links to the same article. The other article display, with code of java script, the HTML content of a file depending on what link was ...
0
votes
1answer
158 views

How to display all articles on the website in Joomla! 3.8.7?

I have over 200 articles in this category but actually, on this page, it is displaying only the last 30 recent ones and also in a column format. https://www.kiagia.com/index.php/bollywood-mobile/...
2
votes
1answer
367 views

PHP: Check if a module is displayed on the current page

I'm having some issues with checking if a module is displayed on the current page. I tried out different approaches with JModuleHelper methods, eg isEnabled, but it only works with module types not ...
1
vote
0answers
75 views

Extended tag field joomla article custom field

I have some joomla custom fields in articles. But I need 3 custom fields that should behave like the joomla "tags" so that, besides selecting from the options available, the user can also insert a new ...
2
votes
1answer
21 views

Additional “Images And Links” fields - corect way

Just edited administrator/component/com_content/models/forms/article.xml to add more Images fields. The control is very user-friendly. Is there a way of doing it more right without changing core ...
1
vote
2answers
1k views

Canonical tag problem in Joomla articles

look at the URLs below: 1. /essays/technical-essays/180-technologies/247-megapixel 2. /essays/technical-essays/247-megapixel 3. /essays/technical-essays/technologies/247-megapixel 4. /essays/...
2
votes
1answer
74 views

SQL Query error when displaying article list

I am running a number of sites on the same server. All are updated to Joomla 3.8.2 Suddenly some of them but not all have the following problem. When I list the articles I get a list of the first 20 ...
2
votes
2answers
101 views

Article title and category not bolding

We upgraded to 3.8.1 and since the upgrade the article titles and categories are not bolding as they did in the past. We have an article-category module and I checked the tabs to see if there was ...
1
vote
1answer
148 views

Checking if category has an published article

I have this piece of code in my template <?php if ($showLeftColumn) : ?> <aside class="sppb-col-md-3 custom-style-left"> <jdoc:include type="modules" name="left-top" style="...
1
vote
1answer
2k views

How do I find out the URL for an article?

I created the following article: Which shows up in the list at http://localhost:81/fecms/administrator/index.php?option=com_content&view=articles I tried to navigate to http://localhost:81/...
2
votes
1answer
25 views

What type of extension processes non-HTML markup in an article?

I'd like to develop an extension that processes images and related data using article markup, such as is done by Articles Anywhere, for example: {article 999}{/article} In my case it would look ...
1
vote
1answer
136 views

How to get article id on BT CONTENT SLIDER?

I have a BT CONTENT SLIDER module on main page of my website to show a list of 3 articles from category called "News" on main page. I would like to read custom params of that articles shown on that ...
1
vote
2answers
62 views

Joomla page title is not article title for some articles

I am using version 3.6.5. After some SEO inspection, we realized that some article pages are using duplicate page titles (the site name being the page title). I compared the article whose page title ...
1
vote
3answers
1k views

Has there been a better solution for showing modules only on article list page(but not article page)?

A typical scenario I believe every Joomla users have encountered is: You have a module on the article list page(like Category Blog), but you don't want this module to also show on the article content ...
0
votes
1answer
226 views

Add html to Article Image captions

While adding the featured image of an article (Intro Image and Full Article Image), I need to add some simple HTML to the Caption field, since these captions contain scientific names, that must be ...
2
votes
2answers
637 views

Menu item - Articles List - Filter by user

I'm very new to Joomla (version3). I have two registered users. When any registered user is logged in they can see a new menu which contains an item to show the Articles list. This works as expected....
2
votes
1answer
97 views

Mod articles archived override not working?

I am using Joomla 3.8.0, and I have made an override for the mod_articles_archived module. For some reason it doesnt read the override? I have the following map structure now: templates/mytemplate/...
0
votes
1answer
32 views

Allow users to see only a selected set of data [duplicate]

I have a specific requirement and looking for a matching set of extensions. I have a Joomla website where I allow users to login and see a selected article for each of them. That means, when the user ...
0
votes
1answer
166 views

duplicate content for an article URLs [duplicate]

look at the URLs below: 1. /essays/technical-essays/180-technologies/247-megapixel 2. /essays/technical-essays/247-megapixel 3. /essays/technical-essays/technologies/247-megapixel 4. /essays/...
2
votes
1answer
282 views

How does the Finish publishing feature for articles work?

I've noticed that articles have very handy Start Publishing and Finish Publishing fields that will automatically (at least how I understand it) published or unpublish articles based entirely off of ...
4
votes
1answer
32 views

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

I want to get the HTML source of an old version of an article from the version history without restoring it. I can only seem to get a rendered preview or a change list in HTML from the compare option. ...
1
vote
1answer
815 views

How to correctly create dynamic content for Joomla?

I know this is a broad question but I really need to ask it. I started using Joomla a long time ago, and I have build a pretty extensive system that is highly used but I never liked the way I did it. ...
2
votes
2answers
1k views

Article save error: Invalid Parent ID (Frontend)

On a pretty new site, something has happened that has caused articles to give following error message upon saving (on frontend only) Save failed with the following error: Invalid Parent ID In search ...
2
votes
1answer
558 views

Adding a title attribute on the image tag - How to customize article's full image layout?

I want the full image of an article to use the value of an alt attribute in a title attribute, too. I have been searching everywhere and just can't find the correct file. The file which provides the ...
0
votes
2answers
51 views

How can I create a page that links to all articles with fake long titles?

I would like to have a page that lists all articles in a category by subcategory, and to have these articles listed by titles longer than Joomla's built-in maximum length. In asking this question I ...
3
votes
1answer
859 views

How can I increase the maximum length of article titles?

I need to create a few articles with very long titles, but it seems like Joomla has a maximum article title length of around 256. How can I increase this limit?
1
vote
1answer
80 views

Get ID for new Article or Category

I'm programming in a button to allow users to add a new category or article but I'm also tracking the IDs to create the custom webpage structure. So when the user clicks the button I need to know the ...
1
vote
1answer
49 views

How to prevent category pages from being visited

Here is my problem, I made couple content categories, the structure is something like this: pages (here I store all the pages, like about us, contacts, news, privacy policy, etc); news (with ...
2
votes
2answers
1k views

How to assign a different Joomla template style to subpages?

How to make the sub articles have different template style and not inherit the one assigned to their parent category? Let's say that I have news category which uses the default template style. How ...
3
votes
1answer
2k views

How to fetch joomla article custom fields in another component?

I have created some custom fields in my joomla article from backend now I want to fetch them in another component. What would be the code to achieve it?
0
votes
2answers
47 views

Customizing the Article Title

I am new to Joomla. I am trying to customize the Article title. As per my understanding the title is using Header tag h2, now this is same across all the Articles displayed on the site. So basically ...
1
vote
2answers
809 views

Override Global CSS within Article

I have one article, where I want to apply different styling to it than what the global is. I tried to add it like so <link rel="stylesheet" type="text/css" href="https:"/ tag at the top of my ...
4
votes
1answer
652 views

Article Table of Content as a sticky navigation

I'm looking for a way (plugin, module?) to achieve the following: auto-generate a Table of Content for certain long Joomla articles based on HTML tags (H1,H2 etc.) or CSS classes of headings show ...
1
vote
1answer
54 views

Joomla article wont post if the content is over 3000 characters

I am running into an issue where my article will not post if the content of the article is over 3000 characters. When I click save, it appears to be trying to post but then I am taken to a white ...
1
vote
1answer
532 views

Import Excel table rows as articles

I have a different products organized in Excel file. Every column means something - Title, Description, Weight, Price and so on. Can I import them in Joomla in such a way, that every row is a new ...
0
votes
1answer
21 views

Custom redirect points to correct page but prints 404 in <title>

I'm new to joomla and this isn't my field. I'm developing a module which should be shown on a page. The URL which prints the content is info-compagnie-aeree.html?iata=af and I want it to be compagnie-...