texts:
I'm building a new site that will contain alot of news items and archived pdf publications. I'm wondering if anyone with experience using Solspace Super Search, Low Search, and Google Search would be willing to share their thoughts on the pros/cons and differences between these three options.

Basically, I would like a search engine that is a little more robust than the native EE option and Super Search and Low seem like they will do the trick. However, one question I have about using Google Search is the time it takes for Google to index the pages on my site. I'm assuming it may not be immediate. This would be important because the site will be new.

Any insight will be appreciated.


texts: SafeCracker Registration - unknown error

texts:
I'm using SafeCracker Registration. Right now, I have a form with 4 fields:

title
email
password
password_confirm

When the form displays, I click submit without entering any data in the form. I get this on the next page:

The following errors were encountered

You have just been sent an email containing membership activation instructions.

No email is received. No member is registered. My opening tag is this:

{exp:safecracker channel="profiles" class="form-horizontal" datepicker="no" error_handling="inline" include_jquery="no" register_member="yes" return="registration/form" safecracker_head="no"}

NOTE: "profiles" is a valid Channel. It contains a number of fields, but I haven't started trying to populate them.


texts: SQL Query to get entries with their categories

texts:
I have the following query that is grabbing entries, but I would also like a 'categories' column that will show a pipe seperated list of the categories assigned to each entry.

I have tried using CONCAT_WS as below, but the results just duplicate each entry for every category assigned to that entry. I was wondering if someone could tell me where I'm going wrong?

SELECT exp_channel_data.entry_id AS entry_id, exp_channel_titles.title AS title, exp_channel_titles.url_title AS url_title, CONCAT_WS('|',cp.cat_id) AS categories
FROM exp_channel_data
LEFT JOIN exp_channel_titles ON exp_channel_titles.entry_id = exp_channel_data.entry_id
LEFT JOIN exp_category_posts AS cp ON exp_channel_data.entry_id = cp.entry_id
LIMIT 100


texts: Low Search - Why does a range value evaluate to a blank string instead of a literal 0?

texts:
There seems to be a problem with having a zero(0) value in a select dropdown.

I am using select dropdown to do some minimum-maximum ranges on a field.

<select name="range-from:foo">
<option value="">Min Foo</option>
<option {if "0" IN ({low_search_range-from:foo})}selected="selected"{/if} value="0">0</option>
....
</select>
<select name="range-to:foo" id="property_number_of_bedrooms_to">
<option value="">Max Foo</option>
<option {if "0" IN ({low_search_range-to:foo})}selected="selected"{/if} value="0">0</option>
....
</select>

I tried choosing the option with value="0" and then submit. When I get back on the page, the option with the value="" is selected.

I tried outputting {low_search_range-from:foo} and {low_search_range-to:foo} and they both output a blank string.

It seems that low search probably type casted this to a string which returned a blank string.

How to solve this? I want to get 0 as my value literally when the option value is 0.


texts:
Hoping someone can shed some light on this.

I am using CT permissions and the problem I am having is as long as you have permission to one item you can access all items.

I am selling access to online courses.  The permission id is the same as the category id.
So a course is on http://domain.com/courses/test/50/
and my permission is:

{exp:cartthrob:has_permission permissions="{segment_3}" member_id="{member_id}"}
course posting here
{/exp:cartthrob:has_permission}

A user will have permission for category 51 but they can also access any other category ie: 50.

Even if I hard code in the permission permissions="50" a customer with permission to 51 can access 50.

If a user does not have ANY permissions they cannot access anything.  But if they have permission to one they can access anything they want.


texts: Would it be confusing, and is it possible, to use Structure on only part of a site?

texts:
I am developing an EE site using the very useful Structure add-on for the first time. I want to make adding and editing content as easy as possible for my client. Currently I have a product section on the site where the client can easily add products by adding pages in Structure and it is very clear what they need to do. However, there is another section of the site which I can't currently see working with the same model.

Is it possible to develop/add data to part of a site without using Structure? If it is, would it be wise to do this when the client has a clear understanding of how to add/edit data to the section using Structure? Would this become too confusing for the client?

Thanks in advance.


texts: Expression Engine Entries Loop in Reverse

texts:
In Expression Engine, how would I go about retrieving the latest 3 entries from a channel and then loop through the result set in reverse? I tried something like this to no avail :

{exp:channel:entries channel="news_events" limit="3" orderby="entry_id|date" sort="desc|asc"}


texts: displaying certain entries first based on custom field

texts:
I have a channel full of product entries. I have a checkbox custom field to mark a product as "popular". I want all "popular" products to display first in the list, like they are "sticky". But I don't want to use the default "sticky" option. Can I display all entries marked with "popular" custom field, then display the rest?

And i know I can use 2 channel entry tags, just trying to avoid it if possible.


texts: error_handling="inline" not working in exp:resso store

texts:
I have to switch off error handling and use the less than ideal EE native error handling page. I get the following error message when I try to use error_handling="inline"

Fatal error: Call to undefined method EE_Core::generate_page() in …./store/mod.store.php on line 784

EE version: 2.1.3 Build 20101220
Store version: 1.6.3

I'm using the example template, which comes with Exp:resso Store. All other aspects of the Store module work perfectly, it's just the error_handling which doesn't.

Thanks for any assistance/advice!


texts:
With EE2, Zoo Visitor was easy to install.

the lack of documentation makes it very difficult to install Visitor on EE3.

Here the copy of the screen installer.

Without the documentation I can't understand this error message:

  An anonymous Guest member does not exist or is not linked with Visitor, go to the Visitor settings and select a member you want to use as anonymous Guest member.

I don't understand this error message too, because Visitor has created and anonymous Guest member.

If I click on install this messager error appears:

The settings options is not working.
Does someone already has ever encountered these problems?

  Updated Question with theses errror screenshots

Here more details about error message when i click on install, I tried to manually one by one each step, but But I can not do it.

The error screenshots under the

Expcetion Caught mesage


texts:
After filtering entries, my URL looks like that:

/template/tag/tag01:tag02:tag03

I'm wondering what's the best way to get a list of those tags in a <ul>. I could build the functionality in PHP but I'm thinking this functionality might be built in already since it seems pretty standard and I'm just not seeing it in the docs?

Basically, what I want to do is list all the tags that have been selected like:

x tag01
x tag02
x tag03

And let the user remove whatever tags they want from the result by clicking on the x.

Thanks for any pointer in the right direction!


texts: Expresso Store: Promo Code with no user restrictions

texts:
I've set up a Promo code on my site with the setting for 'Restrict to Member Group' set to 'all'.

However the promo code only works if you are a logged in user, not if you are a guest. Even setting 'Restrict to Member Group' to 'guest' doesn't allow the promo code to be used by non-members.

Is seems to be a bug, has any one else any experience of this or even promo codes in general. This is the first time I have used one!?

Cheers

Tom


texts:
I want to delete all data in one channel. And I found that, the best way to delete all entry in channel is delete this channel and re-create it follow this article: What is the best way to delete every entry in a channel?

and I tried to delete channel follow this article: http://ellislab.com/expressionengine/user-guide/development/api/api_channel_structure.html

I know that the site_id is 1 and the channel_id of channel I need to delete is 1. But when I tried these code:

ee()->load->library('api'); ee()->api->instantiate('channel_structure');
$channel_id = 1;$site_id = 1;
ee()->api_channel_structure->delete_channel((int) $channel_id, [(int) $site_id]);

I got this error:

  Parse error: syntax error, unexpected T_STRING in /var/www/vhosts/au/admin/expressionengine/libraries/Functions.php(679) : eval()'d code on line 7

I tried with:

ee()->api_channel_structure->delete_channel((int) 1, [(int) 1]);
ee()->api_channel_structure->delete_channel(1, 1);

But got same issue.

Does somebody know how to solve this issue. Thank so much!


texts: Custom labels in safecracker error messages

texts:
I'm currently setting up a multilanguage website that enables members to update their own information, news, events, etc.
For adding and updating this personalized content I'm using safecracker and it's working fine.  One thing I cannot get around is rather cosmetic but important for user experience: validation error messages.

I'm using different language packs to be able to view the inline error messages in the right language of the user.  However the problem is that the is that the fieldname in the error message is the name of the field in EE, in my case it has been defined in English. The end result is that it displays the error half in English (the fieldname) and half in the userlanguage (e.g. dutch or french), like this

"Het veld Company Name is een verplicht veld"

Of course this does not make sense to an enduser...
My question: is there a way to pass a variable to the {error:field_name} that can be used a field name in the error message e.g. {error:field_name label="Bedrijfsnaam"} (Bedrijfsnaam is Company Name in dutch fyi) so the error message then is shown completely in the correct language

"Het veld Bedrijfsnaam is een verplicht veld"

rg,
Tim


texts:
I have a membership site where, besides their location and other contact information, part of the member profile will include a summary of their areas of practice.  This summary will be a list of what areas their practice covers (I’ll call them service 1, service 2, service 3, etc.) and what their expertise level is - considerate, moderate, limited or none (meaning they don’t specialize in that area).  This list of services is currently at about 40 items, and the client needs to be able to add/remove services from the list at will.  In addition, the member will need to update their own areas of practice through a front-end SAEF.  Below is an example of what the might look like.

In addition, someone from the public could use this information to search for a member who does "considerate work in service 1".

Originally I thought a Matrix field would be perfect due to its flexibility. However, when setting it up, I don’t think it will work as I thought.  So now I’m back to the drawing board on how to set this up.

Thanks in advance for any suggestions?

Todd


texts:
Are there any EE Facebook addons that can create albums from multiple images in entry when sharing entry on Facebook.

Thanks


texts: Question marks in 100's of articles throughout site

texts:
I've inherited an EE2.6 site, which was migrated from EE v1 by another developer.

There are many articles that contain '?' characters throughout the text when displayed, they appear to be windows extended chars, and there are 1000's of articles, so too many to change by hand.

How can I get these to display correctly? I have tried changing the encodings, on the page, and on the database connection, didn't help.

database settings:

['char_set'] = 'utf8';

['dbcollat'] = 'utf8_general_ci';

config

$config['charset']  =  "UTF-8"

Will I have to run a global replace on the channel_data? Not sure I can identify and map all the original characters!

Alternatively can I use WIGWAM's 'paste from word' option retrospectively on existing content somehow?


texts: although logged in, no access to off line site, EE thinks I am not logged in

texts:
Although I am logged in a s superadmin, I do not get access to a site that is offline. Klicking on the site name link, I get

To proceed to the URL you have requested, click the link below:

http://www.mysite.com/index.php

proceeding makes that I reach the offline status, as if I am not logged in. But I am!

When tampering with the url, I get acces, also a new window in same browsersession. This is of course not a desirable situation.

