Jump to content

Search the Community

Showing results for tags 'FieldtypeText'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to ProcessWire
    • News & Announcements
    • Showcase
    • Wishlist & Roadmap
  • Community Support
    • Getting Started
    • Tutorials
    • FAQs
    • General Support
    • API & Templates
    • Modules/Plugins
    • Themes and Profiles
    • Multi-Language Support
    • Security
    • Jobs
  • Off Topic
    • Pub
    • Dev Talk

Product Groups

  • Form Builder
  • ProFields
  • ProCache
  • ProMailer
  • Login Register Pro
  • ProDrafts
  • ListerPro
  • ProDevTools
  • Likes
  • Custom Development

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 1 result

  1. Hello all, I am thinking how to make a "simple" button that could be edited by user. For example in a situation where we have an editable teaser and we want to add a internal link to some other page under it. The button/link would take two parameters: 1.) Text that is displayed on a button (in different languages!) 2.) Page to which button would link to. 3.) Optional: instead of page object, one could also enter external address. System admin should also be able to add class name that would be added to rendered element. Field would then simply be used as: $page->button and it would render <a class='custom-class' href="$page->url">Text (in appropriate language)</a> I noticed it is sort of similar to this module, but with an option for user to select one of the pages (instead of writing down an ID). My first thoughts were to create Fieldtype/Inputtype module, but it seems sort of complicated (I don't know how to use neither FieldtypeTextLanguage nor FieldtypePage in module). So I wonder, how you guys are solving this problem? Thanks! Žiga PS. I am not sure I added this to the right section. If not, please feel free to move it where it's suppose to be.
×
×
  • Create New...