Jump to content

ryanscherler

Members
  • Posts

    31
  • Joined

  • Last visited

Posts posted by ryanscherler

  1. Hey all,

    I wanted to see if there was any progress on this feature. I have recently had to use Wordpress on a project or two and while I can't really stand WP, there is an awesome plugin for syncing local and remote DB's (really any DB to another):

    "Migrate DB Pro" - https://deliciousbrains.com/wp-migrate-db-pro

    Something like this would be AWESOME to have for ProcessWire and really help with continuous integration workflows (Git does a great job of file sync, but DB is still a pain). Any thoughts on next steps for a module like this?

    Thanks!

  2. I just tried renaming the templates-admin to something different and then tried, still getting logged out with the default admin theme.

    I just checked another client site running the stable version (2.3.0), inspected an element while logged in and it didn't log me out. Something related to 2.3.5 for me it seems.

  3. I am building a restaurant website with ProcessWire and need to have nested repeaters for menu 'sections' and menu 'items' within them. This is a case where I dont want to use pages (as this is the only place I want to output this).

    Example nesting:

    Menu Section

    Menu Item

    Menu Item

    Menu Item

    Menu Section

    Menu Item

    Menu Item

    Menu Item

    Menu Section

    Menu Item

    Menu Item

    Menu Item

    Any chance I can enable a config option to allow selection of repeater field types within another repeater field input settings?

  4. Ryan these admin themes look great! I am trying them out right now ;-) Excited to see what opportunities this opens up for even more admin theme development. I have always wanted to try my hand at one, but found the jQuery UI classes / inputfields etc. very complex and a bit daunting to create a clean and simple admin theme. Excited to see how the new structure will simply things - especially now that you're using SASS!

    • Like 1
  5. Hey Ryan,

    How would you recommend using Hanna code to wrap a larger amount of markup? For example, if a client wants to create a two column layout within a body section. E.g. In TinyMCE:

    [[col2 content=

    This is a block of content...

    ]]

    This seems to work with the following simple PHP as a hanna code tag:

    <?php echo "<div class=\"column\">\n".trim($content)."\n</div>\n"; ?>
    

    When its output, I get invalid formatting much like this: (with closing and opening tags still being output due to breaks in hanna code tag within TinyMCE.

    <div class="column"></p><p>This is content</p><p></div>

    Would there be a way to create a hanna code tag wrapper type?

    E.g.

    [[col2]]

    This is a block of content...

    [[/col2]]

    • Like 2
  6. I recently created a Dribbble API wrapper module (I am pretty new at creating modules) and wanted to know if its possible to use the $image API to retrieve the external Dribbble "shot" (image), resize it and store them along with the XML in the asset cache. That way I can load an image locally via the cached file(s) for the module instead of hitting Dribbble every time for the full size images. Any thoughts on how to best do this? Here is the current state of the module on Github: https://github.com/ryanscherler/ProcessDribbble

    • Like 4
  7. The extra encoding / slashes are both on the back-end (in TinyMCE) and front-end of the site. The functionality was working fine on my local MAMP setup - only after migration to the development server did we start to have this issue. I will look into something related to mod_security running on the server to see if thats what's making this happen - all I know is this is very odd - never seen it before.

  8. A quick note note on this issue...

    When editing the page, I can 'drop in' the image just fine from the modal pop up (it appears in the WYSIWYG after its inserted). Its just on 'save' that is seems to get encoded. Which makes me think its server related (adding slashes? - though in the .htaccess it states this has been turned off). I have migrated quite a few ProcessWire sites in the past and this has not been an issue.

  9. We just recently moved a ProcessWire site to our dev server and for some reason when we save a given page with an image placed in the WYSIWYG - on 'save' it seems to be encoding and adding backslashes to the image attributes as follows (HTML):

    <p><img src="\"/site/assets/files/1039/500x200.gif\"" width="\"500\"" height="\"200\"" alt="\"\"" /></p>

    Any ideas on a config / setting possibly making this happen?

    • Like 1
  10. Thanks for all the feedback on this post! - I will try some various options.

    On a side note: I am a bit confused as to the 'trackChange' method (why it exists) as I did see it in the inputField module as follows:

    if($changed) {

    $this->value->sort('sort');

    $this->trackChange('value');

    }

×
×
  • Create New...