G2 will not stay in custom Mambo theme

rsbrace

Joined: 2005-07-08
Posts: 13
Posted: Sat, 2005-07-16 05:21

I created a custom mambo theme to show gallery in full screen. I use this theme only for gallery (a different theme for the rest of the site).

Every thing loads perfect but when I click on any link in gallery it resets to the default mambo theme.

I believe this is URL issue but don't have the experience to work it out.

Or is this some other issue.
Any ideas.

http://www.bracewellfamily.com/mambo/component/option,com_gallery2/Itemid,31/
(click on something and watch the theme change)

Note: I have not been able to get the photos set for public access so you may get a login required but it is enough to see the issue I'm having. I have also tested this custom theme with mambo news and it works. I have tried it with SEF on/off both in mambo and gallery with no change.

 
michiel_1981

Joined: 2005-05-19
Posts: 430
Posted: Sat, 2005-07-16 06:09

rsbrace,

upgrade to the latest verion of the component 2.0.5 or wait to monday when i relaise 2.0.6

your gallery2 isn't set correctly it looses the itemid and thus mambo's capability to know where it is and what it should do. This automaticly done with the next relaise.

grtz,
Michiel

 
rsbrace

Joined: 2005-07-08
Posts: 13
Posted: Sat, 2005-07-16 13:43

Good job,

I should have known it was already being worked on.

I will watch for 2.06 on Monday.

 
rsbrace

Joined: 2005-07-08
Posts: 13
Posted: Sat, 2005-07-16 16:49

I have been working with the permissions and cannot get non logged in users the ability to see the full size images.

Example: In the standalone G2 anonymous users can click on thumbs and see the full size image. In my embedded Mambo/G2 anonymous users are given a
"You are not authorized to view this resource. You need to login." when they click on anything in G2.
I set the G2 link for public access in mambo.
I checked the database and my mambo users and user types/groups are not listed in the G2 user.

Could this be part of the same issue as above? (or)
Could it be because mambo uses "public" for anonymous users and G2 uses "everybody"?

http://www.bracewellfamily.com/mambo/component/option,com_gallery2/Itemid,31/

 
michiel_1981

Joined: 2005-05-19
Posts: 430
Posted: Sat, 2005-07-16 16:58

rsbrace,

yes is part of the same issue, place &itemid=31 after yur embeduri config setting and all should be working again.

grtz,
Michiel

 
rsbrace

Joined: 2005-07-08
Posts: 13
Posted: Sat, 2005-07-16 23:35

After 2-3 hours I read your reply and came back to work on the url but when I loaded up G2 I received an error:

I did not get the correct line numbers.

Error (ERROR_PLATFORM_FAILURE, ERROR_UNKNOWN) : 

    * in modules/core/classes/GalleryTemplate.class at line 
(gallerystatus::error) 
    * in modules/core/classes/GalleryTemplate.class at line (gallerytemplate::_initcompiledtemplatedir) 
    * in main.php at line (gallerytemplate::display) 
    * in main.php at line 
    * in main.php at line 

I found a solution in another post from an earlier beta version and it borough the site back except for my photos are missing.

Somehow my Smarty folder had a chmod of 755 when it was 777 and my images folder was 755 when it was 777 and all jpeg files are 600.

Off to find a solution for the images just wanted to post the error.

 
buglerroller

Joined: 2005-07-25
Posts: 28
Posted: Sun, 2005-08-14 01:28

Works fine now... what was the solution?