robinc
Members-
Posts
23 -
Joined
-
Last visited
Profile Information
-
Gender
Not Telling
Recent Profile Visitors
2,499 profile views
robinc's Achievements
Jr. Member (3/6)
18
Reputation
-
Works fine for me thanks! Would love to see this pulled back into the main module
-
robinc started following Need help with Image Magick , Page List Image Label , Widgitized Templates and 5 others
-
What is the best way to bulk upload multiple images? Similar to how you can with an images/files field, but would need each page name to be unique autogenerated, maybe name and/or title from each filename, or incremental. page structure: i have container page( or pages for separate groupings), with a child page for each image I Recently came across this module - it's really helpful! Thanks
-
Sure. For this, widgets are configurable for each instance that exists. Each page should be able to as many as needed in any order, possibly 2+ of the same type on a page, with different config set. Example widgets: Custom menu, contact form, wysiwyg area, show latest article (with link to more). I get that each widget type would be a template, and each instance a page on the back end. Want to be able to make changes to all widgets on a page in one screen though, not constantly navigating to different places. Thanks
-
I am making a website where on multiple pages i would like to have swappable customisable 'widget's or cms editable areas. Can anyone suggest how to implement a good visual way of doing this? (eg. Like the repeater field but each entry is an inline editable widget)
-
Non db dependent 'offline' page - for when pw cant reach the db
robinc replied to robinc's topic in Wishlist & Roadmap
It would be nice to have an admin interface for managing this file (and linked css). Potentially with wysiwyg editing and preview function, any maybe an 'export from page' option, to create the static file. -
Unable to complete this request due to an error. after update
robinc replied to Tom Walcher's topic in General Support
I have noticed an issue with the compiler that may be related or the cause of this issue. If you have odd code snippets within php comments /* **stuff** */ (eg. mismatched/nested open/close codeblock <? or ?> then following code may NOT be passed by the compiler - leaving it without the namespacing - hence the Class missing error message. In my own code, i was using a call to wire(), which should have been compiled to \ProcessWire\wire() but was not. -
Non db dependent 'offline' page - for when pw cant reach the db
robinc replied to robinc's topic in Wishlist & Roadmap
Thank you There is so much available in PW that sometimes one forgets it's there. -
With any website, there is the possibility of db issues - overloaded server, network connectivity if the db is on another machine in the hosting network, etc. I would love to see a feature where if there is any reason the db fails or cannot be accessed, then pw displays a dedicated page that is stored in the filesystem - instead of displaying nothing, or an ugly mysql error. Obviously it would be good to log the error, and possibly send a notification to the admin (email?). This gives us the opportunity to still present a professional front (albeit with no functionality) while problems are resolved behind the scenes. I cannot think of a company I have worked for that hasn't had db errors at times What are your thoughts?
-
Just wanted to say - great module I am looking forward to when I can use it on PW3.
-
hi, Couple of suggested edits to module: default config for: 'attributes' => '', 'dataAttributes' => '', should probably both be array() - as otherwise the array_merge function in attributes() will not work correctly to add bulk attributes to a tag. Also, the exmaple 5 shows the tag() function passing in attributes, but this is not supported in the actual code. I suggest adding an additional argument to tag, ie: tag($tag, $args /*custom tag structure*/, $attr=array()) or similar, and update the code in the function to support this data. Nice module anyway I like it!
-
Thanks, that's great. At some point I may want to make it semi-automatic (one click add sub-site), so then I will look at just hooking into this functionality.
- 3 replies
-
- 1
-
- Multisite module
- config.php
-
(and 1 more)
Tagged with:
-
I am using the Multisite.module to run several (similar/related) websites off a single PW-site and database. Adding new sites was as simple as adding the domain to the config box, and a top level page of the same name. However, since an upgrade of PW, I now also have to update my site/config.php file with each extra domain, i.e. $config->httpHosts = array( 'mydomain.com', // our primary hostname 'related.mydomain.com', // related website ); Otherwise the site will throw a 404 page not found. Leaving a blank httpHosts will allow all hostnames, but causes a warning in the back-end Unrecognized HTTP host:'mydomain.com' - Please update your $config->httpHosts setting in /site/config.php Can anyone advise how best to update Multisite.module?
- 3 replies
-
- Multisite module
- config.php
-
(and 1 more)
Tagged with:
-
I have a suggestion, may or may not affect the issue above, but was causing the preview to render the page twice: in function init(), execute calls page->render(), then it is rendered again in the function changeView() with the preview data. I found changing: $this->addHook('ProcessPageView::execute', $this, 'changeView'); to: $this->addHookBefore('ProcessPageView::ready', $this, 'changeView'); and removing: // return the preview merged page $event->return = $page->setOutputFormatting(true)->render(); Works for me to view unpublished pages, etc as I have enough access to view (i.e. I can already edit it in the admin).
-
What do you use to write code in? I am using Notepad++, which gives very useful readable syntax highlighting, and tag/bracket pair matching, but does nothing to help make php strings of HTML more readable. Any suggestions?
-
I was using the version included in the v4 download (hence still v0.0.5) note: the zip still has pwire 4.2.1, so need to upgrade that first before i can use the latest ImagickResizer module. Any chance you could update the zip to latest?