Home · Links · Contact Us
Home arrow Forums
Home
Features
FAQ
Screen Shots
Modules
Themes
Demos
Documentation
Forums
Contact Us
Download
Purchase
Quotes

" ... I want to tell you that your thyme product is functional and valuable beyond words. I cannot imagine why any portal would be without it. It is the cornerstone of our new project ..."

" ... Thanks for such a complete project, its making my job much easier. ..."

" ... I have now deployed 4 different calendars and our users love them ... "

" ... Easy to install and use and a great look/design. ..."

" ... This has to be the easiest to use program I think I've had to deal with at all this year. ..."


  FAQFAQ    SearchSearch  RegisterRegister   Log inLog in 
Multiple Projects/menu items

 
Post new topic   Reply to topic     Forum Index -> Joomla / Mambo Integration
View previous topic :: View next topic  
Author Message
KurtB



Joined: 20 Feb 2006
Posts: 52

PostPosted: Fri Mar 03, 2006 4:29 am    Post subject: Multiple Projects/menu items Reply with quote

I was looking at the joomla demo on this site & the main menu shows an Event View and a Month View. Are these 2 different projects? I cannot figure out how to load 2 projects at the same time into Joomla. It appears that the name of the project is directly tied into the Joomla component (in the thyme.php file).

Come clean Ian, Very Happy How'd you do it? (knowing how the 2 menu items were created may be helpful on my site).

Kurt
Back to top
View user's profile Send private message
esoft_ian



Joined: 12 Sep 2005
Posts: 5275

PostPosted: Fri Mar 03, 2006 11:58 am    Post subject: Reply with quote

Hi Kurt,

It is actually the same project. I created a page, inserted both the month view and event list components into it, then wrapped them in this code:
Code:

if($_REQUEST['Itemid'] == 27) {
   include('.../components/month.php');
} else {
   include('../components/elist.php');
}


I just looked at the Itemid for the menu and based it off that. Note that you have to create the 2 menu items in Joomla first to get their Item ids. Then, in the Persistent Request section of Joomla Studio, I added:

Itemid and set it's value to $_REQUEST['Itemid']

Let me know if you have any trouble implementing this.
Back to top
View user's profile Send private message Visit poster's website
DeanMarshall



Joined: 31 Jul 2006
Posts: 9
Location: Lancaster, Lancashire, United Kingdom

PostPosted: Mon Jul 31, 2006 4:04 pm    Post subject: Reply with quote

Dean steps in and really drags one up from the depths.

Hi Ian - I was just doing the RTFM thing and reading every post in the Joomla / Mambo forum where my interests lay. I started with the last posts on page 3 (which roughly speaking were the first posts) and I'm working my way through them all.

Just for clarification Ian, that is a typo there right - the three dots I mean Wink

Dean
Back to top
View user's profile Send private message Visit poster's website
esoft_ian



Joined: 12 Sep 2005
Posts: 5275

PostPosted: Mon Jul 31, 2006 5:23 pm    Post subject: Reply with quote

Hi Dean,

The 3 dots are just place holders. What you should really do is put your cursor where you would like the component to be inserted, highlight the component under Components on the left, then click Insert.

Let me know if you have any questions.
Back to top
View user's profile Send private message Visit poster's website
DeanMarshall



Joined: 31 Jul 2006
Posts: 9
Location: Lancaster, Lancashire, United Kingdom

PostPosted: Mon Jul 31, 2006 5:53 pm    Post subject: Reply with quote

Thanks Ian,

Ah I see - I thought that it was a relative path for up a directory - but with one too many dots.

You live and you learn. - And I have sooo much to learn.

Cheers
Dean
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Joomla / Mambo Integration All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
© 2005 eXtrovert software unless otherwise noted. All rights reserved.
Portions © 2004 Ben Brown. All rights reserved.
Trademarks are property of their respective owners.