Author Topic: If I use raw data for website URL must I add all other fields?  (Read 1054 times)

0 Members and 1 Guest are viewing this topic.

Offline kanjigirl

I'm guessing that if I want to use this in the Details template, I also have to add all the other fields in there, is that correct? Because it pulls them all with one line of code?

Code: [Select]
<span id="sobi2Details_field_website">
<a href="<?php echo $fieldsObjects['field_website']->data?>" target="_blank">
<?php echo $fieldsObjects['field_website']->data?>
</a>
</span>
<br />
Country: United States United States |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile

Offline irish melkite

Re: If I use raw data for website URL must I add all other fields?
« Reply #1 on: 06. July 2009, 10:32:44 »
kanjigirl,

If you're referring to

<?php echo HTML_SOBI::customFieldsData($fieldsFormatted);?>

yes - to change that so that a given field will output differently than in its formatted form, you will need to delete that line and call each custom field individually.

Neil
Country: United States United States |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile Eastern & Oriental Catholic Directory

Do you want continued ongoing development, new features and active support?
Please write a review or just vote for SOBI on JED.

Offline kanjigirl

Re: If I use raw data for website URL must I add all other fields?
« Reply #2 on: 06. July 2009, 17:16:50 »
I got it, it's working very well. Thanks.
Country: United States United States |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile

Tags: