texts:
I remember when I was still actively using it Ellislab was making decision after decision that just pissed people off including me. Has anything changed for the better since then or do they still follow the same path?

I ask because I still have one big site running on EE that I'll be investing more time into shortly. And I'm not sure yet if I want to port it to another CMS or keep running it on EE.


texts: freeform: Can I pass field's short name as admin_cc_notify parameters value

texts:
I have a contact form with a few checkboxes in it. An email address is associated with each check box and if the user selects a check box and email is sent to the corresponding email id. Now I want to show these email ids in the CC of the email. I have created a text field and I append all the selected emails to the value of this text field. The text fields short name is 'recipients_list' and I gave the admin_cc_notify parameter as such:

admin_cc_notify="recipients_list"

The emails are getting sent but I cannot see the email ids in the CC of the email.

How do I get the CC to show in the email?

Thank you.


texts: Cartthrob: How to output Shipping address on order completion page?

texts:
I am new to cartthrob and am playing with it on my development site. I am still using OFFLINE PAYMENT while I work out how to get the information flow right. My question is this: How do I display the customer shipping address on the order completion page? At the moment I am collecting customer information and shipping information in the same place, so I want an output that will give the customer name and address if it is the same as the shipping address, or just the shipping name and address if it is different from the customer address.
I am using the {exp:cartthrob:customer_info} paired tag.


texts:
We are running reports and need a query - we're using playa and I want to get the total number of child_entries where channel_id = 16 and where the 'parent_field_id' = 68.

My current query is:

SELECT exp_channel_titles.entry_id, exp_channel_titles.title, count(exp_playa_relationships.child_entry_id) AS entry_count

FROM exp_channel_titles LEFT JOIN exp_playa_relationships ON exp_channel_titles.entry_id = exp_playa_relationships.child_entry_id

WHERE exp_playa_relationships.parent_field_id = 68 AND exp_channel_titles.channel_id=16

What I expected to see was:

Event Title - Entry ID 1218 - total articles: 788
Event Title - Entry ID 2866 - total articles: 605

What I am getting is:

Event Title - Entry ID - total articles: 1393

Any thoughs how this would be achieve and what I missed?


texts: Trouble with Template Route & Pagination

texts:
I have created a template route for the typical blog scenario where I have an index template in a "blog" template group that lists blog posts along with a detail template that shows full blog posts.

I have my template route set up like so:

It works fine except for the pagination on the index page. I get 404 errors with pagination.

I have tried adding /{pagination} & /{pagination:pagination} to the end of the route along with trying to add /blog/{pagination} & /blog/{pagination:pagination} as a route for the index template but nothing works.

Any help on getting pagination to work with this is much appreciated.

Using EE v3.5.6.


texts:
Using MSM with EE v2.9.0

My 'View site' button in the top right hand corner of the control panel only links to the default_site.

Is this normal behaviour? Is there a config setting that could be conflicting and causing this?


texts: Why is the Related Entries code showing after upgrading to EE 2.6.1?

texts:
I updated a client site today from 2.5.5 to 2.6.1 which automatically converted the related entries tag on the site.

However, I now have a new problem. For some reason the code is displaying on the page:

  Author {related_entries id="blog_author"} The Great Keyword Hunt: How
  to Know What SEO Keywords Your Business Should Target
  {/related_entries}

Here is the code:

{blog_author}
                        {if status == "open"}{blog_author:title}
{blog_author:staff_title}{/if}
                        {if status == "closed"}{blog_author:title}
{blog_author:staff_title}{/if}{/blog_author}

Any clues why the code is showing like that?


texts: Freeform Pro Dynamic Admin Notifications

texts:
Is it possible to use a form field as a variable address to send admin notifications to different addresses?

The scenario is that the notification needs to be sent to a different address dependent on some element in the form.


texts: When parsing {exp:channel:entries} are all channel fields loaded, or only the ones used in the template

texts:
Scenario: I have a collection of projects (the channel) in a portfolio page (the template), with the title and feature image showing on each. When I click on a project, I want to have a modal box with all information about it - description, gallery of images, client, team members etc (custom fields).

My initial thought was to use AJAX to load the additional information by calling an XML template that accepted the entry id as a GET variable and returned all of the additional information. Then I wondered whether all of this additional information was already loaded in the portfolio template's database call. Are all of these custom channel fields already loaded and simply not displayed?

If they are, then I could simply create a hidden modal box for each project in the template, then show with simpler Javascript.


texts: Filter channel entries by category with nested condition

texts:
I am using EE 2.7.2. How can we filter channel entries like below:

{exp:channel:entries category="1&2&3&(5|6)"}

Is it possible to use '&' and '|' together?


texts: Does anybody have any idea about installing Cometchat Cloud in Expression engine as they are not showing it in their documentation packages?


texts: Show coupon value before submitting payment with Charge

texts:
I'm using Charge to provide a payment mechanism on a website I'm working on. I'm also using the 'coupons' in Charge to provide a means for users to apply a discount to a purchase at the point of payment. However I would like to validate and display the discount on the payment page before the users submits so they can be sure that the discount has been applied.

I have a bespoke module which I am using to create and manage my basket so I'm not adverse to writing a Stripe API call if required but wondered if perhaps I was missing something that's already built into charge by default?


texts: How to empty grid in custom form (with html form elements)

texts:
I have a custom made data form, with therein a datagrid with multiple fields. I have made the possibility to add entries, in the background adding rows by adding input elements with the correct names:

<input name='field_id_16[rows][new_row_0][col_id_1]' type='text'>
<input name='field_id_16[rows][new_row_0][col_id_2]' type='text'>

.. etc.

this checkout the correct field and column names, and everything is going as planned. now I also built in the possibility of deleting, and as long I take care of the 'new_row_x' numbering, this all goes well.

now my problem is when the user deletes all entries. I don't have the form elements anymore (because there should be none - when the user removes all datarows) giving a value, and i don't know how to custom update a datagrid which used to elements, back to being empty...?

anybody knows what to do?

greets
Rick


texts:
I am trying to setup meta tags for my site specifically for Facebook sharing.

I have 4 different channels and I want to ideally use the same channel field for each of them so I can efficiently publish the "description" tag without complex {if} statements.

What is the best way to achieve this?

If I can't use the same channel field can I use something along the lines of {{channel_short_name}_summary}?

Any help appreciated.

N

{exp:channel:entries channel="projects|case_studies|articles|about" url_title="{segment_3}" status="open" disable="categories|category-fields|member-data|pagination"}
{exp:channel_images:images entry_id="{entry_id}" cover_only="yes"}

<meta property="og:title" content="{title}"/>
<meta property="og:image" content="{image:url:small}"/>
<meta property="og:site_name" content="mysite.com"/>
<meta property="og:description" content="{{channel_short_name}_summary}"/>
{/exp:channel_images:images}
{/exp:channel:entries}


texts: Store: How to write a custom payment method using merchant library

texts:
Its several days that i'm trying to solve a payment method problem, and I really need support to solve it.

I have to create a new payment method, i studied the existing ones, i tried to simulate the paypall express, but it is still hard for me to understand the flow beetween purchase and purchase_return method.

This is the problem:
I have to create a new payment method that redirect the user in a bank page. Here, the user will insert his bank datas (like paypall) and later, the system redirect the user back to my site. Here i have to do some operations with some informations that the bank give back to me in a GET way.

1 - complete checkout DONE
2 - create a new payment method DONE
3 - connect to a bank DONE (using the "purchase" function)
    -> the user is redirected to the bank page. The customer insert his datas, and after the bank redirect my to a url of my site that i told it before in a request. It is like:

https://www.mysite.com/checkout/complete/ddf4692dbe3ffc47b8605bf226ab9c1c?PaymentID=1176193011631910&tranid=7549221021631910&TrackID=00021551DD695185B0A5.93845334&postdate=0710&resultcode=CAPTURED&auth=999999&Error=&ErrorText=&cardtype=VISA&payinst=CC&liability=Y&responsecode=00

so, the hash_code and some parameters that the bank append to my return_url, because i need thosevdatas in order to make more operations later.

4 - Redirection from the bank to my site at the url above DONE

now, if I'm correct, i expect the code inside the function "purchase_return" will be automatically executed (if i understand right). But it doesn't. I force the call of this function from the template of the checkout/complete page, importing the merchant library and my custom payment method code.
Now the code that i put inside the "purchase_return" function will run.
I return new Merchant_response(Merchant_response::COMPLETE, NULL, $order_id);

RESULTS:
The order is still pending. It's not paid and it isn't complete.
So: my cart is not empty, too!

Somebody can help me, please??? thanks on advance!!


texts:
I am new to ExpressEngine. One of my clients has a website built in EE by another developer.  We have just moved the site to a new server, and now we are getting the following errors, if anyone can help that will be great.

Current version is ExpressionEngine 2.5.3

A PHP Error was encountered
Severity: 8192
Message: Non-static method Wygwam_helper::replace_page_tags() should not be called statically, assuming $this from incompatible context
Filename: wygwam/ft.wygwam.php
Line Number: 562

A PHP Error was encountered
Severity: 8192
Message: Non-static method Wygwam_helper::replace_page_tags() should not be called statically, assuming $this from incompatible context
Filename: wygwam/ft.wygwam.php
Line Number: 562

A PHP Error was encountered
Severity: 8192
Message: Non-static method Wygwam_helper::replace_page_tags() should not be called statically, assuming $this from incompatible context
Filename: wygwam/ft.wygwam.php
Line Number: 562

A PHP Error was encountered
Severity: 8192
Message: Non-static method Wygwam_helper::replace_page_tags() should not be called statically, assuming $this from incompatible context
Filename: wygwam/ft.wygwam.php
Line Number: 562

A PHP Error was encountered
Severity: 8192
Message: Non-static method Wygwam_helper::replace_page_tags() should not be called statically, assuming $this from incompatible context
Filename: wygwam/ft.wygwam.php
Line Number: 562

A PHP Error was encountered
Severity: 8192
Message: Non-static method Wygwam_helper::replace_page_tags() should not be called statically, assuming $this from incompatible context
Filename: wygwam/ft.wygwam.php
Line Number: 562

A PHP Error was encountered
Severity: 8192
Message: Non-static method Trunchtml::usage() should not be called statically, assuming $this from incompatible context
Filename: trunchtml/pi.trunchtml.php
Line Number: 37

A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home/affinityassetfin/public_html/system/codeigniter/system/core/Exceptions.php:170)
Filename: core/Common.php
Line Number: 409

Many thanks
Shuka


texts: Custom data not saving to members on checkout

texts:
I'm trying to save some custom member fields to EE's member section using CartThrob's checkout form.

I have created all the necessary member fields and mapped some of the basic fields in CartThrob's settings and they save just fine. Only the custom_data inputs don't save in the newly created EE member.

Here's the gist of what my form looks like so far:

{exp:cartthrob:checkout_form create_user="yes" group_id="5"}
    <input type="text" name="first_name" value="" id="first_name" class="required"  />
    <input type="text" name="last_name" value="" id="last_name" class="required"  />
    <input type="text" value="" placeholder="Preferred Name" name="custom_data[preferred_name]" />
    <input type="text" value="" placeholder="DOB Day" name="custom_data[member_dob_day]" />
{/exp:cartthrob:checkout_form}

This was all done following CartThrob's docs and many iterations of not working.
Any direction guys, much appreciated.


texts: Using the Entry title variable in an Channel Entry field

texts:
I have a Channel Entry field that contains a table. I need the caption to contain the title. I tried:

<caption>{title}</caption>

Thinking it would work, given that it's within the scope of the Entry, but that didn't work.

What would I need to write?


texts: Ajax Login Validation using native EE function

texts:
I'm rather new to EE, and I'm having a hard time finding some stuff in it.
I started working on a legacy site that is pure EE template and for every validation it goes to a new page.
I'm wanting to use jQuery/Ajax/EE for validation, but I can't find the function that would validate the data on submission. I also want to know what is EE using to hash the passwords so I can correctly hash before I send to the server.
If anyone can provide a link or an answer I would be very grateful.


texts: Freeform Pro Text field type is not installed but is showing a lock icon

texts: I'm trying to install the Freeform Pro Text field type. Its not installed but is showing a lock icon. I don't know how to install the filed type. Any thoughts.


texts: Trigger the member self activation email from custom add-on with member registration

texts:
So i have written a custom module to do some stuff, but part of that stuff is to register a new member into EE. All of that is working great, but, it doesn't send the self activation email out (even though EE is configured too).

I have no idea what i'm missing here codewise? From looking through the EE code, it should send the email. I get no errors either.

$this->EE->load->model('member_model');
$this->EE->load->helper('security');

$data['username']     = $this->input->post('username');
$data['password']    = do_hash($this->input->post('password'));
$data['email']        = $this->EE->input->post('email');
$data['ip_address']    = $this->EE->input->ip_address();
$data['unique_id']    = random_string('encrypt');
$data['join_date']    = $this->EE->localize->now;
$data['language']     = $this->EE->config->item('deft_lang');
$data['timezone']     = ($this->EE->config->item('default_site_timezone') && $this->EE->config->item('default_site_timezone') != '') ? $this->EE->config->item('default_site_timezone') : $this->EE->config->item('server_timezone');
$data['daylight_savings'] = ($this->EE->config->item('default_site_dst') && $this->EE->config->item('default_site_dst') != '') ? $this->EE->config->item('default_site_dst') : $this->EE->config->item('daylight_savings');
$data['time_format'] = ($this->EE->config->item('time_format') && $this->EE->config->item('time_format') != '') ? $this->EE->config->item('time_format') : 'us';
$data['group_id'] = 1;

if ($this->EE->member_model->get_members('', '', '', $data['username'], '', 'username')->num_rows() > 0)
{
   $this->EE->output->show_user_error('submission', 'Username already exists!!!!');
}

$member_id = $this->EE->member_model->create_member($data);

$this->EE->member_model->delete_member($member_id);


texts:
I'm getting an error when I try to add a wygwam element to my content elements field - but it only happens in my local dev environment. It works fine on our live site. Also, a stand-alone WYGWAM field will not initialize either, so I don't think the issue is with CE.

PHP 5.3.2
EE 2.8.1
Wygwam 3.2.2
Content Elements 1.6.6

Uncaught TypeError: Cannot read property 'init' of undefined
/themes/third_party/content_elements/elements/wysiwyg/ckeditor/ckeditor.js:24

Anybody seen this before? Thank you in advance!


texts:
I want to select the last 2 rows in a matrix field:
You would expect that this could be easily achieved by using the following code.

{matrix}
    {if row_count >=  total_rows - 1}
        test
    {/if}
{/matrix}

However, this throws a syntax error:

  Parse error:  syntax error, unexpected T_STRING in
  expressionengine/libraries/Functions.php(683) : eval()'d code
  on line 168

Using just "total_rows" works perfectly fine, adding the the "-1" causes the error.
( EE v 2.5.5 )


texts: Can I Dynamic grid row count selected by user per entry?

texts:
I’m trying to allow the author to over ride the default of 7 grid rows to be displayed on main page of article.
I have a drop down filed (limit_override) with “default,25,50,75” to start with.
I would like to have something like this, below does not work

{if limit_override =="default"}
{grid limit="7"}
{if:else}
{grid  limit="{limit_override}"}
{/if}
stuff...
{/grid}

I have tried stash
Thanks


texts:
I'm trying to figure out how to get content dynamically from expression engine. Basically I have 6 article summaries as content. When the page loads, I'm getting 3 summaries, but I have a "show more" button. When it's clicked, I want to load the next 3 summaries but I don't know how to do this.

this is what my tags look like now:

{exp:channel:entries channel="blogposts" limit="3"}

{title}

{blog_author}

                {blog_body}

                <button class="button green-but">
                    READ FULL ARTICLE
                </button>

{/exp:channel:entries}


texts: how can I transfer entries between MSM sites if the site's already been created?

texts: We created a separate site in MSM a while back and never copied over channels, fields or categories. But now we want to do this without deleting and recreating the site. How do I do this?


texts:
I'm using Stash lists to output channel entries grouped by the value of a custom field. In this case the custom field is a relationship field, but that's not relevant because the actual entries output is working just fine. What is giving me problems is using the {count} variable to apply a heading to each group of entries. Here's my code (for simplicity I've removed most of the variables that I'm stashing and just including the 'reviewtext' one).

{exp:channel:entries channel="reviews" disable="categories|member_data|pagination" show_expired="yes" cache="yes" refresh="10"}
    {exp:stash:append_list name="entries" context="{reviews_assigned_project:channel_short_name}" parse_conditionals="yes"}
        {stash:reviewtext}{reviews_review}{/stash:reviewtext}
    {/exp:stash:append_list}
{/exp:channel:entries}

{exp:stash:get_list name="entries" context="books" process="end"}
    {if {count} == 1}

Book reviews

    {/if}

        {reviewtext}
        {count} of {total_results}

{/exp:stash:get_list}

{exp:stash:get_list name="entries" context="comics" process="end"}
    {if {count} == 1}

Comic book reviews

    {/if}

        {reviewtext}
        {count} of {total_results}

{/exp:stash:get_list}

The output is fine apart from the conditional, which is output verbatim, with the exception that the value of {count} is parsed into the page. So, when I have three book reviews and two comic reviews, I get the following:

{if 1 == 1}

Book reviews

{/if}

    ... my entry content ...
    1 of 3

{if 2 == 1}

Book reviews

{/if}

    ... my entry content ...
    2 of 3

{if 3 == 1}

Book reviews

{/if}

    ... my entry content ...
    3 of 3

{if 1 == 1}

Comic book reviews

{/if}

    ... my entry content ...
    1 of 2

{if 2 == 1}

Comic book reviews

{/if}

    ... my entry content ...
    2 of 2

I've tried wrapping the conditional in exp:ifelse tags, and I've tried using Switchee instead of the {if} conditional. In every case the conditional tags (of whatever sort, including the ifelse and switchee tags) are output as template code. I tried stashing the count as a variable but that gives me the count from the entire channel entries tag rather than the count of the list output - so my book reviews have counts of 1, 3 and 4, whilst my comic reviews have counts of 2 and 5. Not what I'm after.

What am I doing wrong and how can I get the stash:list's count to work in the conditional statement? Thanks.


texts:
How are wiki search result URLs constructed?

I upgraded from EE 1 to EE 2 a few months ago and I've found what I think is a lingering problem since then: one of my small wikis is returning a 404 page for any search.

This is probably because I do use some extensive URL rewriting, but it seems then that the result URLs must have changed between EE 1 and EE 2, so an example of those would be great to have.


texts:
Im trying to use Low Yearly Archives to show a list months with a list to an individual month of articles.

I also want to show a list of years excluding the current year so the page will look something like this:

Jan Feb

2016 2015 2014

Ive had this running on EE2 but can't get it to work on EE3

Here is the code:

PHP:

<?php
$year = $this->EE->localize->format_date("%Y", $this->EE->localize->now);
?>

Tag:

{exp:low_yearly_archives channel="news" start_month="1" status="not closed" sort="desc" show_future_entries="no" start_year="<?=$year?>" end_year="<?=$year?>" dynamic="yes"}
{months}
{if num_entries > 0}
{month} | {num_entries}
{/if}
{/months}
{/exp:low_yearly_archives}

{exp:low_yearly_archives channel="news" status="not closed" sort="desc" end_year="<?=$year-1?>" dynamic="no"}
{if year == "<?=$year?>"}
{if:else}
{if entries_in_year > 0}
{year}
{/if}
{/if}
{/exp:low_yearly_archives}


texts:
Basically i have a a channel called "testimonials", this channel has all the testimonial entries.

I have another channel called "franchise" this has all the entires for the franchises.

Basically i want to create a testimonial and with a playa field select what franchise entry this is associated with, and then on the franchise "view" page bring through any testimonials that is related to that entry.

Does anyone know how to do this? or know of another way?

EG:

Testimonial One > Conwy Franchise

Then on the Conwy franchise view page bring through

Testimonial One.

Thanks Wes.


texts: How to add a MailChimp Sign Up form for a Newsletter to a website

texts:
I am using MailChimp for sending out Newsletters but I would like to add a MailChimp Sign Up form to the website on the Home page.

How do I do this?

I am extremely new to this product so thank you for any help you can provide.
Regards


texts: How can I integrate a reservation system with a retail based cart in EE?

texts:
We have a client who will be selling:

Memberships
Merchandise
Reservations for classes (prepay)

The classes have different rates based on the course.  They are on various days, with limited spaces.

Ideally I would like to go with BrilliantRetail for the memberships/merchandise, and rEEservation for the classes, but I don't think there is an easy solution for integrating the two, in order to have a single checkout.

Has anyone managed to pull something like this off or have any ideas of what the best approach would be?


texts: how to dynamically insert image into dynamic text

texts:
Ok, let say I have a channel entry that is dynamically being displayed on a page, and I also want to have an image displayed in that text as well, with the text nicely flowing around the image.  So far I've been able to put an image at the top by putting the image inside the P tag, and I can float it to get the text to wrap around it, but that only puts the image at the beginning or the end of the text, depending on where I place the image tag in relation to the EE tag that pulls in the channel content.

I would really like to have a few paragraphs of text, and then an image floated nicely to the side with the text flowing around it, and then have more text after that. How would I do that?

To be clear, I know this can be done with a WYSIWYG editor, or by having the content administrator enter an image tag in the midst of the paragraph when they're actually writing the channel entry, but that's not what I'm looking for.  I have a file upload channel field that allows an image to be uploaded for that channel entry, and then the template dynamically pulls that image in if they uploaded one.

The only way I can think of to do it would be to have multiple channel fields, and one field would be the portion of text before the image, and the other would be the portion of text after the image, but that feels like an ugly work-around to me.  I would think this would be something pretty standard, I just don't know how to do it.


texts:
Is it possible to get the commenter's avatar through the comment:entries tag?

{exp:comment:entries sort="asc" limit="9" paginate="bottom" dynamic="no"}

{name} <time>{comment_date format="%Y %m %d"}</time>

{exp:stringy:striptags allowed_tags=""}{comment}{/exp:stringy:striptags}

                    {paginate}
                    {pagination_links}

Page {pagination_page_number} of {total_pages}:

                            {previous_page}

{/previous_page}{page}
{pagination_page_number}
{/page}{next_page}

{/next_page}

                    {/pagination_links}
                    {/paginate}
                {/exp:comment:entries}

Here is my current code for the latest comments, it doesn't seem to be grabbing the member's avatar?

Any ideas?

Thanks
All the best
-Graham.


texts: JSON Output encoding issue with accented characters and apostrophes

texts:
I have created a JS template with this code to output GeoJSON for our Google Maps;

{
  "type": "FeatureCollection",
  "features": [
    {exp:channel:entries
        channel="places"
    }
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          {longitude},
          {latitude}
        ]
      },
      "properties": {
        "name": "{title}",
        "url": "{url_title}",
        "address": "{addressline1}, {if addressline2}{addressline2}, {/if}{city}, {postalcode}",
        "icon": "/static/markers/place.png"
      }
    },{/exp:channel:entries}
  ]
}

However, some of the titles have an apostrophe or accented characters, which are being included in the GeoJSON like so;

Bar &#8216;67
CafÃ© and Bar

I was wondering if anyone knows how I can correct this?

Thanks


texts: Ratings Delete function using zoo:visitors

texts:
I'm trying to use the delete function in Solspace's Ratings addon:

It's passing the correct rating_id, but what seems to be happening is that since I'm using Zoo Visitor, it doesn't seem to be recognising me as the author of the item I'm trying to delete (or something like that)?

How can I turn off the function that checks this?


texts:
I am running Exp-resso store. When an order is placed the customer gets a confirmation email but the admin doesnt.

I am sure i am missing something very simple here but not sure what. Where do you set the email address order confirmations should go to? Is there a way of testing it?

I have coded my own custom payment gateway dont think this is the problem though as the order registers as payed within the system.

Any ideas?


texts: I'm a little confused here and haven't found anything the clearly explains this. I recently upgraded our EE2 site to EE3. Previously we had purchased the MSM with 16 sites. After upgrading to EE3 none of my subsites work.. the screen is just blank. Do i now have to purchase a full $199 for each site or is something else going on here? Any info is appreciated. Thanks!


texts: Live preview using multiple instances of the EE RTE

texts:
We need to grab the html/content from multiple instances of the RTE and perform a live preview of the content. It's easy to do with just one instance of the RTE using something like

{exp:channel:form channel="channel_name" rte_selector=".ee-rte"}
    <textarea class="ee-rte">{field_tag}</textarea>
{/exp:channel:form}

...

var out = $('#preview');
var content = $('.WysiHat-editor');
content.on('keyup', function(){ out.html(content.html()); });

However, because you can't assign each auto-inserted RTE an ID, you can't match the input to the output because we're using the $('.WysiHat-editor') selector which grabs any and all RTEs.

I've tried using .each() but haven't been able to make it work. Our client specifically asked for a live preview, lest we'd be using livelook.

Any tips?

Also, as an aside, does anybody know why exp:channel:form trucates
 tags when it populates fields (divs, textareas, etc.)?

I've been trying it and I've made some progress but it's still buggy and not working they way it should.

var count = 0;
$('.WysiHat-editor').each(function(i){
    $(this).attr('id', 'wysi-' + i);
    count += i;
});

$('.out').each(function(i){
    $(this).attr('id', 'out-' + i);
});

for (var k = 0; k < count; k++) {
    $('#wysi-' + k).on('keypress keyup keydown paste change focus blur', function(){
            $('#out-' + k).html($(this).html());
    });
}


texts: Member of the group and managing categories

texts:
I have create new members group (EE 2.7.3) and have enabled there

Can edit and add new categories
Can delete categories

but when member of that group is trying to add/edit category it says You are not authorized to access this page

Any clue?

Thanks


texts:
Is there a setting in Store somewhere that is rounding tax rates on me? I have a product in the cart for 150 with a tax rate of 23%. This should equal 34.50 in tax, and the total should be 184.50, but it is 185.

I saw in store 1.6.4 there was an option in general tab to 'round after tax' but this seems to be missing in 2.0.4?


texts:
On our site we have a number of front-end Safecracker forms. Also, our website needs to be fully PCI DSS compliant and in order to achieve this, we have to use a scanning tool provided by our Merchant Bank to ensure that any vulnerabilities are fixed before they will supply us with a PCI DSS compliance certificate.

When we scanned our website, all of the safecracker forms came up with the following similar warning;

  Description: CGI Generic Cross-Site Scripting (quick test)

  Synopsis: The remote web server is prone to cross-site scripting
  attacks.

  Impact: The remote web server hosts CGI scripts that fail to
  adequately sanitize request strings with malicious JavaScript. By
  leveraging this issue, an attacker may be able to cause arbitrary HTML
  and script code to be executed in a user's browser within the security
  context of the affected site. These XSS are likely to be 'non
  persistent' or 'reflected'.

  See also :
  http://en.wikipedia.org/wiki/Cross_site_scripting#Non-persistent
  http://www.nessus.org/u?9717ad85 http://projects.webappsec.org/Cross-
  Site+Scripting

  Data Received: Using the POST HTTP method, SecurityMetrics found that
  :

  The following resources may be vulnerable to cross-site scripting (quick test) :
  The 'RET' parameter of the /product-registration CGI :

/product-registration [RET=]

-------- output --------
&nbsp;

<form id="publishForm" method="post" action="" enctype="multipart/form-data" >
 <input type="hidden" name="ACT" value="108" /> ------------------------ Other references : CWE:79, CWE:80, CWE:81, CWE:83, CWE:20, CWE:74, CWE:442, CWE:712, CWE:722, CWE:725, CWE:811, CWE:751, CWE:801, CWE:116, CWE:692, CWE:86

Another example of vulnerability with the same form is as follows;

-------- output --------
&nbsp;

<form id="publishForm" method="post" action="509" src="http://www.exampl e.com/exploit509.js" enctype="multipart/form-data" >
 <input type="hidden" name="ACT" value="108" /> ------------------------ /product-registration [return_url=/product- registration/sent&RET=509" sr c="http://www.example.com/exploit509.js&XID=]

-------- output --------
&nbsp;

<form id="publishForm" method="post" action="509" src="http://www.exampl e.com/exploit509.js" enctype="multipart/form-data" >
 <input type="hidden" name="ACT" value="108" /> ------------------------ Other references : CWE:79, CWE:80, CWE:81, CWE:83, CWE:20, CWE:74, CWE:442, CWE:712, CWE:722, CWE:725, CWE:811, CWE:751, CWE:801, CWE:116, CWE:692, CWE:86

  Resolution: Restrict access to the vulnerable application. Contact the
  vendor for a patch or upgrade.

  Risk Factor: Medium/ CVSS2 Base Score: 4.3

  AV:N/AC:M/Au:N/C:N/I:P/A:N

I was wondering if anyone else has come across this before with ExpressionEngine and Safecracker forms? And also, what the fix(es) might be?

As mentioned in a reply below, I do have the 'return' and 'return_url' parameters set for the form.

Thanks.


texts: Possible to "Buy All" Products on a Page or Purchase a Group?

texts:
We're looking into adding a "Buy All" button for a Charity / Auction site and the owner would like to have a buy all button that would add all items (each having a stock of 1) to the cart for purchase.

Second Question: Is it possible to visibly show when a product has been added to the cart? The reason being is that the items for sale will be in a grid side by side and the owner would like a way for people to know which items they have added to the cart by visibly altering a div tag (or something similar) once the item is residing in the cart.


texts: Problems with Admin CP after updating from v2.2.2 to v2.10.1

texts:
After the update the Admin CP is not working properly anymore.
The 'Edit' under 'Content' dropdown is broken. Alle the labels have cpmm_ as prefix. And the links are linking to new pages instead of edit.

What could be the problem?

Thanks in advance.

Grtz,
Martijn


texts: Problem: Linking to specific CMS page from external page

texts:
I've created an external "admin" page, but added a "Return to CMS" link .When this is clicked it redirects back to the EE admin page BUT it's logged me out and the URL is something like:

http://website.com/admin.php?S=0&D=cp&C=login&return=Qz1hZGRvbnNfbW9kdWxlcyZhbXA7TT1zaG93X21vZHVsZV9jcCZhbXA7bW9kdWxlPWxvd192YXJpYWJsZXM=

Is it possible to link back to the CMS, but still be logged in? Because it seems to be logging me out.


texts: Trouble with Zoo Visitor checkboxes in a Low Search

texts:
I am looking to do a search of a few Zoo Visitor fields that are comprised of checkboxes. This was something I was working on a few months ago and I picked this project back up this week. I am having two different issues and I'm not sure if they are Zoo Visitor or Low Search issues so I figured I would post here to start.

The first issue has to do with the checkboxes themselves. I have three checkbox fields with anywhere from 10 to 50 options. Each option is listed on its own line as specified in "Multi-Select Options" within the channel field settings. A few of the options have commas in them and I'm not sure if that's an issue.

When I go to display these fields within my search, the checkbox fields all behave in very strange ways. All the fields in the low search form follow the same format every time:

<fieldset>
  <legend>Fieldname</legend>

        {exp:channel:entries
          site="default_site"
          channel="zoo_visitor"
          status="not closed"
          disable="categories|pagination"
        }

        {mbr_fieldname}
          <input type="checkbox" name="{item}" value="" /> {item}

        {/mbr_fieldname}
        {/exp:channel:entries}

</fieldset>

For two of these fields, some of the checkboxes being displayed have multiple values combined into one value. That is, instead of there being two separate checkboxes for Value 1 and Value 2, one checkbox will contain BOTH Value 1 and Value 2 together. Another one of these fields has multiples of the same value wjthin the list. For example, Value 3 might show up twice for no apparent reason. These values are also not in the order listed when I created the field. I even checked in the database and all the data looks to match what I entered properly the first time. To test this issue further, I created a new checkbox field this evening called testcheckboxes. When I tried to display this new field like so:

        {exp:channel:entries
          site="default_site"
          channel="zoo_visitor"
          status="not closed"
          disable="categories|pagination"
        }

        {testcheckboxes}
          <input type="checkbox" name="{item}" value="" /> {item}

        {/testcheckboxes}
        {/exp:channel:entries}

No entries show up whatsoever.

The second issue has to do with the checkboxes that DO show up. If I try to check off any of these boxes and search, no member results are found even if I know a particular member has these boxes checked off. The checkbox fields are marked as searchable and the results page has a status="not closed".

I'm hoping to be able to unravel this problem soon but I'm really not sure where to go from here. Any help would be greatly appreciated. Thank you.


texts: Displaying categories across sites with Multi Site manager

texts:
I have a Multi Site Manager installation with Sites A and B set up.

Site A contains a channel, "Foo" which has a number of category groups assigned to it.

On Site A, I can easily show a list of categories with:

{exp:channel:categories category_group="1" style="linear" show_empty="yes"}
{category_name}<br>
{/exp:channel:categories}

This outputs a list of category names as expected.

I need to do the same on Site B. But using the same code shows nothing.
I tried adding a site parameter, a site_id parameter, specifying the channel name, specifying the sitename:channel name. All to no avail.

How can I show the list of categories on Site B?


texts: Clicking 'submit' on FreeMember login form just goes to blank page

texts:
Well basically like the title says, no errors are generated, I just get a blank page back...

Heres my form:

{embed="includes/.sitetop" pagetitle="Gateway Workshops - Massage Courses UK - New member registration" page="register login questionnaire"}

Register New Account

    {exp:freemember:register require="email|name|phone|password" return="site/thankyou/" error_handling="inline" error_delimiters='|'}

Name: {field:name}
{error:name}

Email Address: {field:email}
{error:email}

Company Name: {field:company}
{error:company}

Job Title: {field:job_title}
{error:job_title}

Phone Number: {field:phone}
{error:phone}

Address:{field:address}
{error:address}

Password: {field:password}
{error:password}

Confirm Password:{field:password_confirm}
{error:password_confirm}

{if captcha}

Please enter the following characters into the box below:

    {captcha}

    {field:captcha}

    {error:captcha}

{/if}

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

Submit Questionnaire

</input>

    {/exp:freemember:register}

{embed="includes/.sitebottom"}

Its fairly simple, nothing too fancy there, it all displays fine on:
/login/register/
but when you click the submit button it goes to:
/index.php/login/register
and displays a blank page.

If I go directly to /index.php/login/register and hit submit it does the same thing (aka redirects back to itself) regardless of what else I do in the form.

I've got PHP errors turned on and am getting no errors appearing for the site, just the form seems to consistently return to a blank page.....

Thanks

Steven Lockey


texts:
I'm porting a wordpress site in ee to add some functions.

The actual post structure is site/year/mobth/post

The post are in good position in search engine, so I want mantain this structure, but don't imagine how can do that.


texts:
I'm using structure to build out a site. The site is in a sub folder for development. I can't get structure to write the correct paths. I have the menu showing the pages I've entered but the url just shows as

example.com/page/sub-page

when I want it to look like

example.com/sub-folder/index.php/page/sub-page.

If I go to

example.com/sub-folder/index.php/page/sub-page

It does show the correct page.
Am I missing something obvious or is there something more complicated about having the site in a sub folder with structure?

Thanks!


texts:
Say I have the following URLs for my Channel entry page:

http://site.com/used-toys/231/
http://site.com/new-toys/235/

NOTE: the pattern is: template_group/entry_id

They use the same Channel and display the exactly the same thing. The URLs are different for SEO purposes. What should I do so that I can remain DRY in respect to the markup that display these Channel entries.

The non-DRY way to do this is to just make sure that used-toys/index is kept in sync with new-toys/index.

Stash is probably a solution, but I have struggled with that the moment I start doing complex things where parse order matters. I'm hoping for an easier, native-EE solution.


texts:
Suppose I have a 3 column table and 9 channel entries A to I. I'd like to display the entries in the three columns in three rows:

row 1: A D G
row 2: B E H
row 3: C F I

I see a channel {count} variable which will give me the number of entries selected from the channel.

I'm using css and div tags to display data in a table format.


texts: Site Error: Unable to Load Site Preferences

texts: I'm getting this issue with a new MT GS Server and have yet to resolve the problem despite reading he various recommendations on EESE. My database.php file is set to point to my config.php file where I've placed all my DB settings in a DRY setup. Both have been tested with 755 and 777 with no change in results. I can log into the db with PHPMyAdmin and Sequel Pro but when I try EE and a simple test script I get the above error. Any ideas why I can connect with PHPMyAdmin and Sequel Pro but not through PHP? Any other suggestions to try to resolve a db connection? Anything to keep in mind when talking to tech support at MT?


texts: Expression engine control panel theme not loading with forwarding slash

texts:
When I try to open control panel with forwarding slash, then it shows me broken login page theme, but when I try to open it without using slash then it loads properly. I guess somewhere it is not fetching css path , but i am not able to find it.

https://www.abc.com/control -- working
https://www.abc.com/control/ -- not working


texts: Create A Javascript Array from a Channel

texts:
Basically I need a javascript array built from a channel, but as we all know curly braces can be an issue, I was just wondering if there is a way to make a javascript array in an EE template.  Something like this:

var locationArray = [

{ xpos : 0.08, ypos : 0.07, title : "Location No. 1", image: "location1.jpg", text: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus ac pharetra est, vel efficitur orci. Mauris euismod, sapien eget pretium viverra, lacus erat gravida sapien, at tempus ante nisi sed odio."},

{ xpos : 0.50, ypos : 0.50, title : "Location No. 2", image: "location2.jpg", text: "Mauris sodales lectus eu sem congue, eu malesuada est accumsan. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Pellentesque dui ligula, sodales porta libero in, tincidunt posuere odio."},

{ xpos : 0.65, ypos : 0.32, title : "Location No. 3", image: "location3.jpg", text: "Nunc dignissim porttitor leo in aliquam. Morbi malesuada mauris in velit cursus ornare. In hac habitasse platea dictumst. Praesent non congue sapien."}

]


texts: Is CE_image compatible with EE version 5?

texts: Updated to version 5 of ExpressionEngine, and CE_image has seemed to stop working.


texts: Call to undefined method EE_Form_validation::error_array()

texts:
I've updated EE from 2 to 5. I've a custom module where I need to validate a form. In the new EE 5 the function $this->EE->form_validation->error_array() does not exist anymore. I'm using it in the following function:

$this->EE->session->set_flashdata(
    'result_message',array(
        'post' => $_POST,
        'errors' => this->EE->form_validation->error_array()
    )
);

Does someone has an answer for this?


texts:
I'm trying to map member fields in CartThrob, and I'm having trouble with Birthday.

{customer_bday_m} displays {customer_bday_m}
{customer_bday_month} (as shown in docs) displays nothing.

There are no options for the birthday day, month and year fields in the CT settings page.

Am I missing something?


texts: Saving PayPal email address in CartThrob

texts:
Using CartThrob and PayPal Express, is it possible to save the PayPal email address that is used when an order is placed?

At the moment, I'm only saving the first name, last name, and email address that is entered on the checkout page of the website, but this email address may be different to the PayPal email address.

The only info that is currently being returned from PayPal is the transaction ID and error message, so just wondering if and how we can save the PayPal email address too, thanks.


texts:
I'm building out a photo gallery using the grid field type and everything works fine with this code:

{gallery}

    {if gallery:caption}
{gallery:caption}
{/if}

{/gallery}

However the switch tag is outputting the classes in the wrong order which is why I changed them to numbers, really they should be clear||last. The unexpeced output is here:

Mmm Caffeine!

Marshmallows!

Be Careful

Notice that the classes get output
two
three
one
two

not

one
two
three

Any idea why this is happening or how to fix it?


texts: Is it possible to duplicate the Low reorder sets across the sites automatically?

texts:
How can I duplicate the same Low Reorder sets that I have on my master site on all the duplicated sites on MSM?

I have 50 sites to deal with and I don't want to do it manually.

Thanks,
Salvo


texts: Error when using Expresso with Low Variables

texts:
I'm trying to get Expresso working with Low Variables - but it's not playing nicely :(

I get this error from my template when I view the site:

  Fatal error: Call to undefined method
  Low_fieldtype_bridge::get_setting() in
  /xxxxxxx/system/expressionengine/third_party/low_variables/mod.low_variables.php
  on line 148

What could be causing this?


texts:
Is there any way to loop the next/prev entry links?

Currently the next link is hidden when you get to the last entry and the prev link is hidden on the first entry.

Thanks.


texts: Can't get my conditional to work inside a Playa field

texts:
I want to insert a simple exception, using an "if" statement, into the flow of my Playa field's output. But it's not working. Can I get help?

Here's the code that works:

{prac_area_contact_people backspace="3"}
<nobr>{exp:tagstripper:stripAllTags}{people_first_name} {person_last_name}{/exp:tagstripper:stripAllTags}</nobr>,
{/prac_area_contact_people}
{/exp:channel:entries}

prac_area_contact_people is the name of my Playa field.

I want to add some content to the end of the anchor tag in the 2nd line of the sample above, ONLY when the person_last_name field is equal to a certain value.

So I did this:

The goal is that when the person_last_name field is pollack it adds on the extra segment in the URL. But the thing fails. What am I doing wrong?


texts: Backup Pro(ish) is exporting empty SQL files

texts:
I've just installed Backup Pro(ish). This is my first time using the addon, so the problem I'm having could very well be "user error. I have the database backup method set to "MySQLDUMP", unfortunately every time I perform a backup and export the database it's an empty file. I've tried the PHP backup method and this appears to work, but I would prefer to get the SQL file.

I'm running EE v2.6.1 and am using the Focus Lab master config. I'm not sure if that would have any affect on the issue.

Thanks in advance.


texts:
I have created a module for Expression Engine 3, which includes two functions.

search_form
search_results

search_form returns a form into my template.

search_entries is actioned by search_form upon the forms submission. This function then completed my queries, returning an array of entry_id.

My question, is how can I then return those entry ids back to the template, and output them through a channel entries tag?


texts: Pass custom/dynamic product information during add to cart process

texts:
I need to pass a custom, and dynamic field through from the page that has the Add to Cart button on it, all the way through checkout. How would I go about doing this?

Basically, I have some Add to Cart buttons that add a specific "product" from the Store Products channel and the Product they add, depends on the entry from a secondary channel so I need to pass the entry_id from that secondary channel all the way through.

Hopefully this makes sense and hopefully it's a quick answer. :-)


texts: `email` field in exp_comment_subscription table

texts:
I disabled the sending of notifications for comments because I created a custom solution that triggers when a user makes a comment.

I am trying to get emails of the subscribers via the exp_comment_subscription table.

Normally, I would just connect the dots via the member_id but I think I need to know what the email field does before doing anything.


texts: Channel Form : Passing data into a Playa or Relationship field

texts:
I need to allow users the ability to create an entry via the front end hence I'm using Channel Form.

In the CP I have set up several custom fields in this channel to be either a Playa field or a Relationship field.

In the Channel form page I am building SELECT statements by looping through a channel:entries tag building the value to be the entry_id and the text to be the title.

When I save the form the value of these fields are not being saved to either of the playa or relationship fields.

Is it possible to do this? Should I be passing in some other value other than the entry_id? I have the SELECT names set to the name of the custom field.

Oh and as an added complication the user is also selecting one of the site members. Currently I'm just saving the member_id to a text field so it's just showing up as a number. Is there any plugins I could use that would allow the editor in the CP to see the members name rather than their ID?


texts: Using categories to build a location filter

texts:
I'm building a site that has a directory listing and I want to allow the user to browse by location. The ideal scenario would be that they would follow this sort of a path:

go to site.com/browse and select a country
this loads site.com/browse/category/uk, then select a region
this loads site.com/browse/category/uk/northern-ireland, then select a county
this loads site.com/browse/category/uk/northern-ireland/antrim, then select a town/city/area
this loads site.com/browse/category/uk/northern-ireland/antrim/belfast

Now, I think I can do this using EE categories. I could even load up the sub categories over ajax each time they select a parent category.

The category structure in EE for locations would look something like this:

Country

Region/State

County

Town/City/Area

My issue is that even with 1 country, there would be a lot of categories. I can handle this neatly on the frontend using GWcode Categories I think. But what about the EE CP. If I click to edit an entry, it would need to load up all these categories in a list. That's a lot. What about when we decide to add another country and need loads more categories again. I want to build this right from the start and don't want to have to re-engineer it later. Another problem is trying to import all those categories. There doesn't seem to be a way to do it. I know there are addons like WB Category Select and JP Category Select, but they still don't solve the issue of having 1000s of categories.

This leads me to believe that I should put all the locations into their own channel and use Playa or a relationship field as a way to display them and allow the user to choose them. But if I do this, is there a way in the channel entry page to allow the user to select the first level (country), which would then populate the second level, and so on? Maybe we need to make our own field type or is there something out there I just haven't found yet.

Then, if this is possible, I would need to filter the entries based on their relationship field. I suppose I'd need to use a mix of freebie to get the filter from the url and use playa to filter based on this.

I suppose I'm asking if I'm over complicating this whole thing or is there an easier way of doing this? Any advice or suggestions would be greatly appreciated.

Thanks, Dave


texts: Where do you put your third party themes folder? has a community consensus been discussed?

texts:
I've recently started to use PATH_THIRD_THEMES in my config file, but i was wondering if there was a community consensus on where this folder should live and be called?

/assets/third_themes
/assets/addons
/third_party_themes
etc


texts: Solspace super search excerpt not working

texts:
I have the following tag:

{exp:super_search:results
                orderby="date"
                paginate="both"
                limit="20"

            }

{title}

{if excerpt}{excerpt}{if:else}No excerpt available.{/if}

                 ....
{/exp:super_search:results}

I have the correct excerpt field selected in the channel settings, cleared the cache, reindexed, etc. Still nothing appearing here. Any thoughts?


texts: Freeform Form expired error in Google Chrome only

texts:
I am using an {exp:freeform:form} tag for contact requests and am getting this error when submitting the form in Google Chrome only:

"This form has expired. Please refresh and try again."

Because this is EE's CSRF protection error, I tried disabling CSRF protection in my config file and submitting the form. This works, but I dont' want to leave it off permanently.

$env_config['disable_csrf_protection'] = "y";

The odd thing is, why would this only happen in Chrome and not Firefox, Safari, etc.

Could it be a Cookie issue?

The site is using:
EE 2.9.2
Freeform 4.2.0


texts: All entries in Structure managed channel suddently closed and lost Structure data!

texts:
Overnight a very unexpected and unexplained thing happened on my site. I woke up this morning to find that all entries in a Structure managed channel had been "closed" and therefor all structure data for those entries had been lost. I was lucky I had a developer who could revive them from a backup, otherwise it could have been a disaster that would have taken hours to fix.

Would the Structure module itself somehow be responsible for closing all of these entries? I don't think I did anything at all in Structure around the time this would have happened, but I can't think of what else might have caused this.

Are there any other add-ons that could do something like this?

It's a very scary and frustrating situation because I have no idea how it happened or how to prevent it from happening again. Would appreciate any advice on how I can find out the cause of this.


texts:
Client is telling me neither the Playa search or filter function is working for them on any main browser on Win 7. It must be a problem with his PC as I've not been able to reproduce the problem myself. Could it be something to do with Javascript?
EE v2.7.3
Playa v4.4.5


texts:
EE 2.7.2
Playa 4.4.5

I have two playa fields in my Recipes channel field group.

One is called similar_recipes, which relates to other entries within the recipes (which happens to be the channel this form is posting to).

The other is related_products.

{similar_recipes}
    {if count > 0}
Similar Recipes
{/if}

        {recipe_image}

        {/recipe_image}

        {title}

{/similar_recipes}

{related_products}
    {if count > 0}
Related Products
{/if}

        {product_image}

        {/product_image}

        {title}

{/related_products}

I tried using the dynamic parameter, thinking it may be an issue with the fact I have a playa field that relates to its own entries, but I don't think thats the issue.

As you can see in the attached image, it acts like those fields do not exist in the channel field group.


texts:
I'm using Solspace's Facebook Connect addon to add Facebook login to a site, but I can't work out why my Facebook connect button is not showing while using the following template code:

{exp:fbc:login permissions="email|publish_stream|read_stream"
    return_when_logged_in="site/home"
    return_when_logged_out="site/home"
    return_to_register="site/register"
    return_on_failure="site/fail"
}
{if fbc_logged_out == "y"}
    {fbc_login_button}
{/if}
{if fbc_logged_in == "y"}
    Your connected
{/if}

Can anyone explain what I'm doing wrong?


texts: exp:assets:files fixed_order parameter not working

texts:
Assets 2.6
EE 2.9.3

I have the following test code in an otherwise empty template

{exp:assets:files fixed_order="3922|834|3991" }
<p>{file_id}</p>
{/exp:assets:files}

I would expect it to output in the order of the fixed_order parameter but it does not instead I see this:

834

3922

3991

Any idea why this is not working as expected?


texts: How does exp_channel_data table allocate it's primary key?

texts:
I am working on a site with EE where the client is having some of the data pushed into to the MySQL database from a external FilemakerPro database. I'm working with an external company who handle the clients database for them and in order to push the data through they need to know how the exp_channel_data table allocates it's primary key. Apparently looking at the setting in MySQL, it's the only pertinent table which doesn't do it automatically.

Could anyone shed any light on this?
Many thanks.


texts: I have a category group in ee3 with 100+ categories that were imported. Is there a way I can get them to be sorted alpha without drag & drop manually in the control panel?


texts:
just used Dev Demons' Updater for the first time (update 2.6.1 to 2.7.2) I got a not completed message and them the following: AJAX request failed.

However when I look at the current version running its updated. But when I go the Updater CP I see the "Ajax Request Failed" when I click on the "Show Response" link I get:

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

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

SELECT class, method, csrf_exempt\nFROM (exp_actions)\nWHERE action_id = '44'
\n\n

Filename: libraries/Actions.php
\n\n

Line Number: 82
"}

When I go to the EE CP I get this message: Your ExpressionEngine installation’s version (2.6.1) is not consistent with the reported version (2.7.3). Please update your installation of ExpressionEngine again.


texts: Moblog - Entries aren't created, no error

texts: I've managed to get the moblog to work previously, but now, I can't even get it to create an entry. If there are no emails in the mailbox I'm checking, it says "No valid emails were found", so it seems it manages to connect just fine. But if I actually send an email to that address with the correct Moblog Subject Prefix, I get no error message. But there are no entries created either. Even the simplest moblog template with only {text} doesn't work. No entries are created. What am I doing wrong?


texts: Exp:resso Store - Field Instructions - How do I edit this?

texts:
Field Instructions
Instructions for authors on how or what to enter into this field when submitting an entry.

I would like to add field instruction to the "Total Stock" or "Limited Stock" field so my client will know what to enter into this field.

Were do I accomplish this, I don't see any store fields listed in the Channel Fields Admin area.


texts: Selective parsing of {logged_in_username}

texts:
I have this in my template layout, running EE 3.4:

{if logged_in_group_id == "5"}
    <script>dataLayer = [{'userID': '{logged_in_username}'}];</script>
    Rest of the script pass data to Google Tag Manager
{/if}

It works most of the time – ie the usernames of the logged_in users are sent to Google Tag Manager. But sometimes it just sends the string "{logged_in_username}" instead, without parsing the username.

Does anyone have a clue why this is happening? This conditional is in a template layout and just after the <body> tag. If users are not logged in, they are redirected to another page.


texts: Will Pixel & Tonic modules be upgraded to be compatible with EE 2.8.0? I have noticed several posts in the last week about errors with Playa, Wygwam, Matrix, etc. and I have many sites that are running these modules.


texts: ExpressionEngine Search not working with Matrix

texts:
I have a list of files in a Matrix field. here is a screenshot of it: http://imgur.com/ylWosZ2

So we have a file_title of 'Form 1' and when I search for Form I get the EE error page that says no Results Found. Even when searching for Form 1 verbatim I get the same result.

Just to be concise here is the code for the search box:

{exp:search:simple_form search_in="everywhere" result_page="site/search-results" status="not closed" where="all" show_expired="yes" show_future_entries="yes"}
                <input type="image" src="/img/search-input.jpg" alt="Hunt" class="button" />
                <input type="text" name="keywords" id="header_s" class="text" maxlength="100" />
            {/exp:search:simple_form}

Any help would be greatly appreciated.


texts: Delete thousands of members from an EE2 site

texts:
I had over 40 000 spam member accoutns created and need to delete them.

I tries adding &group_id=5&perpage=1000 to my view all members page which works fine, but as soon as I click a column to sort them by ID or last visit  it defaults back to 20 members.

How can I easily display and delete 40000 membrs accounts?

This is NOT using EE1.6 but EE2, so NOT a duplicate question. PLUS

I cannot just delete the entire member group.  The spam member accounts are spread out through the group.  I will say again if I display 1000 per page and try and edit the order (ie: sort by last visit or join date to help group the spam accounts onto one page for easy deletion, it defaults back to 20 members per page)


texts: Expression Engine 3 upgrade causing links to break

texts:
I recently upgraded a site to EE3 and the EE2 version of the site was using .htaccess to remove index.php from the URLs.

For example:
foo.com/content/index.php/blog is instead foo.com/content/blog

After the upgrade, links that worked with index.php removed from the URLs are causing the site to redirect to the homepage, as if these pages didn't exist. Links with index.php still work and render the correct page. Here is the contents of the .htaccess file:

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

After poking and prodding the site in many ways, my hypothesis is that the
.htaccess rewrite rules were OK in EE2, but EE3 needs them to change in someway.

Any guidance or advice would be sincerely appreciated!


texts: How can i display the site url instead of the ip address?

texts:
I am working in a project in EE that was previously done by somebody else. The problem is that in the image source link , it is showing as:

but what I want is, is that to be like this:

What might be the solution?

P.S. I am using Ubuntu.


texts: Unable to install EE - config.php and database.php not being written

texts:
When installing EE - I get the dreaded database connection error. I've verified the DB works with the credentials by connecting locally in mysql with the same info. I've also utilized your dbtest.php and verified it works.

The problem appears to be EE isn't writing config.php and database.php. The files are zero byte after I hit install.

I've verified permissions and ownership on both files, as well as the other files as required by the installation script.

Is there potentially some php or apache config that is required to allow these files to be written? Please let me know. Thank you.


texts: Need to list all channel:entries, and do something different on "some" of them

texts: I have a need to pull all entries (in this case only 20 or so) from a channel, and have 5 random results do something different to the other 15. What's the best way to achieve this?


texts: New to EE 3.3.0 Ver - Cannot Assign Status Group To Channel

texts:
I am new to Expression Engine 3.3.0. I have a "News" Channel group and "News" field status group that I want to assign so I can separate my news articles from the ones that show at the top of my site from the three that show underneath. See here for details..
http://www.mannachurch.org/ExpressionEngine/

The new UX is great....but, um....I can't assign this for some reason. I only have the option to assign my Status Groups "Homepage Featured" and "Homepage Secondary." My "Homepage Featured" and " Homepage Secondary" should be in my "News" Channel fields group, What am I doing wrong? This is test site, with no sensitive material there, so if you need access lemme know.


texts:
I just installed Lamplighter v1.2.4 on ExpressionEngine v2.5.5 and when I view the Accessory, I see the following error. Any ideas?

Severity: Warning
Message: date() expects parameter 2 to be long, string given
Filename: core/Loader.php(727) : eval()'d code
Line Number: 144


texts: Other structure tags not working inside {exp:structure:nav} tag

texts:
I have a scenario where I want 3 levels to show in my main menu, except for one specific level 2 page where I don't want to show its children.

Using hard-coded IDs works fine, eg:
{exp:structure:nav start_from="/" show_depth="3" exclude="100|101|102" }

But when I replace the hard coded IDs with the structure tag that generates these IDs, it doesn't work:
{exp:structure:nav start_from="/" show_depth="3" exclude="{structure:child_ids_for:14}" }

Anyone have any ideas?  I've also tried using snippets and and embedded template and neither work, though a snippet does work when the hard-coded IDs are in the snippet, just not when {structure:child_ids_for:5} is in the snippet.

Here's the code I've tried using embeds:

In the header:
{embed="embeds/main_menu" hideStudentPages="{structure:child_ids_for:14}"}

In the embed:

    {exp:structure:nav start_from="/" show_depth="3" include_ul="no" add_level_classes="yes" show_overview="yes" exclude="{embed:hideStudentPages}" }

Thanks in advance,
Justin


texts: blank page when saving extension settings

texts:
I am developing an EE extension and everything was working fine and I thought I was done.  So I uninstalled the extension and re-installed it to testing everything.  It uninstalled fine and re-installed fine but now when I submit the settings in the control panel I get a blank white page with no error of any kind.

I have looked at the apache error log and there is nothing is the error log.  I have installed it on a clean install of EE and same thing. Anyone have any suggestions on how to track the problem down?


texts: Possible to reassign a member entries to a member of a different member group?

texts:
I created a member and member group specifically for the purpose of holding any deleted members data. Basically, when I delete a member, all its entries and comments would be reassigned to the aforementioned member.

However, when I tried deleting via EE Control Panel Admin, I noticed that the aforementioned member is not in the select dropdown of members to reassign to.

After a quick check, it seems to me that the choices in the select dropdown are the ones in the same member group as the member we are deleting.

Is there a way to circumvent this? If not, what is the purpose of this rule?


texts: Display channel search result was found in

texts:
I'm wondering if there's any way to display the channel a search result was found in on the search results page. I have about 6 channels and I want to be able to search all of them with one search form. It gets confusing with the results though because some channels have entries with the same or a similar name. Is there anyway to include the channel the result is located in in the search result page? I haven't yet been able to really find any way of displaying the channel an entry is in yet.

Thanks for the help!


texts: row_id Tag Parameter isn't working in Matrix field

texts:
I'm using Matrix, and the row_id tag parameter isn't working for me. At the moment I am on relying on the search Tag Parameter.

This doesn't work:

{technical_specifications row_id="1"}{spec_value}{/technical_specifications}

Whilst this works:

{technical_specifications search:spec_label="Width"}{spec_value}{/technical_specifications}

What am I doing wrong?


texts: Selling products inside EU with UK VAT and outside EU with VAT deducted

texts:
My client sells products from the UK to EU member countries and worldwide. The site is built on Expresso Store 2.5.

Product prices have been entered inclusive of tax and a tax rate of 20% UK VAT has been created applicable to EU member countries. I've also checked the box included in price for this tax rate.

If a customer from outside the EU comes to purchase from the site, the 20% VAT should not be charged. I had assumed 20% should be deducted from the the value of the basket but this doesn't appear to be the case.

Customers outside the EU are being charged the same price, just the VAT breakdown is not shown. They should really pay the price - less the tax, but I cannot work out how to set this up. I've tried setting up a 'Tax Exempt' tax rate but this didn't work.

I tried alternatively entering prices exclusive of tax but it became problematic displaying prices inclusive of tax (to EU customers) on the product pages. This also produced the tax rounding issues associated with Store v1.

I've studied other e-commerce sites and they manage to charge the lower price and get around tax-rounding issues. Has anyone experienced similar difficulties setting up Store?


texts: Channel Form, make Captcha field required

texts:
I'm using EE 2.9 and have the form below, can you make the Captcha field required?

{exp:channel:form channel="test" return="test/thank-you" logged_out_member_id="1" dynamic_title="[question]" status="pending" rules:captcha="required" rules:my_email="required" rules:first_name="required" rules:last_name="required"}
    {label:first_name}
    {field:first_name}

    {label:last_name}
    {field:last_name}

    {label:my_email}
    {field:my_email}

    {label:question}
    {field:question}

    {label:my_nearest_branch}
    {field:my_nearest_branch}

    <label for="captcha">Please enter the word you see in the image below:</label>
    {captcha}
    <input type="text" name="captcha" id="captcha" value="{captcha_word}" maxlength="20">

    <input type="submit" value="Ask Question" class="button">
{/exp:channel:form}


texts: Freeeform template variables always show up

texts:
I'm using variables in my notification template. This works great when a use enters a value for that field in the form. The token {name} is replaced with the value the user entered in the text input.

But when the user doesn't enter a value in the form field the token is printed in the email. {name}

I was expecting either a form value or nothing to be printed to the email notification.

Is there a way to configure this? My notifications are full of tokens that I'd like to only if print the user entered the matching field value.

patrick


texts:
Is it possible to get the #id anchor in the URL?

EG: https:www.domain.co.uk/page#anchor

I see url helper has something called {fragment} but It doesnt output anything?

Any help greatly appreciated.


texts: If condition for phpstringfun or streng?

texts:
I want to find if a string contains a word ot not?
It is a pretty simple thing if i want to do it in php.But When it comes to EE you need some plugins to do the job of strpos.

I have two plugins streng and phpstringfun.

But both of them have terrible documentation.

{exp:phpstringfun function="strrpos" par1="videos"}Videos/blah/blah{/exp:phpstringfun}

or

{if "{exp:streeng find='this'}This is a test string{/exp:streeng}"}
match exist
{/if}

I get wrong results for both of them.My php stage is input.


texts: Super Search - Matching any of keywords with inclusive set to no not working

texts:
We are attempting to use Super Search to show articles which match any any of the keywords in a search field, rather than having to match them all.

Passing the form through to our results page gives a URL as follows:

http://mydomain.com/search/search&keywords=duke+laser/

Whilst searching for 'duke' on its own returns one result and searching for 'laser' on its own returns a separate result, searching for both, as above, returns no results.

We have tried both 'inclusive_keywords="no"' and 'where="any"'.

Hard coding in 'keywords="duke+laser"' returns no results either, but hard coding in 'keywords="duke|laser"' does work.

EE 2.8.1
SS 2.1.4

Any help would be appreciated!

Mike


texts:
Is there a designated location for saving temporary files for serving to the user?

I dynamically create a PDF file and need to save it somewhere for the user to download. Which directory should I use to store these files?


texts: How to resolve-call_user_func_array() expects parameter 1 to be a valid callback, class 'Structure_ext' does not have a method 'sessions_end'?

texts:
A PHP Error was encountered

Severity: Warning

Message: call_user_func_array() expects parameter 1 to be a valid callback, class 'Structure_ext' does not have a method 'sessions_end'

Filename: libraries/Extensions.php

Line Number: 265


texts:
I'm having trouble trying to upload an InDesign file to my EE site. I've added the following to the system/expressionengine/config/mimes.php file application/x-indesign however upon uploading the file I'm shown an error message:

File not allowed.

Does anyone know a way around this? I've successfully added a photoshop file to the mime list and that works perfectly fine.

Here's a small slice of the mime $whitelist array

'application/x-dvi', // .dvi
'application/x-gtar', // .gtar
'application/x-gzip', // .gz
'application/x-indesign', // .indd
'application/x-photoshop', // .psd
'application/x-rar-compressed', // .rar
'application/x-stuffit', // .sit

Thank you.

Edit:

EE Version 2.10.1


texts: RSS Feed template and links to posts - not working URLs

texts:
I have created RSS Feed template based on EE documentation and one online tutorial. Code for it looks like

{preload_replace:master_channel_name="blog"}
{exp:rss:feed channel="{master_channel_name}"}

<?xml version="1.0" encoding="{encoding}"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
    xmlns:admin="http://webns.net/mvcb/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:content="http://purl.org/rss/1.0/modules/content/">

    <channel>

    <title><![CDATA[{channel_name}]]></title>
    <link>{channel_url}</link>
    <description>{channel_description}</description>
    <dc:language>{channel_language}</dc:language>
    <dc:creator>{email}</dc:creator>
    <dc:rights>Copyright {gmt_date format="%Y"}</dc:rights>
    <dc:date>{gmt_date format="%Y-%m-%dT%H:%i:%s%Q"}</dc:date>
    <admin:generatorAgent rdf:resource="http://expressionengine.com/" />

{exp:channel:entries channel="{master_channel_name}" limit="10" dynamic_start="on" disable="member_data|pagination"}
    <item>
      <title><![CDATA[{title}]]></title>
      <link>{title_permalink='site/index'}</link>
      <guid>{title_permalink='site/index'}#When:{gmt_entry_date format="%H:%i:%sZ"}</guid>
      <description><![CDATA[{summary}{body}]]></description>
      <dc:subject><![CDATA[{categories backspace="1"}{category_name}, {/categories}]]></dc:subject>
      <dc:date>{gmt_entry_date format="%Y-%m-%dT%H:%i:%s%Q"}</dc:date>
    </item>
{/exp:channel:entries}

    </channel>
</rss>

{/exp:rss:feed}

Everything works fine except links to posts.

Based on above I can tell that URL generated based on the 'URL title' is not working, but when used 'Pages URI' page loads fine.

Link to the RSS feed: http://www.childrensmedgroup.com/index.php/site/feed

Is there any way to replace title_permalink with page_uri in the RSS feed template?

Thanks


texts: Channel Entries pagination - breaking into an embed file

texts:
I would like to break out my pagination code into a separate embed file as the same code is used in multiple templates. However when I do it's just spitting out EE tags into the page rather than parsing them.

Is this a parse order issue? Is it possible to achieve this?

{exp:channel:entries
    channel="events"
    orderby="date"
    sort="desc"
    paginate="bottom"
    disable="category_fields|member_data|relationships"
    limit="5"
    dynamic="no"
  }

    {event_images cover_only="yes"}

    {/event_images}

{title}

{exp:power_truncate length="110" cut_words="n" suffix="..."}{event_snippet}{/exp:power_truncate}

      Read Article

  {embed="inc/_paginate-full"}

  {/exp:channel:entries}

Embed Code:

        {paginate}

        {pagination_links}

            {first_page}

              First

            {/first_page}
            {page}

              {pagination_page_number}

            {/page}
            {last_page}

              Last

            {/last_page}

        {/pagination_links}

        {pagination_links}

          {previous_page}

              Previous

          {/previous_page}
          {next_page}

              Next

          {/next_page}

        {/pagination_links}

      {/paginate}


texts: Given a category (not the category group), is there a way to get the count entries assigned to that category? I'm hoping for a native EE solution. This seems to suggest that there isn't one: Anyone know of a plugin to show Category count?. Can I do this in EE only?


texts:
Im using Freeform to submit a form which adds the sender automatically to a mailing list.

Does anyone know if it is possible to add "name" to a mailing list? One would have though this should be a built-in feature be alas.

Thanks for any pointers.

Kippi


texts:
one of my customer told me that he was seeing a white page during site navigation. The white page he was talking about was just the browser empty pages; he sees it while navigating between the website pages, as apparently there is some kind of delay // or // cache problem with the browser. It isn't a big issue, and it's something that I can't relate to ExpressionEngine, but it's there, and I would like to fix it.

You can reproduce it navigating on the main menu, sometimes the browser just load the new page, sometimes there's a delay that returns the empty page for some seconds.

Do you have any clue? I've changed the busted css to absolute path and turned on cache for templates with no luck. This happens on all browser, it's like he's re-loading all the files.

Do you have any clue/hint?

thank you.

Here is the Site


texts:
I downloaded a current copy of my production database into my development environment. Both the production and development environments are EE v2.4.0. When I logged on to the control panel I received the following error message:

  An unexpected error occurred attempting to download the current ExpressionEngine version number. Please visit your Download Account to verify you are on the current version. If this error persists, please contact your system administrator

What is EE checking to determine this? How do resolve it.

UPDATE

My apologies to all readers. It is not EE 1.4 but it is EE2.4. My apologies to all respondents.


texts:
I have successfully implemented Stripe payments for a saas service, and all is well. Everything has been recorded in store, in my orders area. Looking in the order, I see the details of the transactions, status, reference etc.

So if I am looking at this from the saas point of view, when my next months payment gets pushed in stripe (and it will automatically as a plan billed monthly), is there anything in Expresso store which will record this as an action as part of the same payment, as a transaction on the same order?

I am looking forward - that if someone subscribed to a service, they pay the first month, then the next month they cancel or indeed keep paying, there's some notification of this so I can leave them work away or lock them out accordingly.


texts: How do you show the recent Disqus comments feed?

texts: Does anyone know of a plugin to show the latest few Disqus comments that have been made across the entire site. Disqus seems to have deprecated their recent comments widget.


texts: How to personalize CP Content -> Edit view?

texts:
I want to personalize CP Content->Edit view with custom data from each entry.

For example i want to show the value of a fieldtype.

How to procede?
I think that there isn't any hook.

The only way seems to edit:

system/expressionengine/controllers/cp/content_edit.php

Any suggestions?


texts: I want to use the reserved word in template group

texts:
i am using ee for the first time, and i try to make a web design explanatory website, but I have a problem that the word 'css' cannot be used for template group name because it is a reserved word.
I tried /CSS/ but it works only when the address is typed as .com/CSS/ ~
I want to use css instead of CSS.
How can I do?


texts: File Manager prepending "default" to all filenames

texts:
I'm running EE 2.9.3 -- File Manager is adding the text "default" to the front of every filename when I upload files. I've looked in the File Upload Preferences but see nothing which would cause this. I am hesitant to solve this myself because that would involve updating core files, after spending some time to figure out where. However, if the only fix is to update a core file, I'm fine with that.

How is this happening and what can I do to stop it? Thanks!


texts:
I'm currently testing the latest EE3 version and for some reason, when trying to view any revisions, all that keeps getting displayed is the latest version.  This issue occurs across all template groups.  I was previously running EE3.0.3 and just updated EE3.0.4 and it still persists.

Upon further inspection, each view button URL links to the same current template revision number.  It's the only issue I found not quite working right in EE thus far.  The following is my current setup

EE 3.0.4
MAMP Pro 3.3
PhP 5.6.10
MySQL 5.5.42

Any guidance would be greatly appreciated, thanks!


texts: SAEF + Matrix + Date_field + custom layout, datepicker not displaying

texts:
I have a Matrix with a field called end_date and its cell type set to Date.
When the Matrix field is placed inside the following Safecracker form, the end_date datepicker displays correctly in the table cell.

CODE_1
{exp:safecracker channel="browse" return="some/path/URL_TITLE" url_title="{segment_3}" require_entry="yes"}
    {field:my_matrix_field_name}
{/exp:safecracker}

However, I want to customise the layout, so have instead used this [post][1] to create:

CODE_2
{exp:safecracker channel="browse" return="some/path/URL_TITLE" url_title="{segment_3}" require_entry="yes"}
    {my_matrix_field_name}
        <input type="hidden" name="my_matrix_field_name[row_order][]" value="row_id_{row_id}" />
        <input type="text" name="my_matrix_field_name[row_id_{row_id}][col_id_1]" value="{end_date}">
    {/my_matrix_field_name}
{/exp:safecracker}

Issue with CODE 2: The data for the end_date field displays, BUT the datepicker does not display for the field. It just displays the default input field.

Simple question: Should the datepicker display by default?
Possible solution: Or do I need to use Stash to changer the parse order, as per this [post][2]?

I am using EE 2.5.2 and Matrix 2.5.3.

I have read every post I can find over the last 24hrs looking for a solution.


texts:
feeling little dumb for this.

What I am trying to do is to make my list of checkboxes checked depending on {segment_5}

If the value is '6', that is easy with

<input type="checkbox" name="categories[]" value="{category_id}" {if '{segment_5}' == '{category_id}'}checked='checked'{/if} /> {category_name}

I am in a situation where my url goes like this 'site.dev/search/geo/n31lj/6-7' from doing a search. Look at {segment_5}, the value is '6-7', multiple categories have been selected.

How can I tell the {category_id} to pick up 6 or 7 inside the {segment_5} with conditionals?

Look at this link, I have tried but it not possible.
http://ellislab.com/expressionengine/user-guide/templates/globals/conditionals.html#comment_box_9433


texts: SalesForce integration with Expression Engine has anyone integrated this?

texts: Here is a brief background on the issue. Client has force.com CRM and posts and manages all its ticket orders for upcoming events in Salesforce. What I would like to do is integrate EE to manage and display all the events. Is it possible to be able to pull those events from object tags within Salesforce such as date, images and descriptions, and display that data in EE channels. So basically a nice responsive front end website in EE with Salesforce data. We have looked at site.com but is too expensive. Would I need a plugin for accomplish this?


texts: Connecting Freeform Form with a specific page (so the client can do this)

texts:
Here is the scenario ... I have freeform pro installed and working perfectly on a client's site.  The site uses the Structure module for creating pages, etc.  Currently I simply add the freeform form to a structure page by use of a conditional that checks the URL and if there is a match the form is rendered.

Client is asking for a way to select which page the form will go on so we can cut out the manual conditional check.  It seems to me there could be a way to do this but I'm coming up empty here.  Looking for some best practice type of advice here.


texts: Assets & MSM: Assets field not parsing at all on second site

texts:
We've added a second site to our EE setup using MSM (and we use Master Config too). The structure is something like this (site1 is web root; site2 is a subdomain technically):

master-config
site1
site2
system
templates

The templates output correctly and if we're in the CP, we're able to upload images to the second site just fine. The images for the second site live under site1: site1/assets/images-site2/.

The problem is that although we're able to get into Assets in the CP and manage images just fine, the tags for images don't output anything at all in our template(s). Nothing shows up in the source code; no errors in console; nothing.

I'm not sure if this is a cross-domain issue or something else. Any tips, suggestions, ideas would be great.

We're running EE 2.9.2 with Assets 2.5 in a multi-environment setup (local, dev, prod).


texts: Populate Playa field from values of another field

texts:
I have a site that want to link blog posts to their author pages. Authors have their own entries in a staff channel. Currently they've just used a plain text select field which has had the options manually populated.

What they want to do is use a Playa field instead. So they want to dynamically update the Playa field based on the values of the plain select field.

So at the moment they've got:

{blog_channel}: {author_custom_field} = "Author Name"
{staff_channel}: {title} = "Author Name" {url_title} = "author-name"

I need to write some SQL that will look at the value of the author_custom_field, check it against the staff_channel to see if there's any open entries, and if there is, update a new author_playa_custom_field with those values.

That will involve updating the relevant field_id column in exp_channel_data with values like [2256] [author-name] Author Name but also update exp_playa_relationships with parent_entry_id, parent_field_id and child_entry_id.

Has anyone done something similar before?


texts: php parse syntax error on cartthrob checkout

texts:
On my cartthrob site I can add and remove things to and from the cart just fine but when i go to checkout i get this error

  Parse error: syntax error, unexpected $end, expecting ':' or '{' in
  MYSITE/system/expressionengine/third_party/cartthrob/payment_gateways/Cartthrob_ct_pay_by_check.php
  on line 52

ive found the file and the line its referencing is

public function charge($credit_card_number){
        switch ($this->plugin_settings('processing_status'))

is there something wrong with this that I should edit?
or is the cause of the problem somewhere else?

EDIT :
Redownloaded cartthrobs files, opened the one in question and found out what was missing, guess my initial download mustve got corrupted or something


texts: Getting specific code into the  section from within channel entries

texts:
I edit an old, large EE1 site with lots of weblog articles, some containing flash content. We want to change that content into HTML5/css/java but that requires specific code to get into the head section on a post by post basis and I can't figure out how to do it. Is it possible?

The basic template has an embedded 'head' section and a channel entry loop with some custom fields.

I see how to get the 'title' into the head by passing it through the 'embed' tag. I tried to add a second embed that referred to a custom field from the channel but the content doesn't get passed, only the name of the custom field.

{exp:weblog:entries weblog="modules" orderby="date" sort="desc" limit="1" disable="member_data|trackbacks|pagination|categories|custom_fields"} embed="site_embeds/html_head" my_page_title="{title}" special_head_code="{special_head}"}{/exp:weblog:entries}

Can anyone help me find a solution?


texts: Control panel: access denied on second site

texts:
After updating to Expressionengine 2.9 and MSM 2.1.7 the client admins are not able to switch to the second site anymore (same permissions as on the first site), superadmins have access.

Does anybody know how to solve this problem?

Regards


texts:
I consistently use a few Snippets for things like HTML HEAD boilerplate code, and I've long used the Snippet Sync add-on to give me easy file access to the snippet code.

Now that I'm consistently using Stash, I'm thinking about creating and managing Snippets wholly via Stash embeds and/or variables with type="snippet".

Curious if anyone has already made this switch / if anyone is already handling all of their snippets via Stash?

Any potential downsides in working with Snippets wholly via Stash?


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

texts:
I have been stuck on this one for a few days now:

Page Content:

Main blog post (current entry) + a sidebar displaying the previous 3 blog entries

Sidebar Code:

{exp:channel:entries channel="blog" status="open" limit="3" orderby="date" sort="desc" dynamic="off" url_title="not {last_segment}"}

{blog_title}

                    {blog_description}

 {/exp:channel:entries}

Goal:

Regardless of the current blog being viewed, the sidebar should always display 3 previous entries posted prior to the 'viewed' blog entry date.

As an example:

Blog 1 - Entry Date: 2017-03-06
Blog 2 - Entry Date: 2017-03-05
Blog 3 - Entry Date: 2017-03-04
Blog 4 - Entry Date: 2017-03-03
Blog 5 - Entry Date: 2017-03-02
Blog 6 - Entry Date: 2017-03-01

If Blog 2 is the current entry in view, the sidebar would show Blog 3, Blog 4 and Blog 5

If Blog 3 is the current entry in view, the sidebar would show Blog 4, Blog 5 and Blog 6

If Blog 5 is the current entry in view, the sidebar would show Blog 6

Any help offered is appreciated.


texts:
How can I rename files uploaded via Safecracker?

More specifically, I would like to prefix the file name with the logged in user's username, convert to lower case & replace spaces with hyphens.

I was using safecracker_file_add_prefix

However, it no longer works since I upgraded from 2.4.0 to 2.5.3

Thanks!


texts: Duplicate main site into a MSM site, what native EE channel field values are duplicated?

texts:
I'm wondering if these native EE fieldtypes are supported with content duplication when creating a new MSM site. In my experience there are some 3rd party add-ons that don't support MSM site duplication.

Grid
Relationships
Textarea (Rich Text)


texts:
I have a member group called Admin and it's not seeing the menu options of Update Indexes, External Sources or Settings.
Admin screenshot at the top, SuperAdmin below

They have access to the Add-Ons, Modules section, and Assets, what am I missing?


texts:
I have been importing thousands of entries using Solspace's Importer 2.2.2 on EE 2.6.1, and once I upgraded to EE 2.7.3 and thus also upgraded to Importer 2.2.3, I have gotten nothing but Internal Server Errors and cannot figure out the cause.

I'd like to just go back to the previous versions of EE/Importer. Is that a fairly easy process?


texts:
I'm really struggling to reduce the number of database queries on a Cartthrob install.

As I look at the EE output profiler, I see that most of the queries are

UPDATE `exp_cartthrob_cart` SET `cart` = ........

Being called from the Cart Model and the update_cart() method.

From my research, the query will happen whenever save_cart() or save() methods are called, which happens very often.

As the size of my cart increases the number of queries gets really high. I've seen over 100 of the same looking query.

I've tried optimizing my templates, but even adding 1 tag such as {exp:cartthrob:checkout_form} or {exp:cartthrob:cart_items_info} can add 30 or so of these update queries.

There has to be a way to reduce these, but it's beyond my skill to find. I'd appreciate any advice or assistance you may have.

This question is similar to How to prevent CartThrob from making hundreds of SQL queries and running extremely slow?


texts:
So I have this website I put together. Everything works fine, except 1 tiny weird issue.

Whenever the URL does NOT have /index.php/ in it. All the Store buttons just refresh the page and do not work properly. Add to cart fails, checkout fails, any Store generated button just plain fails and only refreshes the page.

Does anyone know of this issue? Or how to fix it?


texts: Adding backorder status to specific option in CartThrob Price Modifiers Configurator

texts:
Using the Price Modifiers Configurator, I'm curious if it's possible to add a status to a specific option (based on inventory). Say backorder only red, XL tshirt and leave all other colors and sizes unaffected.

If not possible with the Price Modifiers Configurator, is it possible to use Matrix? Other suggestions?


texts:
I am using EE 3.2.1 and NavEE 3.1.0

I am having trouble with the {is_selected} parameter and the home page displaying in breadcrumbs.

I have the following for my nav:

                {exp:navee:custom
                    nav_title='primary'
                    wrap_type='none'
                }

 {text}
{/exp:navee:custom}

I have also tried:

{if is_selected}id="current"{/if}

What am I doing wrong here?

Also the home page/link is not displaying in {custom_crumbs} and {last_anchor} is not working in the following:

You are here:

        {exp:navee:custom_crumbs
            wrap_type="none"
            no_last_anchor="true"
        }

{text}

        {/exp:navee:custom_crumbs}


texts:
How would you perform a conditional on a custom checkbox field in which the user can select 0 -4 different options?

In other words, I have a "Checkboxes" fieldtype named "{side_content_selectables}".

This fieldtype has the following options:

Show Search
Show Feed Subscription
Show Categories
Show Recent Posts

Which would just allow them to turn widgets on or off. In my template, I have the following:

    {exp:channel:entries channel="side_content" limit="1" dynamic="no"}
        {if {side_content_selectables}"{item}" == "Show Search"{/side_content_selectables}}

Search

                {!-- Search Form --}

        {/if}

OR

        {if "Show Feed Subscription"}

Subscribe

                {!-- Feedburner Widget --}

        {/if}

Neither of these seem to work though. This makes me feel like a big noob, but I am stumped on this one.    ;)

It's almost like I would need to write out a PHP script to perform a contains, but that just seems like overkill and I would like to keep PHP from being used in templates.


texts: Tagger Related Entries URLs With Structure

texts:
I have two structure listings channels called blog and articles. The content can relate between the two channels.

How can I get the correct page url inside the related content tag? Structure's {page_url} doesn't work.

This is the current code:

{exp:tagger:entries tag="{segment_2}" custom_fields="article_content" limit="10" paginate="bottom"}

{tagger:entry_title}

{/exp:tagger:entries}

Basically I want the articles part of the url to dynamically change to either articles or blog based on Structure's url hierarchy.


texts:
I am using EE (v 2.5.2) and Store module (v 1.6.1),but CMS is not showing up many store module fields when I am using IE 10 (Version 10.0.9200.16721) many of the store module fields are not visible.
  In other browsers this works fine but I am facing issues in IE 10 only (please check the attached screen shot),can anyone please help me out??

Cheers
Nisar


texts:
I want to dynamically add content to the facebook open graph meta data. Here's my code, but the content field shows up blank on page load.

<meta property="og:title" content="{exp:channel:entries}{title}{/exp:channel:entries}">

I tried the other solutions and SEO Lite has very bad documentation so I'm not sure what to do.


texts: How to upload/embed a MP3 file into expression engine?

texts: Good afternoon.  I am new to EE, and am trying to upload an MP3 audio file to our webpage.  I am able to upload pics, PDF, etc..., but for some reason cannot figure out what to do for an MP3.  Can someone help?