Viewing 14 replies - 31 through 44 (of 44 total)
  • Thread Starter Cristiano

    (@iclapton)

    Other issue!! jeje

    Is it posible to separate date and time? I mean to have a just “date” pod field and another just “time” pod field?

    Sort of, we’re going to be adding a lot of built-in functionality to the column types with advanced settings but for now you can setup an input helper that uses whatever script you’d like to accomplish that.

    Thread Starter Cristiano

    (@iclapton)

    I′m trying to use some input helpers that doesn′t works… For exemple, one yours called “Plain Numbers”…

    Thread Starter Cristiano

    (@iclapton)

    I think I don′t know how to use it… I′m reading the user guide! ??

    I just copied the code, created an input helper, pasted the code there and saved. From that, the input help appears on the pod field, I picked it up and saved the field and the pod. But when I went to the pod form, i got an error…

    Thread Starter Cristiano

    (@iclapton)

    Scott, what I′m doing wrong?

    The Display Helper called “brazilian date” is:
    {"meta":{"version":"171","build":"1255006719"},"helpers":[{"name":"brazilian_date","helper_type":"display","phpcode":"<?php\n$date = explode(' ', $value);\n$date = explode('-', $date[0]);\nprint $date[2] . '/' . $date[1] . '/' . $date[0];"}]}

    I created a display helper called brazilian_date, pasted this code and saved.

    Then, on the template, I put:
    <div>Data: {@data, brazilian_date}</div>

    And get this error:
    Parse error: syntax error, unexpected T_STRING in /home/cristianoandrade/public_html/nutrittion/wp-content/plugins/pods/core/Pod.class.php(329) : eval()'d code on line 1

    Thread Starter Cristiano

    (@iclapton)

    Ok ok I found it! jeje
    I already had imported the package! and its ok now!

    Thread Starter Cristiano

    (@iclapton)

    Not so ok…
    It seems nice, with the dateonly format (2010-06-17), on the input form. But, when I pick the {@date} data on the template, it shows 0000-00-00

    Any help?

    <?php if(strtotime($this->get_field(‘date’))>50000){ ?>{@date}<?php } ?>

    Thread Starter Cristiano

    (@iclapton)

    where i use it? on the template?

    Thread Starter Cristiano

    (@iclapton)

    it looks like a display helper… so, i tryed both and didn′t get it.

    That code was to be used in a template to replace the plain {@date} code you had used before.

    Thread Starter Cristiano

    (@iclapton)

    Scott, I stopped with the helpers for now, and I′m trying to format the templates on page…

    A big issue:
    When you are on a “detail pod page”, is there any way to get the ID or slug from the parent pod page?

    For exemple:
    I have a Clients Pod Page, with a list of all of them. When I click on someone, I get his detail page. I want to have, on the sidebar, the list of all clients…

    Thread Starter Cristiano

    (@iclapton)

    heeeey!!! help me, please!!! ??

    I think at this point, we’re beyond helpful tips and into the realm of consulting / development. I’m available for small development projects on an ongoing basis and would love to help you knock out anything on your projects wherever you wish. Contact me at scott (at) skcdev (dot) com if you’re interested. Otherwise, maybe you can do some more studying / testing to see if you can accomplish what you’re trying to do on your own. Let me know if you come across anything that isn’t working correctly.

Viewing 14 replies - 31 through 44 (of 44 total)
  • The topic ‘[Plugin: Pods CMS] Install Problems’ is closed to new replies.