ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Check Character Count of Title

August 25, 2010 3:16pm

Subscribe [2]
  • #1 / Aug 25, 2010 3:16pm

    ryarwood

    7 posts

    So I got this page at:

    http://dev.russellyarwood.com/communities/welcome/capistrano-pointe

    Basically it was designed to account for two lines of community title (see red Capistrano Pointe title).

    I want to place a conditional in there to check how many characters the title has and add a little padding to the top when it’s less than 17 or so. Any ideas?

  • #2 / Aug 25, 2010 3:19pm

    Ingmar

    29245 posts

    You’d need some PHP for that, there’s nothing built into EE to do that. Moving.

  • #3 / Aug 25, 2010 3:29pm

    ryarwood

    7 posts

    I’ll play around with that. Thanks for the heads up.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases