texts: Expresso Store: When are member accounts created?

texts:
I have a new site coming online and looking at Store as it's worked well for me in the past. The client wants to have the following:

When clicking on Checkout, you log in, or guest checkout (with the option to create an account).

We would be using paypal website payments pro so the customer could pay by card on-site, or go off to paypal to pay via their paypal account.

So...

How does the Paypal flow work? Presumably if I login I get everything in my order history, but if I choose to create an account, and select Paypal as the checkout, what happens? Does store go off-site and then on return, create a new account, or does it create first and then go off-site? If it's the former, how does it handle the situation where an account already exists with the email address used?

Just need to make sure I'm completely clear on everything so I can advise the designers.

Thanks!


texts: Using DevDemon Forms, skip empty fields in result email

texts:
Is it possible to have the results include only fields with results in the admin and user emails?
I have a form that collects data for 3 different possible options. I want to get the data only for the option that was chosen, not all of the empty fields from the other 2 options.


texts: CartThrob - Send customer IP to Authorize.net

texts: Does anyone know how to send a customers IP address to authorize.net when an order is placed in CartThrob. The IP is currently saved in the orders channel but I don't know to send it to authorize.net.


texts: Datagrab - Importing more than one Grid row data for each row in CSV

texts:
I have this problem with importing data from CSV

Suppose I have CSV that contains a list people. Suppose these people have multiple phone numbers.

Given these assumptions, let us try this example

Suppose there is a person named John Doe who has 2 phone numbers - one for mobile, the other is for landline

In the CSV, it would be represented as

FirstName   LastName    PhoneNumber     PhoneNumberType
...
John        Doe         12345798        mobile
John        Doe         987654321       landline
...

Now here is the question. How does Datagrab know that those 2 rows are the same person with 2 different numbers?

Is there a way for Datagrab to import these 2 numbers into Grid for that 1 person?


texts:
I have two pages serving up the exact same static page. I get an error on the second page, but I can’t figure out why.

No error: jatecson.com/information

Error: jatecson.com/set/images

I get this error in Chrome:
“Uncaught SyntaxError: Unexpected token <”

In Safari I get another error:
Did not parse stylesheet at ‘jatecson.com/set/css/main.css’ because non CSS MIME types are not allowed in strict mode.

Clicking on the error in the console takes me to line 1 of the web page:

Can anyone offer a suggestion on how to fix this?

I’m running EE 2.10.1.


texts: I have an object that needs to be notified when a hook function is called, and act on the data from the hook?


texts:
I'm quite new to EE2 although fairly proficient with HTML, etc.  This may seem as an easy question, but for the life of me, I cannot figure out how to make a clickable list of entries from our blog.

Here's the current code:

{exp:channel:entries channel="blog" limit="10"}

{title}

{/exp:channel:entries}

I'm trying to list all of the entries from the blog in a sidebar on the site.  The problem is that the entries show up fine, but they all link to the same blog article no matter what I put in the "#" part.  The list of blog entries shows up fine, but I can't get them to link to their source article.

How do I make it so that the listing treats each Title as separate link and links to the proper blog article?

I've searched the parameters field and haven't been able to find one that does what I want it to do.  Am I just doing it all wrong?

Thank you so much for your help.


texts: Free ($0) products in expresso-store reports

texts:
We have a (rare) situation where there are free items being 'sold' alongside paid items in an expresso-store. But we've noticed that these items don't appear in the Reports > Orders Report area of the module.

Any idea if this is possible, or suggestions on where to look to allow this?


texts:
I've got a client that needs to be able to manage product inventory / availability separately across a few MSM sites (each site is a national branch of the organization, and some products simply aren't available in some countries). They also need currency localization for each store (USD, GBP, EUR, AUD, NZD, etc), as well as store-specific billing info (eg. different PayPal accounts for each national branch).

I know it's asking a lot, but can any of the EE e-commerce solutions (CartThrob, BrilliantRetail, and Exp:resso Store - or anything else I'm unfamiliar with) handle this kind of MSM setup, even partially?


texts: Internal pages not showing up locally on MAMP

texts:
I've started work on a site that's already live so I've..

Copied all the files to my local machine and imported the .sql file into MAMP
Adjusted the 'URL to the root directory of your site' under the 'General Configuration'
Adjusted the 'URL to your "themes" folder' under the 'General Configuration'
Adjusted the 'Theme Folder Path' under the 'General Configuration'
Adjusted the 'Basepath to Template File Directory' under 'Global Template Preferences'
Updated the following paths in database.php

Like so...

$db['expressionengine']['hostname'] = 'localhost';
$db['expressionengine']['username'] = 'root';
$db['expressionengine']['password'] = 'root';
$db['expressionengine']['database'] = 'clients_site';

The home page (localhost/) loads fine with the correct CSS and Images and the Control Panel (localhost/admin.php) loads fine but when I go to any internal pages (localhost/about/) I get a 404.

Is there something I've missed out?


texts: Can I have a member field that admins use but the member can't see?

texts: I have a situation where an admin wants to keep internal notes on members, but doesn't want the members to see their notes. Is there a way to do this?


texts: Disabling pagination with paginate tag pair failing?

texts:
I just disabled pagination on a channel "main index" page while my paginate codes were still in my template and result was that all pagination tags and html content was coming out as-is breaking the page totally. Should those be ignored totally when disabling them?

I mean, now I have to delete pagination codes or at least comment them out to "save" the template settings if I ever need pagination again.

EE2.9.2


texts: absolute path URL in text field causing problems

texts:
i've got a text field that i'm using to include an optional url in entries which are used for homepage announcements. if a url is included, the homepage will link to that url. if not, it will link to the announcement itself:

works like a charm with local, relative urls (ie: /event/1234/). but when an absolute path is entered (ie: http://some.biz), it adds an anchor tag around the url and becomes <a href="http://some.biz"> which is clearly not great.

the field's Default Text Formatting is set to None, and i even ran the "Update all existing channel entries with new formatting choice?" option to be sure of it.

i was running EE 2.6.1 and hoped an upgrade to 2.7.3 would fix it, but that hasn't had any effect either.

any ideas on how to nix the auto-HTML?


texts: Structure field type - how do I get additional entry data to display?

texts:
I'm using the Structure field type as pictured.

The only thing my template will output is {field_name}, which yields:
http://domain.com/my-structure-url
But I need to access/display more info. If I could get the entry_id or url_title, I could run a channel entries loop, but it appears that's not available. Ideas?


texts:
I created a subdomain with redirects for my site images at images.domain.com in order to avoid cookies.

Based on my read of EE documentation, I should go to Admin / Security and Privacy / Cookie Settings and put .www.domain.com in the cookie domain box to set the cookies for that subdomain and that way avoid cookies for images.domain.com.

Site performance tools are still showing cookies for the images. Any suggestions?


texts:
I need to switch on 4 segments.  I'm a little confused.

{exp:switchee variable="{segment_2}" parse="inward"}
{case value="#^P(\\\\d+)$#|''"}
         Show all categories
{/case}
    {case default="Yes"}
        {switchee variable="{segment_3}" parse="inward"}

            {case value="#^P(\\\\d+)$#|''"}
            Show a specific category
            {/case}

            {case default="Yes"}
            Show a specific sub-categories entries
            {/case}

            <!-- I need a fourth segment -->
            {case default="Yes"}
            Show a specific product
            {/case}
            <!-- I need a fourth segment -->

        {/switchee}
    {/case}
{/exp:switchee}


texts: Display Choice from Select Dropdown Custom Field in Sidebar

texts:
This is taken from this previous thread but I still can't get the answer. Can someone help me?

Basically I am looking to be able to display different sidebar options dependant on what option is picked in a custom field.

Channel = page.

Custom Field = page_sidebar_options - which is a select dropdown with 6 options.

Embed Templates = sidebar_default, sidebar_opt_1, sidebar_opt_2 etc.

Template code:

{exp:channel:entries channel="page" disable="member_data" limit="1" dynamic="no"}
{embed="include/{page_sidebar_options}"}
{/exp:channel:entries}

The answer given on the EE forums hasn't worked for me. I can get my page to display "sidebar_default", "sidebar_opt_1" etc but not the actual code itself.

Thanks.


texts: Iam new to expression engine framework,I would like to know if there is any function for managing menu from back end just like wp_nav_menu() in wordpress


texts:
Just bought Cartthrob. But i'm having a struggle for the following.
Cartthrob automatically generates a price including vat.

So for example when I add a product with price € 10,- it will create a price € 12,10 because of my 21% vat.

But my customer wants to add product prices including Vat.
So he wants to add a product and give it the price € 10,- incl. vat.

Or else he needs te calculate all his prices to excl. vat.

Is it possible to change this way of calculating prices? So inputted prices is price incl. vat?

Thanks in advance!

Wessel


texts: I don't know what I'm doing! Please Help?

texts:
What is wrong with this template code??

{exp:channel:entries channel="featureinfo" limit="1" disable="categories|category_fields|member_data|pagination|trackbacks"}
{sn_header_news}

        {sn_newsmedia}
        {embed="index/.colnews"}
        {embed="index/.colpromem"}

{title}

            {if news_image}{exp:ce_img:single src="{news_image}" alt="{title}" width="240" height="160" crop="yes" class="img1"}{/if}

Posted: {entry_date format="%l, %j%S %M %Y"}

            {news_outline}

{/if}
            {if news_file}

Download Related Info

{exp:jco_getfileinfo filename="{news_file}"}

{news_filename} &nbsp; ({file_extension} - {file_size})

            {/exp:jco_getfileinfo}

{/if}

{sn_footer}
{/exp:channel:entries}

When I view the rendered template i get this error
Parse error: syntax error, unexpected 'endif' (T_ENDIF) in /home/coiorg/public_html/splodge/expressionengine/libraries/Functions.php(679) : eval()'d code on line 495

My apologies in advance for being a nuisance!


texts:
Has anyone ever heard of anything that would control content based on IP range?
I am looking to regionalize content for a site.

ie: regionalized promotions offered in a certain area are displayed based on your IP


texts:
A similar question has been asked here which ended in the recommendation to create a custom plugin. That's not possible for me.

I want to know how many words my entries actually have; in the frontend I want to add to the meta-data "this article has 132 words".

Is there a way to count the words and use this number?

Thanks in advance!


texts:
I can't find a way to whitelist the mime type that will allow the user to upload XLS files.

I've tried all of these settings but I'm still being blocked:

$config['mime_whitelist_additions'] = array(
  'application/octet-stream', // .xls
  'application/msexcel', // .xls
  'application/x-msexcel', // .xls
  'application/x-ms-excel', // .xls
  'application/x-excel', // .xls
  'application/x-dos_ms_excel', // .xls
  'application/xls', // .xls
  'application/x-xls', // .xls
  'application/vnd.openxmlformats-officedocument.spreadsheetml', // .xltx, .xls
  'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', // .xlsx, .xls
  'text/xls' // .xls
);

Has anyone solved this?


texts: Run Expressionengine hook to trigger Netlify deploy on save

texts:
I have built templates to export my EE site as a JSON API. I am trying to set up a static site generator deploying to Netlify.

What I want is to run a curl command when I create a new entry or update an old one to trigger a build and deploy by Netlify.

curl -X POST -d '{}' https://api.netlify.com/build_hooks/XXXXXXXXXXXXXXX

I am pretty familiar with PHP but zero experience with EE. What would be the best way to achieve this?

Thanks.


texts:
I have the following php code in a template and it's not parsing the whole thing.  Any idea what the issue is?

Here's the php code:

<?php
include "Eventbrite.php";

$authentication_tokens = array('app_key'  => 'YOUR_APP_KEY',
                           'user_key' => 'YOUR_USER_KEY');

$eb_client = new Eventbrite( $authentication_tokens );

$events = $eb_client->user_list_events();
?>

Here's what's being outputted on frontend:

'YOUR_APP_KEY', 'user_key'=>'YOUR_USER_KEY'); $eb_client = new Eventbrite( $authentication_tokens ); $events = $eb_client->user_list_events(); ?>


texts: Specific word choice in URL title is causing a 404 error on a page. Can anyone help?

texts:
I'm working in EE3 and have just come up against a problem that I've never experienced before and I'm really hoping someone can help.

I have created a page with the URL /destination-reports. When I go to the page on the front end I get a Not Found 404 error. However when I remove the word destination and the URL becomes /reports, the page loads fine as expected. Could 'destination' be a specialist term that triggers an error?

Any ideas on why it would it be doing this? It's left me a tad confused

Thanks


texts: Can't add file when publishing to a channel. The modal window don't open up

texts:
Using version 2.5.3 and no third party add ons, just some of the natives.

I can upload files/images using the file manager without a problem. It's just when I try to publish in channel the modal pop up won't show when clicking.

I'm logged in as super admin.

I've tested this with different computers and with different browsers.

The upload folder should have proper settings.
Tested to sync folder.

BUT
A modal do show if there are no files in the directory, saying "You have no files.."

So the modal system seems to work, just not properly. I'd really appreciate some input on this.


texts: customize contact form to save data to DB

texts: I'm a newbie for ee2. The template tag "exp:email:contact_form" allow me to create a contact form without save form's data to my DB. I need a contact form that save its data to DB, send a email to my gmail account and then I can browse these contacts in CP Admin. Please show me how to do it. May somebody helps me. Thanks.


texts: Working with staging server and production server - can they share the same Assets locations?

texts:
I have 3 installations of my website: beta, demo, and production. Template and functionality changes are made on beta, content is entered on demo and everything moves to production as it is approved.

We are using Assets for all of our, um, assets (images, audio files, etc.). I would like to move everything to Amazon S3 and have all 3 installations point to one place so that I don't have to have 3 copies of everything. Is this possible? In order to update the database, right now, I back up the version on demo and move it to the other locations. So that would have the index information, right?

If anyone has any other ideas on the best way to store assets in one location for use in multiple installations, I would appreciate hearing about them.


texts: member login, is there a way to include member id to return parameter?

texts:
I tried to use return="site/profile/{member_id}" in my member:login form, but that did not work, giving 0 to segment 3.

I also did try {logged_in_member_id} with no success.

Is there a way to return with valid member_id in segment 3, so that I could pull out content only for the logged in member to be shown?

Thanks in advance.


texts:
So i'm trying to stash a category custom field from within a categories tag pair that is within a Playa parents tag pair, and then retrieve it for use outside of the Playa parents tag pair.

Here's what I've got so far.

{exp:channel:entries channel="campus" category="not 156" orderby="title" sort="asc"}
   {exp:playa:parents channel="classes" category="304" disable=""}
      {categories}
         {exp:stash:set name="wufoo_id"}
            {classes_wufoo_id}
         {/exp:stash:set}
      {/categories}
   {/exp:playa:parents}
{/exp:channel:entries}

{exp:stash:get name="wufoo_id" process="end"}

Not sure why this isn't working. process="end" should be forcing the get to wait to parse until the set has parsed, even though it is before the set in the parse order.

Any thoughts?

EE 2.5.1, Playa 4.3.3 & Stash 2.1


texts: Nested lists with Stash, Playa, and Channel Videos

texts:
I have a channel of Events, which has a videos field. Videos is a playa field which relates to a Videos channel. The Videos channel has a field which uses Channel Videos to display the video. I'm trying to use Stash to retrieve and display these videos from my Event using nested lists. However, I'm not quite sure of the syntax with more than one two dimensional lists. Here is the code I've used so far.

{!-- set the list --}
{exp:stash:set_list name="an_event" parse_depth="2" parse_tags="yes" scope="site"}
  {exp:channel:entries channel="events" disable="categories|category_fields|member_data|pagination|trackbacks" dynamic="no" entry_id="155"}
    {stash:title}{title}{/stash:title}
    {stash:entry_id}{entry_id}{/stash:entry_id}

    {exp:stash:set_list:nested name="event_video" context="{entry_id}" parse_tags="yes" scope="site"}
      {event_video}
        {exp:channel_videos:videos entry_id="{entry_id}"}
          {stash:video_id}{video:id}{/stash:video_id}
          {stash:video_title}{video:title}{/stash:video_title}
          {stash:video_thumb}{video:img_url}{/stash:video_thumb}
          {stash:video_embed}{video:embed_code}{/stash:video_embed}
        {/exp:channel_videos:videos}
      {/event_video}
    {/exp:stash:set_list:nested}

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

{!-- get the list --}
{exp:stash:get_list name="an_event" scope="site"}

{title}

  {exp:stash:get_list:nested name="event_video" context="{entry_id}" scope="site"}

  {/exp:stash:get_list:nested}

{/exp:stash:get_list}

As a simple test, I'm just trying to output the thumbnail for the video, but I'm not seeing anything. Any ideas on what I'm missing?

Thanks,
Dan


texts: Playa - get all entries where playa is empty

texts:
I have articles related to products (set up with Playa), and then some articles are not related to any product.

Is there a way to get all the articles where the Playa-field is empty?


texts: An automatic find and replace module + plugin?

texts:
Is there an add-on which provides a template tag for automatically finding preset phrases and replacing them with alternatives that have been defined using a module interface?

My client would like this so that they can add standard hyperlinks throughout their content without having to do it manually. It would be a bonus if it provided an API which could be used when channel entries are created so that new mappings could be generated automatically.

For example the book title gets automatically substituted with Fishing for Idiots in the following content:

{auto_replace}
{body}
{/auto_replace}

// Where {body} evaluates to:
The book Fishing for Idiots features blah blah blah...


texts:
Just tried installing EE6 on two different servers (one installation on MediaTemple, one on BlueHost) and in each case I am seeing error messages when trying to save URL and Path settings. Additionally I am seeing error messages on the front end home page. Both servers have been tested with ee_wizard and are 100% compatible - I have extensive experience running EE on both hosting services for years. These are fresh installations of EE 6.0 - the errors are appearing immediately after running installation via admin.php.
Errors I am seeing after trying to save URL and Path Settings page in backend:

Warning
Invalid argument supplied for foreach()
ee/ExpressionEngine/Controller/Settings/Settings.php, line 209
Severity: E_WARNING

Warning
Cannot modify header information - headers already sent by (output started at ee/legacy/core/Exceptions.php:124)
ee/legacy/core/Input.php, line 265
Severity: E_WARNING

Warning
Cannot modify header information - headers already sent by (output started at ee/legacy/core/Exceptions.php:124)
ee/legacy/libraries/Functions.php, line 500
Severity: E_WARNING

Errors I am seeing on home page (with debugging enabled):

Notice
Only variables should be passed by reference
ee/legacy/libraries/Template.php, line 2256
Severity: E_NOTICE

Warning
Cannot modify header information - headers already sent by (output started at ee/legacy/core/Exceptions.php:124)
ee/ExpressionEngine/Boot/boot.common.php, line 495
Severity: E_WARNING

Any ideas what might be going on here?


texts: Problem using grid field to feed the labels in a radio field

texts:
I’m hoping I can get some help with a problem I’ve been struggling with for a few days. I’m looking to maintain about 10 radio fields that can each be used many times over for a website that will include quizzes. All of the fields will have option values A, B, C, but the labels will vary depending on the quiz.

I have one channel where the values will be saved for the users in a separate radio field, and another channel where the labels are in grid fields.

In my template, I have channel entry tags nested inside channel form tags. The answers are being saved properly, but I’m having trouble getting the labels to display correctly. If I have the code as below, it displays the label for option A 3 times, but the radio field saves correctly, depending on which button I select. If I remove the limit, everything repeats 3 times, but still save correctly if I select the 1st, 2nd, or 3rd option from any of the repeats.

Within the channel entry tags I have the following code, where ‘dp1_check’ is the field that holds the answers in the channel 'sd101_interact', and ‘decision_point_1:dp_option’ is column in the grid field with the labels in the channel 'sd101_decision_points'. The grid field also contains other columns related to the option selected, such as the feedback response for each option, the order (A/B/C), and the question. The grid has 3 rows, one for each option.

{exp:channel:form
  channel="sd101_interact"
  url_title="{logged_in_member_id}interact"
  return="/…."}
    {exp:channel:entries
       channel="sd101_decision_points"
       url_title="sd101fpd"
       dynamic="no"}