I studied all the posts I could find here about being kicked out of the site and or CP.

In the CP:
My cookie settings: all empty.
Securety settings: standard: (cookies and session for CP, cookies only for site.)

Help is much appreciated, I must solve this problem tomorrow.


texts: Channel Images field messing up display of channel form

texts:
EE 4.3.8
Channel Images 7.1.0

I have a channel form that contains a Channel Images field. But this field is causing the entire output of the template to be wrapped in a
 tag pair which messes up the display of the entire page.

 <fieldset class="reqborder" style="display:block; float:left; clear:left; width:95%; margin-bottom:15px">
    <legend  >Photo of Applicant</legend>

    Headshot * Required
      Upload -one only- recent photo of yourself. If you have an actor headshot/resume, upload that. Monologue Workshop & On-Camera Audition require a current acting headshot/resume to be uploaded here, and one presented at the interview.

  {field:headshot}

           </fieldset>


texts: select orderby_sort option for sorting by store price

texts:
This sorts the items correctly but I am failing to pre-select the option they selected using a conditional.

What am I doing wrong?

<select name="orderby_sort">
    <option value="">Sort by</option>
    <option value="store:price|asc"{if low_search_store:orderby_sort == "store:price|asc"} selected{/if}>Price (low-high)</option>
    <option value="store:price|desc"{if low_search_store:orderby_sort == "store:price|desc"} selected{/if}>Price (high-low)</option>
</select>


texts: Looking for suggestions for an active plugin or any obvious way to return basic categories info (category name, url_title, and image) with a fixed sort order based on category ids (i.e: sort="3|5|2"). I know I can query for this, but maybe someone has another suggestion.


texts: MX Notify Control PHP error on extension page

texts:
Using MX Notify Control 2.4.6 in a project on EE 2.9.3 . Calling the Add-ons extensions page gives a error. Server runs on PHP 5.5 or 5.6

Strict Standards: Redefining already defined constructor for class Mx_notify_control_ext in /.../expressionengine/third_party/mx_notify_control/ext.mx_notify_control.php on line 62

The extension seems to work, but the error should be. Is the code not PHP 5.5 compatible?


texts:
I'm trying to do a terms and service agreement checkbox in my multi-page form.  I created a checkbox field, and made it required.  For some reason, when I hit the submit button without checking the box, the form submits anyway.  Is there something I'm doing wrong?  Any help would be appreciated.  This is the code:

{freeform:field:terms_conditions attr:class="checked-agree"}
I agree to the Terms of Service

{if freeform:error:terms_conditions}

{freeform:error:terms_conditions} &nbsp; &nbsp;

{/if}


texts: Wygwam - IE8 issue - editor doesn't load and throws javascript error

texts:
We're having an odd issue with several sites we run on ExpressionEngine for clients using IE8 and 9 in the control panel. I've seen similar problems here on the forum but nothing that fits the bill here exactly (or solves the problem)

When an edit entry screen loads, the WygWam editor starts to load and then disappears leaving an empty space and a javascript error. Screengrab attached. I've managed to replicate the problem in Browserstack, so i'm fairly confident it's not an issue with the end user's machines.

Error is:

'name' is null or not an object
ckeditor.js line 804

Enabling IE compatability mode doesn't seem to help either. It seems to be working ok on one site which is running v 2.3.4.1 but fails on two other sites running 3.1.2

Any ideas on how we might fix this? As having the client ring me and make the changes myself every time is very quickly going to wear thin!

Cheers!


texts:
Im using Yearly archives to display articles by month:

{exp:low_yearly_archives channel="news" start_month="1" status="not closed" sort="desc" show_future_entries="no" start_year="" end_year=""}
  {months}
    {if num_entries > 0}
      {month} / {num_entries}
    {/if}
  {/months}
{/exp:low_yearly_archives}

I also have the EE mini calendar tag in my template.

I'm trying to get the calendar tag to display the current month regardless of the url created by yearly archive tag.

For example, I want December to show in the calendar tag but if I click on month links created by Yearly archive such as January and the url becomes: news/month/2012/1/ the calendar changes to January and doesnt say on December.
Ive tried playing about with dynamic="no" to no avail.

The beginning of my calendar tag looks like this:

{exp:channel:calendar channel="events" switch="calendarToday|calendarCell" start_day="monday" leading_zeroes="yes" show_future_entries="yes" show_expired="no" dynamic="no"}

{date format="%F %Y"}

Any ideas. Thanks


texts: I cannot render {cp_session_id} in edit this like

texts:
I am trying to make edit entry link using this idea in user guide bellow

http://ellislab.com/expressionengine/user-guide/templates/globals/single_variables.html#cp-session-id

but {cp_session_id} variable is not rendering in the page, any ideas ?

{if logged_in_group_id == "1" OR logged_in_group_id == "2" }• Edit This{/if}


texts:
I know the EE3 Relationship fieldtype is now more powerful.

Does Playa 5 for EE3 still have advantages compared to the new EE3 Relationships?

Is Playa 5 worth it?


texts: Solspace Rating - how to use unrated "null" value but still make field required?

texts:
With Solspace Rating I'm allowing members to submit ratings in 4 rating fields. However, to some people, not all fields will apply so they can select an "N/A" option for any of the fields as needed. This option has no value ("" not "0") so it doesn't affect rating stats.

I'm using allow_unrated="" to specify that these fields can be submitted with no value. But, I want the fields be be required - meaning they must select a valid rating (1-5) OR the "N/A" option, but they CANNOT select absolutely no option.

The trouble is, the N/A field with null value is equal to selecting nothing, which means Rating's own server-side field validation as well as my client-side form validation script think the field is empty even when it has a valid selection of "N/A".

So as far as I can figure, there's no way to allow unrated fields AND require those fields.

Setting the value of the "N/A" option to 0 is NOT a solution as that is an actual score and therefor pulls down average rating.

Here is some simplified template code for what I'd like to do (this doesn't work):

{exp:rating:form
    form:class="box write-review validate"
    form_name="{channel_short_name}"
    collection="{channel_short_name}"
    required="rating1|rating2|rating3|rating4"
    allow_unrated="rating1|rating2|rating3|rating4"
    allow_duplicates="no"
    anonymous="no"
    return="/vendor/rating-thanks/{segment_2}"
    status="closed"
}

{select name="rating1"}
{option value=""}-select a rating from 1-5{/option}
{option value="1"}1{/option}
{option value="2"}2{/option}
{option value="3"}3{/option}
{option value="4"}4{/option}
{option value="5"}5{/option}
{option value=""}N/A{/option}
{/select}

{select name="rating2"}
{option value=""}-select a rating from 1-5{/option}
{option value="1"}1{/option}
{option value="2"}2{/option}
{option value="3"}3{/option}
{option value="4"}4{/option}
{option value="5"}5{/option}
{option value=""}N/A{/option}
{/select}

{select name="rating3"}
{option value=""}-select a rating from 1-5{/option}
{option value="1"}1{/option}
{option value="2"}2{/option}
{option value="3"}3{/option}
{option value="4"}4{/option}
{option value="5"}5{/option}
{option value=""}N/A{/option}
{/select}

{select name="rating4"}
{option value=""}-select a rating from 1-5{/option}
{option value="1"}1{/option}
{option value="2"}2{/option}
{option value="3"}3{/option}
{option value="4"}4{/option}
{option value="5"}5{/option}
{option value=""}N/A{/option}
{/select}

{/exp:rating:form}

At present I have to make all the rating fields not required so the form can be submitted with the "N/A" options, but then there's no way to indicate to the member that they have forgotten to select a rating for any of the fields.


texts:
I am at a loss on how to implement Ajax in Low Search.

There is currently no documentation on how to do Ajax with Low Search in the Low Search docs.

I already perused some answers in expressionengines stackexchange(second question one is mine)

http://expressionengine.stackexchange...
http://expressionengine.stackexchange...

but the answers are very cryptic, don't show any low search forms and results tag examples and doesn't really help anyone new to implementing Low Search with Ajax.

Does someone have a step-by-step tutorial on how to use Low Search with Ajax?


texts: Is is possible to set a minimum order quantity for a category

texts: Is there a way to set the min order qty for a category? E.G. A customer can only order 5 products in category A; either the same product or 5 different products in the same category.


texts:
I have a template with just two fields is it, an optional field for a thumbnail photograph and a body field for text. Only the body field is required. However, when I attempt to save an entry with just the body content entered I am unable to save the entry and I get a notice below the File field that says:

  You did not select a file to upload.

I have double checked the field several times and confirmed that it is not required. Has anyone else had this experience and better yet know how to resolve the problem? I am running ee 2.7.1.

Thanks.


texts: Need shipping help for EE Exp:resso Store

texts:
To keep a long story short. I'm running EE2.5.5 CMS and Exp:resso Store for the e-commerce bit.

My client sells a few items from his website, but has a warehouse do the shipping for him and they bill him once a month.

I want to use the UPS Shipping plugin that comes with Store, however I cannot get the Access Key, Username, Password required to calculate shipment costs... because that info does not belong to my client, it belongs to the warehouse who uses that same account to ship a variety of packages for other customers such as my client. When contacted, they mentioned something about a Generic UPS quoting account. is there such a thing? If not, how would you recommend me getting around this issue?

The original idea was to use the Default Shipping Plugin, but there's just too many variations for the client to keep track of and not lose money on when shipping.

Thanks!


texts: Dynamic dropdown/select values and Validation issues

texts:
I am using the Freeform 4.0.12 along with ExpressionEngine v2.6.1 for forms in one of my projects and I have a situation where I need to display drop down values dynamically - based on what value was chosen in the previous dropdown.

Similar to a country/province dropdown - Eg. If I choose USA - then my province dropdown is filled with places from the USA, but if I choose India, then the provice dropdwon is filled with places in India.

Any idea how I can incorporate something like this?

Also, i am having an issue with the validation of the select fields. I am supposed to make them required. I tried using the inline errors and making the fields required. for example {freeform:field:country} - when I put this in, if I don't choose any option, by default the first value is chosen, if I manually enter all the values, then the validation works in the sense that the form is not submitted, but it doesnt display the field required error.

I could really use some help in there areas.


texts: Freeform + Transcribe = Missing required valid POST variable - params_id

texts:
I've just upgraded to freeform 4.1.7 from version 3 and am now getting the following error on form submit

The following errors were encountered

Missing required valid POST variable - params_id
Return to Previous Page

the site is using Transcribe 1.6, If ii turn off transcribe the form submits fine. the site is using country codes so when the form is submitted it goes to /es/?ACT=82 or /en/?ACT=82

Anyone had this problem of know of a solution. Using EE2.7.3

many thanks!

Anyone? :'(


texts:
I was updating a local EE install from EE 2.5.1 (20120529) to EE 2.7.1 (20130924).  I've updated Matrix 2.4.1 to 2.5.8

When clicking on Matrix in the fieldtypes addon section i get the following error:

A Database Error Occurred
Error Number: 1060
Duplicate column name 'is_draft'
ALTER TABLE `exp_matrix_data` ADD `is_draft` TINYINT(1) UNSIGNED DEFAULT '0'
Filename: /third_party/matrix/ft.matrix.php
Line Number: 509

I also got a error for Playa, but that seemed to correct itself on refresh.

Any ideas what's up?


texts: Can I make a multi-select custom member field?

texts:
It looks like you can only make a few custom member field types: Date, Text Input, Textarea, Select Dropdown, URL.

I need to have a multi-select field, such as checkboxes.

What's the best solution for this?


texts:
This is my code:

{exp:channel:categories channel="products_insurance" style="linear"}

                    {category_name}

                            {exp:channel:entries category="{category_id}"}

{title}

                            {/exp:channel:entries}

{/exp:channel:categories}

this part though:

{exp:channel:entries category="{category_id}"}

{title}

{/exp:channel:entries}

is not looping, it's only showing the entries for the first category.

This is for a custom dropdown menu I'm working on.

Any ideas why it's not looping? From what I can tell it should be.


texts: Show a list of child categories plus it's entries

texts:
I need to show a list of child categories plus it's entries. I had done this great using a child categories extension but now I need the ability to use Low Reorder. I have tried numerous ways get them to work together with no luck so I think I need another method. I haven't posted my current code because I'm sure it will need completely re-writing. Happy to post if needed but this is the structure I'm hoping for.

{child_category_name}

{child_category_description}

{title}

Any help would be greatly appreciated.


texts: Freeform not pulling some answers into notifications

texts:
Have an issue where I have added check boxes and radio buttons to a form but am having the results pull into the notification email correctly. Two Questions....

The check boxes are needed to allow "check that all apply" for the user. However, in the notification email is only showing the last item checked on the email.  So if a user checks Regional Driver, Local Driver and Warehouse...only Warehouse shows up on the form.  Here is the code I have for that...

How do I get the multiple selections to pull into the notification form?

                        Interested In (Check All That Apply)

                            OTR Driver/Regional Driver
                            Local Driver
                            Packer/Loader/Unloader
                            Warehouse

Likewise, on my radio buttons it isn't pulling in the selection of Per Hour, Per Week, Per Month or Per Year into the from.  It is only showing the entry entered into the Salary Expectations box.  I have fields set up for "salary_expectations" and for "pay_rate".  How would I tie the radio buttons to the pay_rate field so that it pulls into the notification form?

                        What are your salary requirements?

                            Per Hour
                            Per Week
                            Per Month
                            Per Year

Just in case the code isn't showing properly on here, I am adding a screenshot.


texts:
I need add-on like LikEE extension, but for EE3.

Any variants?


texts: Expresso Store throws PHP error when updating product entry via Channel Form

texts:
I've got a project involving Expresso Store, where I'm attempting to simplify the process of updating store products and stock (for the owners of the website) by going outside the ExpressionEngine publish forms and setting up the product entry and stock update process in Channel Forms.

However, though the Store field looks like it's compatible with Channel Forms, on editing an entry, I get this error:

A PHP Error was encountered
Severity: Warning
Message: Invalid argument supplied for foreach()

Filename: Service/ProductsService.php
Line Number: 137
A PHP Error was encountered

Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home/tcisite5/public_html/tci/codeigniter/system/core/Exceptions.php:170)

Filename: libraries/Functions.php
Line Number: 446

In spite of the error, other fields are updated when I submit the Channel Form. But Store fields are not updated.

I'm running ExpressionEngine v2.9.2 - Build Date: 20141004.
Also, Store has been updated the new version: 2.5.0.
I've also done an optimize/repair on all of my EE database tables through the EE utility.


texts: How to remove sub-items from a Structure navigation item?

texts:
I am completely new to Expression Engine and I am trying to reverse engineer a site that someone else built. From what I understand, there is a plugin called "Structure" which controls the main navigation of the site.

{exp:ce_cache:escape}
    {exp:ce_cache:it:nested id="topnav" global="no" seconds="3600"}
        {exp:structure:nav start_from="/" show_depth="2" max_depth="2" add_unique_ids="yes" css_class="topnav" css_id="none" current_class="current" include="3|4|5|17|18" exclude="10"}
    {/exp:ce_cache:it:nested}
{/exp:ce_cache:escape}

There is a navigation item which contains too many sub-items (which results in a really long drop-down), so my task is to hide the sub-items while keeping the page that they link to. I went to the "Structure" section of admin and only found the ability to delete pages.

How can I hide the drop-down for this particular nav item?


texts: Moving from EE file manager to Assets inside Matrix

texts:
I have been moving from EE file manager to Assets on a few sites without problems. The images turn up in the assets channel fields and all looks good.

But now I tried changing a field inside Matrix. It was EE file manager and I changed it to Assets. The image dosen't appear in the field but it shown in the Assets module (I have updated indexes and everything looks good there).

So basically I would have to go through every entry and select the file again in Assets and submit again to get the images back in order.

I can see the image in the exp_matrix_data folder. For example: {filedir_1}14958_Gravity.jpg But it is as I said not being displayed in the field in CP and not on the front end.

So my question is: Is it not possible to move from EE file manager to Assets inside a Matrix field?

I have EE 2.7.2
Matrix 2.5.8
Assets 2.2.1

Any ideas?


texts: CE Image - Allowed memory size exhausted

texts:
I was working on my site when I suddenly got this error from CE-Image

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 9940 bytes) in ................./system/expressionengine/third_party/ce_img/libraries/Ce_image.php on line 2834

I looked at the line and I saw this

$dest = imagecreatetruecolor( $this->width_final, $this->height_final );

Seems to me this is a memory error issue.

What steps should I do to correct this? Is this the fault of the plugin or PHP?


texts: Addon to "package" data like Channels, Addons, etc across sites

texts:
I have 2 installations of one site.

I have channels and addons that exist in one site but not in the other.

Is there an easy way or an addon that enables me to basically "export" the data from one of the sites to the other?


