texts:
We are generating an XML file everyday detailing the cartthrob orders for the day. The format of this XML is awkward as it needs to repeat certain content at different points as well as a host of conditionals.

I chose stash to record all the orders, stash the main content along with a couple of nested items for cart variations and all works well until we hit upwards of 50 orders.

The server is set to 256MB and now we're getting Server Gone Away Error: 2006. The client has noted that max_allowed_packet=8M and the entire database is only 4M - so this error could be a false negative ?

Upping the ram suppressed that previous error now we're getting server 500 errors.

I have NFI on how to proceed or what to address. The template is as skinny as I can make it. I tried swapping some initial capture tags with {exp:query} and savings were minimal.

This is the basic concept of the XML template that works fine until 50+ orders are being recorded:

{stash:set_list} //set the list
{exp:channel:entries disable="categories|etc"} //query the orders channel
  {stash:first_name} //stash the content
  {stash:lastname}
  {stash:nested_list}
    {order_items} //Grab ordered variations stored in CartThrob matrix
      {stash:qty}
      {stash:color}
      {stash:price}
    {/order_items}
  {/stash:nested}
{/exp:channel:entries}
{/exp:stash:set_list}

Then we build the XML
<xml>
{exp:stash:get_list} //set above, repeat for each order
<customer>
{first_name}
{last_name}
<order_items>
{stash:get_list:nested} //grab the ordered items
  {qty}
  {price}
  {etc…}
{/stash:get_list:nested}
</order_items>
<somepreviousitem>{first_name}</somepreviousitem>
</customer>
{/exp:stash:get_list}
</xml>

Simplistically what can I try to improve this situation? Is there a way to set a batch of sorts ?

Output profiler doesn't help the XML is a template and the extra code breaks the output. Tried BiopsEE but server is running PHP 5.2.17 and required 5.3 - cant change it.


texts: Channel entry detail on the same page with {exp:channel:entries} list

texts:
I want to achieve similar result like this page:
http://www.zillow.com/homes/for_sale/Newark-NJ/12970_rid/40.749598,-74.169281,40.7296,-74.200952_rect/14_zm/1_fr/

Simply without the bells and whistles, let's say I wanna list the entries on the page using {exp:channel:entries channel="news" limit="10"} and then when visitor clicks on an entry on the list, I want to show the details of the selected entry on a slide panel on the same page using jquery. How can I achieve this? Any idea?


texts: Template that iterates through channel entries and outputs categories that are selected for each entry

texts:
I've found it perfectly possible to output a list of all of the categories for a channel, or a list of all of the categories that are not empty for a channel. But when I am iterating through the different posts of a channel, how can I output for each post only the categories that are checked for that specific channel entry?

I've read through the documentation pretty thoroughly, http://ellislab.com/expressionengine/user-guide/modules/channel/categories.html, and I can't seem to find a way to make it work.

I'm trying to spit this information out as JSON... to put it into context, below is what I have as a base. Ideally I would like to nest an array in my associative array that contains all of the categories for that channel entry.

<?php

  $entries = array();

  {exp:channel:entries channel="my_channel_entries" dynamic="yes"}
    $entries[] = array(
      'name' => '{entry_name}',
      'description' => '{description}'
    );
  {/exp:channel:entries}

  header('Content-type: application/json');
  echo json_encode($entries, JSON_PRETTY_PRINT);
  exit;

?>

Any help/creative problem solving that you all can offer will be greatly appreciated! Let me know if I can provide any more details to help you, help me.


texts: Searching channel entries using playa field

texts:
Im trying to send off the following channel entries request.

{exp:channel:entries channel="products" orderby="title" sort="asc" search:crops="{segment_3}"}
{/exp:channel:entries}

The crops field is a Playa field. If i use {crops} tag in my template, i get entry_id(s), rather than the url_title or title.

Shouldn't search:crops try to match both entry_id and url_title?

If not, is there a way of getting {entry_id} from {url_title} if I know it is equal to {segment_3}, so that i call:

{exp:channel:entries channel="products" orderby="title" sort="asc" search:crops="{segment_3_entry_id}"}
{/exp:channel:entries}

Is there anything else I should be doing? Any help would be greatly appreciated!!


texts: I added a comma, and my site went down. I was only recently granted an admin account, and am wondering if this could be related to my log-in permissions?


texts:
Im basicly wondering if the following is possible and what addons i should use.

Im planning to develop a site with around 10.000 users, im planning to use Zoo Vistor and import the user by datagrab.

Each user can sign up for some kind of workshop. The user can get 3 kind of status (or group)
- Signed up
- Signed off
- Default status

If i import the user i want to sent all user an email with their logindetails(or a setup for their password / reset password), this email needs to be personalised(containign username and some member fields).

Other than that i should be able to email each group(combine EE communcation module with Zoo?)  a personalised mail containing a message  like "Hello User, you haven't signed up yet, please sign up here".

Can someone advise me by using what modules  / ee setup?


texts:
I'm having an issue trying to display cart_total on a CartThrob cart overview template.

I have several items in the cart.

Both of the following display $0.00 for a total:

{exp:cartthrob:cart_items_info}
  {cart_total}
{/exp:cartthrob:cart_items_info}

{exp:cartthrob:cart_total}

Yet cart subtotal works just fine:

{exp:cartthrob:cart_subtotal}

Other tags for displaying shipping totals, taxes, etc are also working.

Scratching my head a bit, or maybe I'm just missing something obvious.

Thank you in advance for any suggestions or solutions.


texts: Members not logged in after submitting the login form on front-end

texts:
I have the following issue:

I have a simple login form on a simple template with some content wrapped in {if logged_in} conditional. I submit the login form, get the "Thank you, you are logged in" message, get redirected back to the template and still see the content in the {if logged_out} conditional i.e. the login form, and the {member_id} is 0.

A previous dev may have done something to prevent spam member registrations and I am trying to figure out what and where and how to fix.

Any insight or anything that would point me in the right direction would be much appreciated.

Thanks!


texts:
Weird one, front end showing duplicates of assets but only sometimes on some entries and always disappears after saving the entry.

It appears to be random, that is to say with 300+ products we only notice it when we visit the page it occurs on.

Here's the asset field in the CP

Here's the front End (Code view shows it's properly there)

Save the entry and this is the front end after refresh

I have stash in play here and thought it might be a cache issue, so I forced the cache {exp:stash:flush_cache} to no avail.

Using EE2.5.5 with Assets 2.03 + Stash 2.3.6

Here's a snippet of the code in use:

{exp:stash:set parse_tags="yes" trim="yes" parse_conditionals="yes" no_results_prefix="my_prefix"}
{exp:channel:entries channel="{stash:TheChan}" url_title="{segment_3}" require_entry="yes"}
{stash:symbols}
        {{stash:prefix}_symbols}

        {/{stash:prefix}_symbols}
    {/stash:symbols}
… a whole heap of captured 'stashes'
{/exp:channel:entries}
{/exp:stash:set}

I've searched P&T and whilst this phenomena is not unheard of, it was apparently sorted back in assets 1.4

UPDATED/SIMPLIFIED TEMPLATE

{exp:channel:entries channel="filler-metals" url_title="{segment_3}" require_entry="yes"}

            {fm_symbols}

            {/fm_symbols}

{/exp:channel:entries}


texts: Allow cropping of image for one usage while retaining original image?

