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 
Changing theme's footer

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



Joined: 24 May 2006
Posts: 15

PostPosted: Wed May 24, 2006 2:32 am    Post subject: Changing theme's footer Reply with quote

I'm posting this in this forum since it is Joomla related.

I'm using the Slate theme and thyme is wrapped inside Joomla and it's using auth.php. I want to change the footer of the template from the following:

Options : Sync : Event Requests : Admin : Logout - admin

to:

Event Requests : Options : Admin

Of course, Admin only appears if an admin is logged on.

Any way i can do this?

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



Joined: 12 Sep 2005
Posts: 5275

PostPosted: Wed May 24, 2006 1:43 pm    Post subject: Reply with quote

Hi rsuplido,

1) In modules/sync/register_module.php add:
Code:
return;


on the line just after <?php

2) in modules/requests/register_module.php change:

Code:
$_cal_modules['requests']['priority'] = -80;


to

Code:
$_cal_modules['requests']['priority'] = -100;


3) In index.php search for _LOGIN_, you should find the word login around these 3 lines:

Code:
 $url = new _cal_url(_CAL_PAGE_LOGIN_);
         $links[] = "<a href='". $url->toString() ."' class='"._CAL_CSS_MAIN_HEADER_."'>".
        _LOGIN_ ."</a>";


Remove those lines.

4) in modules/calendars/register_module.php remove this line:

Code:
$_cal_modules['calendars']['parents'][] = "footer";


.. that should do it. Let me know if you have any questions / trouble.
Back to top
View user's profile Send private message Visit poster's website
Guest






PostPosted: Wed May 24, 2006 1:55 pm    Post subject: Reply with quote

Worked out great!

I was wanting to remove the 'Login' and 'Logout' link at the end but it seems like logging out from Joomla doesn't log-out the user at Thyme automatically. Is there a hack to Joomla to clear the Thyme user's cookies?

Thanks ian.
Back to top
rsuplido



Joined: 24 May 2006
Posts: 15

PostPosted: Wed May 24, 2006 1:55 pm    Post subject: Reply with quote

oops, that was me at the top.
Back to top
View user's profile Send private message
esoft_ian



Joined: 12 Sep 2005
Posts: 5275

PostPosted: Wed May 24, 2006 1:58 pm    Post subject: Reply with quote

There's an option in the auth module called 'strict_logout', set that to 1 and it will log out of Thyme when you log out of Joomla. Note that with this enabled, you will not be able to log into Thyme when not also logged into Joomla.
Back to top
View user's profile Send private message Visit poster's website
rsuplido



Joined: 24 May 2006
Posts: 15

PostPosted: Wed May 24, 2006 1:59 pm    Post subject: Reply with quote

That's cool ian. Thanks!
Back to top
View user's profile Send private message
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.