texts:
My company is in the process of migrating a client's EE site from their old hosting company to ours. Prior to flipping the DNS switch and making everything live, we wanted to import the site to our servers and test it to confirm everything was working and unfortunately it's not. When we pull the site up on our site (which does have a new domain tied to it, since it's a temporary binding), we just get a blank white screen.

Our first thought is it's related to a licensing issue, as the "new" domain isn't licensed whereas our assumption is the old one is. We're fairly new to EE as an engine (mostly a Wordpress team) so am I on the right track here or is there something else we should look for?


texts:
I have a template that submits to stripe and gets back a 200 and a token through store.

But when the token comes back, I am getting no 'complete the order process' at all. The template doesn't submit and no error shows. I get no order in Store control panel, and no purchase call for stripe.

Can you shed some light on this?

https://gist.github.com/emagine/7248059


texts: Simple Search form action is set to main site page

texts:
I'm trying to implement simple search on our blog. Previously we'd used the Google Custom Search Engine, but since they removed the pay as you go option to remove ads, competitor ads are showing up in the search results. So, I haven't been able to get simple search to work.

I've previously posted here (Simple search form action is main _site page) and wasn't able to resolve it. The one reply to that post didn't work. I'm coming back to this at the turn of the tide to try and get it actually working.

We use Transcribe since we have bilingual website, because Canada. I've tried the solution found here: Search refer to homepage, which hasn't worked. I also tried disabling Transcribe, and seeing if that would resolve it, but no.

I would reply to this issue (Simple Search: search form redirects to home page), to get more details as to what exactly was wrong with their server setup, but I don't have enough reputation to reply.

Here is my search form code, which appears on the main listing of blog entries.

{exp:search:simple_form channel="blog" name="blog_search"
        result_page="blog/search" no_result_page="blog/no-results" results="10"
        search_in="everywhere" show_expired="yes" status="open" where="all"
        form_id="blog_search" form_class="blog_search" transcribe_add_lang="en"}
    <input type="text" name="keywords" id="keywords" value="" size="18" maxlength="100">
    <input type="submit" value="submit" class="c_btn--s v_bg--green-grad">
{/exp:search:simple_form}

I've tried changing result_page to "/blog/search", "/en/blog/search", and "{transcribe:language_abbreviation}/blog/search", and no_result_page was changed to the same. I can browse to both blog/search (the default no search results EE message is displayed) and blog/no-results ("NO RESULTS" it screams at me). I've gone to the EE Slack channel and variations on the above suggestions have been passed my way.

Changing the form action to /blog/search in Chrome's Developer Tools will make the search work, but I don't know how to get it to do that programatically.

Could there possibly be a server set up error somewhere that is causing this to happen? Or could there be something in PHP that was incorrectly set up, or should be added? The .htaccess file is rather ... lengthy (mostly redirects from our old website to this due to change in structure), but I don't believe there's anything there that would cause it.

Running EEv2.10.3 - Build Date: 20160129.


texts: I have a scenario I have two channels A and channel B. Both channel has one common select optional field let say c_a (option1,option2...option2) and b_a (option1,option2...option2)  . I want to compare the selective field when both selective option match then show the desire data.


texts: CartThrob Subscriptions Add-on - Is it a good fit?

texts:
I am just trying to check that the project I am looking into would be a good fit for CartThrob Pro with Subscriptions, here is a quick run through:

The client will be selling normal (physical) products through the main area of the site for which CartThrob Pro will do nicely, taking payments via SagePay Server.

However, there will also be a club section where customers can purchase packages of products on a recurring basis. For example they might have a package called ‘Starter’ consisting of 3 products (picked by the client not the customer) being sent out every month for £10 p/m. Another might be called ‘Advanced’ where they send out 8 products per month for £20 p/m.

Also the product category (maybe spicy or mild) within a package can be chosen from a list by the customer, so for the ‘Starter’ they can choose up to 3 product categories from a list of maybe 10 different ones.

What can the customer update regarding their subscriptions? For example would they be able to change to a different set of product categories for that subscription to be sent out the next month? Can they easily upgrade to a another subscription plan too?

The client would obviously need to be able to manage the packages of products in the same way as they manage the normal products.

Looking through the docs etc CartThrob Pro plus Subscriptions would fit this nicely.

Can anyone shed some light as to whether this can be achieved?

Thanks in advance!


texts:
Given Channel entries, is there a way to get a list of unique entries in a text field and how many times that entry exist? For example, say the Channel contains the field first_name (FT is text) and there are 100 entries. I need to know how that "John" exist 20 times, "Jill" exist 50 times, and "Jane" exist 30 times.

One possible solution is to nest looping through the channel entries and enabling PHP in the template in order to build the result I need. This seems inefficient. Another option is to probably use the Query module, but that requires knowing which fields the data exist in -- which becomes a maintenance issue when fields are deleted and re-added.

Suggestions?


texts: Outputting select field with order_custom fields in Expresso Store

texts:
I have a custom field called "newsletter", I've mapped this to order_custom2 from within the store settings and used the following code:

    Newsletter

      {field:order_custom2} {error:order_custom2}

However it's outputting the field as a input text box rather than a select box (it was set as a select box in the member preferences) and I can't work out how to change it from a text field to a select box, any ideas?


texts:
So I inherited another build and the content editor is the stock Rich Text field type. The content has paragraph and strong html tags in place when you View the Source in the edit entry section, but the HTML output isn't outputting those. I personally have used WYGWAM on other builds because I like the interface better and I thought that rich text would just output everything inputed through the control panel.

My question is it possible to "remove the formatting" some place that I can check? I'm not using any plugins on this page that would remove the formatting, but I'm curious why Rich Text isn't outputting the <p> tags or any others for that matter on output? So I wanted to check to see if there was something I was missing regarding the Rich Text editor?

This EE site is running 2.6.1.

Thanks!


texts:
While I wait for Playa to be approved for use in my project, I've put together this structure to enable cross-referencing:

3 Channels:

products
all_colors
product_colors

The all_colors channel just has a file fieldtype set for images.

The product_colors channel just has 2 relationship fields: related_products and related_colors. So, for each product (products), we want to be able to select a number of colors (all_colors), and we do that through the cross-reference (product_colors).

Here's my template:

{exp:channel:entries channel="products" limit="1" }

{embed='includes/topnav'}
{if no_results}

Unknown product.

{/if}

{title}

{product_description}

        {reverse_related_entries channel="product_colors"}

            Related Product: {related_product}

            Related Color: {related_color}

        {related_entries id="related_color"}

        {/related_entries}
        {/reverse_related_entries}

{/exp:channel:entries}

And here's the output:

Related Product: 19
Related Color:
{REL[20][related_color]jPUgzXDsREL}
Related Product: 17
Related Color:
{REL[18][related_color]jPUgzXDsREL}

The first LI is just for debugging purposes. The funky looking token in the curly braces changes on every request. I've no idea where it comes from. The template doesn't even produce my img tag, or the second LI, for that matter.

[EDIT] Why is the Related Color coming out empty? [/EDIT]

What am I doing wrong? Can this even be done with EE out-of-the-box?

Thank you.


texts:
When it comes to Account activation type (cp/settings/members) I have opted for “Manually moderated by administrator ” Is there any way to grant this right to non-admin user?

I don’t see the possibility to list this right in Member Group policy. Any hook or add-ons that do the work?

Thanks Enrico


texts: How can I get my templates to work properly on my live site?

texts:
I have a serious problem with my site.

I have recently made some changes to a site and its templates.

I uploaded all the correct items to the server via Beanstalk and git with a push to the remote repo.

When I login I am perfectly fine going into the templates but when trying to view pages the correct templates are not rendering properly at all. When I go to the templates in the editor they are correct but they are not showing up on the frontend at all. It uses the wrong template which is not the correct one for the url.

Has anyone got any ideas at all as to why this may happen?


texts:
I must be looking at code for too long. I'm sure there's a simple solution to this.

I have a regular page entry, where I select an organization through a playa single select.
An organization entry can have people assigned to it.
I want to show the organization's people on my page entry.

This is my template:

{exp:channel:entries channel="pages"}

  Displaying people in organization ID: {related_organization:child_ids}.

  {exp:playa:parents channel="people" entry_id="{related_organization:child_ids}"}
    {title}<br />
    {if no_parents}No results{/if}
  {/exp:playa:parents}

{/exp:channel:entries}

The playa field outside the tag shows me the correct child_ids.
The exp:playa:parents tag renders no results.
If I hard code the entry ID in the entry_id parameter, it works just fine.

If I do entry_id="4321|1234|{related_organization:child_ids}", I can see in my DB queries log that it is not even rendering {related_organization:child_ids} at all.
It shows ... WHERE rel.child_entry_id IN (4321,1234) ...

Adding parse="inward" doesn't have any effect.

Why isn't the tag working inside the parameter?

Update
Using an embed seems to work. But no one likes embeds anymore.
Using an equivalent stash embed doesn't work.


texts:
I am looking for a way to output the total amount of products purchased, similiar to {exp:cartthrob:total_items_count} for the cart only that I want to pull it from the "orders" channel (to be used in the order confirmation email).

I have:

Articles ordered: {order_items:total_results}

Which outputs how many different articles were purchased but not the totals. Like if a customer bought:

2 x Product A

3 x Product B

the above tag would output "2". I am now looking for a way to also output "5".

I have tried all different kind of tag combinations and fiddled around with CT arithemtic also but can't get it straight. Maybe this is only possible with an sql query, but since I am not good with those I am first asking here.

Thanks and Cheers


texts: Wygwym replace file: The file could not be written to disk

texts: I'm using wygwam 3.2.2 and EE 2.7.2. I'm attempting to overwrite a file from the upload diaglog "The file could not be written to disk." However, this is only on certain user groups. The super-admin group allows you to and brings up the "rename file". Am I missing a setting somewhere? I checked that that user group is allowed to upload files in that directory (and they can). However, this issue only occurs when a user in a particular group attempts to overwrite a file. Any thoughts?


texts: Entry ID Returned From Plug-In Not Working in Channel Entries Tag

texts:
I've written a custom plugin which I call repeatedly (via a channel:entries tag) to store a list of entries in an array. (BTW, you have to set up a separate singleton class to do that, as the plug-in object gets re-instantiated from scratch every time it's called from the template.) So the plug-in has two functions: one to store the entry ID's (parse_home_seq), and one to return the entry we're currently looking for (get_hero), which is dictated by the value of a cookie.

I've logged extensively in the plug-in, so I know that it's returning the right ID. And yet, the second channel:entries tag always returns the same entry (while the get_hero function cycles through the entries on successive page requests). I've been banging my head against this wall all day. Here's the code:

{!-- Determine which products to use for hero --}
{exp:channel:entries channel="products" status="wide" orderby="homepage_seq_no" sort="asc"}
    {exp:ah_proc:parse_home_seq seq="{homepage_seq_no}" id="{entry_id}"}
{/exp:channel:entries}

{exp:stash:parse process="end"}
{exp:ah_proc:get_hero no_update="1"}:: {!-- for logging --}
{exp:channel:entries channel="products" entry_id="{exp:ah_proc:get_hero}" status="wide" limit="1" parse="inward"}
    {entry_id}  {!-- for logging --}
    <h1>{title}</h1>
{/exp:channel:entries}
{/exp:stash:parse}

Any help appreciated. Thank you.


texts: Color issue on native image manipulation

texts: I have just used EE's native image manipulations for the first time and boy did they work great. However, my client looked at the site after I replaced the old images with the resized ones and her nice white backgrounds on products no longer looked white. It's very subtle, I have to look at my monitor at an angle to see it, but apparently it is quite noticeable on certain monitors. When I color sample these white backgrounds, I get an occasional #fefefe pixel. So on some monitors, it is giving the whole image background a yellow cast. I'm wondering if anyone has advice about increasing the quality of the image manipulations, or other ways of managing this particular problem. I see that I can specify a different library, but it's unclear to me if that would help. The images are jpg and I imagine that increasing the quality of the jpg might help, but I don't see settings for that.


texts: Cart Throb Custom Colour Select Price Config

texts:
I have a custom color selection option in Cart Throb.  IT has been working great when all colors are the same price.

But now I need to have a color option that is a different price.  I know this is easy using CT out of the box (product modifier)

But how would I do it using my code?

<select id="swatch_select_menu" name="item_options[colour]" onChange="showDiv(this.value);">
<option value="">Select Colour</option>
{exp:channel:entries channel="colours" category="5|35|34" orderby="title" sort="asc" limit="999" dynamic="no" disable="pagination"}
<option value="{url_title}">{title}</option>
{/exp:channel:entries}
</select>


texts: Two different layout for the same template

texts:
I was wondering.. can I use the same template to display the page in two different layouts?

and how you can switch from one layout to another without adding any segment?

it would be nice for me to use a simple query url, so that you have:

http://mysite.it/portfolio?=list

or

http://mysite.it/portfolio?=thumb

How can I adopt this solution?
Thank you!

EDIT: This is a solution found (thanks to Andrew Fairlie and Jean St-Amand):

{exp:switchee variable="{get:view}" parse="inward"}
    {case value="grid" default="yes"}
        {switchee variable="{get:tag}" parse="inward"}
            {case value="{get:tag}"}

                {embed="portfolio/embed-tags"}

            {/case}
            {case default="yes"}

                {embed="portfolio/embed-ajax" infinite_scroll_vars="category_id|category_name|segment_1|segment_2" infinite_scroll_values="{segment_2_category_id}|{segment_2_category_name}|{segment_1}|{segment_2}"}

            {/case}
        {/switchee}
    {/case}
    {case value="list"}

        {embed="portfolio/embed-ajax-list" infinite_scroll_vars="category_id|category_name|segment_1|segment_2" infinite_scroll_values="{segment_2_category_id}|{segment_2_category_name}|{segment_1}|{segment_2}"}

    {/case}
{/exp:switchee}


texts: Full Path seems incorrect after update to Assets 2.0.4

texts:
After updating to Assets 2.0.4 on EE 2.5.1, I noticed that that when I view a custom Assets field, the previously defined upload directories are no longer checked.

After some digging around the assets database tables, I noticed some odd inconsistencies: http://jon.ee/image/2l0B2w2v3A3Y (Screenshot)

All of my images display properly on the front-end.

What could be causing the upload paths to be unchecked on custom Assets filled
Should the full_path column be filled in, and is this causing the issue?


texts: Spanish form field labels in DevDemon's Forms?

texts: Is there a way to translate the form fields for devdemon's Forms (default Form Tools and Powertools label fields) in spanish? Has anyone done this before>


texts: PHP errors displayed in CP when using an Assets filed within a Matrix within Low Variable

texts:
I'm using:

EE v2.7.3
Assets v2.2.4
Matrix v2.5.10
Low Vars v2.4.1

Error message (only displayed when on Low Vars page):

  A PHP Error was encountered
  Severity: Notice
  Message: Undefined index: entry_id
  Filename: assets/ft.assets.php
  Line Number: 647

It's obviously got something to do with that switch statement in assets/ft.assets.php if I comment the grid/matrix case out the error disappears. Of course that causes more issues though.

Any assistance appreciated.

Cheers,

Andy


texts: 501 Method Not Implemented error on Nexcess

