I have a website which uses 2 different Joomla Template files, with 'regular' pages I can just set a template to show on some pages and not on others.
However I can't select CB sub-pages there, since they are not in any menu. With CB sub-pages, I mean pages like 'lost password' and 'edit profile'
I have two different links for the CB Profile, one for each template.
for ease let's say they are
domain/profile
domain/profile2
When I login and go to the profile the template works fine, however when I click the 'edit profile' button they both go to the following url: domain/profile/userdetails.
I would like domain/profile2 to go to domain/profile2/userdetails, but I can't seem to figure out how to do this.
I just want it to 'stay' on the template from it's parent.
CB always uses the first Itemid it finds, no workaround for this. All internal CB URLs will use said Itemid and Joomla template assignment is purely based off Itemid. You would need something like access or language to distinguish which menu item belongs to which domain as both are considered in CBs Itemid database query.
Kyle (Krileon) Community Builder Team Member Before posting on forums:
Read FAQ thoroughly
+
Read our Documentation
+
Search the forums CB links:
Documentation
-
Localization
-
CB Quickstart
-
CB Paid Subscriptions
-
Add-Ons
-
Forge
-- If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
-- If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please
send me a private message
with your thread and will reply when possible!
-- Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
-- My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
I've decided to use languagecodes to solve the issue.
I have a follow up question though.
I've copied my base language file (dutch) and renamed the language code to s1-S1 and the url code is s1
so I can use s1/profile etc, which works fine.
However I can't seem to duplicate the Dutch Community language file properly. Or well I copied it, renamed it to s1-S1 and installed it which all went fine, but it does not seem 'linked' to the Joomla s1-S1 language file. How can I achieve that?
Instead it takes the default CB language, which is English, if I can somehow set the default CB language to Dutch that would be fine aswel, but I'm not sure how to do that without affecting the core CB files.
CB always uses the language tag passed by Joomla so if Joomla isn't passing s1-S1 then it won't be used. CB doesn't actually need a language plugin to be installed for it to work so you should be able to duplicate the folder and rename it properly for it to work.
Kyle (Krileon) Community Builder Team Member Before posting on forums:
Read FAQ thoroughly
+
Read our Documentation
+
Search the forums CB links:
Documentation
-
Localization
-
CB Quickstart
-
CB Paid Subscriptions
-
Add-Ons
-
Forge
-- If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
-- If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please
send me a private message
with your thread and will reply when possible!
-- Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
-- My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.