{decision_point_1 limit="1"}
    {options:dp1_check}
          <input type="radio" name="dp1_check" value="{option_value}" {checked}>{decision_point_1:dp_option}

     {/options:dp1_check}

 {/decision_point_1}

  {/exp:channel:entries}
{/exp:channel:form

Could someone give me an idea of how I can make this work, so it pulls the labels once for each option. I attempted an embed for the label, but it just displayed all 3 options for each radio button.

Thank you.


texts:
EDITED FOR MORE CLARITY

I have a really stupid problem I'm trying to fix... This is (a part of) template code

    {if "{products_related_products:total_children}"}

{bbr-mls-54}

    {/if}

    {if "{products_related_lexicon:total_children}"}

        {bbr-mls-57}

    {/if}

    {if products_additional_remarks_{language_code}}

{bbr-mls-53}

    {/if}

    {if products_videos_{language_code}}

Video

    {/if}

    {if {exp:playa:total_parents channel="downloads"}!="0"}

Downloads

    {/if}

This code is shown below a product detail page to show other related content like downloads and videos and so on...

As you can see I'm using a If Then statement to determine if there are any related records for this product and if there are a tab is shown, if nothing is shown.

The problem I'm trying to solve is the set the right tab to class="active".  In the current example this is the case for the first tab in hardcoded way.

In other programming language I would include a variable to every if/then routine and it is executed (because there is content) I would set a variable e.g. ThereIsAnActiveTab to 1
After that I would put a conditional in every

As an example in non-working code this would the code

    {if "{products_related_products:total_children}"}

{bbr-mls-54}

    {variable:ThereIsAnActiveTab = "1"}
    {/if}

    {if "{products_related_lexicon:total_children}"}

        {bbr-mls-57}

            {variable:ThereIsAnActiveTab = "1"}
    {/if}

and so on ...
But that does not work in EE due the way the template gets parsed.  Any ideas on how to solve this?

rg,

Tim


texts: Adds-on for building a online assessment/application system

texts:
I am new to EE and plan to build an online assessment/application site. In short, users will be able to enter basic information and get a link to a proper online form/downloadable pdf which they should fill in and submit/upload later. Once the form is submitted,an admin will perform as the grader to grade their forms and make the decision(accept or redo).

In detail, current requirements are:

There should be multiple user groups, like different teams, all users in the same team should represent a single team, and share the same team information (like contact info, teamID).
Interactive form, which direct users to right online form/pdf based on their input
There should be a progress bar to remind users that how many info they still need to enter, how many form to fill&submit and a overall progress.
Email notification when a form is submitted or graded (I think this can be done by the built-in functions?).

To some extent, this site will function as a LMS site, so I am researching that if available adds-on like QUIZ4EE or Polls can be used as a platform for this.

I was mainly doing WordPress and Drupal, this will be my first EE site, so please forgive my ignorance and any input will be appreciated.


texts:
I get the following errors in EE3.1:

mkdir(): Invalid path
ee/EllisLab/ExpressionEngine/Library/Filesystem/Filesystem.php, line 87

and

file_put_contents(): Filename cannot be empty
ee/EllisLab/ExpressionEngine/Library/Filesystem/Filesystem.php, line 74

What could be the issue?


texts: Move categories from one group to another

texts:
In a category group "Shops & Services" we have three parent categories each with many sub-categories:

Offices
Services
Retail

The Retail (parent category) has grown to a point where it needs to become its own category group. In the end we will have these groups:

Offices & Services
Retail

Is there a best method for doing this? There are quite a few entries here so manually updating each individual entry would be daunting. Would it be as simple as running a SQL query?


texts: Is there documentation on the Safecracker object argument on the safecracker_submit_entry_start/_end callback function?

texts:
I am using an extension that uses the hook "safecracker_submit_entry_start" and "safecracker_submit_entry_end".

The function that handles the callback has a safecracker object argument.

I am wondering if there was any documentation about what that object does.

I would like to do some things with the safecracker form data and I was wondering if this object has the methods/variables to do it.


texts:
I'm building an ecommerce site with Cartthrob where I need to produce a feature for the home page which lists the top 20 sales. This would be simple enough but the client wants to be able to override this and bump up other tracks on the top sellers board from time to time.

With this in mind instead of simply outputting the top 20 sellers at the template level with a simple database query I now have to pull them into the control panel to allow for doctoring before displaying them in the templates.

Can anyone suggest the best way to go about this?


texts:
I'm wondering what's the best way of approaching a situation where you have an A to Z of categories in a sidebar and when you click the category URL it loads the results of that channel within the same page.

I know there's a plugin for this - Low AtoZ, but wondering if there is a simple way of doing this without using any commercial plugins. At the moment I'm using Freebie to break the main url segment so EE doesn't try to look for the page. A good way to start?

        {exp:channel:categories channel="resources"}

{category_name}

        {/exp:channel:categories}

            {exp:structure:breadcrumb here_as_title="yes" separator="/" wrap_each="li"}

{title}

        {page_content}
        {if "{freebie_1}" == 'resources' && "{freebie_2}" == ''}

Please choose a county from the list to the left.

        {if:else}

            {exp:channel:entries channel="resources" dynamic="no" category="1"}

                {if resources_center_type == 'Suicide Prevention'}

                    Suicide Prevention

                {if:else}

                    Bereavement Support

                {/if}

{title}

                {if resources_role}
{resources_role}
{/if}
                {if resources_address}
Address: {resources_address}

                {if resources_phone}
Tel: {resources_phone}

                {if resources_email}
Email: {resources_email}

                {if resources_info}
Additional Information: {resources_info}

            {if no_results}

There are currently no resources available in this county.

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

        {/if}


texts:
My {segment_3_category_name} works on some pages and not on others

This page it works, it is where it says:All Bend Insensitive Fiber Products
http://cohr-dev-ee01.azurewebsites.net/lasers/main/bend-insensitive-fiber

This page it does not work:
http://cohr-dev-ee01.azurewebsites.net/lasers/laser/bif-780-l2-bif-rc-780-l2

It is where it says:All Products  it should say All Bend Insensitive Fiber Products  Cause both of these pages are part of the same category.


texts: Upload Image/File Modal Empty, Potential JS Error in index.php?

texts:
Sorry for another potentially simple question. I've successfully managed to upgrade to EE 5.3.2, and everything seems to be working 99% correctly. Only two issues needed to be corrected. The first was that I needed to update the directory of emoticons/emojis in my settings. The second, however, seems to be that the image upload modal in my Create New Entry page will not work.

This is what I'm getting when I click on the icon to upload an image into any text field where images are permitted/intended.
There is a JavaScript error that I'm not sure is at fault or not. It occurs on index.php line 722 for me. The error is:

Unfortunately, it's not the most clear error, which is one of the reasons I don't know how to search for info on it. I have no clue if this is related to the empty modal or not, but it seems like something I should look into. The specific error in Chrome's console is:
GET http://www.url.com/system/index.php?S=a4a3cfc8698b1994e6b6b14b73300c66&D=cp&C=javascript&M=combo_load&file=cp/global_end,cp/files/picker,fields/textarea/cp,cp/date_picker&v=1600791531 net::ERR_ABORTED 406 (Not Acceptable)
I wish I had a more clear question to ask. If anyone can help me out, please do. Thanks!


texts: Return all freeform responses from same email

texts:
I'm making an rsvp app where a user can register for multiple events. Events may use different forms. In theory, users would use the same email address for all rsvp.

Can I get all freeform entries ie
    {exp:freeform:entries search:email="a@a.com"}
but without form_id or form_name?

Thanks
Amanda


texts: Ajax and Store - posting next url from check out form

texts:
Shall i use the similar approach to implement next step feature from detail cart page to next page - via next url.

This below code i am using in Add to cart from product detail page -

 <script type="text/javascript">
        $(document).ready(function() {
            $('#considerthis').click(function() {
                var url = $(this.form).attr('action');
                var data = $(this.form).serialize();
                $.post(url, data, function() {
                    $('#ycgroup').load('/shop/_cart');
                });
                return false;
            });
        });
    </script>


texts: How to access a custom table name that isn't prefixed with exp_

texts:
I'm developing an EE module that needs to access a non EE database table that isn't prefixed with 'exp_'.

How would I go about doing this? In Codeigniter I can use set_dbprefix, but that doesn't appear to be available in EE.

I'm using EE 2.73 currently.

Thanks in advance!


texts: Zoo Visitor with playa and shared entries

texts:
I have a Zoo Visitor (ZV) channel with different member groups (teachers, students). Within the channel, I have a playa field pulling in the ZV teacher entries. When students register they’ll select one teacher via the playa field.

On the individual teacher pages, I need to show all of the students who’ve selected that specific teacher. So, I'd need to pull all of the student entries that share the current logged in teacher member.

Would this be done with the coparents module? If not, what's the correct playa module to be used with zoo visitor?


texts: Sort a Matrix using a Playa field inside the Matrix?

texts:
I have a Matrix field with a Playa field in it. I'd like to sort the output of the Matrix using a text field from the Playa field. Is that possible?

Here's my code; I'd like to be able to sort by {former_member_info:people_n_family}:

{exp:channel:entries channel="org_units" status="open" dynamic="yes" disable="{mcc_disable_mem_pag}" limit="1" require_entry="yes"}
{org_units_members_mtx var_prefix="former_members"}
        {former_members:org_units_member_name_rel var_prefix="former_member_info"}

            {former_member_info:people_n_first} {former_member_info:people_n_family}
            {if '{former_members:org_units_member_title}' != ""}{former_members:org_units_member_title}{if:else}{former_member_info:people_title}{/if}
            {former_members:org_units_member_date_start format="%F %j, %Y"}
            {former_members:org_units_member_date_end format="%F %j, %Y"}

        {/former_members:org_units_member_name_rel}
{/org_units_members_mtx}{/exp:channel:entries}


texts: Stash : Can I pass a stash_list into a stash:embed file?

texts:
I'm trying to pass in a stash list into my embed file. It does seem to pass in the values but outputting the result does not seem to work.

Master Template:

    {exp:stash:set_list name="hours_list" parse_tags="yes"}
    {tunnel_hours}
        {stash:item_day}{day}{/stash:item_day}
        {stash:item_hours}{hours}{/stash:item_hours}
    {/tunnel_hours}
{/exp:stash:set_list}
{stash:embed:inc:sidebar-services-tunnels stash:hours="{stash:hours_list}"}

Embed Template:

{stash:hours_list} creates the following

item_day|=|Monday|&|item_hours|=|9-6|+|item_day|=|Tuesday|&|item_hours|=|9-6|+|item_day|=|Wednesday|&|item_hours|=|9-6|+|item_day|=|Thursday|&|item_hours|=|9-6|+|item_day|=|Friday|&|item_hours|=|9-6|+|item_day|=|Saturday|&|item_hours|=|10-8|+|item_day|=|Sunday|&|item_hours|=|10-8

This displays nothing:

        {exp:stash:get_list name="{stash:hours_list}"}
        <h1>{item_day}</h1>
        {item_hours}
    {/exp:stash:get_list}


texts: Assets upload button disabled for members

texts:
I'm having a peculiar issue:

Assets works just fine when you're logged in as a super-admin, but when you're logged in as a member, the "upload files" button is disabled.

I have no idea what's causing this:

there is only 1 upload directory, and the "members" member group is allowed to upload to this directory ( through file upload preferences ).

Furthermore, this member group has access to every part of the CP, no restrictions what-so-ever ( all the privileges in the member group settings are set to "yes" )

What am I missing ?


texts: Remove question mark in URL with "Force URL query strings" enabled

texts:
in one of my sites I had to enable "Force URL query strings" because my hosting provider doesn't have "URL Segment Support" enabled.

I don't have the permissions to change Apache configuration file directly.

To remove index.php I have this .htaccess

AcceptPathInfo On
<IfModule mod_rewrite.c>
   RewriteEngine On
   RewriteBase /

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

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

Now the pages are something like

www.example.com/?/page

Is there a way to remove the question mark through .htaccess or should I ask to my hosting provider to enable URL Segment Support?

Thanks


texts:
How can I make a list which show the date from today to following 10 days?
Like
Thu, June 25, 2015
Fri, June 26, 2015
Sat, June 27, 2015
Sun, June 28, 2015
Mon, June 29, 2015

And then make entry list under the matching date to entry date.


texts: Fieldtype for radio buttons with extra option to provide input from user

texts:
I need a Fieldtype that shows radion buttons for a user.

However I want an extra option for the user to provide text to a textfield if one of the options for the radio buttons is "other, ..."

Is this possible or is there a addon that can do this?


texts: CartThrob: subscription discount coupon development

texts:
Bit of an odd/exceptional issue but we are using CartThrobn on a site to sell subscriptions. We want to be able to offer a reduced price subscription if a certain coupon code is added at checkout.

We are currently applying the subscription to a specific, user-generated entry via the subscription_plan_id and subscription attributes of {exp:cartthrob:add_to_cart_form}.

I'm guessing we'd need to write our own discount/coupon class but not sure then how we'd then essentially switch the plan to another on submission of a specific coupon code.

Any thoughts how this might be achieved?

Cheers

Cole


texts:
A client of mine is wanting to enable Ecommerce at some point but in the interim for at least the next 12 months they would like a request a quote feature. I was thinking that it would make the most sense to use something like CartThrob, Brilliant Retail or Espresso in which customers can add products to their basket (probably will rename it to get a quote) for which they can then submit to our client's sales team.

However instead of going through a typical payment gateway process we just send the sales team an email.

Does anyone know if this is possible?

Appreciate you looking at this,
Adeeb


texts:
I am using Exp:resso Store to manage a shop that needs the ability to set a minimum number of products purchased, and a maximum. For instance, we may require that 4 spoons be purchased, but no more than 24. Any number between those is valid since the spoons do not come in packages of 4.

At first glance, the Store custom field allows us to set a total quantity in stock (next to the "Limit Stock" checkbox), and to set a "Min Order Quantity."

If I set "Min Order Quantity" to 4, the cart will still allow me to add a single product.

Question #1: Why is that?

Question #2: While looking at this, I found several references to "max_order_qty" in the code for the shipping module. Is there a way to apply this to a specific product in the cart?


texts: How to redirect EE site to www. using htaccess & keep the index.php file removed

texts:
We are running an EE site which is successfully stripping the /index.php from the URL using the following rewrite rule:

RewriteCond $1 !^(docs|index.php|sitemap.php) [NC]
RewriteRule ^(.*)$ /index.php/$1 [L]

I now need to get the site to redirect from the non www (example.com) version to the www. (www.example.com) version of the site. At the moment I've tried:

RewriteCond $1 !^(docs|index\.php|sitemap\.php) [NC]
RewriteRule ^(.*)$ /index.php/$1 [L]

RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]

