Attention:

Support Rules and Guidelines
Before you post your support topic, please remember to:
  • Read the support forum rules.
  • Check the wiki and use search to see if your problem can be answered there first.
  • Link your board please, and make sure that the problem on your board is visible to guests or provide a test account.
  • Do not post Board Wrappers and CSS unless requested. With a board link, this is not necessary.
  • Be as descriptive as you can and use as many details as possible when describing your problem.
  • Please briefly mark any links to forums that may not be work-safe.
This will help ensure your support issue will be attended to in a quick and efficient manner.

  ClosedNew TopicNew Poll

 converting cfs to html template [SOLVED]
#
Hey there! Any coders with experience and some free time up at this hour? I've tried converting this code for a main profile from cfs to html but it broke a lot >.o

Could anyone help?

CODE
<script>
customProfile.init({
html: "<center><div id='{%group}'><div id='profileholder'><div class='profile'>{%name}</div><div class='profile1'>{%field#1} . {%field#2} . {%field#3}</div><div class='profile2'><table><td><div class='profile3'><img src='{%field#4}'></div></td><td><table><tr><td><div class='profile4'><i class='fa fa-hourglass-half'></i></div></td><td><div class='profile5'>{%field#5}</div></td><td><div class='profile6'>{%field#6}</div></td><td><div class='profile4'><i class='fa fa-birthday-cake'></i></div></td></tr><tr><td><div class='profile4'><i class='fa fa-star-o'></i></div></td><td><div class='profile5'>{%field#7}</div></td><td><div class='profile6'>{%field#8}</div></td><td><div class='profile4'><i class='fa fa-venus-mars'></i></div></td></tr><tr><td><div class='profile4'><i class='fa fa-briefcase'></i></div></td><td><div class='profile5'>{%field#9}</div></td><td><div class='profile6'>{%field#10}</div></td><td><div class='profile4'><i class='fa fa-home'></i></div></td></tr></table><div class='profile7'><div class='profile8'>{%field#11}</div></div><table><td><div class='profile4'><i class='fa fa-user'></i></div></td><td><div class='profile5'>{%field#12}</div></td><td><div class='profile6'>{%field#13}</div></td><td><div class='profile4'><i class='fa fa-globe'></i></div></td></table><div class='profile9'><a href='{%field#14}'>shipper</a> . <a href='{%field#15}'>development</a> . <a href='{%field#16}'>twitter</a> . <a href='{%field#17}'>instagram</a></div></td></table></div></div></div></div></center>" });
</script>


Thanks a bunch!
#
What specifically broke? It looks like the HTML is very basic, but you have so many custom fields that I'm guessing they all ended up blank. This means you'll need to re-map all of them, but then they'll work.

signature
email: admin@jcink.com :: blog: John C.
#
They did, but that's no problem, I know how/can edit them accordingly!
The issue was more of a request, I think, since I tried converting it to HTML but I lack the experience (basically idk how) and ended up messing it up rather than doing it correctly. So I'm really hoping that someone could convert it to html successfully for me really, if it isnt too much of a bother xD

Sorry for the confusion!
#
The problem is that for 90% of the template there's nothing for anyone to covert. The field variables need to be remapped. We don't even know the matching field variables in order to map them. You'd have to post them. I would highly suggest just taking it slow and changing the field variables to the correct ones. It should not take long.

signature
email: admin@jcink.com :: blog: John C.
#
Got it all done with the help of a friend! Can be closed!
#
This topic has been solved. If you need anymore help please post a new thread. Thanks for choosing Jcink services.

signature
email: admin@jcink.com :: blog: John C.
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
Share this topic:
« Next Oldest | General Support | Next Newest »

Options ClosedNew TopicNew Poll