Recipe help for a PHP neophyte I apologize if this has been asked before, but I could not find any reference to it. I was hoping to load content (an article) to be directly displayed within MetaMod 2.2c and Joomla 1.5. I figured there must be a way due to the powerful possibility of PHP code injection, but I only know enough PHP to make extremely minor code alterations and how to return blank error pages.
Edited By: icculus 11-Dec-09 15:58:33 |
|
|
|
Administrator has disabled public posting |
Re: Recipe help for a PHP neophyte Hi icculus,
Code:$module = 95; /* the Article Module id*/ Simple! Now I can use other rules to enable or disable this, or to change the article ID that it's going to display.
Code:$module = 96; /* the Phoca Gallery Module */ Now we can start playing with that, to display different galleries on different pages. For example, we'll display gallery 1 on article pages, gallery 2 on article category pages, and gallery 3 on all other pages: Code:$module = 96; /* the Phoca Gallery Module id*/ Hope that helps,
|
|
|
Stephen Brandon |
Administrator has disabled public posting |
- Index
- » MetaMod
- » MetaMod General Support
- » Recipe help for a PHP neophyte
Board Info
- Board Stats: Total Users: 3076 Total Topics: 1195 Total Polls: 7 Total Posts: 4448 Posts this week: 18
- User Info: Newest User : tao Members Online: 0 Guests Online: 81
- Online There are no members online
- Topic
- New
- Locked
- Sticky
- Active
- New/Active
- New/Locked
- New Sticky
- Locked/Active
- Active/Sticky
- Sticky/Locked
- Sticky/Active/Locked
































