Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > PHP/MySQL > BOOK: Professional Joomla! ISBN: 978-0-470-13394-1
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Display Modes
  #1 (permalink)  
Old July 29th, 2010, 06: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
  #2 (permalink)  
Old July 30th, 2010, 12:21 AM
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
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 10:18 AM
Raw count problems zukit Classic ASP Databases 2 April 12th, 2005 07:03 AM
How to display Oracle raw(10) in Access 97 lgharis Access 0 February 27th, 2004 12:25 PM



All times are GMT -4. The time now is 03:03 PM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.