×

Error

Please login first

[SOLVED] Can't Get CBuilder Module To Show ?tp=1

11 years 8 months ago - 11 years 8 months ago #208676 by mikenicoll87
Hello,

Website I am Testing On: beactivefeelbetter.com
TP=1? = beactivefeelbetter.com/?tp=1

I have been trying to learn to code my templates to add a position for a module for Community Builder. Its my first time so I am probably doing horrible but here's what I have done so far.

In the INDEX.PHP File I added the following line below in red. I am not sure if this is the correct place for it but I figured I could move it with the CSS file.

<!-- End Header -->


<?php if ($s5_show_menu == "show") { ?>
<div id="s5_menu_wrap" class="s5_wrap">
<?php include("vertex/s5flex_menu/default.php"); ?>
<div style="clear:both; height:0px"></div>
</div>
<?php } ?>

<jdoc:include type="modules" name="regmodule" />

<div id="s5_top_menu" class="s5_wrap">
<div id="s5_top_menu_inner">
<?php s5_module_call('top_menu','notitle'); ?>
<div style="clear:both; height:0px"></div>
</div>
</div>



In the template positions file I added

<positions>
<position>regmodule</position>


In the Template.CSS File I added

div.regmodule {
float: left;
height: 120px;
cursor: pointer;
width: 200px;
z-index: 100
}



So my issue is that if you look at the ?tp=1 you will see my module that I created "regmodule" shows up on the left hand side. My issue is that I can't get anything to publish to this position. Also any tips for the index.php section would be appreciated its a bit overwhelming.

My goal is to get the "regmodule" to the top right hand corner where the Twitter/Facebook logos are.

Please Log in to join the conversation.

11 years 8 months ago - 11 years 8 months ago #208678 by mikenicoll87
Replied by mikenicoll87 on topic Re: Can't Get CBuilder Module To Show ?tp=1
I got everything working and now have a fully functional CBuilder login at the top :)

Took me hours of work but at least I learned some coding

Tomorrow ill have to figure out how to shrink it with the CSS style :)

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.127 seconds

Facebook Twitter LinkedIn