Posted: August 31, 2016 at 11:35 am
|
I followed the instructions here: You may verify it here: Code is: *** code removed per forum rules ***
|
code can be viewed at: https://gist.github.com/anonymous/7b531ffc73f393417517e53c72eeb53b |
|
It looks like there are a few mistakes in your code. If you take a close look at lines 94 and 97, you’ll see a few spots that need to be fixed. https://gist.github.com/anonymous/7b531ffc73f393417517e53c72eeb53b#file-php-php-L94 |
|
|
Hi there! https://gist.github.com/lorenzocaum/ef6afefd07c9c5f6f681 Would it be possible for you to tell me exactly what needs to be changed? Thank you. |
Those instructions that you followed do not instruct to change the lines that you altered to the point of breakage. So the first thing you need to do is double check your work and make sure you follow the instructions exactly. Then the second thing you do is compare the lines of code from the original file to your altered file. For example this is from the original file:
And this is from your altered copy:
If you compare the two, you’ll notice that these characters were deleted from your copy:
When you delete parts of the code like in the above example, you can expect things to not display properly. |
|
|
The reason coulb be because I mixed the “show start-end date” and the “show price” at the same time. Well, I’ll double check that. Thank you! |
If you were trying to combine those, you were editing the wrong lines of code. Those lines actually are for the links that go to the single event page. |
|
|
I tried combining them again. Date info dissapeared: http://gmtonline.net/upcomin-trips-registration/ I changed the code to show start-end date successfully. The problem is when I’m including the show price one… It removes dates! |
|
It’s line 138… But I don’t know how to fix that… I’m code-illiterate! |
I suggest reverting the code in that line to what’s in the original file. Copy and Paste. |
|
|
Done. Still the same: |
I’m finding more and more mistakes in your code. Is there a PHP developer on your team, or is this kind of a do-it-yourself deal? Basically, it’s not going to display a date because there’s no $startdate variable before this line of code:
|
|
I fixed a few more mistakes that I could find and put them in this other gist: https://gist.github.com/anonymous/12aaec9789653412fcd56e75e6ac6594 |
|
|
Indeed, no dev, no team. I was thrown in this… Anyways, thank you for your help! EE has the best support ever! |
The support post ‘Event list view price showing inproperly.’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.