texts:
Heyo everyone,

I'm getting a 501 Method Not Implemented error when saving a specific entry. Screenshot: http://d.pr/i/VeFj

After some googling it looks like a mod_security issue. Has anyone else encountered this issue?

The entry is called "Deus Caritas Est" so it is possible that mod_security is having a conflict with the entry title. I've issued a support request with Nexcess, but wanted to know if anyone else had see that issue.

Thanks!


texts:
I have a page that displays the top 10 most recent entries in a particular channel. When I add an entry to the Channel and load this page, it takes forever to load. However, subsequent loads go faster. I think it's faster due to the MySQL query being cached.

What things can I do to troubleshoot this problem? Why are the initial loads so slow? What params can I pass to exp:channel:entry to speed up queries? Any other suggestions why things might be slow?

NOTE: this particular channel has a lot of relationship field types. I'm wondering if that's potentially a problem.

UPDATE 1:

Initial page load: Total Execution Time 218.7162. Subsequent page loads are like this: Total Execution Time 1.7793.


texts: I'm attempting to add a CKEditor plugin to Wygwam, but the plugin is not showing in the config or editor even after adding it to the extraPlugins config and I have uploaded the CKEditor plugin to the themes/third_party/wygwam/lib/ckeditor/plugins folder.  I am wondering if there is another step, or special configuration to enable CKEditor plugins within Wygwam that I am missing.


texts:
All of a sudden  my search and member login forms always redirect to the home page rather than the redirect url or search results?  Any advice what's up?

{exp:member:login_form return="courses/online/55"}

<input name="username" class="form-login" title="Username" value="" size="30" maxlength="2048" id="username" />

Password:

<input name="password" type="password" class="form-login" title="Password" value="" size="30" maxlength="2048" id="password" />

<input type="checkbox" name="1" value="1"> Remember Me Forgot password?

<input type="image" name="submit" value="Submit" src="/images/login-btn.png"  style="margin-left:90px;" />
{/exp:member:login_form}

Content of the htaccess file.

##Solspace Static Page Caching: Site #1##
<IfModule mod_rewrite.c>

    RewriteEngine On
    RewriteBase /

