Questions tagged [format]
The format tag has no usage guidance.
How to set date format to English when using a non-English language?
After I have installed the Persian language in Joomla; now all English dates are changed to Persian dates. How can I have the Persian language and English dates?
How to change date format in JHTML::calendar to d-m-Y?
In a form I have a date/time-field. It works correctly, but the format of the date isn't right -- I require Dutch date notation (d-m-Y). Instead of day-month-year it displays and saves it as year-...
Number parsing and formatting, according to the user locale
I'm wondering if there is J-API way to parse and format numbers (like JDate). When you convert decimal numbers into different locales, the user can enter numbers in this way "1.234.567,891" and ...
How to reformat a date string? [duplicate]
I'm trying to enter the date in tags default_items.php (in an override) to see the date in tags list. I am using <?php echo $item->displayDate; ?> and this prints: 2018-08-04 06:04:37, but I'...
Create alias for alternate view format
I've just created an RSS feed view format for one of the views in my component. This is contained in: components/com_mycomponent/views/myview/view.rss.php I'd now like to allow access to this via ...
In "Date Format" section, what code makes the date relative?
This code will show the date of publishing like: 4:30 10/7/2015 I want the date be like: 2 hours and 15 minutes ago this setting is on showcase modules ("news show pro GK4" in this case) for ...
How to get Attachments list for an article view in format=raw output
Using this Joomla Attachment plugin: http://jmcameron.net/attachments/ When used &format=raw in the url params to view an article the output only shows the details of the article and its ...
Add output formats to core components
Is it possible to add output formats to a component? For example, if I wanted to have a pdf output from com_content article, how would this be done? The article view only has a single format listed (...