[SOLVED] How to change the names of profile positions

12 years 8 months ago #173701 by krileon
That is the only place to alter the display without altering the core code, which we can't help with. You'll need to use PHP to output the HTML. Please see how the remainder of the template file outputs HTML.


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.

Please Log in to join the conversation.

12 years 8 months ago #173720 by joebso
GOT IT! you finally hit the terminology in a way that I understood : )
thank you so much.

Basically now we have tracking set up and the modules that are place in the community builder profile can send tracking to our other sites for independent agents and auto populate field for our client that link from our site to our application. thank you again!

Please Log in to join the conversation.

12 years 8 months ago #173727 by joebso
well maybe not quite yet. I see that there is a default php only in the default folder. I would like each profile layout type (ie luna dark) to have it's own default.php file. Where is calling that file : ):unsure:

Please Log in to join the conversation.

12 years 8 months ago #173888 by joebso
Monday morning :woohoo: and I'm back to it. from what I'm understanding of what I am looking at there is only one default.php in the default folder that is creating the layout. I would like there to be one in each template (i.e. dark,luna,osx). anyone able to point me in the right direction here? : )

Please Log in to join the conversation.

12 years 8 months ago #173919 by krileon

Monday morning and I'm back to it. from what I'm understanding of what I am looking at there is only one default.php in the default folder that is creating the layout. I would like there to be one in each template (i.e. dark,luna,osx). anyone able to point me in the right direction here? : )

Correct, CB templates will pull from the default template if they're missing any file. So what you'd need to do for example is copy default.php to the luna/ folder for example and rename it to luna.php for it to apply to that template. Repeat with all other templates and you should have a PHP file specific to the template.


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.

Please Log in to join the conversation.

12 years 8 months ago #173954 by joebso
Okay here is what I think I have learned thus far even though it isn’t exactly working for me just yet.

To duplicate a profile template.

Copy the whole folder of one of the templates and rename the folder to what you would like it to be called. In this case I duplicated the dark template. The new template will me called “test”

Rename the dark.xml file to test.xml

Open the newly named test.xml and change line 5 from

<name>dark</name>

To

<name>test</name>

And change line 25 from

<filename plugin="dark">calendar.css</filename>

To

<filename plugin="dark">calendar.css</filename>


Copy default.php from default template and drop it in our new test folder

Then I try to copy this in to the default.php around under one of the
“here typically if you prefer to include a view-type php-html file you would include it”

<?php
Print "Hello, World!";
?>

And I see nothing for some reason ????

Am I missing a step?

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.427 seconds

Facebook Twitter LinkedIn