Forum Replies Created

Viewing 15 replies - 1 through 15 (of 16 total)
  • Could you put a link to your site to show what you mean? I think you just click on either the feature image or the title to get from the home page from the excerpts page. That’s how it works on my site.

    Thread Starter karenyoung1

    (@karenyoung1)

    I am leaving this up as it was a plugin that seems to have caused the problem, incase anyone else has a similar problem. It does say in the note at the beginning to to check by switching off all of the plugins. But now that I have done that I have messed up some other things from the plugins… sigh!
    The plugin that seemed to cause the problem is called ‘WP Code Highlight’. Think it is time for a plugin audit on my site.

    • This reply was modified 5 years, 2 months ago by karenyoung1.

    Hi Josie,

    I see links to Attendees and Paypal Orders under the title of the event in my list of all events in the dashboard, but these options only appear when I hover the cursor near the title.

    I came to this thread as I had a problem too. I thought I had done everything right, but all I was getting was “No order confirmation is available because no purchase was made.” on my success page. Then I figured out after a long time what I had done wrong so am putting it here in case it helps you or anyone else.

    To make the sandbox testing work, this is what I think you need to do.

    1 Set up a business account on sandbox.paypal.com. It is a little bit confusing as it looks exactly like you are setting up a real account. You could use the same email address as you have for your real account or another one. I used another one so I can see the difference.

    2 In the sandbox.paypal.com account, follow the things that need to be done in the real account of setting up the IPN and the autoreturn to your success page and payment data transfer, as described in this post https://support.theeventscalendar.com/560364-Configuring-Tribe-Commerce-with-PayPal (remember you will also need to do that on your real business account too for it to work for real after the testing).

    3 If you use another email address for the sandbox account, like I did, you need to put that email address in the paypal section of the ticket settings for the duration of your testing phase and make sure the PayPal Sandbox checkbox is ticked and save those settings.

    4 If you haven’t done already, log on to developer.paypal.com using your real paypal logon details.

    5 Create one or more sandbox accounts for testing – see: https://developer.paypal.com/docs/classic/lifecycle/ug_sandbox/

    6 To do your testing, log out of everything and go to the event page of your website that you are testing as a non logged on user. Hopefully you can then go all the way through the buying process. (Unless you have the thing about people have to be logged on to purchase).

    That all worked for me to get a proper message as if something had been purchased, with a confirmation on the success page, but nothing was added to the paypal purchases list.

    7 When you are ready to go live, remember to untick the Paypal sandbox in the settings and to change the paypal account email to the correct real one, if it is different to the one you used for your sandbox.paypal.com account.

    Hope that works and helps. If anyone has any better advice please do add. I would like to test out what the confirmation email messages are like.

    Thread Starter karenyoung1

    (@karenyoung1)

    Hi Thomas

    Sorry for the delay in getting back to you. It took me a little longer than 15 minutes to figure things out. I couldn’t make sense of LESS (I don’t know SASS either), but was able to do the fix I wanted simply by editing mwl.css.

    I changed the font-size to 4em for all of the places that .control-nav appeared, even though I only really needed to change it for the .minimal option that I am using.

    Whilst I was there I also changed the right: for .control-next to 3% rather than 15px. I have noticed on my desktop that because my page involves a vertical scroll, the scroll bar was overlapping the next arrow on the right. That change also seemed to make things a little better with the mobile version, moving the arrow a little further from the edge of the screen.

    Perhaps it would be nicer if the icon didn’t need to be so big, but the clicking area was larger instead. There must be some way to do this, but I don’t have those skills yet. The size is fine for my purposes and it is good that only the navigation font has changed not the heading or the closing cross.

    If you would like to see it in action here is an example page: https://bernardbarnes.com/portfolio/fragments-of-devon/

    One thing if anyone else is looking at this thread for answers. I tried my edited mwl.css file on a dummy test site and it all worked fine. Then I used the same file on my live site and nothing changed. The dummy site and the live site are on different hosts. I eventually figured that the live host has some kind of caching at the server end, which I couldn’t clear without installing a cache plugin. It took quite a bit of googling to figure all of that out and make it work – hence the delay in reply.

    I’ll mark this as resolved now.

    Best wishes
    Karen

    Thread Starter karenyoung1

    (@karenyoung1)

    Hi Jeremy

    Thanks. I thought I was just missing a setting somewhere. Very useful to know how to add the code. I’ve used the My Custom Functions plugin (https://www.ads-software.com/plugins/my-custom-functions/)
    Pasted in that code and saved, and the excerpt box is showing. Very quick and easy.

    Thanks for your prompt and efficient assistance.
    Karen

    Thread Starter karenyoung1

    (@karenyoung1)

    Hi Thomas
    Thanks for your speedy response. I can find my way around CSS, but am unfamiliar with LESS, however I have google and I learn fast, so I will take a look tomorrow evening and see if I can figure it out from your pointers. I’ll look in the plugin files for mwl.less and open a copy in my text editor and see what I can change. I have a dummy site that I can experiment with so I don’t break the live site ??
    Best wishes
    Karen

    I have experimented and it seems to trigger if the image is linked to the attachment page, not if it is linked to the media file. I think that does mean going back and manually editing each image unless there is a plugin for that? It also appears to take the title from the image not from the caption so you need to make sure the title is what you want.

    I have an example here on a demo site where the title is just the image filename because I haven’t changed it. https://demo2.barmouthwales.uk/portfolio/portrait-of-paul-nash-wartime-artist/

    Apart from needing to edit the images that are already on, it works for me as I am only just setting up a new site.

    That’s great news Jeremy. I look forward to it.

    I was also looking for this feature. My workaround is inserting a gallery with just one image in it.

    Hi Rignano, thanks for posting this fix.

    I am setting up a new site and like the Illustratr theme for it, but I have noticed that the portfolio page is very slow to load, even with only a few images, and I want the site to have a lot more. The site I am just trying things out at is here: https://demo2.barmouthwales.uk/

    I’m not confident adding things to the functions.php but would cautiously try it out, except I am not sure what this code is doing and where exactly to add it. Does it need to be in a specific place? But also my understanding is that if you edit any of the theme files and then if the theme is updated any modifications you make will be lost. So for that reason you need a child theme, but setting that up always seems too complex to me.

    Surely it must be something anyone using the theme in this way will experience, so isn’t it in that sense a bug to report to the developers? A bug because the theme is not working in a good way in relation to how it is managing the thumbnail images for the portfolio page.

    Thread Starter karenyoung1

    (@karenyoung1)

    I have fixed it through a process of trial and error comparing the full size to the mobile CSS file and putting the following into the Simple Custom CSS box.

    .tribe-events-list .tribe-events-event-image+div.tribe-events-content {
       float:none;
       position:relative;
       width:100%;
    }

    Just adding in case anyone else has this issue.

    Thread Starter karenyoung1

    (@karenyoung1)

    Thanks, Caroline,
    I have the Simple Custom CSS Plugin (https://www.ads-software.com/plugins/simple-custom-css/) so it was simple to add this line and it has fixed the problem. Wonderful!

    (PS Actually it only needed the margin-bottom: 0; not the padding for a more balanced layout)

    Thread Starter karenyoung1

    (@karenyoung1)

    Thanks Caroline

    I posted here in the off chance that I had missed something and this wasn’t a proposal of new feature. I’ll edit my post and expand on detail and put it in the feature request forum as you suggest.

    Have you checked in the plugin settings that the ‘Include Twitter Card Image tag’ is ticked?

    Thread Starter karenyoung1

    (@karenyoung1)

    This is how I have fixed the problem I was having, in case it helps anyone else. To fix it properly I should create a child theme and then alter the search.php in the child theme, but for the time being just to see if it will work, I have edited the search.php in the Dashboard > Appearance > Editor. This is a risky strategy if you don’t know PHP well and the best practice would be to create a child theme

    I noticed in the theme that I am using, on the home page template (page-home.php) in the part after the function query_posts there was a line that said
    get_template_part( ‘content’, get_post_format() );

    whereas in the search.php file (the template for the search results page) the line was
    get_template_part( ‘content’, ‘search’ );

    So it seemed to me if I changed ‘search’ to get_post_format() then the page would present the posts in the same format as the home page, which is what I wanted.

    The full line of code included a comment that said.
    /**
    * Run the loop for the search to output the results.
    * If you want to overload this in a child theme then include a file
    * called content-search.php and that will be used instead.
    */

    So I would urge anyone following this advice to set up a child theme. But I didn’t. I just went for changing it to see if it worked – and it did. The issue of not creating a child theme is that if the theme is updated this change could be lost.

    Changing to get_post_format() is not a universal solution – you need to compare what is in the page you want it to look like, because I looked at the same problem with the Twenty Twelve theme and I had to change the get_post_format() (which was in the search.php but which wasn’t working the way I wanted it to). I changed it to ‘post’ which is what was on the home page template, and then posts in the search results displayed the same as they did on the home page. Not everyone will want this, but I do. Some people may only want a summary/excerpt to display.

    By the way, this also fixed the display of other things governed by short codes, such as videos and images, which were not appearing.

    If anyone can give me a more technical explanation, that would be great.

Viewing 15 replies - 1 through 15 (of 16 total)