C5 5.6.3 looking for help with the registration form
PermalinkThe problem that I am having is that there is a default class attribute with a class of span5 on it. This is causing me problems in the overall designs and would like to find the file associated to either remove that class or modify the option section of the registration form so that it matches seamlessly into the rest of the form.
I'm in a bind here and I have a deadline and would very much like to solve this as soon as possible. Any help would be great.
/concrete/single_pages/register.php
<div class="<?php if (count($attribs) > 0) {?>span5<?php } else {?>span10<?php } ?> offset1">
or
<div class="span5">
Override that page and alter one of those how you want.
<div class="control-group text last_name"> <label class="control-label" for="akID[24][value]">Last Name</label> <div class="controls"> <input type="text" class="span5 ccm-input-text" value="" name="akID[24][value]" id="akID[24][value]"> </div> </div>
This is the code in the register.php page for the single page type.
I found with some digging the form/attribute.php file but this file has none of the html output codes that I can manipulate to remove that "span5" class.
With the image that I have attached you can see how the Your Details section is uniformed but when you look at the Options section you can see my issue. This issus carries over to the User Profile Edit page.
But to style the page you'll probably have add your styles to 'site/concrete/css/ccm.default.theme.css'.
Look at the input tag.
<input type="text" class"span5 ccm-input-text" value="" name"akID[24][value]" id="akID[24][value]">
Within the class attribute is the span5 class. I want the file that the php code calls to remove that class. After that the skies the limit.
What you said I know and have done. But that doesn't remove that particular class.
I get it now. You have added at least one attribute to the user and that is displayed on registration.
The span is being added in:
/concrete/core/models/attribute/types/text,php in the composer function.
you will have more chances to get help if you post the html code here.
regards