This adds the 'www.', but puts the index.php back on all pages of the site. What am I doing wrong?


texts: how to make safecracker login form open in a new window/tab

texts:
I currently have a safecracker login form which enables specific users to login and download files. [click here][1] I have noticed when a user logs in they are redirected to the following link [click here][2], however the link loads in the same window. Is there a way to do this where once the user has logged in an a new window/tab is created with the download credentials? Below is a snippet of my return= code.

{exp:member:login_form return="press/promo/{segment_3}"}


texts: Any way to output a relative URL in exp:channel_files:files?

texts:
Our live environment is over SSL, but our local sandboxes aren't. This requires us to use {file:secure_url} in our exp:channel_files:files tag pair. Is there a way to output this URL that will inherit the protocol currently in use? Or a way to get the URL without the protocol or domain? I didn't see them in the docs.

The other issue I'm seeing is that the {file:secure_url} and {file:url} tags are outputting a URL to the live (.com) site domain on my local sandbox which is (.dev) - I don't see how that is possible, looking in the channel_files table. Any thoughts on that?


texts:
I'm building quite a complex travel company site, where things like different vacation packages need to be linked to different modes of transport, hotels, various different statuses and categories etc.

For example, a tour might have 4 different trains and a boat. I have created a channel, Trains, and another channel, Boats. I'm wondering what the best way to link these up is.

What are the advantages/disadvantages of using EE 2.6's improved Relationships feature vs something more comprehensive like Playa?

Thanks!


texts:
I'm looking for the best way to secure files uploaded via a front-end form into a standard File field.

I need users to be able to upload a file, but I only want members of certain member groups to be able to access those files from the control panel. I also need the files to not be generally accessible from the front end.

Can I put an upload destination above web root.
If so, can those files still be accessed via the Control Panel?
Is there any way those files could be made available on the front end to members of authorized groups?

Also, is there another better way to do this?


texts:
I am using {pagination_links} and the code is not rendering.

Here is my complete code for my channel entries:

{exp:channel:entries channel="journal" disable="categories|category-fields|member-data" limit="1"}

<time>{entry_date format="%Y-%m-%t"}</time>

{title}

{journal_text_1}

{journal_text_2}

{exp:channel_images:images entry_id="{entry_id}"}

{/exp:channel_images:images}

{pagination_links}
    {page}
        {pagination_page_number}
    {/page}
{/pagination_links}

{/exp:channel:entries}

And on the front end it renders like this:

{pagination_links} {page} {pagination_page_number} {/page} {/pagination_links}

Am I missing something?

NT


texts: Show results which belong to 2 cateogires

texts:
I have the latest version of SuperSearch installed on EE 2.7.3.

I am trying to perform a search which fetches entries that belonged to 2 categories.
I need the output to be like this category="Teeth&&Gums", at the moment the auto generated search URL is category="Teeth+Gums"

Do i need to put a certain parameter in?
Functionally the search is working fine.

Here is the code I have

{exp:super_search:search}

        {exp:channel:categories
            category_group="1"
            channel="resources"
            disable="category_fields"
            show_empty="no"
            style="linear"
        }

            {exp:super_search:variables}

                    <input type="checkbox" id="category_{category_url_title}" name="category[]" value="{category_url_title}"  {if super_search_category_{category_url_title}} checked="checked" {/if} >
                    {category_name}

            {/exp:super_search:variables}

         {/exp:channel:categories}

        {exp:channel:categories
            category_group="2"
            channel="resources"
            disable="category_fields"
            show_empty="no"
            style="linear"
        }

            {exp:super_search:variables}

                    <input type="checkbox" id="category_{category_url_title}" name="category[]" value="{category_url_title}"  {if super_search_category_{category_url_title}} checked="checked" {/if} >
                    {category_name}

            {/exp:super_search:variables}

         {/exp:channel:categories}

    <input type="submit" name="submit" value="Filter!">
{/exp:super_search:search}


texts:
I need help with the following query.  I'm not sure where it comes from in ExpressionEngine.  Any insight or pointers would be helpful.

SELECT DISTINCT `L0`.`field_id` as L0_field, `L0`.`grid_field_id` as L0_grid_field_id, `L0`.`grid_col_id` as L0_grid_col_id, `L0`.`grid_row_id` as L0_grid_row_id, `L0`.`child_id` AS L0_parent, `L0`.`parent_id` as L0_id
FROM (`exp_relationships` as L0)
LEFT JOIN `exp_relationships` as L1 ON `L0`.`parent_id` = `L1`.`parent_id` OR L1.child_id = NULL
WHERE `L0`.`grid_field_id` =  0
AND `L0`.`grid_field_id` =  0
AND `L0`.`child_id` IN (6)
ORDER BY `L0`.`order` asc\G

Specifically 'L1.child_id = NULL'

If we drop the noted constraint (which is non-functional anyways), the query completes in no time at all and uses indexing properly.   With the invalid constraint, the query takes 0.33 seconds on an idle database server, and much much longer on a busy db.


texts: Checking if date field variables exist in templates

texts:
I'm having a strange issue where I can't seem to determine whether a standard date field in EE2 contains data. For the date variable {birth_date}:

{if birth_date}
    Do stuff
{/if}

In my code, this does the same thing (validates as true) regardless if the date field in an entry has data or not. I have swapped in other field types in place of this and they all behave as expected in the logic, but not the date field. Any idea if logic for date fields needs to be written differently? Seems like it shouldn't but I've spent several hours trying to figure this one out...


texts: Hacking around EE's requirement for unique screen_names

texts:
EE requires screen_names to be unique. Previously, in conjunction with Profile:Edit, I have appended {current_time} on to the end of a user's screen_name during registration to workaround this (it's not used anywhere on the front end so is useless to me). However, the screen_name variable is used in the default forgotten password email, and there are no other suitable variables available in that email template. So I'm finally resorting to a hack.

Around line 227 of system/libraries/Validate.php there is this

        /** -------------------------------------
        /**  Is screen name taken?
        /** -------------------------------------*/

        if (strtolower($this->cur_screen_name) != strtolower($this->screen_name))
        {
            $query = $this->EE->db->query("SELECT COUNT(*) AS count FROM exp_members WHERE screen_name = '".$this->EE->db->escape_str($this->screen_name)."'");

            if ($query->row('count')  > 0)
            {
                $this->errors[] = $this->EE->lang->line('screen_name_taken');
            }
        }

Can anyone foresee any problems with simple commenting out this whole block? Is there even a reason I haven't thought of as to why screen_names should be unique?


texts: Pagination works when using /group/template, but not when using /

texts:
I'm breaking my head over this one. maybe it's pretty simple, and am i just being blind. however, something is not going right with pagination.
On the homepage we want to display general info, a content slider, and the lates 5 projects, with a pagination for the older projects.

All things are parsed nicely, except when it comes to the pagination.
When i call the homepage(www.domain.com) the pagination is not working. I see the pagination buttons, but the items are allways the same, the latest 5.
However, if i call www.domain.com/site/index, everything works the way it should.

{exp:channel:entries channel='algemene_teksten_nl' limit='1' dynamic="no" url_title='home'}
{embed='_inc/.header' pagetitle='{algemene_teksten_nl_browsertitle}' pagedescription='{algemene_teksten_nl_description}'
}
{/exp:channel:entries}
{embed="_inc/.home-boxes"}

And the embed is

{exp:channel:entries channel="projecten_nl|boxes_nl" status="not niet-op-home" limit="5" paginate="bottom" paginate_base="/" dynamic="no"}

{if channel_short_name == "projecten_nl"}{box_title}{if channel_short_name != "projecten_nl"}{title}{/if}

{paginate}
            {pagination_links}

                    {page}

{pagination_page_number}

                    {/page}

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

And oh yeah, i'm on 2.5.5...


texts:
I have a channel for each product type, e.g. breakfast, snacks, starters. When viewing the order using the {checkout} tag and the {items} variable, how can I order by channel?

Thanks for any ideas.
Lee


texts: Using a custom jquery plugin in a custom module

texts:
To use a jquery plugin in a control panel view the following is used in the module's mcp file:

ee()->cp->add_js_script(array('plugin' => 'dataTables'));

however I have a custom jqueru plugin, how do I load that into a control panel view? Where will the code above look for jquery plugins?


texts: Handling back button happy users on member sites

texts:
We're working on an EE site where we have a multi page registration process using FreeMember. Works great but we're experiencing issues in testing with users opting to use the 'back button' in their browser which results in them being returned to a registration screen where they then re-attempt registration (confusion ensues).

On completion of registration they are automatically logged in. Is there some best practice to deal with such situations? headers to prevent caching of the registration page (not sure that will work) or a jQuery snippet to sniff if they are logged in and redirect to a profile edit page if they are?


texts:
I have created RSS feed template (named as 'feed') to pull data from the blog channel and 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}

but when I will refer browser to feed url like http://www.mydomain.com/feed I'm getting 404 Not Found.

Any clue what can be missing?

Thanks


texts: Low Yearly Archives always uses channel start & end month

texts:
This:

{exp:low_yearly_archives channel="blog" status="not closed" monthsort="desc" start_year="{segment_3}" end_year="{segment_3}"}

Returns:

August
July
June
May
April

for segment_3=2008 or segment_3=2009.

even though 2009 has posts the entire year. It's filtering the results based on the first entry month and last entry month across all years even when I use start_year and end_year params. It should check first & last month within the requested range of years.

I'm using the latest version, downloaded 2 days ago.


texts:
I am using the Add-on AJW Export to export member details in CSV format. Each time the page loads the CSV format downloads automatically. Anyone any suggestions how to activate the download via a click rather than on page load..

Code looks like this:

{exp:ajw_export
    sql="SELECT *
    FROM exp_member_data"
        format="csv" filename="members.csv"
                            }


texts:
When you add a calendar event using Solspace calendar you have the option of inputting the times or selecting the check box 'all day event'. Currently the all day event times show as 12am-12pm. Is there any way of changing this? For example I would like the all day event check box time to be 8am-6pm.

Thanks,
Julie


texts: can I format a profile in the bio section of a member profile without resorting to html tags? We often need to use bold, italic and especially links.


texts: Display low search results under category headings

texts:
I hope you're all well.

I have built a new website in EE and I'm using Low Search for a filtering system. It is set up as a series of checkboxes which allow the user to choose the categories they wish to view, and upon hitting search they're shown a page of results. This is all working perfectly fine, however I need to make an adjustment to the results page.

At present a user can filter any categories, for example;

Category 1

Category 1 child 1
Category 1 child 2
Cateogry 1 child 3

If the user ticks Category 1 it will select all the child items so the results page contains all the entris from these four categories (including the parent). Is it possible to display these on the results page as so (assuming the user has chose to display all categories):

Category 1:
Result 1,
Result 2,
Result 3

Category 1 child 1:
Result 4,
Result 5

Category 1 child 2:
Result 6

So essentially all the results are displayed under their category headings. The only caveat to this would be that the headings only show if there are results.

I managed to do this in a round about by putting an embed on the results page which fed each category id into the results tag, the problem here was that it just displayed every entry rather than what was searched for (see code):

{exp:channel:categories channel="products"}
  {embed="products/results-list" category="{category_id}"}
{/exp}

//Results tag in the embed template.
{exp:low_search:results collection="products" limit="999" query="{segment_3}" status="Open|Featured" category="{embed:category}"}

That didn't work so I stripped that out and I currently have the results tag code above (minus the category declaration). My search form looks like this:

{exp:low_search:form query="{segment_3}" collection="products" result_page="products/results" form_id="filter"}

  //Followed by a series of these

    Sound
    <fieldset>
      {exp:channel:categories channel="products" category_group="1" show="1|15|16|17|18|19|20|21|22" show_empty="no" id="nav_categories_sound"}
        <input type="checkbox" name="category[]" {if category_url_title == "sound"}class="first-check"{/if} id="{category_url_title}" value="{category_id}" {if '{category_id}' IN ({low_search_category:sound})}checked="checked"{/if}> {category_name}
      {/exp:channel:categories}
    <fieldset>

  //And then

    <input type="submit" class="button" value="Show results">

{/exp:low_search:form}

Any help would be greatly appreciated,
Thank you.


texts:
I have searched everywhere for a solution to this problem but have yet to find one.

I have a form whereby a user can filter Recipes by type and meal time. There are 10 types and 4 meal times. They are all check boxes.

What I need to happen is that when a user selects multiple types/meals they are return with filtered entries.

I have looked into dynamic parameters but it only allows one 'type' and one 'meal time' to be returned and isn't ideal.

I did consider using segments but it would result in a long URL which I would have to use PHP on to separate 'types'/'meals times'. I also considered using POST but it didn't work as expected.

Will I have to resort to Vanilla PHP for this and if so can someone provide a few pointers.

Thanks


texts: Is there a maximum number of sites you can run off MSM?

texts:
I currently have MSM running 8 sites. Last week I had to create a new site and I experienced a whole host of issues, from addons not working as expected to show stopping database errors. It took 4 goes to get it working.

Does anyone have any experience on running more than 10 sites using MSM?

Does anyone know how I might split the main parent site into its own EE but share the content and members with other installations of EE and MSM?

Does anyone have any other suggestions?

Thanks.


texts: Assets 2 field not working properly within 2.6 relationship

texts:
I've got an assets field within a single relationship, using the new 2.6 tags, and I'm having a couple of problems:

The assets tag pair only loops once, regardless of how many assets are
in the field
The inner assets tags aren't outputting anything

I've tried all of these combinations, without success:

{relationship_field:assets_field}
    {relationship_field:assets_field:url}
{/relationship_field:assets_field}

{relationship_field:assets_field}
    {assets_field:url}
{/relationship_field:assets_field}

{relationship_field:assets_field}
    {url}
{/relationship_field:assets_field}

Other relationship tags (e.g. {relationship_field:title} ) output as expected.

Am I doing it wrong, or is this a bug?


texts: PHP Errors in CP when using DataGrab to parse remote feed

texts:
I'm using the following:

EE v2.8.1
DataGrab 1.8.0

I have a number of data imports set up, using various formats such as CSV, XML, JSON, etc.  Since upgrading to EE 2.8.1, I get this Error message when I run the import on any of them, displayed at the top of the page in the control panel:

  A PHP Error was encountered
  Severity: Notice
  Message: Undefined index: entry_id
  Filename: pages/tab.pages.php
  Line Number: 195

The data import itself seems to work fine, but these ugly errors cannot be part of the final deliverable to my client.

The file referenced (system/expressionengine/modules/pages/tab.pages.php) is not part of the DataGrab add-on so I'm not sure what is going on.

I would appreciate any help.

Angel


texts: Freeform : page doesn't reload after form is submited

texts:
I have a FreeForm form. On a first server everything worked just fine and since I moved the website to another server (and domain) the form doesn't reload the page on submit. It only send the form on my email but that's it. So I tried to put a return parameter but it doesn't redirect on it...

Is there a specific PHP server parameter to activate or disable to make it work ?

Thanks in advance

Versions used : FreeForm 4.1.8 / EE 2.8.1


texts: Default fields not loading in Freeform Pro

texts:
I've just upgraded from Freeform to Freeform Pro so I could make use of the additional fieldtypes, but on installation of Pro I still only have four fieldtypes (text, text area, upload and mailing list).

I've tried a complete uninstall of freeform, deleting the third party folders and reinstalling fresh, but I still only get 4 field types.

I can see that all the fieldtypes exist as php files within the 'default_fields' folder, but they aren't appearing within the module in EE.

Any help?

Thanks,

James


texts:
I'm new to EE, and have a project with a lot of database relationships.  For example, the company offers a "Service", in certain "Zip Codes".

So I see in EE, I can create channel fields, etc, and create the relationship between a Service and the (many) zip codes to which it applies.

In the admin area, the client would be able to CRUD Zip codes, Services, and map the two appropriately.  However, some fields that are default in EE, like "URL", don't make any sense for a "Zip code" entry.  It can be ignored, and still works, but not ideal for a non-technical client to use.  Also things like Expiration dates, and the other tabbed fields don't make sense.

My question is twofold:

Is this appropriate way to use EE, or it is better (though more tedious) to build a custom module to manage "non-content" based entities?
Is there a way to customize the "Channel" screen to hide the unnecessary fields and focus the user a bit on what they need to enter?

I'm just trying to get a sense of how to approach this task and how EE was meant to be used.

-Jim


texts:
I've got a calendar page with different months (as entries) containing matrix fields.
The rows contain text, playa, a date field and assets.

With 50 rows, the page takes ten seconds to download. Testing I discovered that removing assets out of the template speeds it up to one second load time.

I've got the latest P&T stuff running on 2.5.5 here,

Only removing assets field: 0.4 seconds loadtime / 13 Mb

Only removing wygwam field: 7.2 seconds loadtime / 13 Mb

Only removing playa field: 6 seconds loadtime / 13 Mb

All fields: 7.2 seconds

The super simple code:

{exp:channel:entries channel="calendar" show_future_entries="yes"}
{matrix_field}

{assets_field}
{assets_field} {!--need it twice, just the url slows it down already--}

{wygwam_field}

{playa_field}
{title}
{/playa_field}

{/matrix_field}
{/exp:channel:entries}


texts:
I have moved my EE1 instance to a new server running nginx.

The home page loads up and the control panel login page loads up but when I try login I see the session information pass through but the control panel doesnt actually load up. It just goes back to the login page.

I have tried these changes in the config.php file:

Moved EE1.7.1 site to new server and can't log into CP

But they didnt work.

Ideas?


texts: Uploading photos to Amazon S3 using Safecracker?

texts:
I'm setting up a form where people will be able to submit photos for a contest. It uses Safecracker and the Safecracker file field to upload a single photo and related metadata with the photo going to a designated directory.

Works fine with smaller images, but chokes once it gets to about 4mb file size. Looks like it's running into the max CPU runtime. I imagine this problem will get worse as the # of entries in that directory increase.

I've been looking into addons for using Amazon S3, but it looks like these are more for file management from within the Control Panel, or integrated with edit forms...and that they leave copies of the images on the site's server. Is there a way to use Safecracker to upload directly to Amazon S3 so I just bypass this problem with the server choking?

Also, I'm trying to figure out the best way to make sure each title/photo has a unique name, and thought the cleanest way would be to append the entryID to each upon submission. Wondered if anyone had another solution. Duplicate photo names right now are getting the word "temp" added automatically, but that looks clunky.

Thanks!


texts: Paypal Issue: Invalid response from payment gateway

texts:
ExpressionEngine 2.4.0
Store 1.6.4

We're having issues with Paypal as when the browser goes back to the checkout page from Payal we get the "Invalid response from payment gateway." message and the Store 1.6.4 cart doesn't record the transaction.  Paypal, however, does send out an e-mail to the client and we receive payment. Any thoughts on what could be the issue?  This has only been happening within the last 4 months.... Site has been running since August 2012.


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

texts:
In this post answer was that membergroup has to have access to all statuses merged to channel: Custom Member's Channel Entries Defaulting To "Closed" Status

I have same issue that when editing entry via channel:form, status goes to closed. So only way to avoid this type of situation is to make custom status group and to allow access to all statuses, so entry should stay open/what-ever status but not closed?

What is the logic behind this? I want to deny access to closed and open, but having access to foo and bar, this is mission impossible because entry goes closed every time someone edit the entry when having the channel attached to default status group.

Feeling nuts to create new status groups just because of this, if the case is really that member has to have access to all statues or otherwise entry goes closed.

Is there a work-around for this, so that channel could have the choice to deny access to open and closed without a worry about entry getting closed everytime it is edited?


texts: How to hide/show groups of markers by category with Google Maps for ExpressionEngine module

texts:
I'm looking to do something like what is done right here.

So here's the breakdown of what I need to do:

Have markers grouped by category
Have a checkbox (or anchor) for each category
When anchor/checkbox is clicked the markers associated with
that category get shown (or hidden) toggled on/off

As the title suggests, I'm looking for advice on how to do this with Google Maps for ExpressionEngine.

I've got all my data stored as EE entries and I am fully aware of how to display a map with all of these points using the module, I just need some advice on how to implement the jquery to accomplish toggling markers by category :-)


texts: Expire Entry X days after status changed to X

texts:
I would like an entry to fall off of a Channel Entries loop when X days have passed since the status was changed to X. Is there an easy way to accomplish this? Or even another method?

I could have them just set the expiration date out X days instead of using the status change method, I was just looking for an easy and intuitive way to accomplish this.


texts:
I’m having some issues with the fixed_order parameter.

I’m running a query to order by a matrix col

{embed="_includes/_ajax_results"
    entry_ids="{exp:query sql="SELECT entry_id FROM exp_channel_titles
        INNER JOIN exp_matrix_data using(entry_id)
        WHERE channel_id ='4'
        AND field_id ='13'
        AND status ='open'
        ORDER BY col_id_21 DESC "}{entry_id}|{/exp:query}"}

If I head to my embed template… and print {embed:entry_ids} I get my list of entry_ids in the correct order I need them

90|94|89|91|95|93|86|92|87|88|79|

However as soon as I use this in a channel tag, it gets ignored and the order reverts to the default date order.

{exp:channel:entries
 channel="strand"
 dynamic="no"
 disable="member_data|pagination"
 cache="no"
 fixed_order="{embed:entry_ids}"}

   {strand-overview}

{/exp:channel:entries}

If i hard code my entry_id embed into the param, the order works…

{exp:channel:entries
 channel="strand"
 dynamic="no"
 disable="member_data|pagination"
 cache="no"
 fixed_order="90|94|89|91|95|93|86|92|87|88|79|"}
   {strand-overview}
{/exp:channel:entries}

so for some reason my {embed:entry_ids} isn’t working…
Any ideas?

EE 2.5.3


texts:
I recently added New Relic to my server to look at performance. It has been a lifesaver for finding issues. It's currently showing the events page that uses Calendar by Solspace has the highest load time by a huge margin (16.6 seconds at last check). Part of the issue is the methodology in which I display events which I'm attempting to improve. The other is the number of old events it has to look through. There are over 450 as of last count with most being outdated.

Is there a way to close or delete an event once it's completed?

I'm running:
EE 2.7.3
Calendar 1.8.5


texts: Enable "search:" Parameter in Custom Add-On Channel Entries Method (EE2)

texts:
I'm extending the Channel module entries() method in my custom plugin and am trying to figure out how to include the search: parameter. I get that the search parameters are an array accessed via ee()->TMPL->search_fields, but I can't figure out how to pass that data to the method. Here's what I have (simplified):

public function entries()
{
    $channel = ee()->TMPL->fetch_param('channel');
    $search_fields = ee()->TMPL->search_fields;

    return $this->_channel_entries($channel, $search_fields);
}

private function _channel_entries( $channel='', $search_fields=array() )
{
    ee()->TMPL->tagparams = array(
        'channel' = $channel,
        'disable' = 'member_data|pagination|categories'
    );

    ee()->TMPL->search_fields = $search_fields;

    if (! class_exists('channel'))
  {
      require_once PATH_MOD.'channel/mod.channel.php';
  }

  $channel = new Channel;

  return $channel->entries();
}

How do I give the entries() method access to the search_fields data?


texts: DevDemon Channel Images Button not showing up in Wygwam

texts:
I can't get the channel images button to show up in Wygwam. I'm running EE 2.5.3, Wygwam 2.7, and Channel Images 5.4.2. I have made sure to install the channel images plugin in the themes > third party > wygwam > lib > ckeditor > plugins folder. There are no javascript errors being thrown. I've cleared my cache on browser and ee cms, and tried with a new configuration and existing one. The channel images and wygwam fields are in the same field group. I've performed a "Run Module Updates" in the Modules menu in EE.

I've also noticed another error - which may be with my configuration or with your plugin, where if you go to Admin > Channel Administration > Channel Fields > and edit your wygwam field, then click on "Edit Configurations" under editor configurations,  it takes you to a page that says "the requested module could not be found". But if you go to edit the configurations from Addons > Modules > Wygwam > Editor Configurations - it shows up properly. No errors are thrown in the console.


texts: Why am I getting 404 error page on subpages on my test site sitting in subfolder of my live site?

texts:
I have created a test version of my site in a subfolder of my live site.

The root of my live site is in /public_html and my test site is in
/public_html/test.mydomain.com.

I have set up a dns record for the subdomain to point to the subfolder.

I have copied the database and linked the test site to the test database.

I have edited the entries in the config file as follows. If the main site entry is:

$conf['tmpl_file_basepath'] = "/usr/www/users/capeto/system/template_files";

... the test site entry is:

$conf['tmpl_file_basepath'] = "/usr/www/users/capeto/test.mysite.com/system/template_files";

The homepage of my test site displays fine,but none of the subpages. I am getting a 404 on all of them. For example the page http://test.mysite.com/about/ returns a 404 page.

In the template debugging code it says:

(0.001131) Template group and template not found, showing 404 page

Any idea what I am doing wrong?


texts:
Had anyone come across developing Member badges in Expressionengine?

I am developing a site, when a member do such activities such as

Creating Entry
Leaving Ratings
Leaving Comments
Making 10x comments
etc

and they get awarded a badge.

Plugins I am using

User (Solspace)
Credits (Dev Demon)

I need some guidance. If no such plugins available, is there any other alternative I could develop with.

Many thanks
D


texts: Matrix PHP preference error on Pages module admin

texts:
Am updating an old EE site to a new server, I have had a few errors that seem strange that they worked on last server.

ee v2.7.1
matrix 2.5.8
pages 2.2

If I go to Addons > Modules > Pages
If I click on any of the pages links I get:
Fatal error: Call to undefined method Tools_model::get_upload_preferences() in /var/www/website/sys/expressionengine/third_party/matrix/celltypes/file.php on line 121

Anyone seen this as to where I would look to change the upload prefs or which thing might have a problem.

thanks

Note:

On the second site I am moving I get this msg in the dev log:
The system has detected an add-on that is using outdated code that may stop working or cause issues with the system. What does this mean?

Deprecated function get_upload_preferences() called in /var/www/website/sys/expressionengine/third_party/matrix/celltypes/file.php on line 121.
Deprecated since 2.2. Use File_upload_preferences_model::get_file_upload_preferences() instead.


texts: Anyone encountered this? "Error: Failure when receiving data from the peer (56)"

texts:
Without making any changes to a website, and without the hosting company making any changes to  the server, a site using CT has suddenly started throwing this error using the EE default error template: "Error: Failure when receiving data from the peer (56)"

This happens when someone tries to get to the checkout page. Has anyone experienced anything like this before? It happens whether someone's logged in or not in every browser I could test.

Chris from CT is already looking into it, but I thought I'd see if anyone had ever experienced this before.


texts: Snippets (snippetsync) only parse when logged in

texts:
It seems that some newly created snippets using SnippetSync (version controlled and uploaded via GIT/Beanstalk) begin parse only after I log into the control panel. After a day or so these snippets will appear as {snippet:snippetgroup_snippetname} once again and logging into the CP will get the snippets to parse once again.

This does not affect all snippets, but only recently created ones. Perhaps post upgrade to 2.5.5? Not confirmed.

Using EE 2.5.5.

Am I missing a setting? Has anyone else seen this?


texts: Cartthrob: Save Customer Info Form problem, for guests

texts:
Recently, a client requested that their existing Cartthrob site now allow guest checkouts.

Currently it’s using a multi-page checkout.
One page uses {exp:cartthrob:save_customer_info_form} and the next uses {exp:cartthrob:checkout_form}.

The problem lies on the first page.
Previously I populated the form with the user’s details if they had it saved in their account, using Solspace User’s {exp:user:stats} tag.
But now I need to support guest checkouts. The problem is that the {exp:user:stats} tag will hide its contents if the user is logged out.

So I basically repeat the code, but wrapped in the {exp:user:stats} tag if they are logged in. (This feels like the wrong way to do this, so if you have an alternative I’d love to hear it.)

{if logged_in}

 {exp:user:stats}

  {exp:cartthrob:save_customer_info_form required="..." return="cart/payment"}

   {var_checkout_fields}
   <input type="submit" class="button" value="Next Step" />

  {/exp:cartthrob:save_customer_info_form}

 {/exp:user:stats}

{if:else}

 {exp:cartthrob:save_customer_info_form required="..." return="cart/payment"}

  {var_checkout_fields}
  <input type="submit" class="button" value="Next Step" />

 {/exp:cartthrob:save_customer_info_form}

{/if}

Originally, the code was just what was inside the first conditional.

The form is displayed correctly for members and guests, but only members are able to proceed to the next page.
When a guest hits submit, the page is just reloaded.

The Cartthrob setting “User must be logged in” is set to “no”, and I have set the appropriate member id for guest checkouts.


texts:
I have a site that has a custom sidebar for each page and I decided to use Playa to accomplish this. I have the sidebar components displaying on each page as expected but the re-ordering doesn't seem to be working, they just stay in the same order as they are in my template.

Has anyone ever come across this before?

Template code - which is an include on each page:

{exp:channel:entries channel="page|sub_page|news_page|events_page|music_page|gallery_page|shop_page|reviews_page|contact_page" url_title="{embed:parent}"}
    {exp:playa:children field="sidebar" channel="sidebar_image_component"}

{title}

        Buy Album

    {/exp:playa:children}
    {exp:playa:children field="sidebar" channel="sidebar_text_component"}

{title}

{sidebar_text_component_textarea}

        {link_text}

    {/exp:playa:children}
    {exp:playa:children field="sidebar" channel="sidebar_featured_music"}

{title}

        {sidebar_soundcloud_iframe}

    {/exp:playa:children}
{/exp:channel:entries}


texts: 404 When Trying to Access Script that's Installed Next to EE

texts:
I have a script installed in the root domain where EE is also installed, but when I try to access it this EE option is triggered:

"404 Page: Determines which template should be displayed when someone tries to access an invalid URL. Note: If you choose 'None', your default channel will be shown when an invalid URL is requested."

My question: is there a way to install scripts next to EE and have them work?

P.S. I have strict URLs disabled

The script is an affiliate link redirect and management script, I call at the URL mydomain.com/scriptfoldername/ or mydomain.com/scriptfoldername/file.php, both give me the 404.

The contents of my .htaccess: http://codetidy.com/5412/


texts: Is it possible to have "Stickiness" expire after a certain time limit, or is there any workaround for this?

texts:
I have a client who would like to mark new entries as Sticky, but have the Stickiness only last for 90 days, to give new entries a push and get them promoted initially.

They could un-sticky the entry after 90 days manually, but they have thousands of entries which will make this hard to maintain.

In the same way that you can set an Expiry Date, is it possible to set a Sticky Expiry Date, or can you think of any clean way to make this work?

Thanks!


texts: {current_time format="%Y"} not working with Low Variables

texts:
I've got a low variable which is correctly parsing channel entries tags, but for some reason will not parse {current_time format="%Y"} no matter what settings I use (early parsing on/off). All it outputs is the raw code for that tag.

please advise


texts: Call to undefined function reduce_double_slashes() EE 2.5.5 to 2.7.3 upgrade

texts:
I'm not getting any response over on the EE forums, so I figured I'd post my issue here as well.

I’m attempting to update an EE site from 2.5.5 to 2.7.3, the installer process runs smoothly, but then I get the following error on the front end & when accessing control panel:

Call to undefined function reduce_double_slashes() in admin/expressionengine/libraries/Extensions.php on line 194

I have rolled my local repo back to 2.5.5, restored my old db, and applied the update again with the same results.

Has anyone else experienced this issue when upgrading to EE 2.7.x?


texts: The default field selection in a Content Elements variable in Low Variables keeps self-replicating

texts:
(EE 2.9.2, Low Vars 2.5.0, and Content Elements 1.7.0)

I've created a variable in Low Vars (LV) and made it a Content Elements (CE) type. By default (and understandably yet still annoyingly, I might add), CE displays all possible field types it can handle in new variables: Code, Gallery, Heading, Rich Text, etc. So I go about the usual routine of deleting them all to clear the board for my own custom-named fields, including things like "Image (full width)", "Image (on left)", "Image (on right)", etc.

I then click on the "Save Changes" button, and it loads up the screen where I can begin to add the different CE types as I please and populate them with content... except after all the custom fields I created, I see all the default fields as if they had never been deleted... O.o

Going back in to the CE var's settings, I do indeed see my fields followed by all the default fields. Leaving things as-is and clicking "Save Changes" results in 3 sets of fields to select from - my custom ones, and then 2 sets of the default CE fields. o.O

So each time I save the CE variable, it re-adds the default set of fields. :-/

I might add that the process of saving changes and/or loading the page after that takes an inordinately long time - 45-60 seconds or so. The rest of the EE backend typically responds in a couple of seconds. >.<

Any ideas?


texts: Using Pages module, how can I still get 404 pages?

texts:
I have a template set up that I point various Channel Entries to via a pages URL.  For example, I might have a channel on my site that contains all the various pages for a department, and all those channel entries point to a single template.  That template, of course, shows whatever channel entry gets pumped its way.

I'm noticing that I'm never getting a 404 when an invalid URL is typed in; the template just serves a piece of content off the stack from the channel.  So if I go to /whatever/labs I'll see the content I expect there.  If I go to /whatever/labsARG I'll see some random content pulled from the channel, but never the 404.

I think the problem is that the template as set up is told to fetch an article/page from the channel - so if it isn't passed on explicitly it fetches one.

    {exp:channel:entries channel="pathology_content" limit="1" require_entry="yes"}

Any thoughts? Is there a way to designate this a Pages only template - ie, only show content if it's incoming from a Pages URL, otherwise 404?


texts: Return validation error to publish form from extension

texts:
I've written an extension to do some additional processing on submitted form content within the ExpressionEngine publish page, however there is a scenario where I want to return an error to the user if a value they have specified is invalid.

Is there a way to do this with an extension, some function I can call to return a validation error but retain the form input so the user isn't forced to start again?

Obviously I could just use 'show_error' but this seems a little brutal and not what would be expected. :)


texts: Outputting tag pairs such as images/files with Stash

texts:
I'm getting into Stash and I wondered what the best way of handling tag pairs such as files/images?

My aim is to totally separate out the markup from the fetching of stuff from the database (exp:channel:entries tags etc). So far, this is how I'm currently handling it, and it works fine:

Model end of things (this would be within exp:channel:entries tag also with a load of other stuff).

{exp:stash:set_list name="main_image" parse_tags="yes"}
{my_image}
    {stash:url}{url}{/stash:url}
    {stash:height}{height}{/stash:height}
    {stash:width}{width}{/stash:width}
    {stash:title}{title}{/stash:title}
{/my_image}
{/exp:stash:set_list}

Markup end of things

{exp:stash:get_list name="main_image"}
<img src="{url}" height="{height}" width="{width}" alt="{title}" title="{title}" />
{/exp:stash:get_list}

What concerns me the most is I'm using a list even though there will only ever be one thing in it, as thus it makes me a bit uneasy.

Is there a better way of doing it? Like I said it definitely works, I just want to make sure I'm doing it right.


texts: Where to put static text like "about us" or contact info?

texts:
I´m thinking where to store static stuff like "About us", "Adress info", "Driving directions".
Entities, that contain of
- Text
- Headlines
- Image
- Links
- but don´t change often and live just in one place.

I see three options
 1) Put the stuff straight into the template.
 2) Set up a variable, e.g. {impressum}.
 3) Set up a special channel, called statics with a fieldgroup called statics, that has just one richtext field and make "About us", "Driving directions",... entries.

My question: Which of the 3 ist best in terms of
- maintenance
- performance

I would opt for 2).
Set up a variable, put the HTML together in my HTML editor, paste it into the variable and then use the varibale in the template. I would use static/index as TG/T and use segments to decide what variable should be used.
That would seperate code from content and save me from the overhead of having a dedicated channel.
The reason why I mentioned version 3) is, that this would allow me to have all content in one place. Having entries, variables and sometimes snippets makes the content scattered all over the place.


texts: Is it more efficient to use native image manipulations or a plugin like CE Image?

texts:
I've been using the outdated Imgsizr plugin for ages, but now I'm looking to update to something more efficient, etc. It's worth mentioning that I'm using Assets 2 for all uploads, and would eventually like to move all images to an s3 bucket.

I've played around with the native EE image manipulation settings. It seems that it would be much easier to control various image sizes through the native method, especially since I would be able to resize and regenerate all of these thumbnails at once from a centralized location, rather than rely on the first pageview from a user.

What are some pro/cons of using the native method vs using CE Image?


texts: How to Use assets_ignore_folder_patterns on the config

texts:
I would like to exclude multiple folders from the Asset list to minimize the amount of folders to be loaded.

I can't seem to get this config working. and there's not enough info available on the website.

Thank you.


texts: Solspace Calendar: showing non-ongoing events and only ongoing

texts:
I need to show a list of event per one day, lets say Today, that are only today and not repeating, and after that list I need to show events that are ongoing. I'm already filtering events per one day and that works but no sure how to filter just one day events (that don't repeat, even they are from today till tomorrow for example) and after events that are ongoing that repeat weekly/monthly etc..

thanks


texts: Can't edit category description with DevDemon Editor 3.2.3

texts:
We're using Editor 3.2.3 on an EE2 site to nicely format category descriptions. When we try to edit the category description from an edit entry page, however, it can't be edited. Here's a gif to demonstrate.

Is this normal/expected behavior?


texts: Zoo Visitor: delete all in member group + channel entries

texts:
I have a member group with 10,000 members. I need to delete all of those members plus all channel entries assigned to them.

Thanks for any help you can provide.


texts: Templating in Postmaster / Templating in General (Super Simple)

texts:
I am trying to figure out how to simply post channel information in a Postmaster email template and for the life of me I cannot figure out why I cannot. Lets say I have a news channel. Why wont this work?

{exp:channel:entries channel="news" limit="10"}
  <h2>{title}</h2>
  {body}
{/exp:channel:entries}

I have tried this with many different template variables and I cannot tell if its postmaster or my template code failing.


texts: Playa: find children of two specified parents (inclusive)

