Jump to content

msummers

Members
  • Posts

    22
  • Joined

  • Last visited

Everything posted by msummers

  1. How would my client insert an image in a selected paragrph on a page (e.g., something like the following: <p><img src="..." style="float:left" alt="new image">This is a line of text containing an image floated left.</p> Note that the image also contains alt attribute and its value.)
  2. Thanks guys - this gives me alot to go on...
  3. I've looked at the module, and I'd like it to be more passive than that. Plus, instead of confronting visitors with a login screen, I'd rather give them some information. In fact, this code in head.inc seems to work nicely - $allowed = array('192.168.1.0','192.168.1.1'); $ip = $_SERVER['REMOTE_ADDR']; if (!in_array($ip, $allowed)) { header("Location: http://example.com/maintenance.html"); exit(); }
  4. I realize this thread is beyond old, but I have a related question. I want to bring up a new domain name and migrate my dev site to it, but I don't want it to be visible to the public yet. What I would like to have is a "COMING SOON" image shown to everyone who browses into that domain (the domain name has already been published by the client), yet still allow those 'in the know' to peruse the entire dev site. I can do this by sniffing for the IP address of the visitor, right? Would something like this work in head.inc? <?php $allowed = array('ip address 1', 'ip address 2', etc); if (!in_array($_SERVER['HTTP_CLIENT_IP']), $allowed) { header("Location: http://example.com/maintenance.html"); exit(); } ?>
  5. Thanks for the hint, Macura. I'm more concerned with how I might reproduce this slider functionality in another 'from scratch' site.
  6. Thanks, guys! That is just the ticket. But, will that give me the Slider tab in my page/admin options? Any links to how to implement something like that in PW?
  7. I am a new ProcessWire user and have inherited a site originally built in PW2.3.0. Thanks to tons of help from the people on the Getting Started forum, my site is now up and running in 2.6.1. The site's pages contain a slider and I'd like to identify where it came from - can you help, please? You can see the site at http://baringer2-3.gws-sandbox.com. Some of the pages only have a single image in the slider, while others have mutiple images. I'm hoping that this is not a custom-built one, and while I feel that I have the chops to wade through it, I'd really rather not! As you will see from the link above, the site is only in a partially completed state and I'd like to get it done quickly. Thanks for any ideas you might have!
  8. So, I figured it was time to post an update to this great thread. Thanks to the truly exceptional help from Bernhard, and from others including kixe, OrganizedFellow, Peter, and cstevensjr, I am on my feet with this. while I didn't exactly follow the summary that Bernhard posted in the immediately previous message, it was close enough. The site is loaded and functional! This has allowed me to begin exploring the inner workings of the site - expect me back at any time without notice! Thanks again, guys. It was great help.
  9. @Craig - I think you are completely correct. My plan is to delete everything I have started, and install a 2.3.0 version (blank profile), then import the data, and ensure that everything is looking right before trying to move up to the latest version. Thanks for your nudge...
  10. Thanks, guys! I got it. We'll see where this gets me soon.
  11. @Bernhard - where on github do I find PW2.3? When I search I don't find it.
  12. @Bernhard - didn't see your post before I made my last one. Your suggestion makes a good deal of sense. I'll try that...
  13. Has anyone used the Migrator module?
  14. @Organized - Thanks for your optimism! I'm in fair shape. I was able to get a fresh install (2.6.1) running, copied the modules, assets and templates from the old site (2.3.0) into the new one. When I browse to the new site now, I see some things correct (background images, and colors), but I don't see others at all (sliders, correct pages in menu, regions of background images in body, content, etc.). I suspect that at least some of this is due to my selection of the default profile when I did the 2.6.1 setup. My next step will be to change that profile to the blank one (using that Migrator app - do you have a better suggestion?) to see if that helps. But I'm getting the feeling that I may have to copy fields and set up each template manually (and maybe modules too). Is that correct? The permission problem is on the legacy site, not the new one, and I'm not sure about Apache versions but I'm pretty sure . @Peter - Thanks for your welcome and suggestion. I will definitely bring in that template editor module!
  15. I really don't know where to go from here. I think I'll try that migrator To get to the blank profile...
  16. Also, is there an easier way to change these profiles than the methods described in a 2014 thread I was just reading about doing this? https://processwire.com/talk/topic/8482-change-existing-installation-to-blank-profile/
  17. The legacy version has had the Admin modified so that I don't see that information! But - the ProcessWire.php reveals that it's v2.3.0 - so, I wonder if any of my issues are caused by trying to use the 2.3.0 files (templates, modules, probably not assets) in my 2.6.1 installation?
  18. That's a good idea - unfortunately unless you can tell me how to edit those files from within the PW admin, I'm out of luck! I don't have file-level read/write permission to get at these legacy files otherwise (and not even sure I could do it then)! Is there a Readme file or something that could tell me?
  19. Thank you so much for your helpful response. It has gotten me well down the road. I am still having issues, though: 1. I do not see the correct pages in the page list. For example, on the original dev site, there is "About Us" with 2 children (About and Team). On the new dev site, there are also 2 childen for About Us, but they are "Child Page example 1" and "Child Page example 2". 2. The pages that are there appear to have some of the correct layout elements (logo, background colors/images, etc.) but they do not have the sliders or the correct column layout. 3. I have a feeling that this is because I selected the default conmfiguration when I first installed ProcessWire. Could that be the problem? 4. Finally, how can I determine which version of PW is running on the original dev site? Thanks again for any suggestions!
  20. I have inherited a ProcessWire site that was still in development when the webmaster was abducted by aliens. Forunately I have a zip file of the SQL dump and all of the files. I want to bring that dev site live (not public) so that I can complete development. Although I have not used ProcessWire in the past, I'm pretty good with Wordpress and after going through the PW documentation feel like I could pick the system up pretty fast. Here are my questions - I'd really appreciate any suggestions or help with them: I'm not sure what version of PW was running on the old server. How can I tell? I have not yet repointed the legacy domain name to the new nameservers so I am only able to access the new dev site by IP address - is this going to be a problem? What sequence of events should I follow to bring the old site up on the new server? For further context, I have created a database on the new server, changed the site/config.php file to reflect the new database properties and authentication, executed the SQL dump into the new database and copied the remaining files onto the new server. When I browse to the IP address, I just get a 404. Have I missed a configuration setting somewhere? Or is this related to the ip address for the new location? Thanks much in advance. I'd love to get the site functional on the new server if I can...
×
×
  • Create New...