Jump to content

Search the Community

Showing results for tags 'file_get_contents'.

  • 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 everyone, this is my first post here, and i hope its the right place for my question. I am getting started with PW and right now, im trying to bring a existing static Site to PW In this static site i was working with some PHP to import svg code echo file_get_contents("img/icons/ticket.svg") I placed the img folder in the assets folder but now i am having troubles to point at this file using $config->urls->assets i was trying to do something like echo file_get_contents("$config-urls-assets/img/icons/ticket.svg") but of course this fails and as i am not quite good with PHP i do not know how to nest this php to get what i want. I don`t want to use fields to store the svg code, because i need different icons on one page and i do not want to create multiple field for that. Any advice is highly appreciated. Thank you.
×
×
  • Create New...