Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [format]

The tag has no usage guidance.

2
votes
1answer
30 views

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 ...
2
votes
1answer
32 views

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'...
4
votes
1answer
66 views

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 ...
0
votes
0answers
105 views

TinyMCE Source Code Format/Highlight for Backend

I'm searching for a way to format (and highlight) the source code of an article by using the show "source code" function of TinyMCE (see image below). Does anybody have any suggestions?
0
votes
0answers
102 views

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 ...
1
vote
0answers
114 views

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 ...
2
votes
1answer
146 views

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 (...