Search the Community
Showing results for tags 'inline'.
Found 3 results
Hello there. I was wondering if there is a more elegant way inlining an SVG that was uploaded in the backend by an image field? // /processwire/site/assets/files/1101/monitor.svg <- this is what I get // ../assets/files/1101/monitor.svg <- this is what I need $iconURL = $page->icon->url; $findThis = '/assets/'; $iconURL_arr = explode($findThis, $iconURL); $iconURL = "..".$findThis.$iconURL_arr; echo "<span class='icon'>".file_get_contents($iconURL)."</span> ... and before somebody is asking: - yes, I want it inline. - and no, I do not want to use an icon font.
Hello there, Just getting started with processwire for a project. Pretty smooth so far! There is one thing I'm missing is "inline" many-to-many. The ability to add pages 'joined' together similar to symphonys subsection manager http://symphony-cms.com/download/extensions/view/41121/ As if the repeater field would actually adds new instances somewhere else in the hiearchy as well as edit inline. This so that the client wouldn't have to edit bits and pieces of data in different places in the page hierarchy. It seems to me this isn't possible, but perhaps I'm missing something. So I thought I'd check thanks! J