texts:
Some of the images on my site will be used in multiple sizes and aspect ratios. I would like for the client to only have to upload one version of each image (the original size) and have the site automatically size and crop the images according to the location requirements. However, one of the aspect ratios is a very wide and short image (let's call it a "banner"). I am able to get CE Image to display the image in the proper dimensions, but it crops off the bottom and top of the image and saves a strip from the middle. Most of the time that's just fine, but some of the images don't lend themselves well to that particular cropping (subject matter is off-center). Right now, I got around this by adding an additional file field for the client to crop the image manually and then upload it for the page banner. Is there a way instead to do this with only one image being uploaded but allowing the client to specify the region of the image to use for the page banner? Something like jCrop? Is there an add-on that with this feature?

I am using Assets and CE Image.

Thanks!
Amy


texts: Is there an ExpressionEngine current gold price plugin/module?

texts:
Client is looking to have a current gold price on their website, looking to see if there is a EE plugin or would anyone recommend a third party plugin?

Something just like on this websites header: http://polyus.com/en/


texts:
I know we can output 'keywords' as search parameters on the search result page. But we perform only search in custom fields (by means of checkboxes on search page) and I wonder how to output even those values on the result page to help the visitors.
Many thanks for looking at this.

EDIT

2015/02/17

Thanks to the help from Low I finally got it.
(Why not earlier, my search was in checkboxes (channel 'work' field 'material') based on values in channel 'material' field 'material_content'. In my search result I mixed the two up. Hence no results showed. The same form searched also in two categories, that I got working after reading again the manual and Low's answer.

Working code:

    {exp:low_search:results
  query="{segment_2}"
  status="not closed"
  disable="member_data|category_fields"
  require_all="material"
}
{if count == 1}

      Resultat för {material} och {exp:channel:categories show="{low_search_category}" style="linear"}
   {category_name}
{/exp:channel:categories}

      Antal resultat: {absolute_results}

  {/if}

{/exp:low_search:results}

My thanks is big, very big.


texts: Error when posting: using Cartthrob Permissions cannot locate cartthrob_field_model

texts:
When I add the cart throb permissions fieldftype to a channel and try and post I get the error: Unable to locate the model you have specified: cartthrob_field_model

Cart throb is up to date ver 2.4 and CT permissions ver 2.3.3

Can anyone shed some light on where that error is coming from?


texts: Zoo Visitor Email Retreive Issue into input form field

texts:
The issue I seem to be having is that I have a member template set up with form fields and 2 of the fields seem to be buggy. For the most part all the fields submit to the admin but the issue is when I try to edit the form on the site after logging in, I get errors displayed in the email area (span data-eeEncEmail_sPFGNXeWik=)(JavaScript must be enabled to view this email address)'/> and the Web Address area.

The template code for those fields looks like this
{exp:zoo_visitor:update_form
        include_assets="yes"
        return="/employee-portal"
        }

            {exp:zoo_visitor:details}
            Edit profile

            {label:member_email_address}
            <input type="text" name="member_email_address" id="member_email_address" value='{if visitor:email_address}{visitor:email_address}{/if}'/>

            {label:member_website}
            <input type="text" name="member_website" id="member_website" value="{if visitor:website}{visitor:website}{/if}"/>

Not sure why this is displaying in the form?


texts: Is it possible to throw a 404 when pagination URL goes beyond the number of entries?

texts: For example with a limit of 10 and a total number of entries of 18, page 1 (/foo/bar) should return 10 entries, page 2 (/foo/bar/P10) would receive 8, any other page (foo/bar/P20) should throw a 404.


texts: lang parameter in Low Events with Publisher

texts:
What does Low Events expect as a value for the lang parameter?

I've been trying to pass Publisher's {publisher:current_language_id}, {publisher:current_language_code} and {publisher:current_language_prefix}, but the dates will not get translated.
I even tried hardcoding lang="2", but it won't get the english translation.

{exp:low_events:entries
channel="channel" limit="3"
lang="{publisher:current_language_id}"
show_passed="yes"
show_upcoming="yes" unit="custom"
date_from="-1 year"
date_to="+1 year"
}


texts: Search not finding Entries of certain status on an iphone

texts:
I'm using Simple Search with the following code.

{exp:search:simple_form channel="product" search_in="everywhere" status="open|sold|On Hold" result_page="/search" form_class="form-search pull-right"}

It works as expected except on an iPhone. On an iphone, if the product being searched has a status of "sold" I get a no results page. This behavior is only on iPhones. Tablets, iPads, laptops and desktops all work for "open", "sold" and "on hold" products. On an iphone searches work for "open" and "on hold" itemsS


texts:
I have a php file that generates an image based on some parameters. But it doesn't seem like CE Image knows how to handle that.

The URL looks something like this: myimg.php?id=165

It's being served as an image: header('Content-Type: image/jpeg');

When viewing it in the browser it shows the image like it's supposed to. It also works with the <img>-tag, so there's nothing wrong with the image.


texts: Add-on to auto-populate latitude/longitude fields based on user-entered location?

texts:
I'm using leaflet.js to create a map page displaying events with descriptive map pins based on location. The javascript initialization for each pin looks like the following:

L.marker([41.8781136, -87.62979819999998], {icon: mainIcon}).addTo(map)

I'm then binding a pop-up to each pin with text to describe the relevant event. Thus, I'm wondering if there is an EE add-on that would, ideally, auto-populate fields for latitude and longitude when a user enters a city and state-- such as San Francisco, CA-- from which I can then pull the info with EE channel fields via in the following manner:

L.marker([{lat}, {lon}], {icon: mainIcon}).addTo(map)

This is all the functionality I would need-- is there a simple add-on out there that would make this possible? Thanks for any guidance here.


texts: Wrap label tags around Checkboxes and Radio buttons

texts:
Is there a way to wrap label tags around radio and checkbox buttons. I am trying to use bootstrap inline form to make it look better but I can't find a good way to handle it.

{freeform:field:field_1 backspace="2" wrapper_open=""
wrapper_close=""
row_wrapper_open=""
row_wrapper_close="
input_wrapper_close=""
label_wrapper_open="<label class='radio-inline'>"
label_wrapper_close="</label>"}

The above code is an example of some of the ways I tried to handle this. but this gives me a clickable label tag that doesn't select anything.

<label>
    <input type="radio" name="field_1"> Field 1
</label>

Is the result I would like.


texts: Datagrab Issue: Moved to new server and the library has stopped working

texts:
Hi all I have been working with the ExpressionEngine Datagrab library by Andrew Weaver for a while now. The library was working perfectly on our first server but then a client purchased a new server and since moving to a new server and domain. Having moved to the new server with the exact same configuration and codebase the library has stopped working. I have been tearing my hair out looking for solutions. I've done some digging and found that the code seems to break down to a certain extent at its do_import() function at this line: while( $item = $datatype->next() ) {

The reason seems to be that the ->next() property is not accessible. I have tried using print_r() on $datatype and it prints out a tonne of information, however using print_r() on $datatype->next() no info is printed out.

Obviously as it is a paid library I can not post the entire code for the project but I am becoming desparate at this point to find a solution as my deadline is right around the corner.

I have gone as far as to uninstall and reinstall Datagrab but the issue persists. It's important that I stress that nothing else has stopped working on the new server, just this library and the exact same codebase is still fully functional on the old server.

THe PHP versions are the same on both servers also so it shouldn't be anything to do with that. THe only other issue which I had considered to be potentially problematic is that the new site is running from a subdomain at the client's request.

Any input is greatly appreciated!


texts: If statements using OR and Matrix fields

texts:
I have a Matrix field that includes three options. The aim is to output a <select> element if one or more of these options is selected. (These fields are Pixel & Tonic Field Pack checkboxes.)

This syntax used to work:

{if "{gold}" OR "{silver}" OR "{wood}"}
    <input type="hidden" name="on0" value="Frame Type">
    <select name="os0">
        {if gold}<option value="Gold">Gold Frame</option>{/if}
        {if silver}<option value="Silver">Silver Frame</option>{/if}
        {if wood}<option value="Rosewood">Rosewood Frame</option>{/if}
    </select>
{/if}

Now that I've upgraded to EE 2.8.1 (from a much earlier version—E 2.2) the code isn't working and I'm getting the following error:

A PHP Error was encountered
Severity: User Warning
Message: Invalid EE Conditional Variable: {if ""y"}
Filename: libraries/Functions.php
Line Number: 2640

I've tried all sorts of syntax combinations, such as removing the quotes and braces etc. The only solution I could find was pretty inefficient:

{if gold}
    <input type="hidden" name="on0" value="Frame Type">
    <select name="os0">
        {if gold}<option value="Gold">Gold Frame</option>{/if}
        {if silver}<option value="Silver">Silver Frame</option>{/if}
        {if wood}<option value="Rosewood">Rosewood Frame</option>{/if}
    </select>
{if:elseif silver}
    <input type="hidden" name="on0" value="Frame Type">
    <select name="os0">
        {if gold}<option value="Gold">Gold Frame</option>{/if}
        {if silver}<option value="Silver">Silver Frame</option>{/if}
        {if wood}<option value="Rosewood">Rosewood Frame</option>{/if}
    </select>
{if:elseif wood}
    <input type="hidden" name="on0" value="Frame Type">
    <select name="os0">
        {if gold}<option value="Gold">Gold Frame</option>{/if}
        {if silver}<option value="Silver">Silver Frame</option>{/if}
        {if wood}<option value="Rosewood">Rosewood Frame</option>{/if}
    </select>
{if:else}&nbsp;
{/if}

At least it works, but it's pretty darned ugly and inefficient. I had to put that ugly if:else at the end, too, as each of the options is optional, so to speak.

Can anyone suggest a better way to construct this?


texts: In EE2 I made an event calendar with Low Events. That fieldtype was super useful. But now EE5 comes with a "Date" fieldtype that might just be fine, by the looks of it. Would this be a good practice in making an event calendar, or is there an addon out there that is really useful for an event calendar?


texts: Show only (Low Search) shortcuts from logged in user

texts:
I am new to Low search, and happy I got shortcuts working.
My site is a member site, with memberdata in  a channel (Profile-edit) I want to show only shortcuts to the user that creates them (when they were logged in). Is there a way to filter shortcuts so that users only see their own shortcuts?

(And my apologies if I missed this in the docs)
(edit: I mean shortcuts created in the frontend, not collections)


texts: Best combination for multilanguage ecommerce site?

texts:
I want to create a multilanguage ecommerce site.
I really like the multilanguage- approach mentioned here: http://eeinsider.com/articles/multi-language-solutions-for-expressionengine

I like the idea of not duplicating menu- structures and pages etc. The only problem is how to make an ecommerce add-on compatible with the approach mentioned above?

Is this even possible with ee (without creating the ecommerce add-on all by myself)?

And if so what is the best combination (which add-ons should I use)?


texts:
Is it possible to do something like the following (which doesn't work).

{if layout:contents}
    {layout:contents}
{if:else}
    404!
{/if}

thanks!

:: ed


texts: Field Editor 2 broken: Unable to load the requested file: field_row.php

texts:
I just purchased and installed Field Editor 2 on EE 2.10.1 and after going to edit a field group it takes seriously long to load and I get the error:

An Error Was Encountered
Unable to load the requested file: field_row.php

Is doesn't matter is the field group contains no fields, 2 fields, or 10 fields. It still throughs the error.

I have checks file permissions etc but all OK.

What could be wrong?


texts: How/where do I place commonly used functions across multiple plugins?

texts:
I have 2 or 3 custom plugins that I'm using on a project. In each file I have a number of 'helper' functions (is this the correct terminology?) that perform a task that might be required in a few of the functions within each plugin.

At the moment I have a copy of each helper function in each of the plugins. The code is the same and I realise this isn't the right way to go. My question is, where to put them and how to reference them from within each of these custom plugins?

Thanks in advance!

Jim


texts:
In EE3.3, I am currently running a news "latest" page where the most recent article is displayed big. While the following 9 articles are displayed in a smaller 2 column layout.

For ease I used two separate EE Entries tags, and used an Offset="1" parameter on the second. This works fine till I come to use pagination! Pagination does not take into account offset. Annoying, but I could understand why.

Apart from rebuilding using a single tag and loads of queries to identify first, last entries, and so forth, does anyone have any good ideas here?


texts: Use discount code field for Gift Certificate redemption in Cartthrob

texts:
I've heard there is a way to use the discount code field of a checkout form to accept gift certificate codes within Cartthrob.

Despite Googling I can't find any reference to this. Does anyone know if this is possible or does the gift certificate redemption require its own form?

This makes it difficult to use in the checkout as that is itself a form. Forms in forms are bad! I know this could be done with Ajax but it seems silly to have to do that when a simple field on the checkout form will do.


texts: Channel Images on EE 3.5 error uploading files - no detailed message given

texts:
EE 3.5.15
Channel Images 6.0.4
PHP 7.2.13

I'm experiencing a weird error with Channel Images addon, i am not more able to upload files in channels' existing items or new ones.
The file looks like is completely uploaded (it reachs 100%) and then an error occurrs:

  Server response was not as expected, probably a PHP error. OPEN ERROR

"Open error" doesn't really help because the ajax call already thrown a js error, inspecting it show that the response text is a full web page (the front page).

It looks like something similar to what happened in this post, but the given solutions (php memory and small files) are not helpful.

Trying to create new channel and a new channel_images field doesn't solve the issue.
The channel_images field definition shows that it fails to test location, loading the front page of the website inside the modal instead of the test results.

Many PHP 7 versions has been tested. The only thing that happened on the server are the PHP recompile occurred on december, and the hosting service stated that nothing changed.

Further details:

the website is on shared hosting
the native EE upload mechanism works
properly
double checked path and upload directory under Settings >
URL and Path Settings and field detail
caching driver is setted to
"file"
website is running PHP 7.2 and I am enough confindent all the
needed php extensions are loaded
the htaccess is the one from the EE manual

Do you have any hints where/what i can investigate?
Could the PHP recompilation be responsible?


texts: Is there a free tool for the Rich Text Editor to embed youtube videos?

texts:
I'd like to be able to allow clients to use the Rich Text Editor to paste the embed code from youtube or vimeo. Instructing them to use "View Code" then paste is going to be difficult!

Is this possible natively, and if not does a free tool for the RTE exist?


texts: Any recommendations for a multilingual feature/addon with RTL and LTR languages on EE4?

texts:
Is there a native functionality for additional languages in EE4 or should we go for an addon for a site with LTR and RTL languages?

Please share your experiences.


texts: Is there a way of capturing card payments to be able to process them manually afterwards?

texts:
If the server is set up PCIDSS Compliant and I want to store the card details to be processed using a conventional cart facility, is this possible?

I also need to be able to take direct debit info, can this also be done in some way, or in conjunction with another plugin like freeform etc?

Thanks
Guy


texts:
With a new install of EE2.10.3, and no Add-Ons installed, I'm getting two PHP errors:

A PHP Error was encountered
Severity: Warning
Message: ucwords() expects parameter 1 to be string, array given
Filename: cp/addons_accessories.php
Line Number: 422

A PHP Error was encountered
Severity: Warning
Message: Illegal offset type
Filename: cp/addons_accessories.php
Line Number: 422

The only Accessories listed on this page are EE Info, Learning EE, News and Stats, Quick Tips; the only one installed is EE Info.

I'm guessing that the addons will still work properly, but this is still annoying to see, and I'm not sure why it's happening. I've reinstalled EE to see if it might help, but, nope. I'm not seeing any other errors.

This is local run using XAMPP, if that makes any difference.

Thanks.


texts: Uninstalling add-ons Subscriptions causing DB error

texts:
I'm trying to uninstall two add-ons that we have no intention of using on the production version of this project (Store and Subscriptions). Unfortunately, every time I go to uninstall I get this message when I try to view the fields in a channel field group:

If I'm reading that right, it's telling me that the table for the add-on I just uninstalled doesn't exist. Um, duh?

Since the error seems to only occur when I try to view custom fields, I assumed it was because one of my fields was still set to the field type for this add-on (Subscriptions). I've double- and triple-checked (including looking at the database directly, in the exp_channel_fields table) and not a single custom field is set to use the Subscriptions field type. I also checked Matrix since we're using it quite a bit and none of the columns are set to use that field type.

Truly stuck. :/

EDIT: This is NOT limited to just the Subscriptions add-on. It also happens when trying to uninstall Expresso Store.


texts: Bypassing login system messages using Solspace User on EE3

texts:
I know that this has been asked a few times in the past but the solutions provided all worked for ExpressionEngine2. Now that I'm working on v3, I have a problem that I hope somebody could help me with.

I am using a standard login form using Solspace's User module. When you login or logout you are presented with a system message page explaining that you have logged in/out. I know these system message pages are customizable to an extent but what I'd really like is to bypass them completely.

Has anyone found a way to do this? It just adds an unnecessary step that I'd like to get rid of if possible.

Thanks


texts: Check if someone is already Editing an Entry

texts:
I want to check if another author is alredy editing an entry in expressionengine backend. If yes i want to warn him that someone is already editing.

Is this possible somehow? I googled but wasn't able to find what i am searching for.

Thanks.


texts: if:else not working with my matrix tag pair

texts:
Maybe I am a moron, but i just can't get this to work. Iv anyone can help me... please do so before i start hurting myself... :p
I'm working with EE 2.5.5 and Matrix 2.5.2.

I've got a channel called "events".
A matrix field assigned to "events" called "dates" (minimum rows = 0).
"Dates" has 3 colums, a date column called 'date', a text column called 'city' and a P&T Switch called 'confirmed'.

Each entry has either no date (=no row), one date oder multiple dates. Each  'date' can of course be „in the future“ or „in the past“ since past events don't get deleted.

I'm trying to put out a list of all entries in this channel and ONE date (if conditions are met).

If there is no date specified (=no row) in the matrix field: "no date specified"
If there ARE entries for dates:
case 1: in the future, i need the next upcoming date
case 2: all dates in the past, i need "no date specified" again

I have tried everything i can think of but it seems i am not able to use if:else  between my matrix tags...

My approach:
Getting entries with no date is easy.

{if dates}
   do something...
{if:else}
   no dates found
{/if}

So far, so good. But when i try to do

    {if dates}
       {dates search:date=">{current_time}" sort="asc" limit="1"}
          {if date}
             {date format="%d.%m.%Y"} <!-- outputs next upcoming date if there is one -->
          {if:else}
             no date specified <!-- THIS does not work. Should get triggered when there
ARE rows in "dates" but all "date"-values are < current_time =  already happened,  -->
          {/if}
       {/dates}
    {if:else}
       no date specified <!-- no row -->
    {/if}

Any suggestions?
I've spent 4 hours trying everything i could think of... still getting nowhere....


texts: I need to store a single numerical value in the admin for use in my templates. What is the best way to do this. I've reviewed Accessories, Extensions and Modules but can't seem to find something that has the simplicity of setting up the admin area and the ease of using it on the front end template.


texts:
It's the first time I've used Ajax with Channel Form so this maybe a newbie question.

I'm loading the template containing my form via AJAX and appending it to a DIV. When the form is submitted I want to show messaging in the same DIV so I'm overriding the default form submit in jQuery but I can't prevent the page from refreshing. If I set the form parameter ajax="yes" then it simply redirects to JSON output.

What am I missing?

Static form ID works fine:

<form id="comment-form">
          <input type="text">
          <button type="submit">Submit</button>
        </form>

Channel Form ID does not work:

{exp:channel:form
          channel="logbook"
          include_jquery="no"
          include_assets="no"
          datepicker="no"
          class="logbook-add"
          id="comment-form"
          return="/account/manage-logbook-requests/#comments"
          entry_id="{segment_3}"
        }

jQuery code:

$("#comment-form").on('submit', function (e) {
            e.preventDefault();
            console.log('submitted');
        });


texts: How to ensure only events that have not passed show up in simple search when events are contolled by Solspace Calendar

texts:
I'm using Solspace calendar on my EE site to handle calendar events. I am also using the built in simple search for the search feature on my site. I would like to have the search include calendar events in possible results, but only if the event has not passed already. I don't see any way to do that with the simple search, unless I can set the calendar events to automatically expire after they pass. Does anyone know of a way to either auto-expire calendar events after they pass, or is there a different search module I can use that would take into account the end date for an event based on how Solspace calendar tracks them (start date/end date, etc.)

Thanks,

Brian


texts:
So I have my content that I put on my template article.html via the EE-publishform where I also get to choose wether to use layouts 'normal' or ' wide'.
The size of the images varies depending on wich layout I use. CE_image is what I use to resize images.

problem

What I cant figure out is how to let CE_image do its work on the layout-template instead of on the article-template. Or if I could put the CE_image-tags on the article-template and then let the layout-templates insert apropriate values to size, crop and quality variables.

disclaimer

I realize Stash is a genuinly complex and competent addon and the solution to my problem is probably right there in the Stash documentation. I have read it over and over and tried things over and over but I never seem to hit the keys in the right order.
So I am very ready for some advice on this matter.

Thanks
/David

content

title
body
images (matrix-field)

img-1
img-2
img-3

Templates

Article

  {exp:channel:entries channel="archive" limit="1" url_title="{segment_2}"}

  {embed="_layouts/{f-archive-layout}"}

  {exp:stash:set name="title"}
        {title}
    {/exp:stash:set}

  {exp:stash:set name="content"}
        {f-body}
    {/exp:stash:set}

  {exp:stash:set name="images"}
        {f-archive-images}

                {exp:ce_img:pair src="{f-archive-images-image}" width="400" crop="yes" quality="80"}

                {/exp:ce_img:pair}

        {/f-archive-images}
    {/exp:stash:set}

  {/exp:channel:entries}

Layouts

normal

wide


texts: How to get max count for a loop in channel entries tag

texts:
I am trying to get the max results for the categories inside this channel entry. If the current category is the last one in the loop I don't want to add a , after the output.

   {exp:channel:entries channel="ch_efn_gallery" entry_id="295"}
    {categories}
            {"{category_id}":"{category_name}"}
           {if categories:count!=categories:total_results},{/if}
    {/categories}
   {/exp:channel:entries}

categories:count gives me the correct number. But categories:total_results doesn't work. And i din't find out how to get the max value for categories. Actually this template has much more output but i shortened it to the core of my problem.


texts: Smart Members Pro checkbox field not parsing in view profile tag

texts:
I recently purchased Smart Members Pro because I needed the checkbox functionality in custom member fields, among other features. I have the edit and view profile working just fine except where it relates to displaying data from a checkbox field. Radio buttons and all other custom member fields work fine but not checkboxes or multi-select.

This makes me think I have syntax wrong but the documentation mentions no special syntax for these fields. My question is does anyone else use this module and, if so, can you please help me with syntax to display a checkbox field in a member profile?

Here's an example. In this tag the field {allergy_checkbox} doesn't parse and simply renders as text. All other custom member fields in the profile parse just fine.

{exp:smart_members:profile
member_id = ""
}

{allergy_checkbox}

{/exp:smart_members:profile}


texts:
I'm having a Multi-site manager setup and am using Channel Images as image upload.

On the first site, everything goes well. Let's call it www.firstwebsite.com

The images are uploaded to /server/firstwebsite/uploads/.

The other one, www.secondwebsite.com, doesn't work that well. Via the admin, I can not upload images in channel images.

Console tells me this: http://www.secondwebsite.be/?ACT=44&ajax_method=upload_file&field_id=96&key=1434980450 Failed to load resource: net::ERR_NAME_NOT_RESOLVED

Channel images keeps spinning and says: NaN%.

Although, when I go to firstwebsite via the link in the top right (so I'm editing website two with firstwebsite.com/admin.php, the uploading works BUT it's uploaded to the wrong folder. So /server/firstwebsite/uploads/ rather then /server/secondwebsite/uploads/.

Someone has experience with this? If so, please help. It's an urgent matter.


texts: Solspace freeform Notifcation member_group setting

texts:
Using Freeform 4.1.2, Zoo Visitor 1.3.28

I'm sending notifications to the user who submits the form. The current_user field here is capturing populated by zoo visitor ({screen_name}). Works great. However, my notifications to the user are only going out to super admins (member_group 1) if they submit the form.If a member from my Members group (member_group 7) submits the form they are not notified. Am I missing a setting somewhere to allow this member group?

{exp:freeform:form
form_id="1"
inline_errors="yes"
required="name|email"
notify_user="yes"
return="referrals/success"
allow_status_edit="yes"
user_email_field="current_user"
}

<label>Broker: {embed="referrals/current_user"}</label>

<input type="hidden" value="{screen_name}" name="current_user" id="current_user" />

<input type="hidden" value="<?php echo $broker_name; ?>" name="broker_name" id="broker_name" />

....

Any thoughts?


texts: I'm working on a template for displaying the events for a particular day.  Is there a way to control the start hour and end hour?  This is an office that starts their day no earlier than 7am and ends their day no later than 7pm.  So to have it showing "No events for this hour" at 1am seems silly.


texts: Pagination not working correctly when using categories and Transcribe

texts:
I'm using Transcribe and I'm having an issue with pagination on my blog.

When I filter by category the pagination links are also counting entries from my other languages.

It works fine without the category filter, here is the entries tag:

    {exp:channel:entries
    channel="blog"
    dynamic="no"
    paginate="bottom"
    limit="3"
}

This gives me this url: /blog/ and /blog/P3

My tag for listing Category entries is

    {exp:channel:entries
    channel="blog"
    dynamic="yes"
    paginate="bottom"
    limit="3"
}

I have had to switch "dynamic" to "yes" so EE can show the correct entries.

This give me this url: /blog/category/category-name/ and EE displays the correct entries.

I'm getting pagination even though there are only 3 entries in this language, clicking the pagination take me to an empty listing as Transcribe knows not to show other language entries.

If I remove posts in the other languages from the category the pagination does not show. This confirms to me that the Pagination is counting all entries across all languages, even though the entries themselves are not displayed.

I cannot seem to find a way to display the category entries and get pagination to work.

Any ideas?

Cheers
Darren


texts: Does Expresso Fedex Shipping plugin take product weight into account?

texts:
I'm updating a wine store site I've built for a client (http://shoptipsy.com) to add the Fedex Shipping plugin to their current Store-powered shop.

I've got the plugin integrated with production credentials supplied by Fedex. All seems to be working except that the shipping charges that the plugin returns are the same no matter how many items I have in my shopping cart.

So if I add one bottle of wine to the cart, the shipping charges for the various FedEx options are the same as when I add 100 bottles to the cart. I see the same behavior whether I'm testing on my local dev setup or on my staging server. Also, I've tried to check the charges the plugin is returning against estimates that FedEx supplies with its website calculators, and they don't match.

This obviously won't work. I can't enable the plugin on my client's site if the shipping charges are not being calculated correctly.

Anyone else run into this issue? Is there a way for me to check what info is being supplied to the FedEx API by the plugin to see if the order_weight is being taken into account?

Thanks for any info anyone has,
Adam


texts: 404 redirect with multiple segments not working

texts:
I have a page on my site: mysite.com/index.php/staff/staff-bio/john-smith

I'm using this 404 redirect:

{if no_results OR segment_2 != "staff-bio" OR segment_4 != ""}{redirect="404"}{/if}

On a related note, I'm using the require_entry="yes" option in my staff-bio template.

This redirect statement catches the problem it staff-bio is not segment 2, and if extra segments are added to the end, but if I were to change "john-smith" to just "john" in the url, or enter some other invalid path, it doesn't redirect.  It just goes to a blank template page.

What am I doing wrong here?


texts:
Is there a already a plug-in out there that will auto-magically check all content for double spaces after a period and force double spacing if not there? I know there are some out there like Low's find and replace. I was just hoping for an automated "drop in" type of work without the need to add tags to all the templates. Reason being, there are 973 templates in this inherited build.   :(

It is in the process of a redesign/rebuild, but that is still some time out and this is a "need".

Thanks.


texts: Does anyone no how to style the standard EE success/error page that appears after submitting a simple form? It would be nice not to have this default page and style.


texts: Is there an ExpressionEngine SEO optimization plugin like Yoast?

texts: Is there an ExpressionEngine SEO optimization plugin like Yoast for WordPress? I need to be able to optimize blog posts for search.


texts: Default Rich Text Editor adding in  tags

texts:
I dont know whether it is just down to the default RTE that EE give you but when add in a table, save and upload it hads in blank  at the end of the table and table heading. I have outlined the examples below:

Browser View:

EE Control Panel:

And then this is the code the browser outputs:

 Class Team

    Mrs Harding
    Nursery Teacher and Key Worker

    Mrs Speakman
    Nursery Teacher and Key Worker

    Miss Ward
    Nursery Teaching Assistant

    Mrs Hubbard

    Nursery Teaching Assistant

I think it might just be because of the detault RTE but i just need some confirmation.

Thank you.


texts:
When adding price modifier configurator fieldtype to product channel i get a php error when creating a product:

"(each) is deprecated"
system/user/addons/cartthrob/helpers/data_formatting_helper
re88: while (list($key, $values) = each($input))

I changed this php re to:
while (list($key, $values) = current($input))

Seems to work fine, can anyone validate my solution?


texts: devDemon Forms - Stripe gets no receipt_email for guest payments

texts:
We have DevDemon forms up and running, our form works, payments go through our Stripe account in test mode.

We are processing payments for guests of the EE installation, not registered EE users.
We have an Email field which has a short name of receipt_email.
Stripe says there is no email passed, so no receipt can be emailed out.

Question:
Is it possible to pass the email from the form (receipt_email) as the email for stripe to use when sending out a receipt?


texts: Mutli-language, i18n, multilingual - addon suggestions?

texts:
I'm building a EE site and the front end needs to support multiple languages.

Requirements:

control panel does not need to support multiple languages
Needs translations:
static content in the front end
MAYBE the channel entries (not a strong requirement)
field labels need translations
having a segment in the URL indicating the language might be useful. It would be good if the language segment allows for something like "en-us", "en-uk", etc. and not just "en"

Any addon suggestions? Looking for suggestions from people that have actually used such addons. Also, any tips on "gotchas" would be helpful.

Some Addons I've Found

Publisher, $175 (Honorable Mention, 2012 New Module of the Year), latest update September 9, 2013
Transcribe, $150, latest update October 17, 2012


texts:
Was looking for some insight/recommendations on a URI structure for a ecommerce site. The site has thousands of entries & hundreds of categories. A entry can have multiple categories assigned across different category groups. What is the best way to format single entry pages? Do I just have a clean break that all products have a product/view template or do I try and nest them under each category:

  http://domain.com/category_group_a/category_a/example_product

which could also be:

  http://domain.com/category_group_b/category_b/example_product

If I go the category route, then there is the potential of having duplicate pages under each category the entry is assigned to. Also, this makes it difficult generating URL structures from say a search result page. Ideally, the nested route would be best for SEO, but structuring URI's so they are consistent is going to be a challenge.


texts:
Is it possible to get shipping labels for orders?

I would like for people fulfilling orders using the backend to be able to print a shipping label for the order.


texts: Call to undefined function Store\Model\form_dropdown() in ProductModifier.php on line 84

texts:
I run EE v2.10.1 with Store 2.5.1. I get the following error when logged in. This error doesn't happen all of the time which puzzles me even more..

  Fatal error: Call to undefined function Store\Model\form_dropdown() in [omited]/system/expressionengine/third_party/store/src/Model/ProductModifier.php on line 84

Any clue anyone?


texts: How do I display matrix fields inside of a relationship field (channel entry)?

texts:
Anybody have an answer? I am trying to do this in EE 2.6, but the matrix fields don't display. I have a channel (fruit) with a relationship field to another channel. That channel (kinds) has a matrix field called locations. Inside of locations is a column called state. I'm trying to get a list of states to display.

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

{related-entry-kinds} <-- name of field inside of fruit channel

{related-entry-kinds:title} <-- this displays fine

{related-entry-kinds:locations} <--name of matrix field

{related-entry-kinds:locations:state} <--doesn't render

{/related-entry-kinds:locations}

{/related-entry-kinds}

{/exp:channel:entries}


texts: Expresso store: in stock tag inside modifiers options

texts:
I have a code which looks like:

{modifier_options}
{if total_stock > 0}
<option value="{option_id}">{option_name} {if price_mod_val} ({price_mod}) [{store_product_stock_level} in stock] {/if}</option>
{/if}
{/modifier_options}

which shows total stock (sum) of all options not stock per option.

Also how to display stock amount per product option? So far it shows sum of all product options not X stock amount per product option.

Any clue how to get this resolved?

Thanks


texts: How to send the url of the page the form is located

texts:
Using the freeform field type to display the form. Is it possible to send the url of the page the form is located.

I've tried using a hidden form and prepopulating with {segment_data}.

Thanks


texts: Safecracker Registration Return path url issue

texts:
I have confused myself slightly setting up the return path for my safecracker login form for the following site [Click here for link][1]

if you scroll down to the roster section click mel debarge, in the the pop up you will notice a download section, when you click on the press kit button you are redirected to the login page.

When user enter the correct login detail they are able to access a PDF/JPEG which i have uploaded in the Matrix i have set up. The parameters for the matrix are the following {press_material}{press_pdf}{press_material}

In the entry properties for my login form i have the following:

{exp:safecracker
channel="roster"
    dynamic_title="[member_first_name] [member_last_name]"
    include_jquery="no"
    group_id="5"
    loggin_member="yes"
    error_handling="inline"
    return="{path='{press_material}{press_pdf}{/press_material}/{url_title}'}"

In aim to redirect registered users to the file uploaded in the matrix, However i don't seem to be having any joy. Does anyone know how i can resolve this issue??

do i need to use the embed proporties in order for this to work?

[1]:


texts: Assets 2 thumbnails not showing in s3 sources sub directories

texts:
The files show up but it just says "JPG" instead of showing the thumbnail.  The strange thing is that any images just in the root of the bucket show the thumbnail just fine but if i move that same image into a sub-directory I get nothing.

Seems to be pretty consistant throughout the site no matter what i do. I updated the indexes, tried uploading files directly to the bucket or through the interface, and i double checked permissions on both the local cache directory and the s3 bucket.

Related would it to filter a field to the sub-directory level instead of just the "source" level?  we use one master s3 account for all of our clients and would be nice to "bucket" their directories together.  I realize its a slippery slope with directories within directories but just one level would help us a lot..


texts: Charge: Stripe Object details does not work

texts:
I've been testing against Stripe Object details with Charge as per what is said in their documents.
Charge:info tag returns only {stripe_description}, but not these:
{stripe_customer} or {stripe_invoice}

Could someone give a helping hand, or am I hitting bugs again?

Thanks in advance.


texts: Looking for a way to get Simple Registration add-on to send details to Campaign Monitor list subscription

texts:
I'm working on a site that uses Simple Registration to handle user registrations (we needed the facility to assign people to a particular group on sign up).

I also need this process to involve adding the user to a mailing list on Campaign Monitor.

I've tried using the excellent Campaigner, but this doesn't seem to work with Simple Registration. I'm not sure why at the moment but it seems the 2 add-ons don't play nicely.

Has anyone got experience of this or have a solution?


texts: Options for showing content based on a member field

texts:
I'm about to start building a system where we need to display different content for different users, but all these users will be part of the same usergroup "students". I'm trying to work out the best way to group the various members of this user group together into "schools".

So basically I could end up with 150 students with 50 in school1, 50 in school 2 and 50 in school3.

My initial thinking was that we'd simply have a custom member field named school and then on each template check this field and display articles from a category with the same name as the custom member field, but i'm not 100% sure this is the most effective/scalable way of doing it so am looking for more ideas.

Any other ideas or add-ons/modules that could help would be much appreciated!


texts:
I've been asked to resolve an issue on an EE 2.7.3 site with Structure 3.3.14

I didn't build this site and will be recommending an upgrade, however that is not an immediate option.

On the structure page the entire tree has ridiculous amounts of padding between entries. There are no errors in the console. See screenshot.

********** EDIT *********

Turned on structure debug but there is nothing to debug.


texts: Expresso Store v2.1.0 can an individual product modifier be tax free?

texts:
I'm trying to find a way of allowing a client to mark specific product modifiers as tax free, can it be done somehow?

For example, a shoe at certain sizes (for children) will be tax free but other sizes will remain taxable at the normal rate.

I should also point out that they don't want to create another category for the tax free products. They would rather have a checkbox to say this size is tax free (or similar).

Thanks.


texts:
I am new expression engine..I have added a htmlblock widget to a page that would show search box but is not supporting the {exp:search:simple_form channel} all these tags what should i do?

Here is my code

{exp:search:simple_form channel="blog|news|pages" search_in="everywhere" where="all" result_page="search/" no_result_page="search/no_results" show_expired="yes" show_future_entries="yes"}
    <input type="text" name="keywords" id="keywords" value="" size="18" maxlength="100" />
    <input type="submit" value="" class="searchbtn" />
{/exp:search:simple_form}

Thanks, Neha


texts: Channel entries Swith (looping) different DOM div blocks order?

texts:
I need display entries of a channel, is easy when you have the same structure of your DOM elements like:

{exp:channel:entries
   channel="{channel}"
   limit="6"
}

         JOHN

         JAGGER

{/exp:channel:entries}

so that is simple with https://ellislab.com/expressionengine/user-guide/add-ons/channel/channel_entries.html#switch, render the same structure 6 times jump between row1 and row2 BUT!!! my structure have 6 different block of code AND!!! in each block add new clases AND!! some pieces of code are in the top and later at the bottom, like this:

      JOHN

      JAGGER

      JAGGER

      JOHN

etc...

you see, John is in the top, but in the second block is in the bottom and also add a new class to the div, later Jagger is in the bottom but in the second is in the top... and so on...

please see the the real code!!! html that I need looping through, is very clear what I need: http://cl.ly/code/3t3O0P3k3j0H
(6 different blocks with new classes in)

I dont get it how can looping if the positions are different.

any help? thank you!!


texts:
I'm using Channel Form (formerly Safecracker) to generate a new entry using inline error handling.

The issue I'm having is if there is a reserved (HTML) character in any of the fields - eg ' - these are returned as html characters/entities - eg &#39;

For example:

Is there any way to suppress this conversion during the form submission process?

Cole


texts:
I want to renew my site without going offline
I thought these steps:

Copy all the files and db from remote to local (on wamp)
Make the changes
Move from local to remote

is this the easiest way to do this? There are better ways?

Thank You


texts:
I have been struggling with managing domains for two separate EE installations. Htaccess redirects only seem to work with the site's homepage. Anything beyond that results in a 404 error.

For example: http://domain.com is set as the root, and uses index.php to set the systempath variable thusly: $system_path = ‘./site1/‘;

My 301 redirect was pointing http://domain2.com to http://domain2.com/site2, which is what is causing the template mapping to fail. So, http://domain2.com/template_group/ results in a 404 error.

What I want to do is point both domains toward the root, and have the index.php file detect the URL and do this:

if url is domain1.com {
    $system_path = ‘./site1/‘;
} if elseif url is domain2.com {
    $system_path = ‘./site2/‘;
}

I’m not sure what the proper syntax to use is, though. I know that CodeIgnitor has some specific functions for handling URLs.

Conversely, if someone can help me figure out why the htaccess isn't functioning. Either way, I just need to resolve the issue.

Thanks,

ty


texts: Static page with no channel attached...can I assign a fake channel?

texts:
I have a static page that I don't have a specific channel for.  Its just a contact form, and I don't see any reason to have it be a channel entry because there's not really content there to change or update.  However, I have breadcrumbs and I use the code below to tell the breadcrumbs what to display, and given that there is no channel entry for my contact form, the breadcrumb shows up as blank.  Is there a way to just assign a fake channel name to the contact page so that this code will work, or do I have to make a channel for it? or is there some other work around?

{if segment_2 != ""}

{channel}

{title}

{if:elseif segment_2 == ""}

{channel}

{/if}


texts: Addon to handle data too complex for Channels/Playa/Matrix

texts:
I need to be able to add/edit/delete records whose data structure is somewhat complex and involves a lot of business rules for each database operation. For example:

Some inserts are simple INSERTs, while others may be INSERT IGNORE depending on certain conditions
Delete operations may or may not trigger addition DB operations
etc

Furthermore, due to the complexity of the data structure and a few other reasons (e.g. not wanting this to be coupled to EE so that other CMS can interact with it in the future), I want all this data to be on a separate database.

I'm still not completely sure what an addon can or cannot do. So, here are some questions I have before getting too deep into this:

Is it possible to create some sort of addon whose data is stored on a different database?
Since this won't be using Channels, how would I make my back end interfaces appear in the Control Panel?
Will I be able to loop through the entries like I do with Channel entries (using tag pairs)?


texts: Request Timeout when saving an edited entry

texts:
We have a live site that worked ok for some time. Since a day or two we have a strange behavior: when saving some of the entries we get this error

Request Timeout
This request takes too long to process, it is timed out by the server. If it should not be timed out, please contact administrator of this web site to increase 'Connection Timeout'.

There is no error log to be found.

It's EE 5.3 with Publisher.

Is there a way we could find out what would causing the timeout?


texts:
I am setting up a search by author section on the blog for my website. I have all the code set up correct, and people are showing up! However, not everyone is showing up. When I run the SQL Query below, I am short a couple of results. When I move a member from Group 6 to Group 1, she shows up.

Am I missing something here?

Search by Author

{exp:query sql="SELECT*
  FROM exp_members
  WHERE group_id = '1' OR group_id = '6'
  AND total_entries != 0
  AND in_authorlist = 'y'
"}

{/exp:query}

Thank you in advance for your help!


texts: Displaying total results of channel entries

texts:
I'm trying to get this to display a the total results of a count just once. So if there are 120 results, have it output "120". Instead it shows each line 1,2,3,etc. and count == "1" displays nothing.

{if count == 0}
{exp:channel:entries channel="people" search:people_alpha="={segment_3}" orderby="people_lname" sort="asc"}
<h3>{absolute_count}</h3>
{/exp:channel:entries}
{/if}

Thanks in advance for any help on this


texts: Login as another Member without the password

texts:
Using EE 2.x I had the ability as the Super Admin to click 'Login as Member' link from any member profile in the system and proceed to login as them without actually knowing their password. I've recently upgraded to EE3 and notice that the password is a required field when attempting to login as another Member. Is there anyway to disable that requirement and allow the Super Admin to login as any Member in the system without knowing their password?

Any tips or suggestions would be greatly appreciated, Thanks!


texts: Low Search - Question about search mode behaviour

texts:
I have a low search form

{exp:low_search:form collection="test" secure="no" search_mode="any" result_page="results/page"}
    <input type="text" name="keyword" />
    <select name="search:my_field" id="my_field">
        <option></option>
        <option value="foo">foo</option>
        <option value="foo bar">foo bar</option>
    </select>
    <button type="submit">Search</button>
{/exp:low_search:form}

I have two entries in the test channel. One of them has the my_field value "foo" and the other one has "foo bar".

When I choose "foo", I get both entries.
When I choose "foo bar", I get one entry(the one whose my_field value is "foo bar").

It seems to me that this is caused by the param search_mode="any".

Is there any way to make my_field use exact text search while still retaining full text search for the rest of the form?


texts:
I'm getting an error with simple file entries tag:

  The following tag cannot be processed:

  {exp:file:entries}

  Please check that the ‘file’ module is installed and that ‘entries’ is an available method of the module

Is file entry tag not supported in EE3 core, or did I miss a step somewhere and did not enable something.


texts: Allow Member to delete account, but not edit?

texts:
I've created a Member Group and want members in that group to be able to delete their own account. I've edited the Member Group Settings to set Can delete own account - deletes all posts, entries, and comments as well to "Yes", but didn't see anything in the Control Panel that would allow the member to delete his/her account. I then set Can access MEMBERS section to "Yes", but that gave the member access to ALL members, which is not what I want.

How does a member delete his/her account? And what settings does the Member Group need to have?

Also, I don't want the Member to be able to edit their Member details. When a user clicks on their screen name (left of the "logout" link on the top right of CP), they are taken to a "My Account" page where the member can edit profile, avatar, etc. I want to prevent access to any of that. Is this possible?


texts:
I'd like to send customers an email with a link to their (private) profile/account page.

This link should contain login credits so they can click to go to their profile page and log in at the same time.

How can I add login info to a url?


texts: Channel Entries not showing when viewing the entries detail page

texts:
I'm about to run out screaming! I have a news/index template and news/article that views fine until I add a third segment eg: news/article/test.

The only channel entry that appears on the news/article/test page is the info wrapped in the news channel entry tags.  All other channel entry tags do not any longer appear.  I have a few other channel entries on the page but they are gone just on the "test" page.  Below is the part of the template.

    {exp:channel:entries channel="site_layout_options" limit="1"}
      {news_page_layout_options}

      {/news_page_layout_options}
    {/exp:channel:entries}

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

{title}

{article_content}

                       <button class="btn btn-md btn-transparent-black">READ MORE</button>

                 {/exp:channel:entries}

Archieves

{date}

The first channel entry for "site_layout_options" is left out.  This goes for any other channel entry on the page with the exception of the "news" channel entry.

I'm using channel fields to control some styling and thought that it may be causing some problems but not luck.  I removed it and anything that is outside of the "news" channel is gone.  The strange thing is that it only happens when I view the "news/article/test" page.

I'm using the following opening channel tag on the "news/index" page to link to the full article.

{exp:channel:entries channel="news" limit="6" dynamic="no"}

and the link is:

{url_title_path='news/article'}

I've tried dynamic="off" and a few different url options with no luck.


texts: Does DevDemon Updater 4.0.0 run on php5.6?

texts:
I am running Updater 3.3.0 with php5.6 and get these errors:

Message: Non-static method Updater_helper::arrayExtend() should not be called statically, assuming $this from incompatible context
Filename: updater/api.updater.php

If I make the functions static the error messages in the Control Panel go away, but Updater throws more errors when I try to run it and update EE from 2.10.1 to 2.11.1.

Does DevDemon Updater 4.0.0 run on php5.6 without these errors?


texts: 2.7 Developer Log Error submit_entry() to shannel_form_submit_entry_end

texts:
Getting a Developer log error when I edit an entry using the channel:form.

Deprecated function submit_entry() called in system/expressionengine/modules/channel/mod.channel.php on line 5291.
Deprecated since 2.7. Use Renamed to: channel_form_submit_entry_end instead.

When I create an entry - all is fine, it is only editing that I'm getting a call to a developer log error.

Any ideas? I've checked to see the modules using submit_entry and after searching, nothing is showing.


texts: Getting Stash and Solspace Tag to work together

texts:
So I have a channel called Campaign, which has a number of ordinary text Input fields like 'campaign_twitter' and 'campaign_twitterhashtag'. It also has a Solspace Tag field called 'campaign_tag'.

This Channel helps to create a Campaign page, so that when you add a Solspace Tag, the page will then pulll in related content from the rest of the site, based on that Tag. What i'm having trouble with is getting that related content to display correctly. It is currently just displaying the custom field names on the page, so I'm assuming it's something to do with parse order or not setting up the stash correctly.

I was wondering if someone might be able to assist to get things displaying correctly?

So this is the list where I am setting all of the variables - Text Inputs and Solspace Tag;

{exp:stash:set_list name="campaign-vars" parse_tags="yes"}
    {exp:channel:entries
        channel="campaign"
        status="open"
        limit="1"
    }

        {stash:tag}{exp:tag:tags entry_id="{entry_id}" limit="1" websafe_separator="-"}{tag}{/exp:tag:tags}{/stash:tag}
        {stash:twitter}{campaign_twitter}{/stash:twitter}
        {stash:twitter_hashtag}{campaign_twitterhashtag}{/stash:twitter_hashtag}

        {stash:blog_entries}
            {exp:tag:entries
                channel="blog"
                status="open"
                orderby="title"
                sort="asc"
                tag="{tag}" {!-- This should be the tag retrived from {stash:tag} --}
            }
                {stash:blog_title}{title}{/stash:blog_title}
                {stash:blog_summary}{article_summary}{/stash:blog_summary}
            {/exp:tag:entries}
        {/stash:blog_entries}

    {/exp:channel:entries}
{/exp:stash:set_list}

This is where i'm displaying content in the page, notice the loop for the blog entries. Where the {blog_title} should be, it's showing the title of the current page and all other tags are just displaying the actual tag, with the exception of {twitter} tag, which is displaying correctly.

{exp:stash:set name="content"}

    {exp:stash:get_list name="campaign-vars"}

        {!-- Loop through blog entries here --}
        {blog_entries}
            {blog_title}
            {blog_summary}
        {/blog_entries}

        {!-- Display Twitter handle --}

Follow us on twitter: {twitter}

    {/exp:stash:get_list}

{/exp:stash:set}


texts:
I am playing around with Git together with an EE install and I think that I have almost nailed it (aka found my workflow).

There is just one small unclarity remaining with Templates being saved as files:

I have a local clone of my install and a central Bitbucket repo. Yesterday I made some changes in my local repo and pushed them to Bitbucket which in turn triggered a post-update hook that updates the files in Production. All fine until here.

But now when I sshed into production and ran "git status" git told me that the two files I have just pushed are modified. I was puzzled at first but then realized that I was connected to the (live) remote DB when editing the template files locally.

So, am I assuming right that this is something I shouldn't do with Git (being connected to remote DB) because a change and save to a file locally will in turn also update a.) the db in Production and b.) the file in Production?

Thanks and Cheers!

EDIT/UPDATE: I now did another run with a fresh copy of the db running locally. I am using FTPloy together with Bitbucket so that whenever I push something to BB the changes are being deployed to my Production file system.

So: changed two files locally, pushed them to BB and the Production site got updated with FTPloy. However, I still get these two files as being modified when I run "git status" on the Production server.

On one site it seems totally logical to me because the two files were modified of course. But then again how I can I prevent this behaviour? When I try to pull from Origin I'll get "error: Your local changes to the following files would be overwritten by merge". When I run discard the changes and then pull from Origin it works.

Now I am thinking that it would best be to not have Git running at all on my Production server but what if I (or somebody) has to make changes to the live site in an emergencylike situation?

Don't know how to better describe this. I hope someone will understand my problem.


texts:
I want to select modifiers by name because for my modifier's it's not possible to put all modifier_options in the same output, for example a <select> form. So how would I be able to select a specific modifier?

Or do I need to walk through all modifiers and doe this with something like this:

{modifiers}
  {if "{modifier_name}" == "myMatch"}
  // Specific HTML for this match
  {if:else "{modifier_name}" == "myOtherMatch"}
  // Specific HTML for this other match
  {/if}
{/modifiers}


texts:
I have an MSM installation with two sites (EE version 2.5.5, Playa version 4.4.5). I am using Playa on Site 2. When I am logged into the CP from the URL of Site 2 (i.e. http://site2.com/admin.php), my live filters for Playa fields work as expected. However, when I am logged into the CP from Site 1's URL (i.e. http://site1.com/admin.php) and am working in the Site 2, the Playa fields don't filter properly.

Here's what I'm doing: from the channel entry form, in my Playa field, I click the plus button on the Droppanes search menu to filter by Category. However, as soon as I choose the "Category" filter option (or any other filter option), all my listed entries are grayed out, and the filter doesn't seem to limit the entries.

I read on this question (Playa Filters failing with Force SSL module in place) that filters work with an AJAX call based on your URL. I also read that you can direct Playa to the proper site index using this line in the config:

$config['playa_site_index'] = "https://example.com/index.php";

I added this line to my Site 1 config and pointed it at Site 2's URL:

$config['playa_site_index'] = "http://site2.com/index.php";

Reset my browser cache, logged back in, but still not working. Any suggestions?


texts: Solspace freeform pro uploads sporadically not working

texts:
I am running Solspace FreeForm 4.2.2 and I have a form that submits via Ajax and has a file upload in the form.  Sporadically we are seeing that the form gets saved in the database but the file does not saved.  So user are trying to upload the file multiple times and it fails everytime.  We are seeing 3 to 10 records in the database for the users depending on how determined they are, none of which have a file saved with it.  Most of the time it works just fine for other users.  We can't find a pattern of file size, file type, OS or browser used.  Internally we cannot replicate the issue but see this happen several times a day.

Anyone experience anything like this? Have any ideas what to try to try and track down / replicate the problem?


texts:
We're revamping a site that has a url structure of http://mysite.com/partner_name.
When that first segment matches a partner name, their current custom site changes all urls and logo.

In our case on EE we're using freebie and switchee. We add each partner name (they're not too many) as freebie segments, and add them to a comparison case with switchee. That works great for the first page, but all links are still mysite.com/my_url, when ideally they'd be mysite.com/partner_name/my_url.

Is there any way we can do the comparison with switchee, and save mysite.com/freebie_1 as {site_url} when there's a match? Do we need php on the template?

Thanks in advance!

Best,

Santiago


texts: My client would like to turn incomplete orders into orders by automatically generating an email to send after a certain time period (eg 48 hours). I realise this cannot be done by default in Store, but is there any other way of doing this?


texts: Solspace Facebook Connect: Load Likes for a page

texts: I have a blog listing page. Under each of the 10 entries listed I would like to show how many likes that article has. Is there a way to do this with Facebook Connect Addon?


texts: User:Register, checkboxes for multiple mailing lists?

texts:
I'm trying to implement checkboxes to allow new members to signup for multiple mailing lists instead of the multiple select dropmenu option.

Any help would be greatly appreciated.

Thanks in advance.


texts:
I have a xml template with an embedded stash xml partial. But I'm not getting any output.

This is my xml:

{stash:embed:viewmodels:categories process="inline" stash:entry_id="{entry_id}"}
    <category_sport_name_ms>
    {exp:stash:get_list name="export_categories" match="#sport#" against="type"}
    <str><![CDATA[{name}]]></str>
    {/exp:stash:get_list}
    </category_sport_name_ms>

And this is my viewmodel categories.xml (also tried html)

{exp:stash:set_list name="export_categories" parse_tags="yes"}
{exp:gwcode_categories group_id="2" entry_id="{stash:entry_id}" style="linear"}
    {stash:type}sport{/stash:type}
    {stash:name}{cat_name}{/stash:name}
    {stash:id}{cat_id}{/stash}
    {stash:color}{cat_description}{/stash:color}
    {stash:url}{cat_url_title}{/stash:url}
{/exp:gwcode_categories}
{exp:gwcode_categories group_id="1" entry_id="{stash:entry_id}" style="linear"}
    {stash:type}age{/stash:type}
    {stash:name}{cat_name}{/stash:name}
    {stash:id}{cat_id}{/stash:id}
    {stash:url}{cat_url_title}{/stash:url}
{/exp:gwcode_categories}
{exp:gwcode_categories group_id="3" entry_id="{stash:entry_id}" style="linear"}
    {stash:type}theme{/stash:type}
    {stash:name}{cat_name}{/stash:name}
    {stash:id}{cat_id}{/stash:id}
    {stash:url}{cat_url_title}{/stash:url}
{/exp:gwcode_categories}

{/exp:stash:set_list}

Even if I remove the set list and just enter something like test there is still no output? Is xml unsupported? Thanks!


texts: {absolute_count} not working with Google Maps onclick

texts:
I have a google map with markers and when you click on an external link, it takes you to a marker on a map. See js fiddle to see the map in action.
The code on the external link looks like this:

Click me

Click me 2

Click me 3

So a click will take you to the markers 0 1 2 and so forth. The jsfiddle clarifies this. I need those numbers  to start at zero so in ee the code looks like this:

{entry}

What I want to do is have that {absoulte_count} start with the very first entry which will bring up the first map marker, BUT when I click on it, it takes you to the second marker on the map.
I tried being as clear as I could so comment if you have questions about my question. Ques-ception.
Thanks in advance.


texts: WYGWAM "Read More" button has been replaced with "Remove Formatting" somehow

texts:
Not sure how this happened, but I was clicking the hell out the "read More" button to insert an excerpt break and nothing was happening. When I left the mouse pointer over the button to see what the tooltip said the text read "Remove Formatting" even though the icon is correct.

In addition, the "Remove Format" button is now missing entirely.

Any idea why this might be happening?

EE Version 2.6.1

WYGWAM Version 3.0.2

Full configuration screen (they're all displaying the same issue):


texts: Showing Playa field entries in Channel Entries loop

texts:
My EE site has 3 ranges of products separated into different channels. I also have a separate channel for featured products, which is basically contains a Playa field for dragging and dropping products from all ranges. There will only be 6 featured products.

On the first page of products, I want to show the 6 featured products, followed by 3 of the "normal" products, followed by pagination. I've marked the featured products entry as sticky, and have used a normal channel entries loop to retrieve all products for all ranges like this:

{exp:channel:entries channel="featured|channel-1|channel-2|channel-3" limit="9" orderby="title" sort="asc"}

However, as the featured products channel is classed as one entry, despite containing 6 products, the loop displays all 6 featured products plus 8 "normal" products. Is there a way to treat the entries in the Playa field as separate without using special statuses or categories? Any help is very much appreciated!

Thanks in advance!


texts: Display WGYWAM to the front-end using Channel Form Field

texts:
I created a form using channel fields and i'm trying to figure how to allow the WYGWAM features to display on the front-end so, the end-user can do some basic text formatting.

            {exp:channel:form channel="careers"
                form:role="form"
                form:data-toggle="validator"
                include_jquery="yes"
                datepicker="no"
                id="careers"
                return="careers/thank-you"
                logged_out_member_id="2797"
                preserve_checkboxes="yes"
                status="pending"
                dynamic_title="[careers_job_title]"
                rules:careers_job_title="required"
            }

This is the channel field that I'm trying to add the WYGWAM to:

  Job Description
  <textarea class="form-control" rows="5"></textarea>


texts: Change name-attributes in Tell-a-friend-form?

texts:
When I use the tell-a-friend-form the form is autogenerated by the tag

{exp:email:tell_a_friend ...}

Now the name of the sender has to be "from", the name of the recipient has to be "to". Simplified example for the form generated:

<form method="post" action="http://www.xyz.com">
<input type="email" name="from">
...
</form>

Now it's important for me to change the names, because the Bootstrap-Validator astonishingly seems not to accept the same element-name twice on one page.

Is this possible or does anybody know a workaround?

Thanks in advance!


texts:
We're using expresso store on a new site. Our client will ship his product based on three flat rates: UK, Europe and Rest of the world.

Quite frankly we can't figure out how to set something like this on Expresso. We used Cartthrob in the past and we remember they have a "GLOBAL" shipping destination variable but can't seem to find the same thing on Expresso. We tried creating one shipping option per region and leaving the match to "any country, any city" but it doesn't seem to be updating any charges. I'm sure this is a fairly common scenario.

Any suggestions?
Thanks in advance!

S-


texts: Quotation marks not working - entries template

texts:
When a blog post has quotes or apostrophes in it “like this” or when it’s like ‘this,’ the punctuation is replaced with characters like â€™s or â€™s. This is only in the blog/entry template. Everything works fine in the blog/index template.

Any ideas why? Both templates have the following code in the header:

meta charset="utf-8"

And the site language is English.

Here is the code for the blog/entry template:

http://shorttext.com/xVwZkP

Can anyone point me in the right direction? I haven’t found much documentation on this. Help?


texts: DevDemon Updater error: The configuration file updater_config.php does not exist

texts:
I'm trying to use DevDemon Updater (3.2.9) to upgrade EE from 2.5.5 to 2.6.1. It uploads the ZIP file just fine, runs the backups, gets through "Copying Installer files", and then stops with this error:

  The configuration file updater_config.php does not exist.

However, looking in \third_party\updater\config, I see that updater_config.php DOES exist.

What does this error mean?


texts: How do I create new image upload destination via config bootstrap file?

texts:
I am running expression engine on MSM at the moment. I have got the deployment and ebvironments working properly, my only issues is that there are literally about 30 different file upload paths all together on the whole site. The site environments are:

Local
Staging
Live

The idea would be that I have the upload paths set for the different environments but this is not working at all on the config_bootstrap.php file in this area:

if ('local' === NSM_ENV) {

    // Environment DB configuration
    $env_db_config = array(
        'hostname' => 'localhost',
        'username' => 'root',
        'password' => 'root',
        'database' => 'ngrto-stage2',
    );

    // Environment global vars
    // These will be available in youre templates
    // 'global:' is not required, it's just a naming convention we use @Newism
    // Example: 'global:cm_subscriber_list_slug' will be available in templates as {global:cm_subscriber_list_slug}
    // Overrides anything in $default_global_vars
    $env_global_vars = array(
        'global:cm_subscriber_list_slug' => ''
    );

    // Environment config variables
    // Overrides anything in $env_config
    $env_config = array(

        'upload_preferences' => array(
            1 => array(                                                            // ID of upload destination
                'name'        => 'Staging Image Uploads',                          // Display name in control panel
                'server_path' => '/home/user/example.com/staging/images/uploads/', // Server path to upload directory
                'url'         => 'http://staging.example.com/images/uploads/'      // URL of upload directory
            )
        )
    );

}

Can anyone think why this would not work and a better solution to it?

Thanks,


texts: Secure Forms setting and Ajaxified Forms

texts:
As I discovered, it seems that "Secure Forms" setting won't allow anyone to submit more than once in Ajax.

I researched about this and I found out that it was because you can't send a form with same XID twice. You need to reload the page to get a fresh XID to submit.

However, this is a problem for Ajaxified forms, simply because of their essential nature and purpose.

Is there an elegant way to use Ajaxified forms inspite of the "Secure Forms" setting being turned on?


texts:
Any idea about How can I send paramaters in url in expression tags and get values of this paramaters in next page

In first template I wrote this code

{rss_title}

Q:How can I get url paramater value in next page which is openOneNews to can use as the following in next page

Thanks


texts: One alert when importing a production database

texts:
I now have a local copy of a live EE site. Front and backend are working with no problems.

However, when I imported the production database I got this one alert:

[ERROR in query 912] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

Should I be worried?

These are the first lines in the sql file:

-- phpMyAdmin SQL Dump
-- version 4.0.5
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Oct 29, 2013 at 07:18 PM
-- Server version: 5.5.29-MariaDB
-- PHP Version: 5.3.17

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;

Any idea?


texts: Can't Add Products to Cart - Only in Safari

texts:
This is a very weird problem.

I've tested all the steps of the checkout process and it works fine most of the time.
By most of the time I mean, in the local environment, it works on Chrome, Safari & Firefox but on a live server such as the staging environment, it works on Chrome & Firefox but not Safari

I tested both my own template as well as the pre-installed examples and got the same results.
No luck with Safari on Staging Env.

I've also tested on Safari & Chrome on iPhone & iPad & the same thing happened. Chromes works well but Safari just doesn't want to do its job.

I've tried all the solutions from this question but still no luck.

Here is some of my system info:
Safari: 6.0.4
EE 2.5.5
Expresso Store: 1.6.4

I don't think that there's any problem with the server though. have you ever experienced this issue? If yes, can you tell me where to start investigate?

Thanks!


texts: Expresso Store: The number parameter is required

texts:
I'm using Payflow Pro with Paypal and I'm running into a bit of an issue. My local test server does not have an SSL setup. With that in mind, if I enter the test credit card details on the final page I can make a successful connection with the gateway and have a completed purchase. If I enter the test credit card details on a step which is before my final confirmation page, I get an error of "The number parameter is required" when I make my final purchase.

Is this a bug?
Do credit card details need to be submitted on the    last step?
Or, is this due to the lack of SSL in my local test    environment?
Maybe it's another issue all together?


texts:
Running ExpressionEngine V2.6.1 (20130506) and Assets 2.1.3 and whenever I upload images to Assets or have some already uploaded and try to view them either in Assets or WygWam (which I'm also using on a site) then there are no thumbnails shown for any images at all.

I have checked on the server and in the _thumbs folder there are actually images in there which are small however these images have permissions of 666 and Owner & Group = apache where all other files that I have uploaded have Owner = sitename & Group = psacIn (not sure if it is an I or a lowercase l as my FTP editor won't allow me to copy that text).

Just wondering if the Owner & Group is the culprit here or is there something else I should be looking into?

Thanks,

Mark


texts:
EE 2.10.1

OK, so I haven't ever actually used EE's native search functions (always use add-ons or craft my own module to function as a search appliance [because of stupidly complex ERDs so weird there was no viable way of importing them into EE channels]).

Using the EE Simple Search, I have a code example like this:

{exp:search:simple_form
   channel="product_review"
   result_page="products/search"
   no_result_page="products/search"}

        Search:

            <input type="text" name="keywords" id="keywords" value="" size="18" maxlength="100">

        <input type="submit" value="submit" class="submit">

{/exp:search:simple_form}

... which seems fine.

However, the resulting URL, regardless of if there is a result or not, looks like this (third segment seems variable, but always a hash-like string):

www.domain.com/products/serach/0568f4f2a81172d816bb05364030a4c4/

What the hell is that that third segment? It's not a template annotation.... I rarely have a question to ask, so can anyone provide insight on the native {exp:search:simple_form} returns? I'd just like to get ride of it without .htaccess rules. I'm sure I'm missing something in the docs or have something in the config set up wrong.


texts: Site Error: Unable to Load Site Preferences in MSM site

texts:
I recently installed a version of EE on my local machine(Mamp Pro), v2.5.5 - Build Date: 20121220. I set this site up as per usual and started building my initial site templates etc ready for the master site which would encompass all the other child sites with MSM.

I then installed MSM by buying the software license and then enabling it in the main general settings of the cp in my site. I then created a new sub domain with MAMP PRO and then added a folder in it with index.php and admin.php, I then changed these settings in each:

index.php

$system_path = '../build/system/';
$assign_to_config['site_name']  = 'mysitename';
$assign_to_config['cp_url'] = 'http://missns:8888/admin.php';
$assign_to_config['site_url'] = 'http://missns:8888';

admin.php

$system_path = '../build/system/';
$assign_to_config['site_name'] = 'mysitename';
$assign_to_config['cp_url']    = 'http://missns:8888/admin.php';

When I try to access

http://missns:8888/admin.php or http://missns:8888

I get this error:

Site Error: Unable to Load Site Preferences; No Preferences Found for: mysite

Then in my main cp site theme where my main site is installed I go to the top right of the site and click my master site name and click 'edit sites', I then just get a server error page that takes me out of my site, it basically blows up.


texts: Expression Engine, Assets, ExpressoStore

texts:
I have almost finished a white label version of a photography download
e-commerce site.

I have now hit a brick wall. If I keep all of my photos in the root folder
say 'photos' everything is fine. But introducing sub folders into the mix is a
no go area. Apparently Expression Engines File Manager
does not allow sub folder indexing and this is causing a problem with
Expresso Store download tag.

Is there absolutely no way I can get around this problem with the assets
plugin?

I can see initially files will be fine in one folder. But sooner or later
this is going to be very difficult to manage and this is where sub folders
come to the rescue.

I would really like to know if there is a solution for this?


texts: Is it possible to change th owner of a group? (Solspace Friends module)

texts: My client wants it to be possible for their members to change 'ownership' of groups in Friends module. Reason, say a member quits, or there is a problem. As far as I can figure out (docs) this is not possible, so we have a problem. I do hope someone has a good idea?


texts: Solspace Calendar filter by days, not by dates

texts: I'm using Solspace calendar and I'm wondering is it possible to filter the events by weekdays? For example, I'd like to show events that only occur on Monday to Friday, I can't really see any way of doing it in the documentation.


texts:
Seems to work when I add the missing 'billing_at' column to the database table.

Maybe it was intended to be 'created_at'?


texts:
Since the EllisLab Discussion Forum addon is not really actively maintained, and basically one needs to buy the Scaffold theme in addition, to make it a bit 2014-ish ($140 total costs), it seems like not the way to future proof a new website.

I was wondering if someone else out there has successfully integrated any other forum software successfully? Vanilla, vBulletin, phpBB, basically anything will do.

But I need my members to discuss things, without adding another layer of registration hassles.

Alternatively: if anyone still has a good experience after-all with the current Discussion Forum module anyway, I'd be happy to hear that too.

Any tips or pointers are very welcome!


texts: EE removes third member group from all channel posting privileges

texts:
I am running into an issue with EE. I currently have 3 member groups set up. These are:

Super Admins - who have full access to the admin panel
Staff- who have limited access to the admin panel
Guests - who need channel posting privileges to create member accounts via Zoo Visitor

When i assign the posting privileges to the guest member group, all channel posting privileges for "Staff" are removed and visa versa. Is EE limited to 2 member groups per channel for posting privileges?

I remember a few years back adding a hack to the EE files to lift the limit, but can;t remember where this was added.

Any thoughts and assistance appreciated.

Many thanks
Ben


texts: Uploading images in CP using ee:_shared/form via custom addon

texts:
I created a module for EE2 a few years back and I'm in the process of making this compatible with EE3/4. I'd ideally like to make use of the ee:_shared/form (Shared Form View) and I'm 90% there but struggling with image field types. Text fields are working perfectly fine.

user/addons/module_name/mcp.module_name.php

public function add()
{
    if ( ! ee()->cp->allowed_group('can_access_content'))
    {
        show_error(lang('unauthorised_access'));
    }

    $vars = array(
        'base_url'              => ee('CP/URL', 'addons/settings/' . $this->lower . '/update'),
        'cp_page_title'         => lang('add'),
        'save_btn_text'         => 'btn_add',
        'save_btn_text_working' => 'btn_saving'
    );

    $vars['sections'] = array(
        $this->get_sections()
    );

    return ee('View')->make('module_name:form')->render($vars);
}

// $this->get_sections() returns the following nested arrays
// This is working fine for text fields
$sections[] = array(
    'title'  => $field,
    'fields' => array(
        $field => array(
            'type'     => $type,
            'value'    => $value,
            'required' => $required
        )
    )
);

user/addons/module_name/View/form.php

<?php $this->embed('ee:_shared/form'); ?>

I'm guessing I need to use the ee('CP/FilePicker') Service for something but the documentation is very vague.

I appreciate this is an incredibly vague query but does anyone have experience with setting up a file/image field using EE's shared form view?


texts: Excerpt field in search results not rendering

texts:
I have a simple search set up to search for the submitted term across two channels. This works and the correct results are shown in my search results page. However, the "excerpt" field for only one of the channels works. For results from the second channel, the excerpt field is always blank.

I've set up the respective "summary" field from each channel as the excerpt field -- one is called "summary" and the other channel is "rick_summary". Stuff in the "summary" field from the first channel renders, nothing renders from the "rick_summary" field even though the rest of the row is populated with the post title, author, comments, etc.

Any ideas?

Can't figure out how to post the template, markdown gets all screwed up...


texts: Upgraded 2.1.3 to 2.5.3 and now can't access the CP

texts:
upgraded a site from 2.1.3 to 2.5.3 and once the upgrade successfully completed I tried to access the CP and get a blank page.

I checked .htaccess and found an old method for removing index.php

RewriteEngine on
RewriteCond $1 !^(favicon\.ico|info\.php|index\.php|path\.php|php\.ini) [NC]
# Exclude EE folders
RewriteCond $1 !^(system|images|img|fr|themes|media)/ [NC]
# Exclude 3rd party folders
RewriteCond $1 !^(css|js|uploads|ca_en|ca_fr)/ [NC]
# Remove index.php
RewriteRule ^(.*)$ /index.php/$1 [L]

which I commented out and replaced with the official method - no change. The front end of the site loads fine, but I can't get into the backend. Any ideas?


texts: How to edit forms created using solspace freeform pro composer template in sublime

texts:
I have just started using solspace freeform pro. I created a contact form with about 30 fields in it using the composer template of freeform pro module in expressionengine. I did this by creating the fields I need and them in the composer I just dragged and dropped them. Now I want to add some conditional statements to the fields such that selecting a checkbox shows some fields else those fields remain hidden. I want to edit the code for this form in sublime but am unable to locate the file. Can someone please help me where to find the file in my FTP client software. I am also unable to figure out how to put this form on my website.
I am sorry if this question is too basic but I have been trying to find something on google for past few days but have no luck. Any help in the right direction will be greatly appreciated.
Thanks in advance.


texts:
I was seeing this wunderful idea from Stephen T (Grouping entries by relationship field (title)), unfortunately it's not working for me.

I have a channel called market which actually is a store where people can share reviews of their market visits. I would like to group by market visit. So it would look like this

July 30th

Market A
Market B

July 31st

Market B
Market C

As the date refers to the actual visit date and NOT the entry date, date_heading is not working (as it refers to enry date only)

Any idea is highly appreciated, especially a non thrid-party solution


texts: Custom error messages with Freeform Pro ajax form

texts:
I'm using the AJAX form example for Freeform Pro as described here;
https://solspace.com/docs/freeform/form/#ajax_validation

However, the error messages are not very useful and simply say "Required field missing input". Does anyone know if there is a simple way to customise these for each field?

I'm thinking this is perhaps more something in javascript than the module itself.

I also have prevent duplicates switched on for the email address, so I would need to ensure there is still an error for the duplicate along with email errors such as "Please enter your email address" or "Please enter a valid email address".

Thanks,
Neil


texts:
I installed the CE Cache plugin on my ExpressionEngine v. 2.11.1.  Everything started working well the first two weeks but now it is taking too long to load a page from the site, and sometimes I got disconnected.

Here is my current configuration:

//// CE cache settings
$config['ce_cache_drivers'] = 'file|db';
$config['ce_cache_file_permissions'] = 0644;
$config['ce_cache_dir_permissions'] = 0775;
$config['ce_cache_seconds'] = 300;

Next, doing a research on my server I found that the  ce_cache_db_driver table is around 10 GB size  and the file cache directory is some GBs on size... This is going to consume all my hard drive and my DB.. Also, since it is a really big cache, I am not able to view the files on the EE Control Panel.

Any ideas about how to purge both, DB and File Cache?