Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.
- Index
- » MetaMod
- » MetaMod General Support
- » Return text instead of module .......
Page:
1
Return text instead of module .... posible?
Return text instead of module .... posible?
if
(
$option == 'com_xxxxx'
and
JRequest::getVar("task") == 'cats'
and
JRequest::getVar("cat") == '44'
or
JRequest::getVar("cid") == '99'
or
JRequest::getVar("pid") == '99'
) return TEXT;
I would like to see text (where normally the return would show a module) in this case a name, is this possible.
Looking forward to your reply.
Administrator has disabled public posting
Re: Return text instead of module .... posible?
Hi kitesurfer,
yes, that's easy to do: use an "echo" statement.
e.g.
if (options here...) {
echo "Hello World!";
}
You don't need a return statement to do this.
Cheers,
Stephen
Administrator has disabled public posting
Page:
1
- Index
- » MetaMod
- » MetaMod General Support
- » Return text instead of module .......
Board Info
- Board Stats:
- Total Topics:
- 1689
- Total Polls:
- 6
- Total Posts:
- 5944
- Posts this week:
- 1
- User Info:
- Total Users:
- 7669
- Newest User:
- norton4568
- Members Online:
- 1
- Guests Online:
- 170
- Online:
- norton4568
Forum Legend:
Topic
New
Locked
Sticky
Active
New/Active
New/Locked
New Sticky
Locked/Active
Active/Sticky
Sticky/Locked
Sticky/Active/Locked