Need help with a span id
2 posters
Page 1 of 1
Need help with a span id
I was looking through the profile_body in the templates.
Which the LABEL is the name of the field such as (gender,zodiac,etc.) and the content is what is the answer to the label. So what does the
Because I've been having problems with the
because it shows the label then as if there is a <br /> it puts the content under it which is not what I want. Plus i'd like to show more important stuff at top and less in different sections. I changed my profile look so this is why. www.pimpkings.com/u1 is my profile and you can see what I am talking about.
- Code:
<span id="field_id{profile_field.ID}"></span>
- Code:
<!-- BEGIN profile_field -->
<span class="gen">{profile_field.LABEL} {profile_field.CONTENT}</span>
<!-- END profile_field -->
Which the LABEL is the name of the field such as (gender,zodiac,etc.) and the content is what is the answer to the label. So what does the
- Code:
<span id="field_id{profile_field.ID}">
Because I've been having problems with the
- Code:
<!-- BEGIN profile_field -->
<span class="gen">{profile_field.LABEL} {profile_field.CONTENT}</span>
<!-- END profile_field -->
because it shows the label then as if there is a <br /> it puts the content under it which is not what I want. Plus i'd like to show more important stuff at top and less in different sections. I changed my profile look so this is why. www.pimpkings.com/u1 is my profile and you can see what I am talking about.
Re: Need help with a span id
Well I know what they are in general. Though I was wondering if I could do this basically.
- Code:
<span id="field_id_19"></span>
Re: Need help with a span id
Well yes you could add fixed HTML, but it won't be dynamic content.
The profile fields are added dynamically when the template is parsed, you can move these place holders but not add your own.
The profile fields are added dynamically when the template is parsed, you can move these place holders but not add your own.
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: Need help with a span id
So I couldn't parse an individual profile field that is in the database?? Only reason I ask is because I am creating a new profile style template for phpbb2, and yes I have not much experience with PHP variables, only CSS HTML Javascript and of course jQuery. I do not want to parse my own fixed content only to parse the dynamic. www.pimpkings.com/u1 look under MORE section and see what I mean. They are not created the way i need them to be firstly, plus there are some fields I'd like to be in another section
Similar topics
» Is it possible to have an image span the entired width of a category header in PHPBB2?
» Image span
» How can i make this span my whole forum.
» [Help] How to span a 'Logo' Across the entire header.
» Members post span the width of the page
» Image span
» How can i make this span my whole forum.
» [Help] How to span a 'Logo' Across the entire header.
» Members post span the width of the page
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum