texts: Upgrade from EE1 to EE2 is causing some issues with Matrix

texts:
Error Number: 1054

  Unknown column 'is_draft' in 'where clause'

  SELECT row_id, col_id_9 FROM exp_matrix_data WHERE field_id = 20 AND
  entry_id = 54 AND is_draft = 0 ORDER BY row_order ASC LIMIT 100

  Filename: third_party/matrix/ft.matrix.php

  Line Number: 2808

This is the error I am receiving. I made a mistake when moving over fields where I was using the nGen File Field, so I don't know if that is adding to the issue.

What can I do to fix this?


texts: Issue with grouping members in EE using either AB Member Categories or an alternative

texts:
I'm struggling with a concept in EE, and indeed explaining it, but what I need is essentially a way to group members so, for example, I'd have a group called Google then other members could be assigned to it. This would allow for content on the front end to be shown only to those that are part of that group.

I can't use member groups for this as I still need those for permission based things. I've looked at using AB Member Categories and this would be okay however it doesn't appear to be flexible enough when it comes to displaying entries from a specific category (group) based on the id/username of the person who is logged in.

Here is an example:

Groups / Members:

Google

Member 1
Member 2
Member 3

StackExchange

Member 4
Member 5
Member 6

Facebook

Member 7
Member 8
Member 9

If Member 4 logs into the site then they will only see content linked to StackExchange, however if Member 2 logs in then they will only see Google related content.

Can anyone help out at all?

Thank you.


texts: EE & CartThrob: Conditional Not Working?

texts:
I've been looking at this for a bit, so maybe my eyes are just fried right now, but I can't seem to figure out why the following conditional is not working:

{if {total_items} != "0"}

                            {if {exp:cartthrob:cart_subtotal prefix=""} >= "40"}

Delivery Options

                                <input type="radio" name="delivery_option" value="pickup">Pickup

                                <input type="radio" name="delivery_option" value="delivery">Deliver to:

                            {if:else}
                                {exp:channel:entries channel="cart"}

{pickup_only_notice}

{delivery_minimum_notice}

                                {/exp:channel:entries}
                            {/if}

                    {/if}

Right now, it just spits out the {if:else} portion of the code, even if the shopping cart subtotal is greater than or equal to ( >= ) 40. When the subtotal is over 40, the Delivery Options radio boxes should appear, but they don't.

This is very confusing and I assume that it might have something to do with the {exp:cartthrob:cart_subtotal prefix=""} tag, but this is precisely how the CartThrob documentation suggests creating conditionals with the cart subtotal (e.g. stripping the currency prefix ($) to compare values.


texts: Need help upgrading EE along with PHP on my website

texts: I have a website built in ExpressionEngine but my developer is no longer working with freelance clients. I recently received a notice from my hosting company that my website's PHP is out of date and I have until March 1 to upgrade to PHP 7.2 or start paying an $8 monthly fee. I am looking for a developer who could help me with upgrading both EE and PHP so my site keeps working and I can avoid the monthly fee. Willing to pay of course! Not quite sure how this board works and if you'll be able to email me off of this post - let me know if you need additional information. Thanks!


texts:
I have moved the site www.webawards.com.au and followed the information in regards to moving the existing site to a new server.
I have a problem with too many 302 redirects and the hosting company says it is not them.
I have a modified HBP5 .htaccess file. I have commented out different sections of the rewrite engine rules and tested these to no avail.
here is the code I have used for the rewrites.

<IfModule mod_rewrite.c>

# (1)
RewriteEngine On

# (2)
Options +FollowSymlinks

# (3)
# Options +SymLinksIfOwnerMatch

# (4)
RewriteBase /

# (5)
# RewriteOptions <options>

# (6)
RewriteCond %{HTTPS} =on
RewriteRule ^ - [env=proto:https]
RewriteCond %{HTTPS} !=on
RewriteRule ^ - [env=proto:http]

</IfModule>

# Option 2: rewrite example.com → www.example.com
#
# Be aware that the following might not be a good idea if you use "real"
# subdomains for certain parts of your website.

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{HTTPS} =on
    RewriteCond %{HTTP_HOST} !^www\. [NC]
    RewriteCond %{SERVER_ADDR} !=127.0.0.1
    RewriteCond %{SERVER_ADDR} !=::1
   RewriteRule ^ %{ENV:PROTO}://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
</IfModule>
# ----------------------------------------------------------------------
# | Forcing `https://`                                                 |
# ----------------------------------------------------------------------

# Redirect from the `http://` to the `https://` version of the URL.
# https://wiki.apache.org/httpd/RewriteHTTPToHTTPS

<IfModule mod_rewrite.c>
   RewriteEngine On
   RewriteCond %{HTTPS} !=on
   RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]
</IfModule>

Is there anything in the version of EE I am using that would cause the redirects. I am at a loss as to what it can be. It happens when ever I save or submit a change via control panel and it is also happening to people who are entering the awards and saving their entries.

Any help would be appreciated.


texts:
Has anyone done forms with logical branching in FreeForm? Something like, if somebody selects "Other" from a radio group, show + require an "Other" text field? If there are any examples that'd be a great help.

Or is FreeForm not the right place to start for something like this? Thanks for any ideas.


texts: CartThrob tax being calculated incorrectly

texts:
I have a single tax rate of 10% set up for CartThrob (including shipping which is a flat rate up to $400 then free after that) but the value being output in the cart is incorrect, it's coming out at about 10.6%.

I thought as a stop-gap measure, I could reduce the tax rate a bit so that when CT incorrectly adds a bit more, it would come out at 10%, but no matter what rate I enter, it always comes out wrong and I can never get it to equal 10%.

I've tried using both tax by location – percentage and with standalone tax database, but the results are the same for both.


texts: Freeform option to hide forms from Member Group?

texts:
As the title suggests, is it possible to hide certain forms from a member group when they are logged in. I am using 5 forms on a site but I only want to allow a member group access to the one form.

UPDATE: This is in the CMS, so Backend.

Many thanks in advance.
Clinton


texts: How to prepopulate Freeform input values from a channels data?

texts:
I have a channel "activities".

In my template the activities look like this:

Activity titel 1 | 10-10-2013

Some description text

sign-up for this activity >>

Activity titel 2 | 23-11-2013

Some description text

sign-up for this activity >>

Activity titel 3 | 24-11-2013

Some description text

sign-up for this activity >>

…

When somebody clic on "sign-up for this activity >>" you go to a form (I use Freeform)
and I want the "Activity titel" and the activity Date to be already fill, for example:

Activity: Activity titel 1

Date: 10-10-2013

Name:

Adress:

email:

submit button

People just have to fill their name, address and email.

Can someone help me with this.

Francois


texts: How to target a specific field in the Control Panel with CSS or JS to increase its height (P&T Multiselect)?

texts:
I have a Pixel & Tonic multi-select field with 50-60 rows in it. The users obviously need to be able to easily select more than one item. By default, the P&T field shows about 4 items at a time, which is making this enormously difficult to use - I'm half tempted to switch to categories. I don't see anywhere where I can set the height of the multi-select field when setting up the custom field.

Looking at the source, I should be able to target it with CSS/JS (#sub_hold_field_128 select) and set its height:

<div id="sub_hold_field_128" >
   <fieldset class="holder">
      <input type="hidden" name="field_id_128" value="n" />
      <select name="field_id_128[]"  multiple="multiple">
          <option value="al">Alabama</option>
          <option value="ak" selected="selected">Alaska</option>
          <option value="az" selected="selected">Arizona</option>
          <option value="ar">Arkansas</option>
          ... etc ...
      </select>
  </fieldset>

What is the easiest way to set this? Do I need to tie into a hook like cp_css_end?


texts: Seeking input for camp registration site

texts:
I am looking for some advice for a kids camp looking to take online registrations.

It will require:

parents creating a member account
Parents adding kids (as channel entries I suspect)
Adding Camps (products)
Checkout/payment processing
Invoice/receipt
Tracking kids registered in different camps
Parents can use same info next year when registering kids again with the option to edit their kids details.

My first thought was CartThrob but would love some advice if other modules are out there I am not aware of.


texts: Incorrect no_results page returned for simple search

texts:
This site has been updated from 1.7.1 to 2.6.1, there are no known issues other than this one at present.

The problem is that the search no_results page is from the old site (design, css, imagery etc), however, the template that is in both the db and the file system (saving templates as files) is a new one.

In the simple search form params we have

{exp:search:simple_form
  channel = 'blog'
  status = 'open'
  search_in = 'everywhere'
  no_result_page = 'search/no-results'
  results = '100'
}

The url that a no results search displays is

/search/no-results/27e28542d78e8e6c2cafef090a2007b5/

the hash (segment_3 varies for different unfound terms)

and in both the db and the templates directory we have a search group,

search.group
    index.html (empty)
    no-results.html
    results.html

The content of the no-results.html is the new code, both in the db and the files.

A 'successful' search uses the results.html template above it's just the no-results that are coming out on the 'old' template.

In addition we have tested this

Logged in and logged out
After clearing cookies
After clearing all site caches
After synching templates and checking the content in the control panel, database and file system.
It happens on a variety of machines (eliminating browser caching)
There are no rewrite rules that match

We have no idea where the system is finding this template from. Any ideas?

Thanks in advance.


texts:
I'm having a problem where my client keeps uploading 6MB 300PPI images and crashes the server when CE Image tries to process them. So I figured I could just go into Assets and limit the upload size for that asset source (it's an S3 source), but I didn't see any setting like that available.

Is it possible to limit the size of an upload in an external Assets source?


texts: Zoo Triggers Path Paramter adding Root of Site to URL

texts:
I have EE running with Structure, Transcribe and Zoo Triggers, I have categories in my 'Shop' channel of 'cds', 'digital' and 'merchandise'. Zoo Triggers displays the categories correctly and it displays the entries related to that category correctly but the link it generates is adding the root of my site no matter what I put in the path parameter (my test site is in a sub folder of my main domain). So what I am getting from the following code is:

{exp:zoo_triggers:categories channel="shop_item" css_id="subNav" show_counter="no" path="{site_url}index.php/{segment_1}/category"}
     {category_name}
{/exp:zoo_triggers:categories}

www.mywebsite.com/http://www.mywebsite.com/clients/client-name/index.php/shop/category/cds

Instead of

http://www.mywebsite.com/clients/client-name/index.php/shop/category/cds

Anyone ever run into this before? Or have a fix for it?

Thanks.
Stephen.

** UPDATE **
This is now working as it should, Zoo Triggers released an update.


texts: Can you use Multi Currency in Cart Throb

texts: I need to find an option to allow Multi Currency in Cart Throb checkout.  Is there a way to automatically change the currency based on the customers country code?


texts: Conditional Formatting: if the value matches one of these

texts:
I'm using a multi-author field (VZ Members) that outputs this for author IDs;

4333|3871|3957

How can I show entries that match the logged in user?  Something like:

If logged_in_member_id matches one of these, 4333|3871|3957, then show entry.

Is there a built-in EE way or does this jump to embedded php?  (I hope this question isn't too trivial... it feels that way)


texts: Problem with empty, non-required Assets 2.1 field in a Matrix row

texts:
I upgraded to Assets 2.1 yesterday and am experiencing a problem when a non-required Assets 2.1 field in a Matrix row is empty. On a single-entry template (limit=“1” and require_entry=“yes” parameters in my exp:channel:entries tag) this situation is causing the {if no_results} conditional to be invoked. Selecting a file for the empty, non-required, Assets field and re-saving the entry fixes the problem.

Thanks in advance for your help.

Matrix 2.5.3
ExpressionEngine 2.5.2 Build 20120606

Here is template code that will trigger the issue:

{exp:channel:entries channel="videos" limit="1" status="open" disable="categories|category_fields|pagination|member_data" require_entry="yes"}{if no_results}{redirect="404"}{/if}<!doctype html>

<title>Page Title</title>

Videos

{sidebar_videos limit="1"}

{youtube_caption}

{/sidebar_videos}

All Videos

{sidebar_videos}

{youtube_thumbnail}{/youtube_thumbnail}

{/sidebar_videos}

{/exp:channel:entries}

{sidebar_videos} is my Matrix field, which is not required. {youtube_thumbnail} is the problem Assets field within the Matrix field. The other columns in the Matrix field are:

{youtube_title} (Text/required)

{youtube_video_id} (Text/required)

{youtube_caption} (Wygwam/required)

{youtube_thumbnail} (Assets/not required)


texts:
I have a supersearch tag that is searching through my channel which includes a playa field.

This is my tag:

{exp:super_search:results
    channel="articles"
    limit="3"
    search_in="title|speakers"
}

The speakers tag is a Playa field (containing just a first_name and last_name) and the title.

It appears that my playa field is not being search, even though I have it set to searchable in the channel_field settings.

Does anybody know what's going on here?

Thanks so much!


texts:
We have a unique problem where we still want the fields on the entry page to be available to view but have them disabled so they cannot be changed. So the editor group sees the field but cannot edit it.

Or

A plug that allows us to show a panel with the information.

Any ideas?

cheers,


texts: Multisite Manager and Redactee - links in entries being rewritten by *something*

texts:
This is an odd one as these sites have been running for a long time and this issue has never previously come up.

I have a group of sites running under Multisite Manager.

On one of the sites (Site A) I have a news channel. Entries in this channel are shown on different sites based on categories - let's call the site in question Site B.

It has just been noticed that a link to a file uploaded to Site A is mangled when that entry is shown on Site B.

The link is hardcoded into the entry content (via a Redactee field) with the full URL. It should be something like http://www.siteA.com/downloads/my_file.pdf and on Site A this is how it is shown.

But on Site B the link is turned into http://www.siteB.com/news/%7Bfiledir_7%7Dmy_file.pdf

Somehow the link is being rewritten and because the downloads directory doesn't exist on Site B I'm getting the unparsed file directory.

I can't find any setting in Redactee to control rewriting of links so what is doing this?

Update: Even if I just write the URL in the text EE seems to replace the portion that matches one of the upload directories with {filedir_7}

Update: these sites are running on 2.5.2 - updating isn't really practical at the moment unless there is no other way to fix this and an update definitely will solve it.

RESOLVED (sort of)
I had a brainwave which fixed my particular situation. I simply removed the www. from the href of the link. So it became http://siteA.com/downloads/my_file.pdf This stopped whatever from recognising a defined upload directory and replacing it with the filedir_x tag.

I still have no idea what was doing that.


texts:
so I am trying to call a Playa (m_p_discipline) inside a Matrix (discipline_3rd_order) inside Playa (thirdorder) inside of channel:entry. I am using var=prefix to get this far. The results of my code is it lists all available playa list entries not just the ones I am trying to get. I must be close but something is off.

Thanks for looking hope you can help!

        <li>
            {thirdorder:discipline_3rd_order}
                {thirdorder:exp:playa:children field="m_p_discipline" var_prefix="matrix_disipline"}
                   {matrix_disipline:title}
                {/thirdorder:exp:playa:children}
            {/thirdorder:discipline_3rd_order}
        </li>


texts: I have promotion codes set to be used only once per user. I have tested them by entering the code on checkout1 and then updating the totals. I don't actually check out and pay. The next time I try to use the code I get an error saying the code is not valid. But I haven't actually used it. Interestingly, the error doesn't occur when i'm logged into the CP in another tab in the browser. I tested this because it happened with a buyer who loaded up her shopping cart and used the code, but then was called away from her desk. When she came back, she refreshed her page and got the error. She can no longer use the code, even though she hasn't used it to check out.


texts:
I have a basic template that I plan on running on a cron job. I have stripped out the unnecessary parts, but the template still sends duplicate emails.

Here is the code:

<?php

    $this->EE->load->library('email');
    $this->EE->load->helper('text');

    $this->EE->email->wordwrap = true;
    $this->EE->email->mailtype = 'text';

    $this->EE->email->from($from);
    $this->EE->email->to($recipient);
    $this->EE->email->subject($email_subject);
    $this->EE->email->message(entities_to_ascii($email_msg));
    $this->EE->email->Send();
?>

What am I doing wrong? It sends me two emails.


texts: Accesoire development, determine publish page

texts:
An older accesoire add-on i have have, uses
if($this->EE->input->get('C') == 'content_publish'){ ... }
to determine if we're on the publish page.

Since 2.8/2.9 the cp url structure changed
example.com/system/index.php?/cp/content_publish/entry_form&channel_id=3&S=x

Could check the uri class segments
Could check EE->router->class and ->method

What are current/good methods to determine control panel pages we're on?


texts:
can I do an embed within a stash:parse with process end?

{exp:stash:parse process="end"}
    {embed="index/.homeFeatured"}
{/exp:stash:parse}

I just got the the embed line printed on the screen, without parsing.

actually my whole code looks like this:

{stash:embed:ech:stash_featured stash:rubricid="0" stash:limit="7"}
{stash:embed:ech:stash_entries stash:rubricid="0" stash:hideFeatured="7"}
{stash:embed:ech:stash_disrupters stash:rubricid="26
{stash:embed:ech:stash_teasers stash:rubricid="41"}

{exp:stash:parse process="end"}
   {in:sert:index/.homeFeatured} // inside here there is my embed which is not getting parsed
   {in:sert:index/.homeBrandnew}
   {in:sert:index/.homeAktuell}
   {in:sert:index/.homeArchive}
{/exp:stash:parse}


texts:
I have an SQL query which I'm adding to a small search plugin, however when I run the SQL in MySQL it works and results are found, however no rows are being returned when running the code in the plugin. Any ideas?

$query = ee()->db->query('
    SELECT c.cat_url_title, c.cat_name, ch.channel_name FROM exp_categories c
    LEFT JOIN exp_channels ch ON ch.cat_group = c.group_id
    WHERE c.cat_name LIKE "%' . ee()->db->escape_str($keywords) . '%"
');

UPDATE (moved from further answer)
Thanks. I was being thick! the query was working correctly. I was sending it the wrong parameter


texts:
I have Wygwam and Assets. In a Matrix cell I upload and insert an image via Wygwam/Assets. After I publish, no image. Sometimes I get the alt tag text, sometimes nothing, as in no img tag. If I persist by opening the entry and re-publishing, maybe a couple of times, I get the image eventually. Obviously, I can't hand this over to a client.

No problem with Assets when it's its own custom field or in Matrix as an Assets cell; just goofy in conjunction with Wygwam.

All add-ons and EE are up-to-date as of May 25, 2013.

Rick

Further to: I created a test channel with only a Wygwam custom field. I created a template that only renders this field. I created some entries, some with just an image in the Wygwam field, one with both text and an image in the Wygwam field. I used different images from different Assets folders each time. In all cases, the rendered img tag is wrong.

It renders:

<img alt="wac" src="http://wac.artsforall.ca/images/uploads/files/General/WAC-logo-thumbnail.jpgGeneral/WAC-logo-thumbnail.jpg}" style="width: 144px; height: 131px;" />

See that extra "General/WAC-logo-thumbnail.jpg}"? It's wrong. It doesn't show in the field's source view. It's there on the rendered page when viewing source.

Further further to: If I go back to the entry and Submit again, then the resulting link is correct and the image displays.

Which is not, of course, a solution!


texts: excerpt in simple search shows url of file in search results

texts: I'm using the native EE simple search, and I'm using the {excerpt} tag, which displays the correct information on all the search results except for an audio file that pulled up in the results.  For the audio file, it displays the url to the file.  How would I prevent this from happening?


texts:
The latest version in Devot: ee is 1.6.3 which is compilable with EE4.

If you buy this latest version, can you access version 1.6.2, which is compatible with EE3?

How can it be requested?

Thank you


texts: Show particular event occurrence details

texts:
I have a calendar showing all upcoming events, many of which are occurrences of an event (example: weekly basketball on Thursdays from 6 to 9pm).

If the user selects the third occurrence of this event, it still shows the event details for the first upcoming occurrence rather than date & time info for the third one.

Example:
First occurrence July 13 6-9pm
Second occurrence July 20 6-9pm
Third occurrence July 27 6-9pm

If the user selects the third occurrence and clicks on the event, the event page that comes up shows July 13 6-9 and not July 27 6-9...how do I pull a specific occurrence for an event when it is selected from a calendar?


texts: Using Stash to store a variable in the loop based on a conditional

texts:
I have this code.

{exp:channel:entries
    author_id="{segment_3}"
    channel="images"
    disable="categories|category_fields|pagination"
    dynamic="no"
}
    {if no_results}
        {exp:stash:set name="default_image"}http://placehold.it/200x200/{/exp:stash:set}
    {/if}

    {if count == 1}
        {exp:stash:set name="default_image"}{image}{/exp:stash:set}
    {/if}

    {if is_default == 'yes'}
        {exp:stash:set name="default_image"}{image}{/exp:stash:set}
    {/if}
{/exp:channel:entries}

The goal of the logic here is to get default image. Here is the logic

If there are no results, use a default image
If there is only 1 profile image, use it as default image
If there is a default image set, use it as a default image

I try to use Stash to make this happen but outputting the contents of

{exp:stash:get name="default_image"}

returns a blank string.

Am I doing something wrong with Stash? Is it even possible to do it?


texts: New channel form hook, unable to get submitted data

texts:
I have just updated EE to 2.7.1 and see that Safecracker is now changed to Channel Form.

I have an extension which runs on submission end so have had to change the hook to the new hook for channel form.

The problem is, I am unable to get the submitted information as I did before.

Here is the top of my function, with the hook changed over.

public function channel_form_submit_entry_end($cf)
{
    $entry_id = $cf->entry['entry_id'];
    $member_id = $cf->entry['author_id'];

How do you now go about getting submitted information, as the following isnt working.

$cf->entry['entry_id'];

Thank you.


texts: Editor doesnt show up as it should in SC

texts:
Because of the missing "usage" docs in DevDemons site, i dunno what i need to do to get the Editor shown in SC form.

I thought this would do the trick but it was a no-go:

Body

                        <textarea name="edtr_body" rows="10" cols="50" style="width:90%; background-color:#b3c1cd;"></textarea>

Someone for sure can tell how to add this fieldtype to SC?
Thanks.

PS: i am using html5 template.


texts: ExpressionEngine with CartThrob Paypal return error

texts:
Clients are not being redirected to the return parameter on the checkout form on CartThrob on EE after sales completion from PayPal. Error states that "the page isn't redirecting properly. Firefox has detected that the server is redirecting the request for this address in a way that will never complete. This problem can sometimes be caused by disabling or refusing to accept cookies"

This does not only happens to me while testing the cart, it also happens to actual customers.. Any help would be greatly appreciated..

Thanks..


texts: How to enable channel URL and not have EE use template group?

texts:
I have a channel named Contact, that will hold basic contact information.

The channel fields for this group I have is short list of a few input text fields and one textarea. The template group I have is a template that holds standard content for most pages, also called Page Content.

I have manually entered the url for the Contact channel, adding contact to end of my site's url.

Of course, when I navigate to this page right, I am getting a 404. I am able to access the page by going to http://mysite.com/page-content/contact.

How do I remove the first segment and have EE load the particular channel URL I have specified for this channel?


texts: Stash parsing? Trying to compare a field from parent entry to field in child entry (Matrix + Playa)

texts:
I've been hacking at this for a good portion of my day, and I'm at a rather sturdy brick wall right now. Feels like the answer should be fairly obvious, but after trying every possible combination of settings, I'm thoroughly stuck.

(Backstory, not entirely relevant, perhaps: In a parent entry, I have a matrix, and in that matrix, I have a playa field. Additionally, I have a field (a single select dropdown) whose value I want to use in a conditional while looping through a matrix in the child entry. Have I lose anyone yet?)

Now, the stash item will show up while working in the parent entry's fields just fine but if I use {exp:stash:get} in the child entry, nothing shows up. The exception to this, however, is if the stash item is hardcoded. I found this out while seeing if it was even crossing over at all.

I've tried all sorts of combinations of settings, starting out very deliberately then moving on to smashing my keyboard hoping for the right combination of parameters while desperately searching my desk for bourbon.

I assumed, at least, using parse_tags='yes' would mean the contents of the Stash item were, essentially, hardcoded, no longer dependent on the rest of the template to work. Am I missing something?

(If I need to include code, I can, but it didn't seem entirely relevant.)


texts: Is it possible to parse tags in an entry?

texts:
Is there any way to put EE tags in entries, by entering the tag in a textarea of a channel entry for example?

I know there was an old plugin that enabled this, but is there anything for EE5?

Thanks.


texts: Importing nested categories with Datagrab

texts:
Having difficulties importing nested categories from a CSV. Currently I have a single categories column, formatted as follows: 'parentcategoryname, subcategoryname'.

The subcategories all have unique URIs but their names are not unique. So, the subcategory with the correct name will be selected on import, but it will be under the incorrect parent category.

Is there a way to import nested categories, and I just have my CSV set up incorrectly?

EE version 2.9.2, Datagrab version 1.9.2


texts: I'd like to be able to pre-populate some DevDemon form fields depending on the URL. Is there a way to accomplish this?


texts: CartThrob - Change of Status Notifications being sent, even without change of Status

texts:
I'm using Channel Form to edit the data stored for a CartThrob Order entry.
I have a couple of CartThrob notifications set up to send an email when the status is changed. These work just fine.
However, they are also being triggered when any data field is changed... without the Status being changed.

For example, if an Entry Status is set to "Booked", a Notification is sent. If I edit the Entry (using Channel Form) but leave the Status as it is (still as "Booked"), the Notification email is sent again anyway.

Am I doing something wrong?


texts: Removing a grid row from SAEF / Channel Form and saving doesn't update entry

texts:
I've got a channel form which contains a grid field and I can add and edit content with no issues. The problem however is that if I remove an entire row, and then save the edit, nothing is updated. I'm returned to the entry and the row remains.

{exp:channel:form channel="content" return="URL_TITLE" entry_id="{segment_3}" require_entry="yes"}

Edit: {title}

    <input type="hidden" name="structure_uri" value="{url_title}">
    <input type="hidden" name="structure_template_id" value="36">
    <input type="hidden" name="structure_parent_id" value="0">

    <input type="text" name="title" value="{title}">

Section #1

       {field:section_1}
       Add Attachments?

Section #1 Attachments

          {field:section_1_files}

    <input type="submit" id="save" value="Save Changes">

{/exp:channel:form}

Both {field:section_1} and {field:section_1_files} are the grid fields. Once I remove a row it disappears from the page and is replaced with the;

"You have not added any rows of data yet. Add some data?"

But saving doesn't appear to be doing anything.

Any help would be great

Thank you.


texts:
In V2.7 when you used the embed media toolbar button it automatically wrapped the embed code in a div with a class of embed_media.

In V3.3.3 this no longer happens. The first time I did it it was just wrapped in a P tag, the next time it was a Div, but with no class. This makes applying CSS formatting for responsive sizing impossible.

Is there a fix for this?


texts:
I'm trying to help out with a client that manages its own in-house web server, where iCal and BusyCal are used to maintain a dozen or so calendars. These calendars are displayed for members in a portal facilitated by ExpressionEngine.

The previous developer, who is frustratingly unavailable, hacked together an add-on that parses .ics files with SG-iCalendar, turns events into a JSON feed, and uses loads of JavaScript to render them in this portal. The result is a poorly-performing calendar that's now incorrectly rendering some recurring events depending on how they're defined in the ICS format.

Is there a better way to reliably display calendar events in the portal without requiring the client to change the way they currently manage events? iCal, BusyCal, and Outlook all do just fine rendering these calendars accurately – but I'm not sure what to advise to help the client away from this hack and not waste money having me re-invent the wheel with a new parser.


texts: Disable the ability to check multiple categories

texts: Is it possible to disable the ability to check multiple categories for an entry in the control panel, only leaving the option to check one category?


texts: Performance of Matrix and P&T Field Pack add-ons

texts:
On every install I have P&T field pack and Matrix installed. blindly.

just recently I had to analyse a site's performance, and the only spike in load times I discovered was P&T add-ons.

(0.081127 / 20.43MB) Calling Extension Class/Method: Matrix_ext/channel_entries_tagdata
(0.251239 / 21.99MB) Calling Extension Class/Method: Pt_field_pack_ext/channel_entries_tagdata

it this always the case?

it uses 1.5 MB of memory and 0.17s...
this seams a lot?

is matrix using that much resources or is it the field_pack?
or am I not interpreting the numbers correctly...

cheers
stefan


texts: Embed Variables not parsing in time in embed placed inside of Playa Parents tag

texts:
I’m currently trying to add a safecracker form that either creates a new entry or edits the existing one depending on whether or not the CURRENT_USER has made one or not. Part of this also requires I place the form inside of a exp:channel:entries tag. Now, when I’m using the code below, I find that my embed variable for segment_id is not parsing properly, but instead, it looks like it’s parsing after everything else and actually returning {entry_id} as the embed variable.

{exp:playa:parents channel="implementation_notes" status="not closed" author_id="CURRENT_USER"}
  {if no_parents}{embed="embeds/_implementation_notes_form_create" segment_id="{child:entry_id}"}{/if}
  {embed="embeds/_implementation_notes_form_update" segment_id="{entry_id}"}
{/exp:playa:parents}

Anyone have a suggestion how to get around this without having to refactor the original developer’s code too much?


texts:
I need to create a categories with a parent/child structure as follows:

Category Parent 1

Parks
Accommodations
Dining

Category Parent 2

Parks
Accommodations
Dining

The child categories need to be the same for each parent but EE won't allow this.

Is there a way around this?

Thanks!


texts: CartThrob: display content if certain product is in package

texts:
I'm using CartThrob for e-commerce. I need to display a block of content only if the package displayed contains a product with a certain entry_id. I was assuming I could just wrap the block of content in a conditional that checks the included products for an entry_id? The channel entry_id of the product I need to check for is 23.

If possible, I could also use a tip on how to enable shipping only for packages that contain this product with this entry_id.

Here is my main template:

{exp:channel:entries channel="rides" limit="1" dynamic="no" url_title="{segment_3}"}

&laquo; Back to Pro Rides

{title}

Price: ${ride_price}

            {if ride_body}

{ride_body}

            {if:else}

{ride_excerpt}

            {/if}

            {embed="views/.packages"}

{/exp:channel:entries}

Here is the embedded packages template:

{exp:channel:entries channel="store_packages" dynamic="no"}
{if related_ride == "{segment_3}"}

{title}, {entry_id}: {packages_price}

            {!-- check for product entry_id inclusion --}

            {!-- end conditional --}

Purchase Ride now &raquo;

{/if}
{/exp:channel:entries}


texts: Day names not showing after Solspace Calendar upgrade

texts:
Calendar is displaying after upgrade to latest version of EE but the day names for {exp:calendar:cal aren't displaying.

I get day_1_3 as an output instead. It's the same for {day_of_week} as it is for {day_of_week_short}.

I'm using EE 2.11.1 and Calendar 1.8.14


texts:
Im trying to archieve the following, but somehow im missing something wich i can't figure out.

Basiscly, this is my setup:

I have an entry relationship with a grid field, wich contains a file/image.

And this is the syntax im trying to use. So far im able to get the grid field ouput, but i can't figure out how to show any file output.

This is my syntax:
showcase = relationship field
showcase afbeelding = grid field
cf_afbeelding = file field.

{showcase}
            <ul>
            {showcase:showcase_afbeelding}

                    {showcase_afbeelding:cf_afbeelding}

                        <li>  </li>
                    {/showcase_afbeelding:cf_afbeelding}

            {/showcase:showcase_afbeelding}
        </ul>
  {/showcase}

{showcase_afbeelding:cf_afbeelding} //works

{showcase_afbeelding:cf_afbeelding}
   {showcase_afbeelding:cf_afbeelding:path} //doesn't work.
{/showcase_afbeelding:cf_afbeelding}


texts: How to get group_id of a Channel entry's author?

texts:
I need to implement some business rules based on the following:

The current user's {group_id}
The group id of the author of a particular Channel entry

I need to implement this rule within the {exp:channel:entries}, I suppose. In that loop, I'll have access to {author_id}, which possibly could be used somehow to get it's associated group id???


texts: ExpressionEngine 3 add back index.php through file

texts:
Did a little stupid thing the other day by removing index.php through control panel but not .htaccess. Now I can't access CP, and I need to add back index.php through the file, sort of manual way.

I'm developing locally and If I remove index.php through htaccess too it redirects to localhost:8888/admin.php

<IfModule mod_rewrite.c>
        RewriteEngine On
        RewriteBase /

        # Removes index.php from ExpressionEngine URLs
        RewriteCond %{THE_REQUEST} ^GET.*index\.php [NC]
        RewriteCond %{REQUEST_URI} !/system/.* [NC]
        RewriteRule (.*?)index\.php/*(.*) /$1$2 [R=301,NE,L]

        # Directs all EE web requests through the site index file
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteCond %{REQUEST_FILENAME} !-d
        RewriteRule ^(.*)$ /index.php/$1 [L]
</IfModule>

But because I have the site inside folders etc and have other projects I cannot have this site in root directory as localhost:8888

My current URL is http://localhost:8888/sitename/ee/admin.php

How can I turn back index.php but the manual way.

I hope this makes sense.


texts: Which version of JQuery UI does EE 2.8.x ship with?

texts:
I checked the EE 2.x Changelog (http://ellislab.com/expressionengine/user-guide/about/changelog.html) and system reqs (http://ellislab.com/expressionengine/user-guide/installation/requirements.html), and couldn't find anything. Then I added the include_jquery="yes" parameter to a {exp:channel:form} tag, checked browser source and found:

jQuery JavaScript Library v1.7.2

However, when I look at JQuery UI, I get:

/*!
* jQuery UI @VERSION

What does @VERSION refer to? How can I find the version of JQuery?


texts: Are the following addons compitable with EE 2.8.1

texts:
Going to upgrade a site from EE 2.5.3 to 2.8.1

Are following addons compatible with EE 2.8.1?

Assets
Cartthrob
Cartthrob Order Manager
Channel Images
Wygwam
Playa
Matrix
Simple S3 Uploader
CE Image
AJW Export
Profile:Edit
Field Editor
Ct Admin, User

Sorry to ask such question here. But I found many of those addons owner ask to post question here. Going to  tag the question by addon name.

Thanks


texts:
Hi and thanks in advance for any help!

Our main domain is ecologyproject.org, which contains information for all of our program sites.

We have purchased other domain names, specific to our program sites, e.g. epibelize.org

DNS for both domain names point to the same IP, so they currently pull the same exact content. So essentially epibelize.org is a domain alias.

So currently, epibelize.org will just pull up our main page/site. We would like to have epibelize.org pull a subset of pages though; so if someone navigates to epibelize.org via browser URL, we would like that to pull up ecologyproject.org/programs/local-communities-campuses/belize.

Currently: epibelize.org -> ecologyproject.org
Desired: epibelize.org -> ecologyproject.org/programs/local-communities-campuses/belize

Can we do this? Or hosting provider said to do a 301 redirect, and I have tried this, but I can't seem to get it to work.

EE v2.10.1 - Detour Pro

Any ideas?

Thanks again!

Derek


texts: Where to find the website's homepage in expressionengine?

texts:
I m trying to change the tag title  of the homepage but I can't locate the homepage in the cms . I can't edit the layout page since it generates the tag title dynamically on the code below . Does anyone know how to locate the home page in the cms  ?

{!--choozle tag--}
<script type="text/javascript"  src="//nexus.ensighten.com/choozle/200/Bootstrap.js"></script>
{!--end choozle--}

{if layout:meta_title}
     <title>{layout:meta_title} | {site_name} </title>
     <meta name='description' content='{layout:meta_description}' />
     <meta property="og:description" content=" {layout:meta_description}" />
     <meta property="og:title" content=">{layout:meta_title}" />

{if:else}
   {exp:seo_lite use_last_segment="yes"}
{/if}

{if layout:og-image}
    <meta property="og:image:url" content="{layout:og-image}" >
{if:else}
    <meta property="og:image:url" content="{lv-og-url}/images/og-logo.png" >
{/if}


texts: How to dynamically output all products within a category on a dynamically created category page?

texts:
I'm building a site that has two main channels:

Product (this describes a meat, cheese or milk product).  The user can then create entries describing the product, then categorise this product as 'milk', 'meat' or 'cheese'
Product category (this describes all products of a certain type, i.e. describing how great all the meat products are).  This is used to create a category page for each product category the business wants to list.

I've successfully set the templates up so that a main 'products' page is pulling in an image, name and short description for each instance of the 'product category'.   You can then click through to each 'product category' and see the name and a long description of the category.

The problem I'm having is how to specify: "Show all instances of 'products categorised as meat' within the 'product category' channel entry for meat" and so on, for each product category

I could create a template for each different kind of product category, but it seems like this should be simple and I'm missing something obvious!

The folder structure is something like this:

/products/product_category/product_name/

Realstically: /products/meat/smoked-bacon

/products/ - Lists product categories

/meat/ - Lists everything categorised with 'meat' (this is the bit I'm struggling with)

/smoked-bacon/ - A product page for smoked bacon

Any help would be appreciated!

Cheers


texts:
I'm wondering how to use categories with Grid in a particular circumstance, or if that is really the best way to go.

Specifically, I'm doing a website for a restaurant and they want to be able to update their menu on a daily basis, so I want to use a Grid fieldtype for this.

So the question: is it possible to have a single Grid with the edit screen like this, with "Appetizer" and "Entrée" as categories?:

Appetizer
 -- item1
 -- item2
 -- item3
Entrée
 -- item1
 -- item2
 -- item3

Or does it make more sense to just have Appetizer, Entrée, etc. as separate Grid fields?

Thanks in advance!


texts: Solspace Rating stars alternative output

texts:
I'm trying to find out if there's a way to output alternative markup for the {stars_overall_avg} and the {stars}{rating}{/stars} rating tags.

Instead of the images, I'd like it to output a set of tags I can hang classes from.

Cheers
Brendan


texts: Multiple ul tags in columns within single channel entry tag

texts:
Trying to see if there is a way natively in EE (2.7.3) not just to switch classes within a ul but to have multiple instances of ul tags within one channel entry without using add-ons like switch?

A

B

C

D

E

F


texts: Move ExpressionEngine from development to live (same server)

texts:
I'm 95% of the way through a project just now and soon I am going to have to move EE from the 'development' folder to the 'live' folder. My questions before I do this are:

Can I just copy all the EE files from the 'development' folder to the 'live' folder and then change the paths specified in the docs? If so are all the login details the same?
Do I need to create another database or can I use the same one that is already set up?
Can I keep the 'development' version where it is in case I need to do anymore development?

I am fairly new to EE so any help is much appreciated.

Thanks.
Stephen.


texts: Error when using WYGWAM 3.2.1 & Assets 2.2.2 with EE < 2.6

texts:
According to the WYGWAM Installing and Updating page, WYGWAM requires ExpressionEngine 2.4 or late.

However, if you are using both WYGWAM 3.2.1 and Assets 2.2.2 (may be the same for older versions) and you are running an EE version less than 2.6, you are likely going to get the following error when attempting to access any of the Editor Configurations within WYGWAM's settings:

  Call to undefined function ee() in
  /PATH/TO/INSTALL/DIR/system/expressionengine/third_party/wygwam/mcp.wygwam.php
  on line 139


texts: What's the configuration for multiple subsites the legacy way in ExpressionEngine?

texts:
Let me lead with a quote from the present EE license. "An ExpressionEngine license purchase allows a single “live” installation in a production environment and ancillary “development use only” installations as needed to support the live installation (such as development and a staging servers). Additional installations require additional license purchases."

Further, even if you buy the Multi Site Manager add-on, the license requirement is that "License holder must be the owner of all Sites" -- and there is a long-enforced blanket legal disapproval of subletting an EE license or creating any kind of blogging service.

So, we are talking only about how to arrange multiple subdomains or sites when you don't need all the features of the Multiple Site Manager, but follow rules as if you licensed it. This is the pre-existing, or 'legacy' multiple site mode which is still in use, and was guaranteed by Ellis to continue to be present.

Some later code was discussed and repaired so that it did indeed remain available, and this mode is particularly convenient when all you need is some subdomains for development and testing, or for simple multi-presentation from a singly-owned site, as in some number of older EE1 sites which are
still in use, and need to be maintained or simply upgraded.

I'm going to answer my own question here, as I spent the time to resurrect a development site using this mode today for someone. I consider it another instance of bringing out into this public resource the community knowledge we all contributed in over prior years.


texts: Fixed number of displayed images with channel images inside entries loop

texts:
I was wondering if anyone has a decent trick to show 4 images in a row from multiple entries  containing channel images. So the four newest channel-images no matter which entry they come from.

The problem is that I don't know how may images an entry will contain, since you can put any number of images in an entry.

codewise:

{exp:channel:entries limit="4"}
       {channel_images_field}

       {/channel_images_field}
 {/exp:channel:entries}

Will output any number of images, depending on the amount of images in the channel_images_field. It could be 3+2+5+7.

I could of course erase the rest using brute force js frontend or with css overflow:hidden, but I'd rather just parse 4 from the server.

EDIT

The complete tag is inside a category tag and contains another EE field, making it difficult to use the channel_images tag outside the channel entries tag.

{exp:channel:categories channel="gallery"}
{exp:channel:entries channel="gallery" dynamic="no" category="{category_id}" limit="4"}
    {channel_images_field}

        {comment_field_poster}
    {/channel_images_field}
{/exp:channel:entries}
{/exp:channel:categories}

I suppose that makes it impossible to really solve it due to nesting issues. It's either all images from a channel, agnostic to the related entries, or the images inside a specified entry tag, agnostic to the channel_images total.

See it live here: http://www.fotografielessen.nl/index.php/Fotoalbum/ (now showing the first four entries with all the images, sorted by category)


texts:
I am trying to access PHP's $_POST array from a template, using PHP within the template and have the expiration_date of the entry updated. The $_POST is empty, although the form is submitting to the same URL.

This is the EE template:

 {exp:channel:form channel="auction" return="auction/new"}
    <input name="title" type="text" />
    <input name="auction_description" type="text" />
    <input name="auction_price" type="text" />
    <input type="submit" value="Submit" />
 {/exp:channel:form}

This is the HTML of the Form:

<form id="publishForm" method="post" action="http://123.123.123.123/auction/new"  enctype="multipart/form-data" >
<input type="hidden" name="RET" value="http://123.123.123.123/auction/new" />
<input type="hidden" name="URI" value="auction/new" />
<input type="hidden" name="return_url" value="auction/new" />
<input type="hidden" name="author_id" value="1" />
<input type="hidden" name="channel_id" value="1" />
<input type="hidden" name="entry_id" value="0" />
<input type="hidden" name="ACT" value="8" />
<input type="hidden" name="return" value="auction/new" />
<input type="hidden" name="site_id" value="1" />
<input name="title" type="text" />
<input name="auction_description" type="text" />
<input name="auction_price" type="text" />
<input type="submit" value="Submit" />

This is the PHP code:

<?php
if (!empty($_POST['title'])) {
ee()->db->update(
    'exp_channel_titles',
    array(
        'expiration_date'  => '123'
    ),
    array(
        'entry_date' => $_POST['entry_date']
    )
);
}
?>

.htacess:

<IfModule mod_rewrite.c>
        RewriteEngine On
        RewriteBase /

        # Removes index.php from ExpressionEngine URLs
        RewriteCond %{THE_REQUEST} ^GET.*index\.php [NC]
        RewriteCond %{REQUEST_URI} !/system/.* [NC]
        RewriteRule (.*?)index\.php/*(.*) /$1$2 [R=301,NE,L]

        # Directs all EE web requests through the site index file
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteCond %{REQUEST_FILENAME} !-d
        RewriteRule ^(.*)$ /index.php/$1 [L]
</IfModule>

The PHP parse stage is set to Input and the template's name is the same as the channel's action.

Any help would be highly appreciated. I've been struggling with this for almost a week now.


texts:
I am using EE 2.6.1 and User 3.4.3

I have been having issues with the Forgot Password form.

The email being sent contains a link to reset the password

urlofmywebsite//436184488/reset_password?&id=TuIkrfhW

This link gives me a 404. Even when I remove the //
Also ?& seems wrong.

If anyone could tell me what is wrong with this link it would be great.


texts: Solspace Freeform Recipient Value in Notification

texts:
I have a similar question to what was ask here: Getting Recipient Names/email address in Notification

But I would like to capture the names using a drop down menu instead of multiple values.


texts: Migrating between Development, Staging and Production for a pre-existing ExpressionEngine site

texts:
This is a topic which is a major headache for us and I'd like to see how other folks tackle it.

We manage some pretty big sites which run on ExpressionEngine. Our clients sometimes ask for changes and enhancements which take a long time to develop, and so we naturally do that development work on a separate copy of their live website. However, when we come to bring those changes back to the production site it's a nightmare, for the following reasons

Software version changes (i.e. modules added/replace, EE upgrades
performed, module upgrades performed)
EE 'Structural' changes (channels/fields/templates/snippets which have been added/removed/changed)
Content changes

1 isn't too painful, 2 is a pain but we've developed some tooling to help us with that (and I believe Christopher Imrie's Site Manager can help with that too). It's number 3 which is a major problem. It's not just the fact that new content has been added, it's the inter-dependencies between all the various tables (and add-on tables) which make it almost impossible to handle.

How are you handling this?


texts:
I was just wondering if someone could possibly push my brain into the correct queue so that I totally get the Stash module.

I've read all the main articles on it and really like the sound of it but I'm still not quite having that magic 'Aha' moment currently.

I can see it saving me one embed tag currently on most sites I create which is obviously great however I'm absolutely positive that there's more to it than that.

I see loads of people mentioning about keeping the markup separate from the data fetching however every time I've seen this done the data is fetched at the top of a template then set as Stash variables and then lower in the template there is the markup code with the Stash variables spat out in the place where they're needed.

I'd really like to get into the DRY principle but in my head (at the moment until someone shows me otherwise [purpose of this post]) ;-) that seems pretty much the same as just placing the Channel tags and variables in with the markup. What I mean to say is that there are always going to be variables of some sort mixed in with markup so I guess I'm just not quite getting how this helps much?

I'd love it if someone could just give me a slight push in the right direction. I'm sure it won't take much but as I said before I've read all the main articles (and a fair few others) on the subject and tried it out and whilst it works great I'm just not quite having that eureka moment like I did the first time I came across ExpressionEngine.

I've got a fairly large site with many different types of pages (content types) which needs to be converted across from 1.x to the latest version of ExpressionEngine and anything I can do which can make things easier for me and going forward and that can save time then that would be great.

Hope it's okay asking this kind of question on the board here like this?

Many thanks,

Mark


texts: Assets not uploading files in Chrome, works fine in Firefox

texts:
When I try to upload a file in Chrome the "Uploads files"-button is dimmed. When I click it I can select files with the browser file browser, but when Assets tries to upload it stops after a few seconds and nothing appears. I do however get an error in the console: Uncaught Error: QUOTA_EXCEEDED_ERR: DOM Exception 22.

Works fine in Firefox. Tried both 2.0.1 and 2.0.2. Developing in a local environment, with no .htaccess file.


texts: Free Member Inline Errors not working for freemember:update_profile

texts:
I am using EE 2.5.2 and Free Member 2.2.1

I am using the example code and error_handling isn't working for me.

What am I missing?


texts: Are there benefits to using {site_url} rather than a relative path?

texts:
Should I use {site_url}? I prefer to use relative paths in my templates.

Example:

/resources/glossary/category/{category_url_title}

Rather than:

{site_url}/resources/glossary/category/{category_url_title}

I was wondering if anyone could provide an argument of why one should be used over the other? Is it a personal preference thing? Should I always use {site_url}? Should I never use {site_url}?

My reasoning for not using it is because I believe it takes less resources to use a relative path. Logically, one would think that because EE doesn't have to replace {site_url} with http://www.example.com in every template, the page would load faster?

I'm using FocusLab Master Config on all of my sites.


texts: Stash & Low Search - Group results by releationship

texts:
I'm trying to group the results returned from Low Search using Stash. I started by creating a stash list of all the groups, I then tried to create a nested list containing the products for that group.

When I call the get_list, I can return the groups just fine, but trying to fetch the products returns nothing.

Here is my code so far (Bear in mind I know that this will add ALL products into each group, but I'm taking this one step at a time)

{layout="includes/_layout"}

    {exp:stash:set parse_conditionals="yes" parse_tags="yes" trim="yes"}

        {!-- Set Other Page Data --}

        {!-- Results --}
        {exp:stash:set_list:searchRanges name="searchRanges" parse_tags="yes" trim="yes"}
            {exp:low_search:results query="{segment_3}" collection="products" keywords:lang="en" keywords:inflect="yes" keywords:loose="right" keywords:mode="all" limit="999"}
                {stash:itemRange}{products__range:url_title}{/stash:itemRange}

                {exp:stash:append_list:nested name="searchResults--{products__range:url_title}" parse_tags="yes" trim="yes"}
                    {stash:productTitle}sdfds{/stash:productTitle}
                {/exp:stash:append_list:nested}
            {/exp:low_search:results}
        {/exp:stash:set_list:searchRanges}

    {/exp:stash:set}

    {!-- Fetch the data --}
    {exp:stash:get_list name="searchRanges" unique="itemRange"}

{itemRange} - This is being returned.

        {!-- Adding process="end" to this makes it return the correct amount, but adding process="end" to the nested get_list still returns nothing --}
        {exp:stash:list_count name="searchResults--{itemRange}" process="end"}

        {exp:stash:get_list:nested name="searchResults--{itemRange}"}

This content isn't being returned

        {/exp:stash:get_list:nested}
    {/exp:stash:get_list}

Edit

Looking at the template debugger, I can see the get_list is parsing the name="searchResults--{itemRange}" correctly, but I can't see the list being set anywhere, so looks like an it's an issue with the nested list not being set. I've tried adding process="end" to the nested append_list but nothing still


texts:
I have a grid field like this:

File - Text field - Relationship field

Where the file is a document, the text field is the title and the relationship field is the argument.

I would like to output the list of files like this:

Argument 1

File 1
File 2
File 3

Argument 2

File 4
File 5
File 6

And so on, therefore grouped by the relationship field.

Now I have something like

{grid}

 {grid:text_field}  - {grid:relationship}{grid:relationship:title}{/grid:relationship}

{/grid}

That shows me:

File 1 - Argument 1
File 2 - Argument 1
File 3 - Argument 1
File 4 - Argument 2
File 5 - Argument 2
File 6 - Argument 2

How can I output the items by grouping them by argument? It means that the relationship field must shows only one time per type, and create a list for every type.


texts: Search result page navigation by either click enter or click img

texts:
I want to search content with search keyword and it should navigate to search result page.

Can you please correct them to achieve search functionality in EE either by clicking enter or click searchimage..

<form id="search" class="wow fadeInUp" data-wow-duration="1s" data-wow-delay="0.2s" action="search.php" method="GET" accept-charset="utf-8">
{exp:search:simple_form channel="news" name="" result_page="news/searches"}
              <input name="s" type="text" value="Search "/>

{/exp:search:simple_form}
            </form>


texts: how to stop null submission of search in expressionengine

texts:
I wants to stop the search field submission, if my search field is empty or null. can anyone help me that how to do this, or is it possible. because when i am clicking on search button when my search field is empty, EE redirects to me on default error template where showing "You did not submit a search term" , i wants to stop the redirection on this page, can i send it to my any other template when my search field will be empty.

Thanks in advance


texts: I upgraded a dev site to EE3 and my snippets are now placed into two folders, _global_partials and _partials. I can't seem to find the difference on what these folders are. At first I thought it may have something to do with template variables but adding a new template variable just puts it in a folder called _variables. EE3 docs don't seem to have what the difference between the two folders are. Has anyone figured out the difference?


texts:
Here's the output on the first try:

A PHP Error was encountered
Severity: Notice
Message: Undefined index: 4:Adult Discipleship
Filename: assets/upd.assets.php
Line Number: 712

A PHP Error was encountered
Severity: Notice
Message: Undefined index: 4:Adult Discipleship
Filename: assets/upd.assets.php

Line Number: 712
A PHP Error was encountered
Severity: Notice
Message: Undefined index: 1:rotating
Filename: assets/upd.assets.php

...ad infinitum.

When I refresh the page I get:

A Database Error Occurred
Error Number: 1146
Table 'ee_local.exp_assets' doesn't exist
ALTER TABLE exp_assets MODIFY COLUMN file_path VARCHAR(255) NOT NULL
Filename: /Users/chris/Sites/third_party/assets/upd.assets.php
Line Number: 390


texts: Super Admin locked out of ExpressionEngine Control Panel (Zoo Visitor Addon)

texts:
I appear to have been logged out and cannot log back in to the site.
Heres what I did:

Installed Zoo Visitor
created a new Clients member group
added a zoo visitor channel field to another channel (Notice
Channel)
edited a Notice channel entry and added a new member to Clients from
the zoo visitor field
It went straight to a grey Error page

Now I cannot log in with my super admin account.

Any ideas? Im pretty far into development of this site.

EE version 2.7.3
Zoo visitor version: latest.
Thanks for your help!


texts: I want  domainname.local/index.php to domainname.local/country code (domainname.local/us) i am use the all do name start with domainname.local/us/?do=index


texts:
I have a page in which I'd like to put a Sharepoint link, unfortunately the link contains :x: (https://mysharepoint....sharepoint.com/:x:/s/....) and EE is rendering the :x: as ❌, in view source this is in Unicode  &#x274C; which obviously doesn't work in a hyperlink.

I've tried disabling emojis with the following (as I don't need/want them anywhere on the site):

In config.php: $config['disable_emoji_shorthand'] = 'y';
In config.php: $config['enable_emoticons'] = 'n';
Control Panel->Content & Design->Enable emoticons? : Disabled

I still have the wretched ❌.  Is there anywhere else I should be turning them off?


texts: Can't make keyword delimiters work in Assets Files tag

texts:
Using P&T Assets, assuming I have two files in my Assets folder (folder_id="2"), one having the keyword "tinman" associated with it, the other with "scarecrow", shouldn't this template code return them both?:

                {exp:assets:files folder_id="2" keywords="tinman|scarecrow"}

                        {title}

                {/exp:assets:files}

It doesn't seem to work for me. The keyword parameter only accepts one term and won't respect the "|" delimiter.


texts: No Collections Found upon submittal of channel:form

texts: I'm getting a "No Collections Found" after submittal of a Channel:Form (safecracker). Googled that phrase + expressionengine and only found the potential of a conflict with Low:Search (installed btw). Is there a known solution?


texts: expresso store - adding more items than in stock

texts:
Is there a way to allow say 10 items to be added to a cart when there are are only 6 in stock and in the database the value of items is -4, therefore out of stock items can be added to the cart. Would like to keep inventory exact rather than unlimited but at the same time allow for orders that exceed the stock quantity

Additionally, providing user feedback stating that some items are out of stock when the shopping cart page is loaded?

Is this possible?


texts: Date conditionals not working as they should

texts:
Im using this code which as of todays date should display 11 Sept but instead it displays 20 Feb?? Cant figure out what is wrong

{if {current_time format="%d.%m"} >= 06.11 && {current_time format="%d.%m"} <= 07.01}
6 Jan

{if:elseif {current_time format="%d.%m"} >= 06.01 && {current_time format="%d.%m"} <= 21.02}
20 Feb

{if:elseif {current_time format="%d.%m"} >= 20.02 && {current_time format="%d.%m"} <= 28.03}
27 Mar

{if:elseif {current_time format="%d.%m"} >= 27.03 && {current_time format="%d.%m"} <= 16.05}
15 May

{if:elseif {current_time format="%d.%m"} >= 15.05 && {current_time format="%d.%m"} <= 04.08}
3 Aug

{if:elseif {current_time format="%d.%m"} >= 03.08 && {current_time format="%d.%m"} <= 12.09}
11 Sept

{if:elseif {current_time format="%d.%m"} >= 11.09 && {current_time format="%d.%m"} <= 07.11}
6 Nov
{/if}


texts:
I have an area in my template that has room for a max of three entries, but if there are no entries the entire area needs to be hidden.  I have the max of 3 entries showing, but I can't figure out how to add the logic it needs to hide the container divs

here's my code so far

Special Offers

            {exp:channel:entries channel="special_offers" dynamic="off" orderby="entry_id" sort="asc" limit="3"}

                                {offer_image}

                                {/offer_image}

{title}

{teaser_text}

                            Learn More

            {/exp:channel:entries}

basically, if there are no entries the "specialoffers" div should not display.


texts: Is it possible to use store tags without it outputting a form element?

texts:
I'm in a situation on the cart/basket page where I want to use an embed, but, I want to use the checkout tag again within it, to work out some tax with php & then  add it to a table.

I've accomplished it fine, though it's adding a form element to the table element.
Is there a param I'm missing where I can just say form_element="off" or something like that?


texts: Conditional Comparison Operator Not Working With Snippet

texts:
I am trying to get a snippet that calculates a value and compare the result to a number - the value is correctly outputted from my snippet when I include the var by itself. However when I use the snippet in a comparison if statement it doesn't work. Here is my code:

{if total-positive-votes > 5} true {/if}

My snippet:

{exp:math_plus calculate="{var2}-({var1} - {var2})" var1="{overall_count}" var2="{overall_sum}"}
   {math_plus_result}
{/exp:math_plus}

Which outputs the following numbers correctly (each comma is a would be comparison):

0, 1, 1, 4, 0, 0, 41, 8

So my comparison statement should output true on 41 and 8 but nothing comes back. Any one know why this isn't working? The funny thing is it used to work but I didn't use or upgrade this site for 2 years and it broke without me changing anything. Go figure!


texts: Plugin to conditionally update status via cron

texts:
I need to create a plugin to conditionally update the status on all entries in a channel each day based on a date field. I don't think I need to interact with a template in this case, so would want to call the plugin directly via cron.

What I'm looking for are any example plugins that might lessen my learning curve in how to get and loop through all entries from a channel and conditionally update the status based on the date?


texts:
These instructions don't seem to be working ...

  Copy system/expressionengine/utilities/offline.html to your web root folder (the same place you have your main index.php file).

  Rename offline.html to index.html. Now your visitors will see the “offline” page while you update your site.

  In your ExpressionEngine Control Panel, go to Tools ‣ Data ‣ Clear Caching. Select All Caches and click Submit.

I add the index.html file as it says here but my sites home page remains?


texts: Solspace Comment Upload allowing all file types

texts: I am using the Solspace Comment Upload extension to allow users to attach files to their comments. I would like to restrict the uploading of file types to only the MIME types listed in mimes.php. Currently it is allowing any file type to be uploaded, but the system seems to be restricting the download of file types that are not listed in mimes.php. Any help is greatly appreciated.


texts: Date Field Filter and Date fields inside of Grid

texts:
I am using Solspace's Date Field Filter to group sales on a site. I have the date coming in like I need it, but I am not receiving filtered results...

Is there something different I need to do in order to use the date fields from a grid field? Or is Grid usage not allowed?

I verified the dates by rendering them out. Since it didn't work, I even tried to use [Stash][3] to pass that into the channel entries tag. Still no good. Is there something I am doing wrong Solspace? My date field is in a grid like this:

Grid Field = {sale_dates_and_times}

Sub Fields = date | opening_time | closing_time
or

{sale_dates_and_times:date} {sale_dates_and_times:opening_time} {sale_dates_and_times:closing_time}

I have this now:

{exp:channel:entries
    date_field="{sale_dates_and_times:date}"
    date_field_start="{current_time format='%Y-%m-%d %h:%i %A'}"
    channel='sale'
    limit='5'
    orderby="{sale_dates_and_times:date}"
    sort="asc"
    paginate="bottom"
    dynamic="no"
}

In my test I should just see 1 entry since there is one set to a previous date range, one set to current date ranges, and one set for a future date range. However, I am getting all entries returned.

These are with the following dates:

Entry-1:

Friday 10-01-2015 — 9:00am-9:00am
Saturday 10-02-2015 — 9:00am-9:00am
Sunday 10-03-2015 — 8:00am-8:00am

Entry-2:

Tuesday 08-01-2015 — 9:00am-9:00am
Wednesday 08-02-2015 — 9:00am-9:00am
Thursday 08-03-2015 — 8:00am-8:00am

Entry-3:

Friday 12-25-2015 — 9:00am-9:00am
Saturday 12-26-2015 — 9:00am-9:00am
Sunday 129-27-2015 — 8:00am-8:00am

Why would all three be rendering in this case?

Thanks


texts: Multi-site manager, EE 4: where / how much?

texts:
I haven't used EE since version 2, and am looking to integrate it with a current project, using the MSM to control several subdomains. I'm almost embarrassed to ask this question because this is so ridiculous, but where am I supposed to purchase/download MSM from??! I'm reading the docs:

  Pull up the manage purchases page in your account on EllisLab.com.
  (Make sure you’re logged into the same EllisLab account used to
  purchase the Multiple Site Manager license.) Next to the MSM license
  in question, you’ll see the option to Add Sites. Follow the checkout
  process in the store.

Well, I'm logged into my Ellislab account, I can see my prior purchases, and I can see "the store", and there is not a whiff nor a hint of where to purchase a new copy of MSM.

Nor is it listed on Devot:ee. Nor does Google provide any relevant results. Nor does a search of their site provide any clues.

Goodness me, I'd sure love to give Ellislab some dollars... if only they'd tell me how many they'd like and where I deposit them. Help me out, someone.


texts: How can I restore a revision through the MySQL DB?

texts:
Is it possible to restore a previous version of a channel entry through the DB using phpMyAdmin? If so, where in the DB would I do that?

My client's assigns are entering things in Matrix fields with bad characters like quotes and dollar signs, and it is causing errors. (And these people are school teachers!) And, it makes the entry unable to be edited.

Many thanks in advance.

"bad characters like quotes and dollar signs ... causing errors ...makes the entry unable to be edited"

When they click on the entry in the CP it just generates an error, the entry does not some up.

I also can not see the entry in the MySQL DB, but I can see the previous version. I thought if I could find out how to restore that by working only with the DB I could fix it.

Thanks for that, @jrothafer, sorry for the noobie-ness.

No, the entry form for this entry does not open in the Control Panel, and the data for this part of the entry is in a Matrix channel field and would be in matrix_data (or something similar). But I think it is corrupted because I cannot find it.

Also, I noticed the client's person deleted the entry and recreated it, so all of this is not so important now. But it would be good to now as the data entry people have been making this mistake once in a while.


texts: Additional s When Using LibrarEE For Custom Emails

texts:
I'm working my way through customising system notifications - new blog post etc.

If I send my HTML through the tools > communicate option it comes through looking fine. If I send it as a regular notification via LibraEE is comes through with a bunch of
 tags all through it. Sometimes 8
 in a row. And sometimes it's adding in
	.

LibrarEE has a preview function and the email looks fine there.

Can anyone suggest where to go to try and find where to resolve this issue?

Thanks.

EE2.5.5

LibrarEE 1.0.5


texts:
Is there a way to re-test the emails generated during the payment process?
Currently I have to create an order and go through all the checkout steps, payment and wait for a new email, for every change I make.
This is extremely long winded.
Is there an easier way to test the email templates against an existing order?


texts: stripe_test_public_key and stripe_live_public_key tags are not parsing

texts:
I've installed the DevDemon Subscriptions add-on with EE 2.10.1 and I'm using the Stripe payment gateway.

I'm currently just testing with the default templates that come with the add-on. In the subs/subscribe_stripe template, the publishable API key is included in the form as a hidden field using the {stripe_test_public_key} or {stripe_live_public_key} tag. However, the tag is not being parsed.

I can't even find anywhere in the add-on's files where that tag is being defined.

Is this a bug or am I missing something?


texts:
Is there anyway to output entry data from a particular field, find the separator and output HTML based on that separator?

Example:

Postcode Field for Entry Outputs: LL21, LL22, LL33, LL44, LL46

But I want to find the comma and replace with an opening and closing

So the result would be: LL21 LL22 LL33 LL44 LL46

I would hard code the first and final span.

Is it possible EE2 and EE3?


texts: Simple Search form and no results for existing entries

texts:
EE 2.7.3 and Simple Search form which looks like

{exp:search:simple_form channel="products" search_in="everywhere" result_page="home/search"}
          Search
          <input type="text" name="keywords" id="keywords" placeholder="Search" />
          <button type="submit" name="submit"></button>
{/exp:search:simple_form}

and result template:

Search results:
{exp:search:search_results}
{title}
{/exp:search:search_results}

for testing I have type in part of the title from one, existing entry in the Products channel. Unfortunately it gives me Your search did not return any results or returns one search result which is not related to search keyword.

Any clue what is going on?

Thanks


texts: Letting several Pages share the same URI?

texts:
I run multiple sites off one EE installation using the old method, and one issue with that is the Pages module. For example, I need an About Page for each site, directly following the domain. That means that when I setup these Pages, the Page URI would be /About/ in both cases.

This does not work (which the documentation does make clear), even if the Page content is stored in two separate channels and even if each uses a separate Template.

My question, then, is if there's any work-around for this issue? For example, each of my sites does have a site variable defined in index.php. Would it be plausible to use that in any way to allow multiple Pages to share the same URI.


texts: How do I use a conditional to display Relationships content?

texts:
I am working with three Relationship fields and I would like to be able to display a section only if there are any related articles in that section.

I tried this without success:

{if related_tips != ""}

Related Tips

    {related_tips}

{related_tips:title}

    {/related_tips}

{/if}

I would appreciate some guidance on how this should be done.

Thanks.


texts: How do I remove an 'index' template from a Template Group?

texts:
Please let me know if I'm doing this correctly. I've created a new EE website with a template group called about_us, which has an index template - just the way I want it.

However, I also have another template group called resources, in which I intend to place things like CSS Templates and Javascript Templates. As such, I don't want an index HTML template in this group.

There doesn't seem to be a button to delete an index template. Is this possible, or am I approaching this the wrong way?


texts:
I have a form that has 2 stages
each stage creates a new entry
Stage one makes an event and stage 2 makes a client

The part I'm having trouble with is making the event relate to the client

first part of the form directs the user to the next page and includes the newly created url title

{exp:channel:form return="make-an-event/URL_TITLE"}

In part 2 I want to make the client and add that created event to the clients related entry field

{exp:channel:form require_entry="no" channel="clients" return="thank-you"}

 <input type="text" name="cli_events:url_title[data][]" value="{segment_2}">

but I'm not having much luck

Thanks


texts: Variable recipients? (validation of name and email + name notification)

texts:
I'm using Freeform 4 and I have to create a Tell a friend page to send e-mails to multiple friends (maximum of 10). Each friend input will have the friends Name + their e-mail address.

The form is variable (1 friend name / friend email input is shown, with a button to add more)

I already found out that I can use brackets for multiple recipients, e.g. I know have:

Name friend 1
<input type="text" name="friend_name[]">
Emailaddress friend 1
<input type="text" name="recipient_email_user[]">

Name friend 2
<input type="text" name="friend_name[]">
Emailaddress friend 2
<input type="text" name="recipient_email_user[]">

+ Add another friend

My first question

How can I set the friend_name[] and recipient_email_user[] as required? I'm trying to show inline errors at the corresponding fields. Is this doable with Freeform?

My second question

How can I retrieve the friend_name[] in the notification so I can begin every e-mail to friends with Hi {name}?


texts: Does P&T Assets work with Rackspace cloudfiles?

texts:
I have noticed that Pixel & Tonic Assets add-on explicitly states compatibility with Amazon S3.  We use Rackspace for our site and are expanding to CloudFiles to take advantage of the integrated CDN. Is Assets an option here?

The only other add-on I have seen on devotee was Rackspace Cloudfiles.  I have used many P&T add-ons before.  Just trying to figure out what my options are here.

Ideally if someone has used one or both of these add-ons with CloudFiles, I would love to hear from you. Can I manage other types of assets like PDFs?

Thanks for any information you can provide.


texts: ExpressionEngine 3 photo file and signature file settings?

texts:
Same as EE2 where we can set avatar file settings, signature file settings and photo file settings Do we have something in EE3  where we can set file store location, height, width, max KB etc. for photo file and signature file ?

I search and found we can set avatar file settings but i didn't found same for Photo files and signature files. Any thoughts ?


texts: Uploaded Image: how to get height and width? Restricting height and width?

texts:
One of my channels allow users to upload images. Two problems:

I've defined a max width and height in the file upload preferences (and my channel field uploads to that). However, I am able to upload images beyond the max width and height.
When I am displaying this image to the browser, how do I get the image's width and height? The following doesn't work:


texts:
We have landing pages on our site, and we want to be able to export this form data into two separate CRMs: Leads360 and Microsoft Dynamics CRM. The forms are using FreeForm (the remote dev team chose this.) Both of these CRMs require the form data to be submitted to a custom POST URL.

Is this possible with Freeform? I can't find anything on the Solspace site in the Freeform documentation.


texts: Pixel and Tonic Assets add-on -- Workarounds for Assets File Chooser Not Allowing a Directory to be Selected?

texts:
See subject. Wondering if anyone has needed the ability to select an Assets directory
(e.g. on Rackspace) for a channel field?

Some ideas:

Method (1) (ugly): use the supplied Assets file chooser for a channel field, choose a
file, and other code that uses this just ignores the filename. This is confusing for an
EECP user creating/editing such a channel entry. The "display settings" for such a field
does not let one hide the "Name" column either, which seems to be hard-coded in assets
in quite a few places and not easily changeable. Hiding that field just makes it a
little less confusing for an EECP user. A further strike against this is it also
requires a file exist in any directory to be chosen.

Method (2): Write a channel field add-on, can likely be as easy as getting the
directories from an Assets source (which are in the EE DB, since Assets indexes things)
and presenting a drop-down list of directories for a given Assets source. This is likely
best, except for (4).

Method (3): Text field, and can validate is an actual path. Dead simple, but is a pain
because would require the EECP user type in and already know the path name ahead of
time.

Method (4): (Hi P&T!) Is such a feature planned in Assets? Would be nice.


texts:
I have the situation where I want to track how many entires have been submitted in a channel in the last month, the month before that and so on.

So if I would want two know how many entries have been submitted within a month two month ago (I'm not saying August on purpose because it is important that it is dynamic and not static), how would I be able to do that?

Any help is greatly appreciated


texts: Entries with multiple categories, limit categories to just one parent and it's selected children?

texts:
Not sure if this can be done natively or if an add-on is out there.

I'm trying to figure out a way to limit entries with multiple parent categories to just one parent and it's children. The reason, I have nested product URL's:

http://domain.com/products/parent_cat/child_cat/entry
http://domain.com/products/parent_cat/child_cat/grand_child/entry

Currently this works well for products with a single parent category.

Right now entries with multiple parent categories build "bad" URL's in the search results with this template code:

{title}

Which works, if the entry has only one parent category assigned to it. If it has multiple, I get a nested URL with parent and child categories mixed together:

http://domain.com/products/parent_cat/other_parent/child_parent_cat/child_other_parent_cat/entry

Any ideas on how I could limit the parent & child categories to just one parent tree? Thanks for the help!


texts:
I need all non-www requests to redirect to www. I believe I'm doing this right, but this code is not working:

<IfModule mod_rewrite.c>

Options +FollowSymlinks
RewriteEngine on

# If www is missing from the beginning of the URL
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]

# Removes index.php from ExpressionEngine URLs
RewriteCond %{THE_REQUEST} ^GET.*index\.php [NC]
RewriteCond %{REQUEST_URI} !/system/.* [NC]
RewriteRule (.*?)index\.php/*(.*) /$1$2 [R=301,NE,L]

# Directs all EE web requests through the site index file
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php/$1 [L]

</IfModule>

Any ideas what could be wrong here?

UPDATE:

I thought the answer was here: http://www.jarrodoberto.com/articles/2011/11/enabling-mod-rewrite-on-ubuntu

I'm on Ubuntu and my default site did not have AllowOverride to to All in areas shown below:

<Directory />
    Options FollowSymLinks
    AllowOverride All                                 <- HERE
</Directory>
<Directory /var/www/>
    Options Indexes FollowSymLinks MultiViews
    AllowOverride All                                 <- HERE
    Order allow,deny
    allow from all
</Directory>

I was hoping that after an Apache restart the problem would be resolved, but I'm still not seeing a redirect.


texts: Solspace FreeForm : How to send file via Ajax with FreeForm

texts:
I have forms made with FreeForm Pro on a website (some with Composer, others by the Template way) that are validated and sent by Ajax. I followed the code given on Solspace documentation.

Here's my code :

The thing is : when I add a file field to the form, the form is sent but the file is not attached to the mail and not saved in the database. I searched everywhere to fix this but have issues to do it. Asked Solspace (they send me this link : http://hayageek.com/jquery-ajax-form-submit/#multipart-form to help me but I can not apply it to my form).

Does anyone has a clue for me please?

Versions used :
FreeForm Pro 4, EE 2.8.2


texts: Search for multiple custom fields - EE 5.0.x

texts:
Hello everyone (Merry Christmas), I’m just using EE to create a small website. I can not understand how I can make filters for custom channel fields.

I have a channel “Properties” with fields {id_immobile} type Number, {common} type String, {contract} type String and {type} type String. All have the Include check mark in the search.

I created a Form inspired by that in the documentation but I do not think is correct.

{exp:search:advanced_form channel="immobili" result_page="immobili/search"}

    <input type="hidden" name="where" value="word"/>

     <select class="form-control" name="keywords">
   <option selected disabled>Seleziona Contratto</option>
            <option value="Vendita">Vendita</option>
      <option value="Affitto">Affitto</option>
     </select>

     <select class="form-control" name="">
   <option selected disabled>Seleziona un Comune</option>
            {exp:channel:entries channel="comuni"}
      <option value="{title}">{title}</option>
   {/exp:channel:entries}
     </select>

                <input type='submit' value='Search' class='submit' />

{/exp:search:advanced_form}

I would like the research to work based on choices. Example: only for a field if selected, or for more fields.

Thanks in advance


texts: How to add a custom JavaScript to the "New Entry" control panel?

texts:
How can I add a custom script to the "New Entry" control panel page to interact with the input form. The script does not need to be added to the "Edit Entry" page and certainly should not be added to any other control panel  pages within ExpressionEngine.

How is this achieved? Can I write an extension which utilises a particular hook?


texts:
I am trying to connect a page by anchor and having no luck.

Here is my code :

Name of Link

and it's not working with this:

Any suggestions?


texts: Search Results Page - The action you have requested is invalid

texts:
Anyone getting “The action you have requested is invalid." On a search results page when using {exp:search:search_results} tag?

This is EE 2.7.3.

**Fixed ---
Basically use a completely separate template for results don't try and route it through /search/index.php.


texts: Expresso Store: Empty Cart on Member Logout

texts: 'Empty Cart on Member Logout' seemed to be an option in an older version of Store (https://www.exp-resso.com/docs/v1/settings_general.html#empty_cart_on_member_logout) but missing on the version I have installed - v2.4.1. Is there a way to prevent the cart emptying when a user logs out? ie if a user saves items to the cart, does not purchase, logs out then back in later.


texts: Cannot Upload PDFs with Firefox (Mimetypes)

texts:
I am having a problem specifically with uploading PDF files when using Firefox (27.0.1).

Currently, I have the following in my mimes.php file:

'pdf'    =>    array('application/pdf', 'application/x-download', 'application/octet-stream', 'application/binary', 'application/unknown'),

I have tried many variations of the above, and nothing has worked so far.

Has anyone found the proper type to add for PDFs that works with Firefox?


texts: How to output variables such as the current page's entry_id in the script tag

texts:
One one of our sites, we have ChannelFiles add-on installed and in the control panel (when editing an entry) it outputs a useful set of variables (see attached). But this is only part of add-on and if it's not installed, those variables aren't outputted. Is there anyway I can output these variables without ChannelFiles?

Background: There are certain fields that I only want to ever appear when editing a specific entry so I include a bit of jquery in the field instruction to hide/show field by checking against the variables outputted by ChannelFiles add-on in the script tag.

http://imagebin.org/258416

Thanks

UPDATE (to clarify): I need this when editing the entry in the control panel of EE (see Background section on why) and not in the front end. As far as I know, I don't have access to the templates for the control panel (or do I?).


texts: ExpressionEngine - displaying most recent 3 entries of each channel, followed by random (but non-repeating) entries

texts: I need to output the most recent 3 entries from 4 different channels, followed by random entries from any of the four channels, but not including any of the most recent entries. Any idea how to accomplish this? I know how to display random entries, and I know how to display the 3 most recent entries of a channel, but not how to do the two things combined.


texts: Two playa levels deep and need to come up a playa mid loop

texts:
I have a channel with a playa entry within that playa I call a matrix and a playa level i need to come back up a level within the matrix/playa loop. Can any one help me with the correct syntax?

Thanks
Here is my simplified code.

  {exp:playa:children field="3rd_order_under" var_prefix="thirdorder_playa"}

         <h5>{thirdorder_playa:title}</h5>

            {thirdorder_playa:discipline_3rd_order var_prefix="discipline_matrix"}
                {discipline_matrix:m_p_discipline var_prefix="mx_disipline_playa"}

                     <!-- example from the discpline channel -->
                     {mx_disipline_playa:discipline_description}

                      <!-- now here where i want to call a different playa within the "thirdorder_playa" -->
                {thirdorder_playa:exp:playa:children field="4th_order_under_3rd_order" sort="asc" var_prefix="fourthorder"}
                       {fourthorder:title}
               {/thirdorder_playa:exp:playa:children}  </p>

                {/discipline_matrix:m_p_discipline}
            {/thirdorder_playa:discipline_3rd_order}

  {/exp:playa:children}


texts:
We recently moved to another server and as a consequence of said move, it appears as if forms that displayed inline errors correctly on the old server (and still do), no longer do so on the new server. We have verified that the source code for the forms is identical.

EE 2.5.5
Freeform Pro 4.0.10

Any thoughts would be greatly appreciated.

Thanks.

{exp:freeform:form
  form_name="demo"
  required="first_name|email"
  inline_errors="yes"
  rules:email="valid_email"
  return="/contact-us/thank-you" }

      First Name *
      {freeform:field:first_name attr:id="c1"}
      {if freeform:error:first_name}* {freeform:error:first_name}{/if}

      Last Name
      {freeform:field:last_name attr:id="c11"}

      School Name
      {freeform:field:school_name attr:id="c2"}

      Position/Title
      {freeform:field:position_title attr:id="c21"}

      Phone
      {freeform:field:phone attr:id="c3"}

      Email Address *
      {freeform:field:email attr:id="c31"}
      {if freeform:error:email}* {freeform:error:email}{/if}

      City
      {freeform:field:city attr:id="c1"}

      State
      {freeform:field:state attr:id="c41"}

    Language(s) of interest:

    {freeform:field:languages_of_interest attr:class="contact_li"}

    {freeform:field:user_message attr:class="swap" attr:value="(350 characters max)"}

  {freeform:submit}

{/exp:freeform:form}


texts: Local copy of working site > admin work > pages all get 404

texts:
We're taking over hosting a clients site, and I've downloaded a copy of the site and the database, and set up both in mamp.

I've adjusted the db config, and the '/admin/' area all works - however, if I go to 'index.php' i'm just getting a 404 page ('Status: 404 Page Not Found').

I've adjusted the paths in Global Template Preferences, and General Configuration, but to no avail.

Any ideas of where I should start looking to find the issue? I'm new to EE...

cheers


texts:
$(document).ready(function () {
$.ajax({
    type: "POST",
    url: "/ajax/customcss",
    data: {channel: currentChannel},
    })
    .done(function( data ) {

        var jsonObj= JSON.parse(data);

        console.log(jsonObj);

});
});

I get this error:

POST http://mywebsite.com/ajax/customcss 403 (Forbidden)

Which is a cross scripting error.   Any ideas?


texts: How to set up a "sticky" email or tel type field in Freeform Pro

texts:
I'm using Freeform Pro, and I'd like to keep the fields mobile friendly.  So an email field should be an email type, a phone field should be a tel type, etc.

However, Freeform Pro doesn't have the option for an email or tel type field - even if selected as text/email in the admin, it still outputs it as a plain text field.

If I just create the field without freeform tags, it of course is not going to be "sticky" - and that is a problem too.

I also tried using the tag pairs to make the field sticky (that works), but it just converts my email type to text in the html output.

In my template:

{freeform:field:email}
     <input id="freeform_email"
          name="email"
          type="email"
          value="{freeform:data:value}">
{/freeform:field:email}

The html output:

<input type="text" name="email" value="" id="freeform_email" maxlength="150"  />

UPDATE:

I've also tried with php (unsuccessful at making it sticky):

<input
 id="freeform_email" name="email" type="email"
 value="<?php if(isset($_SESSION['email'])) echo $_SESSION['email'];?>"
 >

Any ideas on how to make a custom type field like this be sticky in Freeform Pro?

Note:
"sticky" means that the form will hold the field values if say there is an error, on page reload the data will remain.  Otherwise, it takes the user back to a blank form and they would have to fill out it all over again.


texts: Easy way to combine lightbox-functionality with Expresso

texts:
Has anyone come up with an easy way for non-html-savvy users to put lightbox-style images into an Expresso (CKEditor) field.

Meaning, link a thumbnail with a bigger version of an image and fire some lightbox-script on click.

Having the user supply both the thumbnail and the big picture would be OK but the process shouldn't be too complicated and must not involve editing the HTML source.


texts: Ok, now that I've updated several sites to EE 3, I noticed that I can't find the multi entry edit function anymore. Has it been removed? I read somewhere that it was still there, but I can find it.


texts:
Long story short, I forgot to set all my Playa fields to searchable and through incompatible versions of SuperSearch and Playa my exp_channel_data table was not populated correctly.

The only solution is to re-publish every entry again (which entails literally going to the edit page and clicking publish for that entry).

Does anybody know a quick and dirty way to do this before I have to bust out a script?

Thanks!


texts: When to use Low Variables and when to use Stash

texts: I just started using Low Variables.  I just bought Mustash to use with Stash.  It is unclear to me as a newbie certain functionality and what best practices are.  Which type of snippets would go in LV and which snippets in Stash


texts:
I'm attempting to add some sort of functionality to WYGWAM that will add a custom class to a ol or ul lists.  So for example:

<ol class="custom">
....
....
</ol>

I've tried editing a custom styleSet to something like:

{ name: 'Alert' , element: 'ol',attributes: { 'class': 'custom' }},

but this doesn't work.  It could be a Style dropdown or a custom button in the toolbar.  Any help would be great!


texts: How do I capture *all* data from a White Screen

texts:
I have a live e-commerce site which is seemingly random (in that all the reports appear to be different) error where, at some point, during the checkout process, the entire thing gives up and I get a white screen of death.

I can't enable debugging (at least verbosely) on this site, but I'd like to be able to capture all of the EE and Session Data (either in a text file, third party service or simply email dump it all to me) and then instead of the white screen, I'd like to present the user with a 'Sorry somethings broken, but we've been notified and we'll look into it!' kind of message.

What are my options here? Whats the best way to get this kind of information out of EE? It's an older version of EE (v 2.5.3), with add-ons which have had custom hacks on them so none of it can be upgraded (the site is in fact being rebuilt, but is 2-3 months off completion).

The client naturally doesn't want to spend a huge amount of time debugging a somewhat impossible bug, but in the same respect we have no idea how many orders are being lost to this random issue.

Thanks!


texts: Migrating from Bucketlist (ee1) to Assets (ee2)

texts:
I have upgraded a site to EE2 that used Bucketlist extensively (over 8000 items) to serve content from S3.

Bucketlist was not updated to EE2, and won't be by the looks of things, so I need to find a way to migrate the urls from the Bucketlist tables to Pixel and Tonic's Assets. (Or alternatively Channel Files)

As far as I can see it will take a fairly complex (for me!) SQL query to achieve. Does anyone have experience of this process? It would be great to get some tips before I start the process.


texts: How can I extend the life of an XID hash in EE 2.8.1?

texts:
We are using Channel Form to allow guests to submit contest entries into an EE 2.8.1 site. The form has many fields including an essay field which means it could take some time for someone to complete the form and submit it. During my own tests, I received the EE expired form error message several times when the form had only been open for a few minutes.

How can I go about extending the life of an XID hash to a longer block of time?


texts: I'm trying to use channel images on a Windows server, but channel images uses a '/' for the paths on the actions instead of letting me use ' \'. Anyone have a fix for this?


texts: Use Freeform Pro and Safecracker together

texts: Is it possible to construct a form using Freeform/Freeform Pro and submit it using Safecracker? I'm basically just trying to combine the ease of building a form with the ability for it to create a channel entry, with the intention of creating a booking using the rEEservtion add-n.