texts:
{exp:channel:entries channel="courses" dynamic="no" orderby="title" sort="asc" search:course_category="{embed:entry_id}" search:sub_cat="{embed:subentry_id}"}
Test {course_category}{entry_id}{/course_category} vs {embed:entry_id} - {sub_cat} {entry_id}{/sub_cat} vs {embed:subentry_id}
{embed="includes/.testcourse" compare="{course_category}{url_title}{/course_category}" page="{embed:page}" subcat="{embed:subcat}" subcatc="{sub_cat}{url_title}{/sub_cat}" title="{name_for_menu}" url="{url_title}" brand="{embed:brand}" {if url_title == "{embed:url_title}"}class="active"{/if}}

{/exp:channel:entries}

Ok, this code basically checks the category and the sub-category of the course are correct before adding them to the page.

Heres the bad part:

Test 15 vs 5 - 29 vs 9
Makaton Signing for Babies

Test 15 vs 5 - 29 vs 9
Parent and Carer

DOH! Clearly they don't match, its just found them because it contains them

Now, I figured this was just because I hadn't used exact match searching, so i changed the code to:

{exp:channel:entries channel="courses" dynamic="no" orderby="title" sort="asc" search:course_category="={embed:entry_id}" search:sub_cat="={embed:subentry_id}"}
Test {course_category}{entry_id}{/course_category} vs {embed:entry_id} - {sub_cat}{entry_id}{/sub_cat} vs {embed:subentry_id}
{embed="includes/.testcourse" compare="{course_category}{url_title}{/course_category}" page="{embed:page}" subcat="{embed:subcat}" subcatc="{sub_cat}{url_title}{/sub_cat}" title="{name_for_menu}" url="{url_title}" brand="{embed:brand}" {if url_title == "{embed:url_title}"}class="active"{/if}}
{/exp:channel:entries}

And now no entry shows despite (more code from the previous debug):
    Test 5 vs 5 - 10 vs 10 Business Administration
    Test 5 vs 5 - 10 vs 10
ChildCare
    Test 5 vs 5 - 10 vs 10
Customer Service
    Test 5 vs 5 - 10 vs 10 Hospitality and Catering
    Test 5 vs 5 - 10 vs 10
Hospitality Supervision

Now I can't see why they wouldn't match the correct ones on an exact match search (I've tried it with quotes around to check for nbsp or similar)

As you may have guessed {course_category} and {sub_cat} are playa fields.
So how do I do an exact match search vs a playa element?

Thanks!!


texts: Matrix: Is there a way to avoid gaps in my source code

texts:
Hopefully someone maybe able to help me with an issue I have recently discovered on a site I'm working on.

The outset is that I'm bringing through report data from a matrix field onto the page. Within said matrix is a field which defines what type of report it is, in my case its Land, Sea or Air. This field is using a radio button fieldtype to distinguish. Now in hindsight I could say use a different matrix field for each report type, but that ship has sailed unfortunately. The data is in a single matrix table and there's no going back. Putting the data into two extra matrix fields would take more time than I need to commit to this.

The problem is that when I come to display data on page, I open my matrix tag do the following

{report_articles}

{if report_type=="Land"}

Show the Land data

{/if}

{/report_articles}

This works fine and the correct data gets pulled through. However on looking at my source code, I have noticed a significant gap in my markup. My assumption is that previous rows are being brought through, their data is just not being displayed. So for example my matrix table may have 5 Land Reports, 5 Sea Reports and 5 Air Reports, and in that order too. If I try to load the Air Reports page (ie, the last few rows), it seems to pull through 10 previous rows before it, and this shows in the source code as a gap and will therefore slow down my page. My question is, Is there an easier way to approach this, or a way to avoid the impact that its having on my source code?

Any advice/help is much appreciated


texts: Member creation (backend) - doing anything but setting username first causes validation errors

texts:
When I create a user in the backend, the Member Group comes first, and is the obvious place to start. However, if I choose a Member Group before adding an Email (email is username in my case), the form throws an error - "The screen name you chose is not available".

Adding an Email is not enough to clear the error - I need to select a different Member Group (before re-selecting the Member Group I originally wanted). This seems like a bug to me, but is there anything I can do to alter the behaviour of the form? It's causing confusion among my users, and is not user friendly at all.

Visitor 3.0.1,
EE 3.5.12


texts: query : how to get the value of a custom field within a relationship field?

texts:
I have a channel 1 and a channel 2.
In channel 1 I have a relationship field that relate to channel 2.

I want (by making a query, for reasons I won't explain here because this is not important) to trace the content of a custom field (named "client") of the channel 2.

I know I have to look into exp_relationships table but don't know how to build my query because the columns of exp_relationships are not very relevant to me :D

What I have as material to use at this stage is the ID of the parent entry.

Anyone can help me on this please? Thanks in advance.


texts: If category id = x AND if there is an entry then display

texts:
I have a list of images in 4 different categories that I want to display on a search results page. My logic is that the pictures are to be displayed under 2 conditions,
1 - it is in its respective category id, 2 - there are actually entries that have that category.

{if "{category_id}" == "1" &&  count >= "1"}
Image group 1
{/if}
{if "{category_id}" == "2" &&  count >= "1"}
Image group 2
{/if}

This code is not working,I think I'm messing up the syntax.

Some more code:

{exp:channel:categories channel="product" category_group="1" style="linear"   parent_only="yes" show="{embed:prod_cat}" show_empty="no"}
{if count == '1'}

{/if}

        {category_name} Product

        {!-- v neck tees --}
        {if "{category_id}" == "1"}

        {/if}

        {!-- long sleeve tees --}
        {if "{category_id}" == "2"}

        {/if}

    {if count == total_results}

{/if}
{/exp:channel:categories}


texts:
We have some basic to complex formatting in our Word docs that conform to a corporate style guide, but am having problems getting that styling to copy over in the "Paste from Word" function. I got headings to convert using Word Styles to format them, but italics, lists, and text colors don't get copied over. Even using other Word Styles don't convert in the copy process.

How do I get these basic Word formatting and styles to copy over to my WYGWAM module? We have writers creating content to a specific style guide and then editors copying that content to the website are then having to manually re-apply those styles.


texts:
when i add to cart page reloads but cart is still empty.

htaccess:

        RewriteEngine On
        RewriteBase /

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

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


texts: Formating entry date like Twitter or Facebook

texts:
Is there a way to format the date output so it reads like it does on Twitter or Facebook.

For example if a post was posted 2 days ago the output would be '2 days ago', the same goes for weeks, so if the entry was posted 2 weeks ago it says '2 weeks ago'.

I only need it to go up to 2 weeks, after that it will switch back to a normal date format.

Thanks


texts:
I'm trying to import EXP_MEMBERS but I get the following error:

  Static analysis:

  2 errors were found during analysis.

  Ending quote ' was expected. (near "" at position 3821)
     76 values were expected, but found 6. (near "(" at position 3620)

  SQL query:

  INSERT INTO exp_members (member_id, group_id, username, screen_name, password, salt, unique_id, crypt_key, authcode, email, url, location, occupation, interests, bday_d, bday_m, bday_y, aol_im, yahoo_im, msn_im, icq, bio, signature, avatar_filename, avatar_width, avatar_height, photo_filename, photo_width, photo_height, sig_img_filename, sig_img_width, sig_img_height, ignore_list, private_messages, accept_messages, last_view_bulletins, last_bulletin_date, ip_address, join_date, last_visit, last_activity, total_entries, total_comments, total_forum_topics, total_forum_posts, last_entry_date, last_comment_date, last_forum_post_date, last_email_date, in_authorlist, accept_admin_email, accept_user_email, notify_by_default, notify_of_pm, display_avatars, display_signatures, parse_smileys, smart_notifications, language, timezone, time_format, include_seconds, date_format, cp_theme, profile_theme, forum_theme, tracker, template_size, notepad, notepad_size, quick_links, quick_tabs, show_sidebar, pmember_id, rte_enabled, rte_toolset_id) VALUES (4, 1, 'test@test', 'Nick Alder', 'b8a2664ef686d40d1f7c0d6124cb150bbc64a5ddd2b3a5ff53c39bc0e36bcc121f79ea7a941c9bf55d527d2c654f7733aa57c0cffe880ce8dbe1dd47117d40e6', 'ln''y[3?pEv?i7Q2J!K1XRZ.b|?~ZLeHj1X$0kO#jn''i~MR7#d9gPVq&n-oS7?&|T1y"KC?5[n,GBf%>Drq$EU)sK]i)C}6$n/vS_^ez!KcTsit|bi[%n>^.^)\&BY,dVs%i-I7,KO:Ri:C6m|:XypP-&$HblI#|FXPT,K{\SJVN[01Sfix\6J2&^h5?~aPwb3Hd8&Z\/3w;mf"2ttltgVpU@Re{]8vQtw2!$''7y&#x''1DB[b*P_;f8<#WtYDo3;J$f)XEKzOLCzMk2+4Ko[|#$2:r@b\', '44618e223d9854ba94161bb265cd4aa357de775b', 'f4085b33f0b9728ea4ac3e8322614b0b75286a31', NULL, 'test@test.com', '', '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 'y', 0, 0, '81.156.245.253', 1370811547, 1373841426, 1395876372, 0, 0, 0, 0, 0, 0, 0, 0, 'n', 'y', 'y', 'y', 'y', 'y', 'y', 'y', 'y', 'english', 'UTC', '24', 'n', '%j-%n-%y', NULL, NULL, NULL, NULL, '20', NULL, '18', NULL, NULL, 'n', 0, 'y', 0), (14, 5, 'test@test.com', 'Mark Finnegan', '1a0f69354775a15816f98d864e2eef2c4e6ea4287700a7947a0d14687659b1b8b87545f130fda1be9bd69c9df5586a3678fd4fc89f37073660003f769cf7f758', '4zfd''~Q?-LOyI\

  MySQL said: Documentation

  1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''4zfd''~Q?-LOyI\' at line 5

The MySQL version I'm exporting from is 5.5.40-1.el6.remi, and the version I'm importing into is 5.5.44-30.el6.art. Would this cause a problem?

EE version is the same on both systems as I'm replicating a site (v2.8.1).

All other tables have imported OK. I can import some individual rows in the MEMBERS table, but others throw this error.


texts: Displaying incomplete mutlipage entries in Freeform Pro {exp:freeform:entries}

texts:
Is it possible to show incomplete multipage entries within {exp:freeform:entries}?

Right now I have this:

{exp:freeform:entries form_id="2" status="open|pending|closed"}
...
{/exp:freeform:entries}

It's only returning 'complete' entries.

The incomplete entries are being captured and are available in EE Admin.

Using FreeForm Pro 4.2.2 on EE 2.9.3