10 years ago
2
Topic

Hi! Seblod powerful yet very difficult, just get used to it. Need help. How do I get the value of a field in a custom template using the API? What would this value was in all the articles(one unique value from a table associated with id_article). 

for example: 

id_article=X has a field_X with a value = 333 

the desired result(frontend intro and content): 

article_1 has value = 333 

article_2 has value = 333 

........ 

article_n has value = 333 

how to do it through the API? 

$cck->id..........and then what? 

thank you/

Get a VIP membership
693 Posts
rpoy
10 years ago
0
Level 1

Hi onuvidelsolnce,

Welcome to the SEBLOD forum.

A good place to start is to review the documentation in the Manuals section.It would also be helpful for you to be familiar with the SEBLOD storage methodology in this tutorial and videos.

In many cases you can display your content without the need of a custom template.  But if you do need a custom template, you should take a look at Custom Templates, Getting Values and Calling FieldX values.

Hope that helps,

Randy

10 years ago
0
Level 1

Thank you. Yes I have already read it and looked through, but did not find the answer to my question. Tell me, if you know how to do it, then what I asked above. I interisuet output value of the field in the template, depending on id_.

Get a Book for SEBLOD