Wrox Programmer Forums
|
BOOK: Professional Joomla! ISBN: 978-0-470-13394-1
This is the forum to discuss the Wrox book Professional Joomla! by Dan Rahmel; ISBN: 9780470133941
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Joomla! ISBN: 978-0-470-13394-1 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 29th, 2010, 05:13 AM
Registered User
 
Join Date: Jul 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default What Is 'format=raw' Used For In A URL?

Hi -

Specifically, on page 170 six lines from the bottom is the following URL:
http://localhost/index.php?option=co...&articlenum=36

I know the option parameter determines which component is loaded. I know the articlenum parameter contains the article number and is used by the component later for processing. But, what is 'format' for, and do I need to include it in the URL?

Thanks, in advance.



Warm Regards
XJohnson
 
Old July 29th, 2010, 11:21 PM
Registered User
 
Join Date: Jul 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default The Purpose of 'format=raw'

Hi, Everyone -

I just found out what the 'format' parameter is for when calling modules. Specifically, my first question was about the following http request found on page 170:

Code:
http://localhost/index.php?option=com_articleinfo&format=raw&articlenum=36
I was trying to find out what the 'format' parameter is for. I found the answer on page 166. It says:

Quote:
By setting the format to raw ..., Joomla executes the specified component and returns only the output that it has generated. This method is exactly how the Ajax Web page requests information for display.
Naturally, the next question is: what are the other values that can be placed in the 'format' parameter? Another question would be: if the format parameter were omitted, then in what other ways could Joomla return the output generated?

Thanks, in advance.



Warm Regards,
xjohnson





Similar Threads
Thread Thread Starter Forum Replies Last Post
Saving picture: RAW and jpeg sm12 BOOK: Professional Android Application Development ISBN: 978-0-470-34471-2 0 January 16th, 2009 03:36 PM
How do I send raw data directly to a serial port peterasimpson VB.NET 0 January 27th, 2008 09:42 PM
raw ftp command zhebincong BOOK: Beginning Unix ISBN: 0-7645-7994-0 1 May 18th, 2006 09:18 AM
Raw count problems zukit Classic ASP Databases 2 April 12th, 2005 06:03 AM
How to display Oracle raw(10) in Access 97 lgharis Access 0 February 27th, 2004 12:25 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.