Hot answers tagged

4 votes
Accepted

Redeem Coupon Form Inside Expresso Store Checkout

Follow Justin's good advice for coupon redemption using the built-in Store functionality. See Update Cart on the Checkout Tag Docs. How would I be able to include this form and then link the '...
user avatar
  • 7,941
4 votes
Accepted

EE: Show previous 3 blog entries prior to the current viewed entry

my guess would be you'll need an embed. the in the main template (within the channel:entries tag) call that embed something like this: {exp:channel:entries} {embed="_inc/_previous_three_posts" ...
user avatar
4 votes
Accepted

How to download Expression Engine version 3 and 4?

There are at least two ways to get copies of EE 3 and 4. 1) Log in to https://expressionengine.com. If you have any EE purchases from this site before, you can go to your Purchases page and download ...
user avatar
  • 5,900
3 votes
Accepted

Unable to select entry by last segment

Check the date on the entry. Perhaps it has accidentally been set to the future at some point and so only just started working now. Just a thought.
user avatar
3 votes

server hacked, what to advise client

I agree with @foamcow's answer. Also, change your SFTP and MySQL passwords and look at .htaccess in case they injected some redirects.
user avatar
3 votes

Redeem Coupon Form Inside Expresso Store Checkout

You should be able to add a field for the coupon code into your existing HTML form for the checkout then just include an update cart button next to the coupon code input.
user avatar
  • 7,556
3 votes
Accepted

EE Wizard not rendering properly

Could it be that PHP short tags are not enabled in php.ini? Looks like <?= syntax required it until PHP version 5.4? 3 possible fixes: update php to 5.4 or better update your code to use <?...
user avatar
  • 1,079
3 votes

Moving "templates" folder in EE5

There are clear instructions on how to move not just the templates but the whole of the system folder above the HTML root in the EE documentation. HTH
user avatar
  • 3,572
3 votes

Upgrading EE from very old version to current

I've done several EE 2.X upgrades to 4.X and 5.X in the last few years, and on some pretty big sites to boot. It is non-trivial, but you can totally do it. Rather the retype a bunch of info, I laid ...
user avatar
  • 5,900
2 votes

how to display pagination like "previous 1 2...7 next"

If you check the documentation you'll find an example that is essentially exactly what you are looking for. {paginate} {pagination_links} <ul> {first_page} <li><a ...
user avatar
  • 4,747
2 votes

ExpressionEngine and Online Photo Service

The shopping Cart add-on Cartthrob can do this, and possibly the other e-commerce add-ons such as store or BrilliantRetail too (but i haven't checked). All you do on the checkout page is add a file ...
user avatar
  • 1,701
2 votes
Accepted

server hacked, what to advise client

The first thing to do is remove the code but you should also look to see there is anything else that has been touched. Reinstalling completely may be unnecessary but it won't do any harm. If you ...
user avatar
  • 7,176
2 votes

cannot connect EE to the database

Without a doubt the connection details are wrong in some way. Have you created the database on the database server? The installer won't do that for you, it will simply populate a database with the ...
user avatar
  • 7,176
2 votes

Cannot get captcha to work

If you can see the CAPTCHA sometimes then you don't have a problem with permissions or the GD library. Are you logged in to the site/CP when you can't see the CAPTCHA? There is a setting to show ...
user avatar
  • 7,176
2 votes
Accepted

URL structure for template

It's important that you understand how EE parses URLs to determine what to display. Generally it goes like this: template-group/template/entry or template-group/template/category-trigger-word/...
user avatar
  • 7,176
2 votes
Accepted

Expresso-store selling events - entries or modifiers?

Using modifiers on a product is indeed the best way to sell a single event with multiple dates, as each modifier can also have its own inventory. As for adding something like staff details for ticket ...
user avatar
  • 17.4k
2 votes

Is EE 3.4.5 buggy?

I'm not seeing any major issues with EE v3 running on php version 5.6.2. I'm only running a few modules and I'm doing it all locally (Mamp). In your scenario, I'd pull down the db/templates and set ...
user avatar
  • 3,163
2 votes
Accepted

How to set adaptive web design in ExpressionEngine

ExpressionEngine was made to be a blank slate, is a design- and content-agnostic CMS. What does this mean? Unlike WordPress and some other CMS, ExpressionEngine adapts to your design rather than ...
user avatar
  • 885
2 votes

Navbar Toggler not working

You are using relative addressing for the tag that loads your javascript elements: in the page source you see tags that look like this: <script src="V2/js/clean-blog.min.js"></script> ...
user avatar
  • 3,572
2 votes

Creating a upload form in EE

The Channel Form module lets you add front end submissions, information is stored as regular channel entries https://docs.expressionengine.com/latest/channels/channel-form/overview.html
user avatar
  • 1,577
1 vote
Accepted

Sagepay Protocol 3.00 upgrade notes

I'm with Vector, and as Justin says, we are the new owners of CartThrob. We've just released version 2.62 of CartThrob, which includes support for the SagePay v3 API. You can get it from your "...
user avatar
  • 1,232
1 vote
Accepted

missing cookies after upgrade to 2.10

I'm going to jot down what I have in my bog standard 2.10.1 install, after logging in. My install is fully working. PHPSESSID (for finding server session) exp_sessionid (for finding your ee session) ...
user avatar
  • 2,418
1 vote

URLs always resolve back to /index.php?/cp/login&return=

Your index.php shouldn't be showing your Control Panel - admin.php should do that. Sounds like you've modified the index.php file incorrectly. Not sure what instructions you've followed, but I'd ...
user avatar
  • 5,353
1 vote

CP redirecting to invalid login URL after upgrade to 2.8.1

Turns out this is a known bug with 2.8.0+, affecting users with uri_protocol configuration setting set to ‘PATH_INFO’. There is a patch available here: https://support.ellislab.com/bugs/detail/20192/...
user avatar
  • 151
1 vote

can I Use dynamic parameter more than one time on a template in expressionengine

Yes, you can use the dynamic parameter more than one time in a template and you can use it inside conditionals as well.
user avatar
  • 12.6k
1 vote
Accepted

Low Search - have channel as search criteria

There is no need to approach it like that. Low Search handles both native and custom parameters the same: like this. So any parameter can be an input field. That means that if you name your select ...
user avatar
  • 11.3k
1 vote

File upload not working in expressionengine 2.10.0

I had a similar issue recently when PHP was reconfigured. It turned out PHP's fileinfo extension wasn't enabled. Fixing that fixed the upload problem I was having. Might at least be something to check ...
user avatar
  • 187
1 vote
Accepted

Define PHP var using a global var

This most likely is parse order, however as your trying to get a global into a php variable you can forget about tag parsing completely. Try this : $uid = ee()->session->userdata('member_id'); ...
user avatar
  • 2,418
1 vote

Configure to allow EE site to be accessed from more than one domain?

Isn't that hard to make a bilingual website. On your config.php, set some variables on a domain basis. For example: $protocol = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') ? ...
user avatar
  • 6,108
1 vote

Configure to allow EE site to be accessed from more than one domain?

What are you trying to accomplish? We typically allow multiple domains to point to the same site, but then use .htaccess to redirect them to a single, canonical domain. This would prevent your issue, ...
user avatar
  • 418

Only top scored, non community-wiki answers of a minimum length are eligible