Jump to content

rushy

Members
  • Posts

    56
  • Joined

  • Last visited

Everything posted by rushy

  1. Hi bernhard thanks for your help! Great so can I do away with the separate php file completely and do my server mail sending all in my contact file? If so, I can just check if the send was successful or not and display an appropriate message. I'm thinking it would be nice to have a dedicated page after sending the mail with a few other bits of info. on it - if I did want that, how can I invoke another PW page from this point in the contact page? Many thanks - RuShy
  2. Hi. I have a contact page form that collects user queries in the usual manner and when validation is ok it does a method = post with action = contact-form.php to execute the sending of mail from the server. This is all fine and works well, but when the sending is done, I would like a landing page in my project to be displayed. How would i do that? I've tried adding PW code to the contact-form.php to invoke my landing page but I think this is not in scope as nothing happens. Many thanks for any guidance. Paul
  3. Hi Bernhard and also abdus Thanks for your reply guys. I have found the place to enter the image description is when loading the image in the page. The image description field is hidden unless you select the edit mode or 3rd option for thumbnail display as shown below. So I was putting my text in the wrong place. Now it works fine!
  4. Hi I can't retrieve the description field of an image. I follow the example below from the API : http://processwire.com/api/fieldtypes/images/ scroll down to Image Properties heading, below that it says that "Here are all the image properties that are present with every image:" I have created a field of type images, and added it to my template, loaded an image, and in my page it displays fine. I added a description text in the description field and also tried in the template (override option) but it is always blank. Any ideas? I must be missing something simple here? I'm using the latest version of PW. echo "<img src='$image->url' alt='$image->description' />";
  5. Thank you DaveP I searched the forum a bit more and found some similar problems people had encountered and I managed to get it working now! I'm not sure if it was related to the .htaccess you mention, but I changed an entry in my /etc/apache2/apache2.conf file - the AllowOverride was "None" and changing it to "All" and restarting apache has done the trick. I think it allows rewrites to my /var/www folder? Anyway many thanks for your help - let's see if i can make some progress now...! <Directory /var/www/> Options Indexes FollowSymLinks AllowOverride All Require all granted </Directory>
  6. Hello I've got off to a bad start trying to install PW on my local offline server, I must be doing something wrong as I have a bit of experience with Wordpress and it's running fine on my server, but I like the look of PW and hope to try it. Anyway I downloaded and unzipped the PW installation, the installation seemed to go right through ok, everything passed on the check lists. I selected the Default profile, and then when I try to click on Admin access or view the site I get "Not Found - The requested URL /processwire-master/about/ was not found on this server. Apache/2.4.10 (Ubuntu) Server at localhost Port 80" Simply because the /about folder does not exist! It seems the profile has not been installed by the installation process despite everything else being ok? If I type localhost/processwire-master in the browser I get the Minimal Site Profile "What is ProcessWire?" page but the links work "About" & "Site Map" don't work as the folders are not there. Bit confused as to why this is missing. Please put me out of my misery if it's something obvious I am doing / not doing! Many thanks - rushy
×
×
  • Create New...