## RULE #1 - gzip

    ## Accepts GZ output
    RewriteCond %{HTTP:Accept-Encoding} gzip

    ## Ignore POST requests
    RewriteCond %{REQUEST_METHOD} !=POST

    ## Ignore EE Query requests
    RewriteCond %{QUERY_STRING} !^(css|ACT)

    ## Override Cookie That Disables Caching
    RewriteCond %{HTTP:Cookie} !^.*(static_page_caching_override).*$

    ## Override Segment for ToolBar
    RewriteCond $1 !spc_override/*$

    ## Remove the index.php from the next conditional check, neutralize slashes
    RewriteCond $1 ^(index.php/)*(.*)(/*)$

    ## Cache File Exists?
    RewriteCond /home/hookingr/public_html/static_page_caching/1/$2/index.html.gz -f

    ## Redirect to Cache File
    RewriteRule ^(index.php/*)*(.*)(/*) /static_page_caching/1/$2/index.html.gz [L]

## RULE #2 - normal

    ## Ignore POST requests
    RewriteCond %{REQUEST_METHOD} !=POST

    ## Ignore EE Query requests
    RewriteCond %{QUERY_STRING} !^(css|ACT)

    ## Override Cookie That Disables Caching
    RewriteCond %{HTTP:Cookie} !^.*(static_page_caching_override).*$

    ## Override Segment for ToolBar
    RewriteCond $1 !spc_override/*$

    ## Remove the index.php from the next conditional check, neutralize slashes
    RewriteCond $1 ^(index.php/)*(.*)(/*)$

    ## Cache File Exists?
    RewriteCond /home/hookingr/public_html/static_page_caching/1/$2/index.html -f

    ## Redirect to Cache File
    RewriteRule ^(index.php/*)*(.*)(/*) /static_page_caching/1/$2/index.html [L]

## RULE #3 - Remove SPC Override Segment from URI
    RewriteRule ^(.+)/spc_override$ /$1 [L]

</IfModule>
##END Solspace Static Page Caching: Site #1##

#allow from 192.185.1.20
#deny from all
RewriteEngine On

#RewriteCond $1 !\.(gif|jpe?g|png)$ [NC]
RewriteCond %{REQUEST_FILENAME} !\.(gif|jpe?g|png)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php/$1 [L]


texts:
I have a template that is making a request to remote CSS & JS files that are hosted on the same server, different domain:

{exp:minimee:js}
    <script>https://www.remotesite.tld/assets/js/plugins/cycle.js</script>
    <script>https://www.remotesite.tld/assets/js/init/index.js</script>
{/exp:minimee:js}

When I try to load the page, the browser gets stuck in loading-mode for several minutes before throwing a "page not available" error.

If I disable Minimee in my config, the page loads without issue:

$env_config['minimee']['disable'] = 'y';

No server errors are logged when this happens.

EE 2.9.0
Minimee 2.1.12


texts: Add-on Development: Variable pairs with parameters

texts:
I can't seem to find any documentation or examples of how to give variable pairs parameters in EE add-ons. I have a module working like a charm. Inside the main module tagpair there's a variable pairs like this:

{exp:mod:method}

{top_level_var}

    {var_pair}

{var_pair_variable}

    {/var_pair}

{/exp:mod:method}

Boom, that's awesome. But sometimes I want to limit the output of the {var_pair} tag via params like this:

{exp:mod:method}

{top_level_var}

    {var_pair limit="7" number="42"}

{var_pair_variable}

    {/var_pair}

{/exp:mod:method}

What's the best way to accomplish this? Does EE natively support such params?


texts: Expresso Store Shipping Error when Changing Shipping Method Before Shipping Details Entered

texts:
I have a store which ships to both the UK and to Australia (from the UK).

The default shipping plugin includes 4 methods – three are to the UK (Royal Mail First Class Standard, Next Day, Royal Mail Second Class Economy), and one for Royal Airmail to Australia. The three to the UK work fine, but the one to Australia returns this message on the checkout page when I change the shipping method in the dropdown box: Error calculating shipping: No rules match the current cart.

If I ignore that error message and continue to add my address in checkout two then continue on to checkout 3, the shipping is THEN calculated correctly, and I can continue on to payment.

How can I have the shipping calculated on checkout1 instead of returning the error (I don't mind that the user has to click update totals)? The buyer will not put in their address until checkout 2.


texts: Using the query module to get an image path. How do I get to the thumb folder?

texts:
First of all. Big thank you to Rob Sanchez. I'm using his plugin inside the  query module to get a zoo-visitor member-picture and add it to a public profile page.

This is the query. field_id_37 contains something like {filedir_1}filename.jpg.

{exp:query limit="1" sql="
SELECT ct.author_id, ct.entry_id, ct.channel_id, cd.field_id_37
FROM exp_channel_titles ct
INNER JOIN exp_channel_data cd
USING(entry_id)
WHERE author_id = '{embed:lid}' AND ct.channel_id = '6'
"}

{exp:parse_file_paths}
{field_id_37}
{/exp:parse_file_paths}

{/exp:query}

This works fine. The output is something like: http://mysite.com/picture/filename.jpg

I do need this information to create a link to the full picture. I'd like to show the thumb as well. And that is what this question is about. How do i change the path from
http://mysite.com/picture/filename.jpg to http://mysite.com/picture/_thumb/filename.jpg?

If I didn't use the Query module, but simply the channel:entries tag the solution would be simple:

{field_id_37:thumb}

How can i rewrite the default path?


texts:
I have the following entries. I would like to only display only a range from entry 5 and on.  how do i remove 1-4 from the entries and keep the rest?

Entries

2016-02-08 Entry 1
2016-03-01 Entry 2
2016-03-29 Entry 3
2016-05-02 Entry 4
2016-05-15 Entry 5
2016-05-30 Entry 6
2016-09-12 Entry 7
2016-10-24 Entry 8
2016-11-01 Entry 9
2016-12-06 Entry 10

Code

            {exp:channel:entries channel="events" orderby="event_start_date" sort="asc"}
                 {event_start_date format='%Y-%m-%d'} {title}
            {/exp:channel:entries}


texts: Using Simple Search to look in an entry's selected categories?

texts: I have a simple search form set to look in entries. When I search for the category name that I have selected in some entries, the entry does not show in the results. Should I be able to use Simple Search to look in an entries selected categories?


texts: EE3 CP Overview page and removing the "ExpressionEngine News" block

texts: How does one remove certain blocks from the CP overview page particularly the "ExpressionEngine News" block.


texts: WYGWAM: All text showing as bold (though without strong tag)

texts:
All text either pasted or typed into my WYGWAM fields shows as bold. Viewing source shows there are no strong tags.

The client is unable to tell which items are actually bolded because of this.

I've searched online extensively and can't find anyone else having this issue.

ExpressionEngine 2.7.2
Wygwam 3.2.1

Other add-ons installed:
Pages 2.2
Freeform Pro 4.1.3
Field Editor 1.0.4
Rich Text Editor 1.0.1


texts: How to display a channel entry without hard coding an entry ID?

texts:
I have a channel named Bios that has six fields of information per person. I want to dynamically generate a bootstrap modal with the selected person’s bio info when their photo is selected from a page. I see I can hard code it for a single person using entry_id but is there any way else to pull the correct data without resorting to making a template for each person and using the URL segment variables?

This is my first time working with ExpressionEngine for a site build. I tested it out using entry_id just to make sure I was pulling the channel fields correctly:

          <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
    {exp:channel:entries channel="bios" entry_id="9"}

{bio_name}

{job_title}

{bio_details}

    {/exp:channel:entries}

          Close


texts: Multiple forms on one page display required field errors when only one form is submitted

texts:
I've got a page on my site with two freeform forms, each have different purposes. If I fill out either of the forms entirely (required fields) I am taken to the correct landing page and the correct notification is being sent out so all is functioning correctly there.

If do not enter all required fields the inline errors appear but for both forms rather than for the form I submitted.

Does anyone know of any way to make it so that the errors appear only on the submitted form?

I'm happy to create an extension using either the freeform_module_validate_begin or freeform_module_validate_end hooks but I'm just not sure where to start.

Any help would be greatly appreciated.

{exp:freeform:form form_name="product_demo_form" form:id="demo-form" required="name|email" return="{path='demo-enquiry-success'}" inline_errors="yes" inline_error_return="products/{url_title}/#demo-form"}
    <input type="hidden" name="XID" value="{XID_HASH}" />
    <input type="hidden" name="product_name" value="{title}" />

            {if freeform:error:name}{form_error_name}{/if}
            {freeform:field:name attr:placeholder="Name *"}

            {if freeform:error:email}{form_error_email}{/if}
            {freeform:field:email attr:placeholder="Email *"}

            {freeform:field:phone attr:placeholder="Phone"}

    {freeform:submit}
{/exp:freeform:form}

{exp:freeform:form form_name="product_pdf_download" form:id="download-form" required="name|email" return="{path='download-request-successful'}" inline_errors="yes" inline_error_return="products/{url_title}/#download-form"}
    <input type="hidden" name="XID" value="{XID_HASH}" />
    <input type="hidden" name="product_id" value="{entry_id}" />
    <input type="hidden" name="product_name" value="{title}" />

            {if freeform:error:name}{form_error_name}{/if}
            {freeform:field:name attr:placeholder="Name *"}

            {if freeform:error:email}{form_error_email}{/if}
            {freeform:field:email attr:placeholder="Email *"}

    {freeform:submit}
{/exp:freeform:form}


texts: DevDemon Forms: The Forms Module requires jQuery 1.3 or higher. (jQuery not found)

texts:
I recently upgraded a site from EE2.5.4 to EE2.9 and upgraded Forms from 3.3.1 to 3.4.11

On the old version of the site, forms were storing in the dashboard & sending the relevant emails to admin & user. Since the upgrade I get the error:

The Forms Module requires jQuery 1.3 or higher.
(jQuery not found)

whenever I load a page with a form on it & the form doesn't save or send. I'm not seeing the success message either.

has anyone come across this & fixed it before?


texts: Is it possible to add placeholder text (i.e. placeholder="Your Name") in a Freeform (not Pro) field? And how to style the submit button?


texts:
Is it possible to search/filter based on a related child's category?

In our results page we always list the parent channel - 'courses'.

90% of the time we search for keywords and categories assigned to the course entries.

Within a course you relate a child entry from the 'course date' channel.

A 'course date' can then be categorised by location.

So when searching I want to return 'courses' where our child 'course date' location category is X.

Is this possible, and what is the best way to achieve it?


texts: using stash variable with same name like EE var

texts:
loping through channel entries tag, I can use {title} for the title of the article.

inside the channel entries loop for the specific article,  I use an EE partial with get list inside. Inside the list I have a stash var called "title".

{stash:title}{title}{/stash:title}

While using the EE partial, {title} always prints the title of the actual channel entry. While using it not as EE partial, but as an EE embed, the var {title} is choosen from the stash list.

code:

//stash embed which creates the list with related entries
{exp:stash:embed:ech:stash_related_entries stash:entry_id="{entry_id}"}

{exp:channel:entries url_title="{segment:entry}" dynamic="off"}
   //display the detail article

   //show related article inside the body of the article
   {s_showRelatedEntries}

{/exp:channel:entries}

code EE partial:

    {exp:stash:parse process="end"}
        {exp:stash:get_list name="dataRelated"}
            {title}
            //HERE prints the title of the detail entry
        {/exp:stash:get_list}
    {/exp:stash:parse}


texts:
At first I had this particular problem where Assets' {url} tag was returning "http://", all the time for any file.

{page_gallery}

{/page_gallery}

Resulting in:

After hours of debugging, I've found that it's because that part of the template is wrapped in a {exp:member:custom_profile_data} where {url}actually means the user's URL.

I identified the problem, fine, but there is no way I can remove {exp:member:custom_profile_data} in this template. Is there any other way to access Assets' {url}? Namespace it someway?


texts: Is there a way to use Wygwam on the Forum module?

texts:
I am setting up an EE Forum for a client and would like to know if there is a way to change the default text entry field to a Wygwam field.

Thanks,

Forrest


texts: Is there a way to view stats broken per member group or individual member?


texts: Strange URLs appeared in Webmaster tools

texts:
Got a very weird issue with an old EE (1.7) site, not one i've seen before.

After a server migration, we started getting a number of odd URLs being reported in Webmaster tools, all throwing errors (301 mainly)

The URLs were structured differently, but nearly all contained a web or email custom field in there somewhere - something like this

category/post-type/www.url.com/P0/

I've absolutely no idea how these URLs are being generated or how they are being formed. Anyone got any ideas where I could start to look? Completely at a loss.

Cheers
Matt


texts: Displaying current and upcoming occurences with solspace calendar

texts:
I have a calendar with lots of different events. Some are single days, some span for months, others recur on specific dates, and some others recur on specific dates but also span several days.

How would I display the date of an occurrence while it is in progress, otherwise display the next occurrence?

This is what I have now:

{exp:calendar:occurrences
    event_id="{event_id}"
    date_range_start="today"
    date_range_end="+ 1 year"
    occurrences_limit="1"}

    {if '{occurrence_start_date format="%d/%m/%Y"}' == '{occurrence_end_date format="%d/%m/%Y"}'}
        {occurrence_start_date format="%d/%m/%Y"}
    {if:else}
        {occurrence_start_date format="%d/%m/%Y"} - {occurrence_end_date format="%d/%m/%Y"}
    {/if}
{/exp:calendar:occurrences}

This works most of the time, but breaks when there are recurring events spanning multiple days. For example, an event which recurs "every other weekend" will be displayed properly until Sunday, since the occurrence start date is Saturday.


texts: Control Panel shortcuts in ExpressionEngine 3

texts: In EE2, I could click the (+) icon in the top menu to add a shortcut button to the current page. These could be managed in my "Main Menu Manager" in my profile. This was really handy, but I cannot find a similar feature in EE3. Does such a feature exist out of the box, or are there any add-ons available to do this?


texts:
I've just run the updater from 2.5.5 to 2.9.0 and have gotten:

{"error":"
Error Number: 1054\n\n

Unknown column 'csrf_exempt' in 'field list'\n\n

UPDATE `exp_actions` SET `csrf_exempt` = 1 WHERE `class` = 'Search' AND `method` = 'do_search'\n\n

Filename: \/Daves's Sites\/site_name\/system\/expressionengine\/modules\/search\/upd.search.php\n\n

Line Number: 185"}

Anyone encountered this before?


texts: Can we do multiple sites with a single installation of ExpressionEngine?

texts:
We are a small Romanian company that loves ExpressionEngine. We are trying to build every client's website with EE. But it is very difficult to maintain and update.

Is there any way to install it somewhere ( on a domain ) and the sites just to take the "core" from that domain? ( including modules )

Example structure:

Site1 <------- CORE -------> Site 2
                |
                |
                |
             Site 3


texts:
I'm about to work on some basic SEO for my EE site. I'm trying to dynamically set the title, meta description, OpenGraph tags, and do XML Sitemaps. I've already started trying to dynamically set the title and meta description -- with a lot of if-conditions. It's starting to get ugly.

I've been looking at http://ee-garage.com/nsm-better-meta. Any comments about this addon? Are there other addons I should be looking at?


texts: Create list of users who made first purchase between two dates

texts:
I need to make a custom report of all customers who made their first purchase between 2 dates in expresso-store. I'm having aloof trouble working out the best way to achieve this.

Does anyone have any suggestions on how to achieve this?


texts: Responsive functionality for Calendar, does it exist?

texts: Has anyone integrated calendar into a responsive template?


texts: What is the best way to tag images for use in other channels?

texts:
Here is my scenario: I have over 1,000 untagged images that I need to be able to sort and search in order to use in my entries.

I am looking at tagger by DevDemon but then I can only look for one tag at a time in the "Content->Edit" page. (Unless I'm missing something).

What I'd like would be the ability to add multiple tags fairly easily (Or easy for me to make forms that will create/updates the entries). Plus the ability to then search for the images using more than one tag (so I want to look for images that are tagged with both "men" and "hard hat"). When I do that search, I'd like the results to show the image (or a thumbnail).

Do any of you know of anything out there that already does this? I will build it if I need to but just hate to reinvent the wheel.

thanks!


texts: How can I get Assets to regenerate S3 thumbnails after cache dir cleared?

texts:
Kicking the tires on the awesome Assets 2.02

When your system/expressionengine/cache directory is cleared, the thumbnails aren't regenerated for files that reside on S3 buckets.

The action calls the method view_thumbnail() which returns a broken image. It appears that when the thumbnail is not found, the script tries to resize a file that doesn't exist from system/expressionengine/cache/assets/s3_sources (this is where a thumbnail is created when the image is first uploaded).

The thumbnails are regenerated for normal filesystem images, so this is S3 specific.

Please supply a code patch if possible or a fix in the new version.


texts: Freeform - Errors - Can't Create New Fields or Submit Forms

texts:
I upgraded to EE v2.7 and am running into some issues with FreeForm. I am running the latest version of FreeForm v4.0.12

I can't add new fields in the CMS. Whenever I submit a new field form I am taken to the CMS home screen and the field isn't added.
I can't submit forms on the front-end website. I receive the error message 'You are not authorized to perform this action - Reason: Secure Forms Timeout'.


texts: Is there a way to retreive parent/child data from within the Playa 3 loops? I tried using {parent:title}, but that just prints that string.


texts: Representing relationships between members of an EE site?

texts:
Curious to know if there is a good / best way to capture relationships between members of an EE site - for example parents / children where both could be members of the same site?

I can see it would be possible to do this via a channel entry system - where you create a channel entry for each member and then use stock relationship fields to capture inter-member relationships, but this requires effectively duplicating the EE member data in a field - with lots of scope for messing things up (and involves considerable redundancy of effort).

But since you cannot add a relationship type field to a member in EE - so at the moment this seems the only way.

Thanks in advance for whatever thoughts / guidance is available.

For record - this is for a new build EE3 site (currently on 3.4.6).


texts: Create PDF from form data then email PDF

texts:
Has anyone come across a situation where the following process is required:

HTML form is completed on website
Form gets submitted
PDF of form details is created
Generated PDF is emailed to a specified admin email address

How did you go about it, what plugins (if any) did you use?

Thanks.


texts:
So I'm attempting to create a small plugin/module where I can log in a user with the need to have a password, login with Facebook basically (Yes, I know there is a plugin that does all this).

I was looking at this thread -> Can't programmatically log member in

Is all that I need to do to log a person in, is to call the create_new_session() function?

I can't seem to find any decent documentation on this. Any help or references would be appreciated.


texts:
this is the error page

I can see the backend (I mean the Expression Engine control panel works perfect) but the front (the web site show a 500 error).

I add this to the web.config

and now the 500 error turns to this:


texts: Gmaps using stashed lat/long not working

texts:
I've got a google map (gmaps addon) that I'm adding pins to via low search results. Unfortunately I cannot seem to get the lat/long to pass through to the tag.

My template is below. You can see a testing div which successfully outputs the lat/long as expected, but if I use the same code inside the parameter for gmaps nothing is output. However if I manually add in the lat/long the map works as expected.

I suspect that this is due to parse order but am unsure how to overcome this issue. This template is already in an embed so I really don't want to have a nested embed.

{exp:low_search:results query="{segment_3}" limit="1" dynamic="no" disable="member_data|comments|pagination"}

    {if low_search_no_results}

no search results

    {/if}

    {exp:stash:set name="address" parse_tags="yes" type="snippet"}
            {!--
            // stash markers to use in google map
            --}

            {if "{trip_map:marker:latlng}" !=""}
                {trip_map:marker:latlng}|
            {if:else}
                {map_points_original_site}
                    {map_points_original_site:point_location_latlng}{map_points_original_site:point_location}|
                {/map_points_original_site}
            {/if}
    {/exp:stash:set}

    {!-- here for testing only--}

-- title: {title} --

        stash: {exp:stash:get name='address' type='snippet'}

    {!--end testing--}

{/exp:low_search:results}

    {exp:gmaps:geocoding width="100%" marker="yes" width="100%" height="750px" map_type="terrain" zoom_control_position="LEFT_BOTTOM" zoom="8" latlng="{exp:stash:get name='address' type='snippet'}"}

    {/exp:gmaps:geocoding}

UPDATE

The testing div output is here:

  stash:
  39.008498,-106.243825|39.043544,-106.263701|38.9228982,-106.1695513|39.004257,-106.24123|


texts:
I'd like to show a listing of Playa child entries (child's title + a few custom fields), ordered by their total_parents (total number of parent entries associated with the child entry).  The child entry with the most parents would be at the top of the list; the child entry with the fewest parents would be at the bottom.

I've looked through the Playa docs, EE StackExchange, and old P&T support site at Get Satisfaction. But I've had no luck so far.  I suspect I've overlooked something obvious, or am off track in thinking about the problem.

I would really appreciate suggestions on how you would approach this issue.  Thanks!


texts: Using Stash pagination links and need cleaner URL's

texts:
Using the pagination feature in stash something like this:

{exp:stash:get_list
    name="sv_blogs_post_list"
    parse_tags="yes"
    parse_conditionals="yes"
    process="end"
    prefix="st_pre"
    limit="{stash:list_limit}"
    paginate="bottom"
}

    {!-- THE PAGINATION --}
    {st_pre:paginate}
        {pagination_links}
            {previous_page}Previous Post{/previous_page}
            {next_page}Next Post{/next_page}
        {/pagination_links}
    {/st_pre:paginate}

{/exp:stash:get_list}

The problem is that the URL stays with the {url_title} of whatever the initial blog post read was. Is there a way to use the next and previous to actually link to the true link?

* UPDATE *

I decided to use the {exp:channel:next_entry} and {exp:channel:prev_entry} per a suggestion from @croxton. Now I have this:

{exp:channel:prev_entry
    url_title="{segment_2}"
    channel="blog_post"
}
    Previous Post{/exp:channel:prev_entry}
{exp:channel:next_entry
    url_title="{segment_2}"
    channel="blog_post"
}
    Next Post
{/exp:channel:next_entry}

NOW the issue is stash keeping the same variables on the page when it directs to the new link...

Current Page:
http://my-site.com/blog/article-3

Previous Link:
http://my-site.com/blog/article-2/

Next Link:
http://my-site.com/blog/article-4

That is working great... However, the page content is keeping the stashed values for elements like
{st_pre:sv_bp_title}
.

That sits inside my {exp:stash:get_list} which is set like this:

{exp:stash:get_list
    name="sv_blogs_post_list"
    parse_tags="yes"
    parse_conditionals="yes"
    process="end"
    prefix="st_pre"
    limit="{stash:list_limit}"
    paginate="bottom"
}

All of those are being set in a data template like this:

    {exp:stash:set_list name="sv_blogs_post_list" parse_tags="yes" parse_depth="2"}
        {exp:channel:entries
            channel="{stash:channel}"
            dynamic="{stash:dynamic}"
            orderby="{stash:order_by}"
            status="{stash:status}"
            limit="{stash:limit}"
            paginate="{stash:paginate}"
        }
            {stash:sv_bp_entry_id}{entry_id}{/stash:sv_bp_entry_id}
            {stash:sv_bp_entry_date}{entry_date format="%m.%d.%Y"}{/stash:sv_bp_entry_date}
            {stash:sv_bp_relative_time}{relative_date}{/stash:sv_bp_relative_time}
            {stash:sv_bp_author}{author}{/stash:sv_bp_author}
            {stash:sv_bp_screen_name}{screen_name}{/stash:sv_bp_screen_name}
            {stash:sv_bp_title}{title}{/stash:sv_bp_title}
            {stash:sv_bp_url_title}{url_title}{/stash:sv_bp_url_title}
            {stash:sv_bp_url_title_path}{url_title_path='blog'}{/stash:sv_bp_url_title_path}
            {stash:sv_bp_blog_copy}{blog_copy}{/stash:sv_bp_blog_copy}
            {exp:stash:set_list:nested name="sv_bp_header_images_{entry_id}" parse_tags="yes"}
                {header_image}
                    {stash:sv_bp_header_image}{image:url:slider}{/stash:sv_bp_header_image}
                    {stash:sv_bp_header_image_original}{image:url}{/stash:sv_bp_header_image_original}
                    {stash:sv_bp_header_image_title}{image:title}{/stash:sv_bp_header_image_title}
                {/header_image}
            {/exp:stash:set_list:nested}
        {/exp:channel:entries}
    {/exp:stash:set_list}

Am I missing a tag in my set or get for stash???


texts:
I'd like to use a template variable {product_minimum_order_value} in a product model. Channel fields are accessible in template code using {django_syntax}, however I would like to use them in the models without sending them as form data.

Is Expression Engine able to do this without relying on the horrific mess of an alternative I've posted below:

SELECT title, field_id_118
AS 'product_minimum_order_value'
FROM exp_channel_titles t
INNER JOIN exp_channel_data d
ON d.entry_id = t.entry_id
WHERE d.entry_id = 82;`


texts: FreeForm and EE 3 missing language file/unable to load the requested language file

texts:
3.2.1 fresh install and Freeform 5.01 whenever I try and submit a form it produces the error

Unable to load the requested language file: language/english/email_lang.php

This is the first site I have tried with EE3 but have built many with EE 2. I am not familiar with the 3.x directory structure so I went searching and there are several directories with a language folder and none of them seem to have the required file. I double checked that things aren't missing from the original install.

The error appears when the form is submitted. The data does find its way into freeform though.

Any ideas?


texts: Do unused custom fields affect performance?

texts: If there are custom fields that are not used e.g., optional, in all entries, does this in any way affect performance? I am considering implementing a somewhat monolithic custom fieldset to be associated with various channels.


texts: Safecracker prefixing directory name to uploaded file

texts:
Has anyone had an instance like this?

I have a Matrix field which contains a Safecracker File upload field.

When I upload a file via this (in the regular control panel) the file uploads but the name has the directory prepended to it.

Say the file was called "my_document.pdf" and was uploaded to a directory named "documents" would be called "documentsmy_document.pdf".

EDIT: I have actually "fixed" this now but I don't know if my fix will cause problems further down the line.

Looking at ft.safecracker_file.php I figured that save method was to blame. Towards the end there is a ternary conditional that prefixes the upload directory name to the file. I've changed that line so it doesn't.

Changing:
    $output = ($data && isset($this->settings['safecracker_upload_dir']) && $data !== 'NULL') ? '{filedir_'.$this->settings['safecracker_upload_dir'].'}'.$data : '';

To:
    $output = ($data && isset($this->settings['safecracker_upload_dir']) && $data !== 'NULL') ? $data : '';

Has 'solved' the issue for me but I'm unsure as to whether this was an intentional thing to avoid clashes of filenames that are in different directories - I can't really see how that could happen though. It all seems a bit odd.


texts: Where can I set the title of my module's layout tab(s)?

texts:
I've got a custom module, with a layout tab, with several fields in it, and that all works fine.
The title of the tab, however, is the lower case module name, and I don't seem to be able to change that.

I've got a lang.*.php file in my language/english directory, and a matching lower case module name field (as in the download module example - which gets its tab title from the eponymous 'download' key in the lang file).

Any ideas?


texts:
I'm having a little bit of difficulty trying to sort a search result set returned by Low Search

The user has the option to enter keyword(s) as well as choose many search parameters, but result sorting options are not provided on search form page. On the results page there's a select list at the top to choose from various sorting options.

{exp:low_search:form form_id="searchResultsSort" query="{segment_3}" result_page="/the-register/new-results"}

  Sort by <select id="searchResultsSortSelect" name="orderby_sort">
    <option value="">Relevance</option>
    <option value="company_computed_rating|desc">Rating</option>
    <option value="company_date_registered|asc">Length of membership</option>
    <option value="company_membership_package|desc">Package level</option>
  </select>

{/exp:low_search:form}

The problem is that the keyword(s) don't seem to be submitted since the result of this sorting is a longer result set and the Search Log shows no keywords.

Any thoughts?


texts: I'm experiencing an issue with the module access privileges section on the member groups settings page for a few of my member groups. The issue is several of my groups have "No Modules with Control Panel Access Installed" under the Module Access Privileges section and some of my groups list all my modules and provide yes or no access controls. I'm wanting to grant access to the RSVP module to another member group. In the past I just simply clicked 'yes' next to this module under the module access privileges and everything was fine. So I guess in short how do I enable the list of modules to be displayed for a member group that's currently displaying "No Modules with Control Panel Access Installed"? Any tips or suggestions for resolving this would be greatly appreciated, Thanks!


texts: Pass variables through playa loop to use in an embed?

texts:
Currently I have a a channel page entry that then goes through a playa of secondary entries.
I'd like to pass some of the parent's data like page title and description to the embdeds.

My code looks similar to this:

{exp:channel:entries}
    {exp:playa:children field="content"}
            {embed="some_widget" entry_id="{entry_id}" variable="{title}" description="{description}"}
    {/exp:playa:children}
{/exp:channel:entries}

I'd like to pass my embed:

{exp:channel:entries entry_id="{embed:entry_id}"  title="{title}" description="{description}"}
    <!--test-->
    {title}
    <br>
    {description}
{/exp:channel:entries}

Right now, it does embed the widget. But none of the information is passed along.


texts: How to allow access to Assets File Manager but no other modules

texts:
I want a member group of "Editors" to be able to use the Assets file manager directly but can't find a permissions combination that allows access to only Assets.
You have to give them access to Modules and even if you only give them Module Access Privileges to Assets they can still see and uninstall other modules.

I don't know if there is something Assets could do that would allow a top menu button to be added and allow access to the Assets File Manager and no other modules or if it's an ExpressionEngine core function that needs to allow it.

I'm using the RogEE addon (Show Me My Assets!) to hijack some of the links to the native EE File Manager but it doesn't override the file manager link from the File upload preferences and sync pages and I can't see how to hide the links to File upload and Watermark preferences from the Content drop down menu.


texts: Playa inside matrix dynamically reload singles select list in safecracker form

texts:
I'm using playa inside a matrix form in safecracker to add ingredients into my recipe list. If the ingredient isn't listed as an entry already, I've added a modal window that allows you to add a new ingredient listing. When the modal closes, I would like the playa field to refresh so that the new ingredient is displayed.

However, I'm having no such luck. It appears that playa has a dynamic element to it with the search function. It also appears that when I modify the html on scrollpane in firebug, I can only add a new item 'if' I have added it already using my modal. I was wondering whether there was a simpler function or callback I can use to refresh the whole list when my modal closes.


texts: Expresso Store: products listing with prices (in modifiers)

texts:
I have a product listing page which displays product title and product image as well product price. Part of the code related to product price looks like:

{if status == "retail"}
    {exp:store:product entry_id="{entry_id}" disable_form="yes"}
        {price}
        {if total_stock == 0}
Sold Out{/if}
    {/exp:store:product}
{/if}

and it works for product without modifiers.

My question is how can I display product price which is stored as modifiers as product price range, something like $200-$400 (lowers - highest price)? I have try to use price_inc_mod within {modifier_options} and store all prices as an array, but somehow that last step wasn't working for me.

Thanks


texts: Alternative channel:entries Depending on First Result Set

texts:
I have two channels: products and promos. I need to display either one or the other on my homepage. If I find a promo, I display that one and not the the product. If I don't find a promo, I display the product.

I have Stash installed. I'm thinking I try for the promo. If I find it, I set a Stash variable called promo_found to TRUE; otherwise its FALSE. Then I can test for promo_found == FALSE, and do the products channel:entries call.

Would this work? (I don't have much/any experience with Stash.) Is there a better pattern to use?

Thanks for your help.


texts:
I'm looking to put in place a more efficient license management process. I usually buy all EE and EE addon licenses for clients and have no process in place for managing them other than assigning the domain name to the purchase using the EE and Devotee notes fields.

What is your process for managing client licenses?


texts:
Get the following error when clicking on Add-Ons/Fieldtypes/Matrix. Can anyone help? Thanks.

A Database Error Occurred
Error Number: 1060

Duplicate column name 'var_id'

ALTER TABLE exp_matrix_cols ADD var_id INT(6) UNSIGNED AFTER field_id, ADD INDEX (var_id)

Filename: third_party/matrix/ft.matrix.php

Line Number: 467

Update

Updated EE to 2.6.1 and updated all Add-ons I have installed (left Matrix for last). Tried updating Matrix to 2.5.5 and now get the following error when trying to edit any entry:

A Database Error Occurred
Error Number: 1054

Unknown column 'is_draft' in 'where clause'

SELECT row_id, col_id_21, col_id_22, col_id_28 FROM exp_matrix_data WHERE field_id = 55 AND entry_id = 75 AND is_draft = 0 ORDER BY row_order ASC

Filename: third_party/matrix/ft.matrix.php

Line Number: 2912

Note

Matrix 2.4.3 is working except that I can't add license key or update.


texts: Any reason not to sync templates to database?

texts:
I have a site with a lot of templates. Some are edited right from the control panel, but some are edited from ftp by "save as file". I like to keep a bit of revision history, so that if I accidentally delete something in a template, I can easily restore it.

Often I'll work on a template remotely, and then when I'm done what I'm working on, go find it in the CP, and update it, so that it syncs with the database, and also so that it saves a revision.

Just recently I came across Design > Templates > Synchronize templates. That page shows that some of my templates are up-to-date, but some are not. Is there any reason that it would be harmful to just select "sync all"? I can't think of why there would be, but then why doesn't it just sync automatically when you save the template remotely.

Also, I'm assuming that syncing a template from that page doesn't add it to the revision history, correct?


texts: Pass a Hidden Field Variable to Order Notification Email

texts: I have a site that needs to have the Expresso Store order emails go to one of two locations.  What we will do is when the site is launched there will be a choice of store A or B.  Both are the same store but they have two locations for the sale centers. Once selected, wee want to collect a hidden variable or session variable that will allow us to control what email address is used for the order notification.  Is this possible and how can we do it?


texts: Is it possible to update the SKU for products in Expresso Store? Is there something I am missing? Inputting a new value and hitting submit on an entry isn’t saving the new value… HALP!


texts: Displaying Category Type in Search Results Tag Pair

texts:
How do you output category info within the:

  {exp:search:search_results}

tag pair?

In my case I want to display the category name.


texts: ExpressionEngine & Expresso - How to check if product was added to cart after return

texts:
I am using Expresso with ExpressionEngine.  I was wondering if there is a way to know what product was just added to the cart on return after the product is successfully added to the cart?  I could add the {entry_id} to the end of the return parameter but was hoping there was a cleaner way of doing this.

What I am looking to do is that after a product is added to the cart I want to display a modal window with some related accessories to the product that was just added to the cart.

Ideas?


texts: Setting up class for current page with Tag -problem

texts:
I have a problem with design when using Solspace Tag that is: Some Word.
So, using this gets the right class for the submenu element:

Work

But this does not setup the class for LI-element:

Latest Projects

I have tried +, and with html entities, still no success.

Ideas how to make the class working on the situation that Tag is SOME WORD = 2 words?

Thanks.


texts:
I'm using Solspace's User add-on and I want to show a simple list of all registered members:

{exp:user:users group_id="5"}

    {screen_name}
    {email}
    {birthday}

{/exp:user:users}

However, the birthday just prints {birthday} as if the tag isn't recognized. The other two print just fine.

I have no clue as to what causes this. Anyone?


texts: Template that detect if an entry has "All Categories" and then if "Any Categories"

texts:
I have a series of entries in a channel called "Messages" that need to appear in different ways according to if ALL categories have been assigned, or if less than all have been assigned.

The most obvious (to me) does not seem to be working:

{exp:channel:entries channel="message" status="flex" orderby="date"  sort="desc"}
  {exp:channel:categories category_group="2"}
    {if category_id ==  (12 && 13 && 14 && 15)}
      All the categories have been checked for this entry
    {if:else}
      Otherwise
    {/if}
  {/exp:channel:categories}
{/exp:channel:entries}

I have also tried using the {exp:channel:entries} tag pair:

{exp:channel:entries channel="message" category="12&13&14&15" orderby="date"  sort="desc"}

This channel:entries approach works, but I don't know how to make the query say: "List the entries that do not have ALL FOUR categories checked". (In other words, if you simply do a second loop that filters "12||13||14||15" it will also catch the entries that have all four categories checked.

What is the best way to do this:

Show any entry with categories 12,13,14 and 15 ALL checked.
And then further down the page, show any entry that has ANY of, but NOT ALL of the categories 12,13, and 15 checked.

?


texts: Possible to have larger thumbnails in Channel Images entry screen?

texts:
I've gone through the Channel Images documentation, but didn't find this issue addressed. In the entry screen (in table form) the thumbnail of the images is quite small -- so small, that it's difficult to see which image is which when I'm working on the order of the images for a gallery. Switching to tile view doesn't work, because that gets rid of other editing options that I need.

It's true that clicking on a thumb in the table view of the entry screen brings up a large view of the image, but for workflow of determining an order of a bunch of images, it's not practical to have to constantly click open an image, then close the window, and back and forth.

Anyone know if it's possible to make the thumbs in the entry screen larger, like maybe the size they are in the tile view? If not currently, I think this would be a great enhancement and would really improve the user workflow.


texts: Is it possible to set a maximum order quantity with Exp:resso Store? The site I'm working on would like to offer free samples. Any help or direction would be greatly appreciated.


texts:
I'm trying to display the count/position of the entries i've selected in the Playa field, but can't seem to figure it out. For example in my Playa field I have...

Test Post
Another Test Post
Yet Another Test Post

But do each one of these posts have a count / position number in Playa? e.g.

1 - Test Post
2 - Another Test Post
3 - Yet Another Test Post

But If I was to reorder them to:

Another Test Post
Test Post
Yet Another Test Post

The count should still count up...

1 - Another Test Post
2 - Test Post
3 - Yet Another Test Post

All I can seem to output is the count of the entry which always displays "1" or the entry_id.

My code is:

{exp:channel:entries channel="course" url_title="{segment_2}" dynamic="no"}
     {cf_course_content} {!-- Playa Field --}
          {count}
     {/cf_course_content}
{/exp:channel:entries}


texts:
We have the following on our results page:

{layout="site/.html-layout"}

{exp:low_search:results
query="{segment_2}"
require_query="yes"
limit="20"
paginate="bottom"
status="not closed"
disable="member_data|category_fields"
}

{if count == 1}

        {if get:collection}
            {if get:collection == "companies"}Company Directory / Company {/if}
            {if get:collection == "dictionary"}Dictionary / {/if}
        {/if}
        Search Results {if low_search_keywords} for &ldquo;{low_search_keywords}&rdquo;{/if} ({if absolute_results != 0}{absolute_results}{if:else}No{/if} result{if absolute_results != 1}s{/if})

{/if}

{sn_results_entry_summary}

{if count == total_results}

{/if}

{paginate}
{pagination_links}

      {first_page}

&laquo;

      {/first_page}
      {previous_page}

&lsaquo;

      {/previous_page}
      {page}

{pagination_page_number}

      {/page}
      {next_page}

&rsaquo;

      {/next_page}
      {last_page}

&raquo;

      {/last_page}

  {/pagination_links}
{/paginate}

{if low_search_no_results}

Search Results {if low_search_keywords} for &ldquo;  {low_search_keywords}&rdquo;{/if} (No results)

Sorry, there are currently no search results{if low_search_keywords} for &ldquo;{low_search_keywords}&rdquo;{/if}.

{/if}

{/exp:low_search:results}

This works fine on the first page, and we get the correct results, with an example URL of :

http://example.com/search/results/?collection=articles|case-studies|guides|products|videos|white-papers|dictionary|companies&keywords=test

When we click a pagination link, we get this URL :

http://example.comsearch/results/P20

Which returns no results.

Oddly on another site, with 90% the same code and no differences in results tags it works as we would expect.

We are running ExpressionEngine v2.8.1 - Build Date: 20140314 and LOW Search 3.1.5

--- EDIT ---

We've also tried revising the code so that:

The pagination href changes to: {pagination_url}{current_query_string}

Then a url such as http://example.com/search/results?collection=case-studies|guides|&keywords=test

becomes this when a pagination link clicked: http://example.com//search/results/P2collection=case-studies%7Cguides%7C&keywords=test

Which again fails.