Hot answers tagged

7 votes
Accepted

Mass-change entries from one status to another

SQL is the best option to bulk update the entries. But you must need to be careful as wrong execution can stress you up! You can use below query: UPDATE exp_channel_titles SET status = 'created' ...
user avatar
  • 626
4 votes

Apparently I don't know how exp:channel:entries status and limit work together

Here's a basic setup for what you're trying to achieve, with the class .biggie representing the markup for making your entry big, and the absence of that class indicating a "normal" representation of ...
user avatar
  • 266
4 votes
Accepted

importing entry status via CSV - does uppercase or lowercase status matter

While firing a query in DB, No matter you pass "Open" or "open". Both are same. Your first question's answer is: As per EE Standards, It should be "open". EE save "open/closed" in database, it shows ...
user avatar
3 votes

How to give categories open/closed status?

Custom category field? Which defaults to open: Then your template code: {exp:gwcode_categories channel="example" depth="1" custom_fields="yes" linear="yes"} {if cat_status == "Open"}{cat_name}{/...
user avatar
  • 5,353
3 votes
Accepted

Viewing a published post in which its status is not open

that is perfectly normal and expected behaviour. To view content with status completed you need to add that to the "status" parameter in the channel entries tag, like so: {exp:channel:entries status=...
user avatar
3 votes

Updating status with hook does not trigger email

It looks like there is a problem with the logic in your extension. You don't want to change the name of a particular status when the order is complete - you want to change the status of the order. I ...
user avatar
3 votes
Accepted

Problems with Safecracker updating Status after upgrade to EE2.6.1

Bug fix mentioned here http://support.ellislab.com/bugs/detail/20084 Please make sure these seemingly unrelated settings are set: The original author’s group has to have “Include Members in ...
user avatar
3 votes
Accepted

Can I have a user emailed when Status is changed?

Yes. Take a look at the add on MX Notify Control http://devot-ee.com/add-ons/mx-notify-control which should allow you to do this. Alternatively, for even more flexibility take a look at Postmaster ...
user avatar
  • 7,176
2 votes
Accepted

Is there a way to validate statuses when using channel forms?

I have come across an old safecracker extension that seems like it may be able to be modified for use with channel forms to handle this, as well as also protecting any other fields from being tampered ...
user avatar
  • 607
2 votes
Accepted

No ability to choose Open/Close status

This is most likely caused because a "Status Group" isn't selected for the channel. To check this, go to Admin > Channel Administration > Channels, then click on "Edit Group Assignments" for ...
user avatar
  • 12.6k
2 votes
Accepted

Displaying a single entry by status but having a fallback order in place

If you are only trying to display a single featured entry and if no featured then a single entry with the status of open. I'd do the this. Order your results by status and allow featured and open ...
user avatar
  • 1,029
2 votes
Accepted

How can I get weblog:entries to return all values

The default number of entries returned by exp:weblog:entries is limited to 100. You can set a limit parameter to whatever you like and over-ride this limit. {exp:weblog:entries weblog="listings" ...
user avatar
  • 7,176
2 votes
Accepted

Hook for when status is updated

I would use the entry_submission_ready extension hook, and write a mini-extension that looks at the meta array in the api for the entry status value, and compares it to the previous value for that ...
user avatar
  • 5,900
2 votes

Getting total results per status

For best performance and simplicity... {exp:query sql="SELECT status as status_label, count(*) as total_results FROM exp_channel_titles GROUP BY status_label"} {total_results} results for {...
user avatar
  • 5,353
1 vote

Use of Status Groups EE2?

You can assign custom statuses by creating a status group. By default EE will always have Open and Closed statuses enabled even if you select none. The channel entries tag defaults to only show ...
user avatar
  • 7,556
1 vote

Simple search form shows entries with closed status

Your question peaked my interest, so I put together a test on my sandbox. I admit this is an out of date EE2.8.1. I tried out a number of variations however the one thing that springs out to me is ...
user avatar
  • 2,418
1 vote

Ideas why status is set to closed when entry edited via channel:form?

Are you including status input in your form? If not, try adding <input type="hidden" name="status" value="{status}" />
user avatar
  • 2,831
1 vote

Is it possible to have "closed" as the default channel entry status

In Admin->Channels, click "Edit preferences" on the channel you want to change. There's an option in there for the default entry status.
user avatar
  • 7,176
1 vote

Displaying a single entry by status but having a fallback order in place

I've been done this sometimes, but not using relationships. I believe the process is the same. Try to order the entries by both date and status. Each one in one direction. status="featured|open" ...
user avatar
  • 6,108
1 vote

Trigger to Change Author's Member Group on Channel Status change?

I'm assuming that the status is being changed in the EE control panel? If so, then this will likely require an extension that uses the entry_submission_end hook: http://www.ellislab.com/...
user avatar
  • 607
1 vote
Accepted

Status Permissions / workflow

For the control panel there are probably add-ons for this, like better workflow or maybe draftEE. For the front-end you can do some conditional checking in the template before showing the channel-...
user avatar
  • 2,157
1 vote

Updating Cartthrob Order Status on Entry Item Id Level

I don't think there is an easy way to accomplish this natively. One thing you could try is saving a custom "status" item_option when adding to cart. Give it a value of "pending" or something similar. ...
user avatar
  • 660

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