texts:
Is it possible (likely through an extension) to create a promo code that only applies to a specific product? We would like to give a discount on a single product, but the discount, if applied to the entire cart, could render some items in the store completely free.

Has anyone done anything like this? If so, can you give us a sense of the logic/approach for the extension?

Thanks!

Greg


texts:
New to using Expression Engine Classes and not sure how to use the Email class.  I created the class and placed it within my template, but now i get a Parse Error. Again new to EE.  How would I go about using this class, such as submitting the input fields. Here is my code.

<form method="post" id="vara-registration">
        <?php
          ee()->load->library('email');
          ee()->load->helper('text');
        ee()->email->wordwrap = true;
        ee()->email->mailtype = 'text';
          $errors = array();

          foreach($member_emails as $username => $from)
       {
        ee()->email->from($from);
        ee()->email->to("email@email.com");
        ee()->email->subject(" Registration Request");
        ee()->email->set_alt_message('User has requested Login verfication');
        ee()->email->send();

    if ( ! ee()->email->send())
    {
        $errors[] = ee()->email->print_debugger();

        // Send failed, data was not cleared
        ee()->email->clear();
    }
    ?>

Name<input type="text" name="name" id="name_sec" value="">

Phone<input type="text" name="phone" id="phone_sec" value="">

Email<input type="text" name="email" id="email" value="">

<input type="submit">

    </form>


texts:
I currently have a build in progress and am trying to achieve somthing that seems to be simple but is proving not quite so.

I would like to list say 50 entries, those 50 entries should be in a chronological order of either entry_date or last_comment_date. Using entry_date is fine for strict chronological but I'm also looking to see last_comment_date as well. If last_comment_date is newer then anothers entry_date then it should be higher up the tree.

Using orderyby="most_recent_comment|entry_date" yields most recent comments first then lists by entry date which isnt what is required.

I basically want to order by the last activity date - comment or entry. Is this approach possible ?


texts: How to merge channels via export & import?

texts:
I am doing a large site overhaul which includes needing to merge some channels with quite a lot of posts. I have Importer and DataGrab for reimporting the data, but I am not sure how to export such a large number of posts as it seems likely doing it via templates will be difficult.

I attempted to use the Zeal Smart Export module to create a .csv export of the channel I wanted to merge into another (also tried the .xml export). However, it appears that it produces an export where all tags, etc have been escaped and rendered as character entities, so that when I re-import the data with DataGrab, the posts appear with html tags visible rather than processed.


texts: Solspace Super Search - inclusive_keywords="no" not working

texts:
We have a keywords search url as follows:

http://localhost/search/results/search&keywords=kite+apple

We have an entry called 'kite', but not one called 'apple'. This search results request returns 'no results found'. If we remove the 'apple' variable, it returns the 'kite' entry fine.

We are using the inclusive_keywords="no" parameter, so I would have expected the 'kite' entry to be returned with or without the 'apple'.

Any help would be gratefully received.

Jonathan


texts: A conditional to show if a entry has a playa parent or has entry in another channel with category?

texts:
Sorry for the convoluted question. Let me add some clarity to this:

I have a two channels: products & videos. On the videos channel I have custom field for a YouTube url along with a Playa field to relate the video to a specific product(s). I also tied the same category group the products channel is using to the video channel. I have this setup for two reasons:

Client can add a video to a category so this video is shown on all products pages with that category
Client has the option to relate the video to a specific product(s)

I realize I could potentially just use the Playa filter to get the correct entries and do a mass dump but I thought it would be a lot easier to just use a category if the video is a general overview of a certain product category.

How do I structure the conditional to show/hide if a video matches those options?

I'm using the awesome URL Helper addon for segment variables so I can easily do something like this on the single product page:

{exp:channel:entries
   category="{segment_2_category_id}"
   channel="videos"
   disable="category_fields|member_data|pagination|trackbacks"
   dynamic="no"
}
    show video stuff
    {if no_results}no video here{/if}
{/exp:channel:entries}

or use the Playa tag {exp:playa:total_parents} in a conditional. The problem is I need to check both before displaying the data


texts: Show content only if there are one or more relationships

texts:
Using Solspace Calendar, I am displaying a list of related entries (from a relationship field) on an individual event page, like so:

{exp:calendar:events event_id="{embed:event_id}"}

Related Organisations

        {event_organisations}
{event_organisations:title}
{/event_organisations}

{/exp:calendar:events}

This is pulling through the related entries correctly.

However, if there are no related entries, I don't want that section to appear at all. I have tried using count and total_results as per the below, but this appears to prevent it from showing even when there are relationships.

{exp:calendar:events event_id="{embed:event_id}"}
{if event_organisations:count == "1"}

Related Organisations

{/if}
        {event_organisations}
{event_organisations:title}
{/event_organisations}
     {if event_organisations:count == event_organisations:total_results}

{/if}

Am I missing an obvious solution?


texts:
I currently have a matrix field within my channel entries. When this field is empty, the edit entries loads perfectly well. However, once data is added to the matrix field, for example i have an entry with 160 rows of matrix data, the edit entry page takes at least 60 seconds to load.

The server we are using is a fairly high spec dedicated server and we have increased php limits where possible to see if that helped.

The other problem is trying to save and edited entry when the matrix data is added. We have CSV imports running to import the matrix data regularly, but we will still need to make changes elsewhere within each entry after that. This is preventing us from doing so as it either takes 3/4 minutes to submit the edited entry or we get the following error:

  Fatal error: Maximum execution time of 300 seconds exceeded in ft.matrix.php on line 851

I appreciate with the amount of data we have it isn't going to be as quick as normal, but the amount of time it is taking at the moment is almost unusable.

Any assistance appreciated.

Many thanks
Ben


texts:
I have installed the Assets plugin but it is not working at all. It is installed on a linux server with php 5.3.17, Expression Engine 2.6.1 and Assets 2.1.4. I have set the correct upload directories in the basic file manager which is supplied with EE itself. When I want to update the indexes of the Assets plugin, nothing happens. It does, however, uses the following http headers:

A POST from jquery to index.php with the callstack:

jquery.js:177
jquery.js:171
jquery.js:162
settins.min.js:1
jquery:86
jquery.js:78

The response tot that is a HTTP 302 to the location admin.php. Next a GET from /index.php with, again, a HTTP 302 response to admin.php?S=0&D=cpC=homepage. After that, a GET request is made to the forementioned page and a HTTP 200 is returned.

The same requests are made when trying to upload a new file from the Assets plugin. Also, the Upload Files button is disabled. After removing the disabled tag and trying to upload a new file, the three forementioned requests are made with the same response and a javascript alert with the message "Could not upload the file - server returned an unexpected response. Please check the server settings.".

I have reinstalled the module, checked all the required file chmod attributes and session/cookie settings. but to result.


texts: Freemember: Redirect user to previous page after login

texts:
Is it possible to redirect the user to the previous page after login, without needing to use PHP?

Note: I'm not using the default login, i'm using the Freemember add-on.


texts:
Is there a way to limit channel entries to a specific number? For example, what if I had a "Company Details" channel (company name, address, telephone number, etc.). Generally, a site would only need one of those. If I use Channels, the user can add multiple Company Details, which is not right.

So, it there a way to limit Channel entries? Or should I be using something else?


texts:
I use {encode="{webmaster_email}" title="Send E-Mail"} to hide my email address from harvester bots.

When I use this code within my template all is fine. This code is also part of the footer. The footer is an early parsed variable from  the Republic Variables module.

My problem is: {encode} delivers a fully functional mailto tag, but also prints the string between the

This is the code, that I get from the {encode}, that is part of the footer variable. This gives me a fully functional mailto plus all the stuff between the

I saved both to a local HTML file and letthe browser render it. I got 2 mailto-links, as expected. So, the code works.

Why does EE add the CDATA stuff, when I put {encode} in the footer?

EDIT: It seems to be a CSS issue. The "E-Mail me"-Link is part of an inline list in the footer. The respective CSS is

ul.inline-list > li > * { display: block; }

When I delete this line, the Javascript disappears. Just changeing to display:inline or any other display type doesn´t help. display:none makes the entire entry (the mailto plus the superflous JS) disappear.


texts:
I am new to EE and working my way around the CMS. I have worked with WP and Joomla.

The task I have is to build an admin functionality where the admin can select either a URL or upload a file and this will show up as a list of links (either redirect to that URL or download the uploaded file)

Is creating a custom field type the way to go about this? Please let me if there is a sample code for this that I can follow the programming guidelines.

Thanks,


texts:
I have a number of text input fields in an event registration channel that I would like to be pre-poulated with defaults and so not require entering anything unless it's different.
This thread gives the javascript to add in the instructions box for Matrix fields, but I want it for a single Text input field and my javascript is rubbish.


texts: Circumventing the maximum number of segments limit

texts:
It says in a support thread that Expression Engine has a maximum number of segments allowed that can't be changed (I can't think of a reason why they would need to do so).

I can't change the directory structure of my resources since it is structured by a ready made template. So I am stuck.

Does someone have a solution circumvent the issue of having too many segments?

Or at least disable Expression Engine from capturing and interpreting that page since the the links that I have that go over the maximum limit point to CSS files which don't need EE interpretation.


texts: Freeform Pro Form with Submission Progress

texts:
I have a freeform pro form that is using a piece of javascript to provide a progress indicator once a form is submitted. Idea is seen here: http://tympanus.net/Development/ProgressButtonStyles/

However, with this script enabled, the form will not submit. When I comment out the js, the form submits fine. I cannot figure out what I need to edit in the script to play nice with Freeform. Code is as follows:

function initProgressBtn(){
    jQuery('.form').each(function() {
        var form = jQuery(this);
        var sendBtn = form.find('.progress-button');
        var ajaxBusy = false;

        new ProgressButton( sendBtn.get(0), {
            callback : function( instance ) {
                var progress = 0,
                interval = setInterval( function() {
                    progress = Math.min( progress + Math.random() * 0.1, 1 );
                    instance._setProgress( progress );

                    if( progress === 1 ) {
                        instance._stop(1);
                        clearInterval( interval );
                    }
                }, 200 );
                form.trigger('startProgress');
            }
        });

        function onSendForm(e) {
            e.preventDefault();
            if(!ajaxBusy) {
                ajaxBusy = true;

                jQuery.ajax({
                    url: form.attr('action'),
                    type: form.attr('method'),
                    data: form.serialize(),
                    dataType: 'text',
                    success: function() {

                    }
                });
            }
        }

        form.on('submit startProgress', onSendForm);
    });
}

Any help would be greatly appreciated - thanks!


texts: Structure Won't Appear in Control Panel Anymore

texts:
Made a rookie mistake and deleted Structure from the server before uninstalling it first from the EE CP. Now, after I've reuploaded it, it still won't appear. I've tried going into the config file and turning off extensions while I reinstall it, no luck. Figuring that this error on my part probably caused some Structure tables to be leftover on the database, I logged into the database and deleted all of the prefixes that matched Structure. Still, no luck.

In short, I'm guessing this is a consequence of my error. If so, how would I go about correcting it? I have too much additional unrelated work on this site to do a backup.

Thanks!


texts: Simple Commerce, capture user information

texts:
I need to create a channel which editors can upload different events to and where user can then enter their details and pay to attend these events.

I was going to use channels and simple commerce to enable users to pay for these events but we'd also want to capture some information from the user such as name, email, etc. What the easiest way to capture their information?

Thanks,
Julie


texts: display parent and children categories in a channel entry

texts:
I can't seem to find a way to display the parent and then the child category in a entry:

{exp:channel:entries channel="products" limit="6" }
Details &raquo;
{/exp:channel:entries}

this needs to display a link to domain.com/Products/detail/Parent-Category/Child-Category/url-title

I can only seem to get the parent to display

I also tried GW Categories with no luck:

Details &raquo;


texts:
I have a link from my home page:

{title}

I have the template setup in my folder -> http://cl.ly/QMlL

I can't understand why it isn't working.


texts: p-tags from RTE field getting stripped - but only after the first entry

texts:
So this is strange. Template code:

{exp:channel:entries channel="[channel_name]"}

    {rich_text_field}

{/exp:channel:entries}

For the first entry, the text in the field will return wrapped with p tags. For the rest of the entries, all p tags are missing.

If I switch the field to a normal textarea instead, p-tags will be returned as excpected, for all entries.

I can find no errors anywhere in any logs, and template debugging returns nothing unusual.

The text renders correctly with p tags within the 'view code' part of RTE inside the control panel.

Oh, and this is the newest, 2.6.1 version of EE.

Any pointers where I can start looking for errors?

EDIT (more info):
So the problem seems to be that the string ($this->text_format), during parsing, isn't marked as 'xhtml', but rather as 'none', and therefore isn't passed through to the auto_typography() method (I think it's somewhere in EE_typography.php, but I can't remember exactly). Again, this is only for the subsequent entries, and not the first.


texts: SafeCracker and Querying the database in the search for duplicate content

texts:
I have a safecracker form which I am using to register contacts for a contact manager. In an effort to eliminate duplications I would like the safecracker form to query the database and check for duplicate email or names in the contact entries.

I tried to install Ajax form Validator Plugin but the plugin does not seem to work and the developer is not responding in the help section.

How can I use Jquery/Ajax to perform an inline check before submitting the form?

Below is the script for the faulty Ajax Form Validator:

{exp:ajax_form_validator:script entry_id="none" form_id="comment_form" submit_button_id="submit_button" async_url="http://www.elinex.co.za/contact-manager/ajax_form_validator_async/" parse="inward"}

{ajax_form_validator field="name" required="yes" deny_duplicate_data_field="exp_members.screen_name|exp_members.username" duplicate_data_exception_field="exp_members.email" duplicate_data_exception_contained_in="email" field_required_alert_text="ERROR!\nName field cannot be empty!" invalid_indicator_id="name_field" invalid_class="invalidated" javascript_alert="yes" min_length="2" max_length="30" regex="/^[a-zA-Z0-9]+([\.\_\-][a-zA-Z0-9]+)*$/" min_length_alert_text="ERROR!\nThe name cannot consist of one letter." max_length_alert_text="ERROR!\nThe name cannot be longer than 30 characters." duplicate_data_alert_text="ERROR!\nThe name you entered is already in use by a registered member." regex_alert_text="ERROR!\nThe name you entered contains illegal characters or character combinations."}

{ajax_form_validator field="email" required="yes" deny_duplicate_data_field="exp_members.email" duplicate_data_exception_field="exp_members.screen_name|exp_members.username" duplicate_data_exception_contained_in="name" field_required_alert_text="ERROR!\nEmail field cannot be empty!" invalid_indicator_id="email_field" invalid_class="invalidated" javascript_alert="yes" max_length="50" max_length_alert_text="ERROR!\nThe email address cannot be longer than 50 characters." regex_alert_text="ERROR!\nInvalid email address." duplicate_data_alert_text="ERROR!\nThe email you entered is already in use by a registered member." regex="/^([a-z0-9\+_\-]+)(\.[a-z0-9\+_\-]+)*@([a-z0-9\-]+\.)+[a-z]:LD:2,6:RD:$/i"}

{/exp:ajax_form_validator:script}

{exp:safecracker channel="member_profiles" url_title="{segment_3}" dynamic_title="[member_first_name] [member_last_name]" return="contact-manager/added/ENTRY_ID"}

Name
<input type="text" name="name" value="" class="text"/>

Email Address
<input type="text" name="email" value="" class="text"/>

<input type="submit" name="submit" id="submit_button" style="margin-left:0px;" value="Add Contact"/>

{/exp:safecracker}


texts:
I just installed the Solspace Tracker module in my ExpressionEngine installation (v2.7.0), and I am getting the following error on my publish page:

  Unable to load the Chart Data via AJAX

I have deleted and reinstalled the themes folder, but I am still getting this error.  Does anyone have any suggestions?


texts:
We're using Channel Files on a build to deliver podcast episodes. The Channel Entry the episodes belong to are albums.

What we're looking to do is find a way to calculate the duration of the MP3 file automatically rather than rely on user input. We had looked at http://devot-ee.com/add-ons/mx-getid3 but doesn't work on remote files.

Is it even possible?


texts:
I have a custom plugin that logs into a database each time someone downloads an image. This is achieved through a module installed with my mod files etc.

The plugin records the current logged-in user who clicks to download, the image they downloaded, and the time/date etc.

Currently I generate a text-based email that says to the image owner 'Someone from company-a has downloaded the image titled x at 10 am'. It's basic and texty but it does work.

Ideally, it would be nice to tie this into Postmaster, but I think it requires a custom hook to do so, possibly installed into postmaster.  My question is, how do I call my custom hook from within my module and push information to it so I can use the variables in Postmaster?

My tag is currently

{exp:download:log_download image="45"}

, which pushes in the image info, the other stuff comes from DB lookups from the owner of said image and also the current member info from sessions.

I would love to create a parcel in postmaster and pull in the variables and have a nice branded html email as described above.

I am on ee 2.5.3 and postmaster 1.2. Any points in the right direction would be helpful. I have created modules and plugins for client use, but not used any hooks as of yet and need to get my head wrapped around it.


texts: Conditional Global Variables OR simply not working

texts:
I've got

{if segment_3 == "desc" OR segment_4 == "desc"}

and EE is just ignoring it or not parsing it or something. I can try

{if segment_3 == "desc" || segment_4 == "desc"}

and that doesn't work either. However, if i have {if segment_3 == "desc"} on it's own, that works fine.

What's going on here huh?

More of the code around this, it's in a channel:entries tag and it's to define whether a orderby and sort paramater is applied:

{exp:channel:entries
channel="my_channel"
limit="15"
paginate="bottom"
{if segment_3 != "asc" OR segment_4 != "desc"} category={segment_3_category_id} {/if}
{if segment_3 == "desc" || segment_4 == "desc"} orderby="woa-price" sort="desc"{/if}
{/channel:entries}


texts: Unable to upload files with FF Matrix 1.3.5

texts:
All fields using the FF Matrix fieldtype (version 1.3.5) have suddently stopped working. My client can no longer upload files, and the fields can no longer be expanded to add new rows.

This is an old but very active site using EE 1.6.8 build 20100121. The FF Matrix fields are the heart of the site, and my client reports that they were working fine until yesterday.

Is this a known issue? Is there an update to FF Matrix that is compatible with EE 1.6.8 which could fix the problem? Or some other fix?

Brian


texts: GraySquare: exp:channel:entries does not show all entries

texts:
I have a page that shows tips by month. It works well but for some odd reason, the {exp:channel:entries channel="tips"} does not return all tips.

I query the database:

{exp:query sql="SELECT t.entry_id AS query_entry_id FROM
exp_channel_titles t, exp_channel_data d WHERE t.entry_id = d.entry_id
and t.year='{segment_3}' and t.month='{segment_4}' and t.channel_id='3'
order by t.entry_date desc"}

then use {exp:channel:entries channel="tips"}. {total_results) shows 4 but the same tip is repeated 4 times instead of 4 different tips.

Here is the URL to understand better:
http://www.neatfreak.com/index.php/site/tips/2014/07/

Bottom line, I have around 85 tips but it only shows a few. The dates and the channel on all tips are correct.


texts: Why isn't this snippet + Zoo Triggers working?

texts:
I have a set of "category" pages such as:

Dining (example.com/dining)
Nightlife (example.com/nightlife)

We are using Zoo Triggers to filter out the categories appropriately. I am using a snippet to insert an icon into the header of each category. This snippet looks like so:

{exp:stash:set name="logo"}
    {snippet:masthead_logo}
{/exp:stash:set}

The "logo" snippet looks much like this:

{exp:ifelse parse="inward"}
{if segment_1=='events'}

{if:elseif triggers:segment_1=='dining'}

{if:elseif segment_1=='nightlife'}

{if:elseif segment_1=='shopping'}

{if:elseif segment_1=='arts-culture'}

{if:else}
    {exp:ce_img:pair src="{interior_logo}" max="125" crop="no|center,center" fallback_src="{site_url}images/placeholders/member-placeholder-logo.png" allow_scale_larger="yes"}

    {/exp:ce_img:pair}
{/if}
{/exp:ifelse}

As you can see I am testing "dining" for Zoo Triggers segment_1, which is 'dining' when it parses. However, the conditional is not holding true as it were. In fact, not even the surrounding  is passed from the snippet. So I suppose it isn't as much a why isn't this conditional working, but more of a why isn't this snippet working?


texts: Solspace Ratings Pagination Links Variable Pair

texts:
I read in the old solspace forums that the the rating module would support the ee variable pairs
{pagination_links}
{/pagination_links}

But when i add them ton the template only the tag {pagination_links} renders.

Do you know if its supported?

I am using the latest version of ee and the ratings module

Thanks

{exp:rating:entries collection="Apartment Reviews" limit="10" orderby="rating_date" sort="desc" paginate="bottom"}
    {rating_paginate}

            {pagination_links}
                {page}

                        {previous_page}

&laquo;

                        {/previous_page}

{pagination_page_number}

                        {next_page}

&raquo;

                        {/next_page}
                {/page}

            {/pagination_links}

    {/rating_paginate}
{/exp:rating:entries}


texts: Exp:resso Store - Modifier stock levels/availability

texts:
We have a client who sells bespoke cookers. Cookers have numerous colour choices, and also trim options. However not all trim options are available with all colours.

For example the X range has Green, Blue, and Black for colour, and Brushed, Chrome and Brass for trim. Black only has Brushed and Chrome available, but Green and Blue have all three.

I considered using the limit stock row and setting the stock level to 0 (since none of the others are stock tracked since they're build to order) but couldn't see a way to wrap the modifier options in a track_stock conditional, it seems it only works on a product wide basis. I also thought about using the SKU (eg if the SKU is empty, disable the option) but that doesn't seem to work either.

Ideally the code would be something along these lines

<select id="{modifier_input_name}" name="{modifier_input_name}">
    {modifier_options}
        <option value="{option_id}" {if SKU/TRACK_STOCK/ETC == ""}disabled{/if}>
            {option_name} {if price_mod_val} ({price_mod}) {/if}
        </option>
    {/modifier_options}
</select>

Basically, is there a way to disable the options if the variant is unavailable?


texts:
I have an additional title called {long_titles}, but do not use it for every entry. However, when I do use it, I want to suppress the {title}. I have tried several approaches but can't get it.  Needs some help!

{if "{long_titles:count}" != ""}

{title}
{/if}
      {if:else}

{long_titles}
{/if}


texts:
Has anyone been able to get Custom Fields to work with the DevDemon Subscriptions add-on?

At the very bottom of this page (http://www.devdemon.com/documentation/tag/subs-subscribe/) there are two Note's relating to this:

Note 1: Custom Member Fields are supported. Use the following format for form names m_field_id_XX. Example:
Note 2: The setting "Is field visible in registration page?" on each Custom Member Field has to be set to "Yes".

I've tried this and can't get it to work.  Anyone had luck with this?


texts: Issue with PHP reading times in template

texts:
I have this PHP code in one template (contact.html):

<?php
    $on  = 830;
    $off = 1730;
    $now = intval(date("Gi"));
    echo "<!-- ".$now."-".$on."-".$off." -->";
    if($now > $on && $now < $off) {
?>
    <!-- the HTML I want to hide by time is located here -->
<?php
    }
?>

and this code in another template (footer.html) that is embedded in the contact template above:

{if "{segment_1}" == "contact"}
<?php
    $on  = 0830;
    $off = 1530;
    $now = intval(date("Gi"));
    echo "<!-- ".$now."-".$on."-".$off." -->";
    if($now > $on && $now < $off) {
?>
    <!-- the HTML I want to hide by time is located here -->
<?php
    }
?>
{/if}

As you see, I echo out the values in both templates. When I load the page at 7:08am, I get this comment in the code for the contact template and the html is hidden just like planned:

<!-- 708-830-1730 -->

But in the code in the footer template, I get this comment and the html shows instead of being hidden:

<!-- 1208-830-1730 -->

Why the differences???


texts: Safecracker Registration: changing email address?

texts:
I'm using Safecracker Registration and was able to create a form with an email field. When a new email address is entered in it and the form is submitted, the Member's email is actually updated.

Is there a way to make EE not just instantly update the email, though? Shouldn't it first verify that the email is valid by sending an email with an activation link? That's how I have things set up for initial sign ups.

I don't think this is specifically a Safecracker Registration issue, but rather an EE one. However, I can't seem to find a "Members must verify email change" option in the CP. Thoughts?


texts: How can I use capistrano deployment with ExpressionEngine?

texts: Any good resources/advice on using Capistrano to deploy EE sites?


texts:
Hello,
Hope somebody can help? I only have very little experience with EE. I want to remove the company name - marked with yellow (see picture). Can anybody tell me how to - and where to do it. I am using Seo Lite?? Many thanks.


texts: How to use dropdown to populate link tag

texts:
My page is shown in the image below. Users must select the city they are in using the dropdown. Then they click one of the images. The link is currently . I'd like it to be automatically populated like , based on whatever is selected in the dropdown.

I don't want the dropdown to load a new page - that would be way too slow. So I am looking for an alternative solution (CSS3 or JavaScript?), something that is lightweight and quick.

{exp:channel:entries channel="type" search:primary-category="not --" search:secondary-category="" dynamic="no"}

           {exp:ce_img:single src="{type-image}" max="100" crop="yes" }

{title}

{/exp:channel:entries}


texts: Include Form Title in Freeform Notification

texts: I'm trying to make a single Notification template for a general auto-response to several forms and would like to include the form's title in the subject line and body. To be sure, this is not {form_name}. I hoped {nonfield_title} would do the trick, but it does not output the title as it does on the live page. Any tips?


texts: Adding a class to a particular para inside a text area

texts:
I'm looking for a way to let the client flag any given paragraph within a single text area field with a class so that it will appear with different styling. So say I have:

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

I would be hoping to get the output:

First paragraph of content

Second paragraph of content

Third paragraph of content

I can think of numerous ways to do it using various plugins (Matrix, Hop Inject) but they all break the simple usability of just letting the client type their entry as a series of paragraphs in single text area field and flagging one of them. I'd prefer a less convoluted, native solution if I can find one, and I'd prefer to avoid using the the RTE if I can possibly avoid it.

Am I missing something really obvious? Or is the plugin route the only realistic solution?


texts: Output same entry multiple times in a channel loop

texts:
i was wondering if it was possible to output the same entry multiple times using the entry_id parameters on the channel:entries loop.

Example:

{exp:channel:entries entry_id="14|14|14"}

I need this function to work with Shortlist module from Squarebits to manage a simple cart.

Someone had the same problem before?


texts: Random strings in my url's for all navigation

texts:
I have simple links such as:

 href="{path='PCP/alliance_blog/'}"

and the result in the url bar will be:

example.com/PCP/Index#.UkryCGTXhvk

^ What is the deal with the "#.xxxxxx" code being generated here? Other sites I've worked on and built out do not have this issue. Admittedly this site is absolutely enormous compared to them..


texts: Fatal Error Message in EE CP when I want to open a template pr submit changes to a template

texts:
Sorry very new to EE.
What do I do to sort out the following error

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 49 bytes) in /home/content/94/9617594/html/control/codeigniter/system/database/drivers/mysql/mysql_result.php on line 147

Thanks


texts: Solspace User password reset not working

texts:
The link that gets email when someone forgets their password does not work.  YOu get a page not found error.

EE 2.7.1 and User 3.4.5

User is up to date so not sure why this is not working.  Anyone out there running in to the same issues?


texts: Can I have the Shipping Same as Billing default to unchecked?

texts:
I am using Expresso Store V1 and I would like the Shipping Same as Billing to default to unticked. Is this possible?

Form html:

                {field:shipping_same_as_billing} Same as Billing Details

Script:


texts: MX Notify Control doesn't work on statuses that contain spaces

texts:
I've just learned that MX Notify Control apparently sends a "Disallowed Key Characters" error when trying to set up a new rule for a status that contains spaces, like "Awaiting Approval." If I name that status "Awaiting-Approval", the notification does go through.

Any fix for this?

EE 2.9.2
Mx Notify 2.4.6


texts: Exp:resso Store - Admin Shipping Fields detached from main Shipping data

texts:
We have a few different shipping options set up on the site, but in the admin area when editing the shipping for a particular order just a free text field is provided rather than a drop down of the shipping options.

Is it possible to change this to a drop down - so that its easier to control the values entered in that field?

Additionally - changes to shipping made in the admin don't update the shipping data available via the order tag. So any 'order dispatched' emails still show the shipping details made at checkout - rather than those updated by the admin.

Is there a way to show the final shipping option in the emails?

Thanks!


texts: Can I escape "automatically turn URLs/Emails into links"?

texts: I would like this option for the "body" field of an entry, but for another field where I want to take a web address and eventually generate a button link, I don't want it encoded, or of course the button ends up messed up. Any ideas/solutions to this? Thanks for your time.


texts: DB connection refused - credentials exposed

texts:
So suddenly I get a "Connection refused" to the MySql database on my site which is running ExpressionEngine 3.5.2 in a shared environment. Fine...

...but the stack trace, when expanded, shows the database name, user and PASSWORD!

You can the see the error message here: http://www.huntee.se/db_error.jpg

Now this error screen looks like Codeigniter or EE. Is this really possible??

How do I make sure this doesn't happen again?

Regards,
Matts


texts: Channel Images - Call to undefined method stdClass

texts:
We did a migration of an EE website from a server to DigitalOcean.

After we managed to change every route and everything, it seems that we can't upload images into channel images anymore.

it gives the following error:

Severity: Warning

Message:  Creating default object from empty value

Filename: channel_images/ajax.channel_images.php

Line Number: 369

Fatal error:  Call to undefined method stdClass::run() in /var/www/html/system/expressionengine/third_party/channel_images/ajax.channel_images.php on line 371

EE 2.9.0
Latest Channel Images
The difference between the servers is that the current one has Latest PHP library.


texts: Showing native 'child' entries for an entry in the CP

texts:
Is anyone aware of an #eecms extension which adds a list of 'child entries' to a parents edit screen in the control panel? I'm sure I've seen an extension that does this in the past but I can't locate it. :/

Edit: I should add, this is for EE1.x but I would happily reverse migrate a EE2.x extension (if possible).


texts: Get all entries where expiration date is within last 12 months

texts:
I know this is more of a SQL question, but I'm having trouble getting EE to cooperate. I have entries that expire, and want to show only entries which have expired in the last 12 months. I tried:

 SELECT entry_id, title, expiration_date
 FROM exp_channel_titles
 WHERE expiration_date BETWEEN date_sub(Now(), INTERVAL 12 MONTH) AND Now();

I get zero results.


texts: How do I prevent users from entering HTML tags in a safecracker form?

texts:
I'm working on an EE powered website which also serves data to a mobile app. I'm trying to make a safecracker form, but one of the fields cannot have HTML code in it or the app breaks. How do I stop people from entering HTML? Here's the field's line in the safecracker form:

<input type="text" name="snippet" id="snippet" value="{snippet}">

At the moment I think I need to use htmlspecialchars, but I have no idea how to implement it into safecracker. I'm also assuming that it might be easier to apply htmlspecialchars to the output, but unfortunately I do not have access to the apps source code.


texts:
Has anyone successfully setup a jQuery file uploader with safecracker?

I am looking to have a jQuery file uploader in a safecracker form for a new project I am about to start.

Any guidance, or experience in the matter would be greatly appreciated.

Thanks


texts: Problem with Matrix - case insensitivity on filenames

texts:
This is a follow on from How can I control the filenames of files uploaded via SAEF/Safecracker using Safecracker File in a Matrix? but is a different topic so I thought I should start a new question for future reference.

I have a Matrix field that contains a SafeCracker File field.

Images are uploaded to this field.

It appears that if I upload 2 images with filenames that are the same, but of different case, such as TEST.jpg and test.jpg then both images upload fine.

In the back end, on the entry form, the Matrix is displayed correctly with each image being shown.

However, when outputting the images on the front end the case of the file gets mixed up and I would see test.jpg output twice. The other file TEST.jpg is ignored.

Here is my test code. My Matrix field is called {photos} the Safecracker field within that is called {file}

{photos}

Row: {row_id}

File: {file}

{/photos}

Using the example files above I would expect to see.

Row: 1
File: /images/test.jpg
Row 2
File: /images/TEST.jpg

But in fact I see

Row: 1
File: /images/test.jpg
Row 2
File: /images/test.jpg

Since my server is case sensitive it is possible for both of these files to exist so it's causing a problem when the images are being output and the incorrect image is being shown in some cases.

Is anyone able to shed some light on this or try it out themselves to confirm the problem?


texts: Member Registration Notification Options

texts: I am using Profile:Edit for new member registration, but because I need to skip the email conformation step, is there a way to notify the new member of their registration, just to let them know they are now registered?


texts: Using site_id or site_name Inside Master Config Environment Files

texts:
I'm engaged in the Herculean task of configuring Focus Lab Master Config with an MSM site. I'm trying to write some conditionals based on the site_id variable, but I keep getting errors.

Right now I'm just running this on my local server, so inside config/config.local.php, at the bottom, I put:

if ($config['site_id'] == '1') {
    $env_config['webmaster_email'] = 'me@site-one.com';
} else {
    $env_config['webmaster_email'] = 'me@site-two.com';
}

But when I do this it causes the page to crash (Error 330 (net::ERR_CONTENT_DECODING_FAILED): Unknown error.). The problem seems to be the site_id variable, because if I do something like:

if (1 == 1) {
    $env_config['webmaster_email'] = 'me@site-one.com';
} else {
    $env_config['webmaster_email'] = 'me@site-two.com';
}

Then everything is fine. I tried using $site_id instead of $config['site_id'], and I tried site_name instead of site_id but it's still not responding.

Any thoughts?


texts: How to minify HTML, CSS & JS in ExpressionEngine 3?

texts:
With the increasing relevance of website performance on mobile (see Google's upcoming mobile-first index for example) I'm looking for a way to minify the HTML that EE outputs.

I know that there's various plugins available for EE2 (such as https://devot-ee.com/add-ons/minimee) but can't find any for EE3.

Any advice on how others have managed this would be appreciated.

If the solution also manages minification of CSS & JS files that would be a bonus.

Thanks in advance,

Tom


texts: New to EE 2.9.2 - Linking Content Together

texts:
So {vehicle_make} is the channel field I have created, and it's using a dropdown select. I have entered in 100 vehicle make names, line by line, into this dropdown select.

Now I would like show the appropriate {vehicle_emblem} image linked to each {vehicle_make} on my template.

My first question is with how to link these two channels together:  If I pull the {vehicle_make} of Acura (based on segment_3 possibly, if my URL structure is example.com/browse/make/acura), how can I show the {vehicle_emblem} image of the Acura logo next to the {vehicle_make} word of "Acura"?
My second question is how do I link from a list view template page to a details view template page, of the generated {vehicle} channel group content?

Thanks!


texts:
I'm trying to display a custom field within a categories loop (Channel Form). The {category_name} outputs just fine but ExpressionEngine refuses to render the custom field {category_custom_field}. (The custom field does work with exp:channel:categories.)

{categories show_group="5" parse="inward"}
  <option value="{category_id}" {selected}>
    {category_custom_field}
  </option>
{/categories}


texts: 2 PHP errors while creating new entry using Publisher

texts:
Im having a minor issue with my channel form. The form is ment to create new entry instead of editing one. (when editing entries dont get the errors because entry_id is present).
Using latest EE 2.10.1, with Publisher 1.6.4 running on php5.6.2.

EE's docs states that when channel form doesnt find entry_id, it will create new entry, and because Publisher is somehow checking things againts entry_id, errors are thrown because there is no entry_id available.

Here is the opening tag for channel:form I have now (have tried about all variations with dif params I can think of), does anyone have any idea what I might be missing?

{exp:channel:form channel="tapahtumat" include_jquery="no" status="open" entry_id="{segment_3}" datepicker="no" class="form-horizontal" author_only="yes" cache="no" return="{phrase:uustapahtuma}/ENTRY_ID"}
Below is inputs cos dunno how I can add them inside code here (sorry).

input type="hidden" name="lang_id" value="{publisher:current_language_id}">
input type="hidden" name="publisher_view_status" value="draft">
input type="hidden" name="publisher_save_status" value="open">

Errors what I get are:

A PHP Error was encountered
Severity: Notice
Message: Undefined index: entry_id
Filename: publisher/ext.publisher.php
Line Number: 594

A PHP Error was encountered
Severity: Notice
Message: Undefined index: entry_id
Filename: publisher/ext.publisher.php
Line Number: 601

Not sure what else I can tell more than I use the phrase on return param because it didnt seem to translate the URL when creating entry in different language.
I do not have drafts enabled, Im using Publisher purely for translating content.

Help would be nice, thank you.


texts: Facebook iFrame App "This form has expired. Please refresh and try again."

texts:
I have this simple Facebook iframe App

The secure URL that is called is: https://www.das-boot.com/facebook

But in facebook nothing is shown - only the following Expression Engine Error is thrown: "This form has expired. Please refresh and try again."

BUT there isn't any form or any other ee-tags within the called ee-template only plain html code!?

Anyone any idea? Going crazy with this...


texts:
I am hoping to use the channel entries tag to filter categories from 2 category groups- one category group is using the 'or' separator (|), and one cat group is using the 'and' separator (&). See my current attempt below.

{exp:channel:entries channel="some_channel" category="6|7|8|57 & 18" limit="15" paginate="top"}
  ...

This channel query should return entries of any of the categories '6,7,8,57', as long as they also have the category '18'.  Is this possible?  Or are there modules/extensions/etc. that would assist with this?

*Note- I need the results to be paginated, so I need to keep all the category-operations in the channel entries tag- ie. this would not work for me:

{exp:channel:entries channel="some_channel" category="6|7|8|57" limit="15" paginate="top"}
  {categories}
    {if category_id == 18}
      {!-- content --}
      ...

I am using EE2.8.1.

Thanks!

HERE IS MY ANSWER

I used PHP in the template to solve this (parse-stage on input).

$type_string = isset( $_GET['type'] ) ? $_GET['type'] : false;
$type = $type_string ? explode( ',', $type_string ) : false;
$service = isset( $_GET['services'] ) ? $_GET['services'] : false;

$entries = array();
// GET ALL CHANNEL ENTRIES IN CHANNEL
$channel_entries = ee()->db->select('entry_id')
    ->from('exp_channel_titles')
    ->where( array(
            'channel_id' => 8,
            'status' => 'open'
        )
    )
    ->get();
if ( $channel_entries->num_rows() > 0 ) :
    foreach( $channel_entries->result_array() as $channel_row ) :

        if( $type || $service ) :
            // GET ALL ENTRY CATEGORIES
            $categories = ee()->db->select('cat_id')
                ->from('exp_category_posts')
                ->where( array(
                        'entry_id' => $channel_row['entry_id']
                    )
                )
                ->get();

            $cats = array();
            if ( $categories->num_rows() > 0 ) :
                foreach( $categories->result_array() as $category_row ) :
                    $cats[$category_row['cat_id']] = $category_row['cat_id'];
                endforeach;
            endif;

            if( $type ) :
                if( count( array_intersect( $cats, $type ) ) > 0 ) :
                    if( $service ) :
                        if( isset( $cats[$service] ) ) :
                            $entries[] = $channel_row['entry_id'];
                        endif;
                    else :
                        $entries[] = $channel_row['entry_id'];
                    endif;
                endif;
            elseif( $service ) :
                if( isset( $cats[$service] ) ) :
                    $entries[] = $channel_row['entry_id'];
                endif;
            endif;
        else :
            $entries[] = $channel_row['entry_id'];
        endif;
    endforeach;
endif;

then in my channel entries tag i put:

{exp:channel:entries channel="portfolio" entry_id="<?= implode( '|', $entries ) ?>" orderby="<?= $orderby ?>" sort="<?= $sort[$orderby] ?>" limit="15" paginate="top"}
...


texts:
I have a Playa field associated with a channel of entries that have long names, often identical for much of the first 20/30 characters. My Playa field is configured to not allow multiple values and is thus a drop down.

When the drop down is clicked the entries are listed in full, with character wrapping. This allows me to find the entry that I want. But once selected the displayed choice is now truncated with ellipsis so I can't see the identity of the item that I selected.

How can I make this field wider on the CP screen? I have plenty of horizontal width - the Playa field is in a Matrix field that has two columns, each at 50% of the screen.


texts:
I am getting "Invalid payment method" error from Store, even though the payment method I have set on the for is a valid and activated payment method configured within Store.

In this case, I am using the Stripe payment method, with:

Name: Stripe
Short Name: stripe

My tag looks like this:

    {exp:store:checkout
        next="cart/confirmation"
        return="cart/confirmation"
        form_class="lj-form lj-same-addresses"
        require="name|address1|region|country|postcode|payment"
        payment_method="stripe"}
      ...
    {/exp:store:checkout

What could be causing this error to show up?

Edit: After some investigation, somehow it appears that the payment method is being changed to "manual". Still digging.

Edit 2: Okay, the manual issue and the "Invalid payment method" were caused by using some sample code that had the manual payment method thing hard coded as a hidden input.

Now what's happening instead is that I'm sent back to the checkout page without any error appearing. I have inline errors turned off.

Edit 3: Traced this down to an API error from Stripe. It returned the following error, but with inline errors off, Store did not display it.

{
  "error": {
    "message": "Your card was declined. Your request was in test mode, but used a non test card. For a list of valid test cards, visit: https://stripe.com/docs/testing",
    "type": "card_error",
    "code": "card_declined",
    "charge": "ch_1ZMhyw6xhWwp3R"
  }
}

So in this case I used one of their recommended test cards and it worked, but that doesn't solve the problem with Store, which is that it doesn't appear to display error messages returned from (some?) APIs in some cases. I had to hack a call to show_error() into Merchant_stripe_response::__construct to get it to show up:

elseif (isset($this->_response->error))
{
    $this->_status = self::FAILED;
    show_error($this->_response->error->message);exit;
    $this->_message = $this->_response->error->message;
}

Here's a link to my full template: http://pastebin.com/5zrnQvJN


texts: Playa field within a Matrix field - not displaying results

texts:
I'm trying to get information from a Playa field within a Matrix field, and nothing is showing. It's a very simple task, and I can't see where I've made a mistake:

{model}

{if "{model_production}"=="Yes"}In production.{if:else}Out of production.{/if}

{if model_link}

Best source for this model:

{link_title}
{/if}
{if model_painter}

Example painted by {model_painter}{title}{/model_painter}

{/if}

{/model}

Any ideas? Thanks in advance.


texts: Expresso Store: Return page from payment gateway error: form has expired

texts:
I'm using a custom gateway (offsite) for exp-resso store; upon successful transaction the return page gives out "This form has expired. Please refresh and try again."

The transaction is captured albeit not completed.

I'm using the default store_example templates.

Edit: EE ver 2.9.3; Exp-resso 2.5.0


texts: Unable to edit any existing entries on EE2 to EE5 upgrade

texts:
Description of the problem

I have recently upgraded an EE2 to site up to EE5.3.0 and now I am getting PHP errors when trying to open ** any ** existing entry in the EE CP. The site has no third-party modules installed. Just the standard EE install with default modules etc.

Error Messages

Exception Caught
HEX color needs to be 6 or 3 digits long
ee/Mexitek/PHPColors/Color.php:41
Stack Trace: Please include when reporting this error
    •   #0 ee/EllisLab/ExpressionEngine/Model/Status/Status.php(116): Mexitek\PHPColors\Color->__construct('blue')
    •   #1 ee/EllisLab/ExpressionEngine/Model/Channel/ChannelEntry.php(1176): EllisLab\ExpressionEngine\Model\Status\Status->getOptionComponent()
    •   #2 [internal function]: EllisLab\ExpressionEngine\Model\Channel\ChannelEntry->populateStatus(Object(EllisLab\ExpressionEngine\Model\Content\FieldFacade))
    •   #3 ee/EllisLab/ExpressionEngine/Model/Content/FieldFacade.php(105): call_user_func(Array, Object(EllisLab\ExpressionEngine\Model\Content\FieldFacade))
    •   #4 ee/EllisLab/ExpressionEngine/Model/Content/FieldFacade.php(115): EllisLab\ExpressionEngine\Model\Content\FieldFacade->ensurePopulatedDefaults()
    •   #5 ee/EllisLab/ExpressionEngine/Model/Content/ContentModel.php(363): EllisLab\ExpressionEngine\Model\Content\FieldFacade->setData('closed')
    •   #6 ee/EllisLab/ExpressionEngine/Model/Content/ContentModel.php(404): EllisLab\ExpressionEngine\Model\Content\ContentModel->setDataOnCustomFields(Array)
    •   #7 ee/EllisLab/ExpressionEngine/Model/Content/ContentModel.php(315): EllisLab\ExpressionEngine\Model\Content\ContentModel->initializeCustomFields()
    •   #8 ee/EllisLab/ExpressionEngine/Model/Content/ContentModel.php(147): EllisLab\ExpressionEngine\Model\Content\ContentModel->usesCustomFields()
    •   #9 ee/EllisLab/ExpressionEngine/Model/Channel/ChannelEntry.php(657): EllisLab\ExpressionEngine\Model\Content\ContentModel->getCustomField('title')
    •   #10 ee/EllisLab/ExpressionEngine/Controller/Publish/Edit.php(517): EllisLab\ExpressionEngine\Model\Channel\ChannelEntry->getDisplay(Object(EllisLab\ExpressionEngine\Model\Channel\Display\DefaultChannelLayout))
    •   #11 [internal function]: EllisLab\ExpressionEngine\Controller\Publish\Edit->entry('505')
    •   #12 ee/EllisLab/ExpressionEngine/Core/Core.php(241): call_user_func_array(Array, Array)
    •   #13 ee/EllisLab/ExpressionEngine/Core/Core.php(110): EllisLab\ExpressionEngine\Core\Core->runController(Array)
    •   #14 ee/EllisLab/ExpressionEngine/Boot/boot.php(151): EllisLab\ExpressionEngine\Core\Core->run(Object(EllisLab\ExpressionEngine\Core\Request))
    •   #15 index.php(152): require_once('...')
    •   #15 index.php(152): require_once('...')

Environment Details:
 - Version: 5.3.0
 - PHP Version 7.2.23
 - MySQL Version 5.7.28
 - OS: macOS Catalina 10.15.1
 - Web Server: Apache

Many thanks in advance for any help on this! :-)

Regards

Karl


texts:
Has anyone ever had a similar issue in Cartthrob and have a possible solution

Product XYZ has 4 color options and 4 size options

color A in small is $46
color B in small is $45
color C in small is $40
color D in small is $40

color A in med is $66
color B in med is $65
color C in med is $57.50
color D in med is $57.50

color A in lrg is $86
color B in lrg is $85
color C in lrg is $75
color D in lrg is $75

color A in XL is $107
color B in XL is $105
color C in XL is $92.50
color D in XL is $92.50

How do I build a product that easliy allows the user to pick the size from a select list and the colour and CT calculate the price?


texts:
I have a Field Pack Dropdown field for authors to select an icon. In the field settings I have the following options:

&#x1F440; : View
&#x1F4DD; : Compose
&#x1F512; : Lock
&#x1F513; : Unlock
&#x1F511; : Key
&#x1F4DE; : Phone
&#x2709; : Mail
&#x1F4AC; : Chat
&#x1F465; : Users
&#xE6D0; : Location
&#xEB85; : Connection
&#x201C; : Quote
&#xED50; : List
&#x2699; : Settings
&#x1F4C5; : Calendar

This shows up in the publish page as expected:

<select name="field_id_5">
    <option value="&#x1F440;">View</option>
    <option value="&#x1F4DD;">Compose</option>
    <option value="&#x1F512;">Lock</option>
    <option value="&#x1F513;">Unlock</option>
    <option value="&#x1F511;">Key</option>
    <option value="&#x1F4DE;">Phone</option>
    <option value="&#x2709;">Mail</option>
    <option value="&#x1F4AC;">Chat</option>
    <option value="&#x1F465;">Users</option>
    <option value="&#xE6D0;">Location</option>
    <option value="&#xEB85;">Connection</option>
    <option value="&#x201C;">Quote</option>
    <option value="&#xED50;">List</option>
    <option value="&#x2699;">Settings</option>
    <option value="&#x1F4C5;">Calendar</option>
</select>

The problem is the field is not storing the data, and on the front-end calling the field outputs a null value.

Any ideas what the issue could be, or any workarounds I could try?


texts: Search member custom fields from control panel

texts:
Is there a way to search custom member fields from the control panel? This question was asked in April 13 (Is there a good control panel add-on that provides more robust member search functionality?) but I'm hoping something's changed since then!

If there's no way to do it, how complex would a module would it be to build? I wouldn't be building myself – just want an idea of how feasible outsourcing something like this would be...


texts: I am new to EE and one of my sites is running very slow and tends to hang sometimes when users try to register or upload documents. What would be the cause of this? I have already enabled the gzip output setting in EE, but is there another way to free up memory of an EE website or any way I can resolve this?


texts: Solspace Freeform not updating, mySQL error?

texts:
I'm getting database errors when trying update Freeform.

I think I've narrowed it down to one specific mySQL statement, but I don't know enough about mySQL to know what's wrong, I just know that this section from db.freeform.sql causes a syntax error at line 4:

CREATE TABLE IF NOT EXISTS `exp_freeform_fields` (
    `field_id`                      int(10) unsigned    NOT NULL AUTO_INCREMENT,
    `site_id`                       int(10) unsigned    NOT NULL DEFAULT 1,
    `field_name`                    varchar(150)        NOT NULL DEFAULT 'default',
    `field_label`                   varchar(150)        NOT NULL DEFAULT 'default',
    `field_type`                    varchar(50)         NOT NULL DEFAULT 'text',
    `settings`                      text,
    `author_id`                     int(10) unsigned    NOT NULL DEFAULT 0,
    `entry_date`                    int(10) unsigned    NOT NULL DEFAULT 0,
    `edit_date`                     int(10) unsigned    NOT NULL DEFAULT 0,
    `required`                      char(1)             NOT NULL DEFAULT 'n',
    `submissions_page`              char(1)             NOT NULL DEFAULT 'y',
    `moderation_page`               char(1)             NOT NULL DEFAULT 'y',
    `composer_use`                  char(1)             NOT NULL DEFAULT 'y',
    `field_description`             text,
    PRIMARY KEY                     (`field_id`),
    KEY                             (`field_name`),
    KEY                             (`site_id`)
) CHARACTER SET utf8 COLLATE utf8_general_ci ;;

Can anyone spot the issue?

Update: for what it's worth, I just tried to install the latest Freeform for the first time on a different EE installation and got the same error.


texts:
I've setup a template group called 'landing' and i want to allow users to visit a clean url like the following:

http://domain.com/url_title

At the moment it works if I include the template group (http://domain.com/landing/url_title) so how can I remove the template group from the url?

Through a .htaccess file?

Appreciate any guidance.

N


texts: How do I check for an empty field in a child entry?

texts:
I have an Event entry which can has one child Location entry. The Location entry has two fields: Title and Floor. Sometimes floor is empty so I'm doing this in my template to see if there's a floor entered:

<h2>
  {event_location:title}
  {if event_location:floor}
    , {event_location:floor}
  {/if}
</h2>

...and it's not working. Title always shows up and Floor never does unless I take off the conditional, which I don't want to do because I don't want a comma followed by nothing when there's no floor. Any ideas?


texts: Count of Favorited entries in Solspace Favorites in a specific channel tag with a specific user

texts:
I need to show the number of times a user has favorited a specified set of entries. I've tried many ways, including different combinations of using Stash and Mx_calc, but have been unsuccessful.

The exp:favorites:count tag doesn't seem to allow this without help. I would like it to do something like {exp:favorites:count entry_id="130|132|463" favorites_member_id="CURRENT_USER"}, but this is not allowed.

I've tried setting the numbers of each entry with Stash and then adding them with Mx_calc but can't get that to work (below). Maybe there's a simpler way?

{exp:stash:set name="total-favorites" parse_tags="yes"}
  {exp:channel:entries channel="topic-content" search:topic-title="advertising" category="5" search:topic-view="IS_EMPTY" dynamic="no" parse="inward"}
    {exp:favorites:count entry_id="{entry_id}" favorites_member_id="CURRENT_USER"}
  {/exp:channel:entries}
{/exp:stash:set}

  {exp:mx_calc parse="inward" expression="sum({exp:stash:get:blah name="total-favorites"})"}
{!--OR--}
{exp:stash:parse trim="yes" parse="inward"}
  {exp:mx_calc parse="inward" expression="sum({exp:stash:get:blah name="total-favorites"})"}
{/exp:stash:parse}


texts: Item information missing from order details view

texts:
I've just updated to Store 2.0.5 and have noticed that item information is missing from the order details admin screen - see image.

Item information is shown as expected in my order invoice template, using the {exp:store:orders} tag, however it's missing from the admin screen, exported order PDF and email templates (within the {items} tag pair).

All other order details in the admin screen are correct (billing and shipping details, order total etc.)

I presume this is a bug?

EDIT: I forgot to mention, this applies to all orders - those in the system prior to updating to Store 2.0.5, and new orders placed after updating.


texts: Expresso Store - Optionally automatically register members during checkout

texts:
In the summary of features of Store at: https://exp-resso.com/store it states you can "Optionally automatically register members during checkout"

But I can't find the setting in the control panel or any documentation on how to set this up...

Can anyone point me in the right direction please?

-- EDIT --
Figured this one out ->
This is possible via the register_member parameter of the checkout form or by using a register member field in the form. Adrians answer below has full details.

Thanks for your help!


texts:
Latest EE and Latest Store.

I've setup PayPal Express in settings and have {exp:store:checkout payment_method="paypal_express"} on the final checkout page. I have the submit button as <input type="submit" name="submit" value="Place Your Order">. When I click the button nothing happens. I was expecting to be whisked over to PayPal. Any ideas what I've missed?

Thanks
Lee


texts: I have a user complaining of slow connection to EE. It happens when the user clones an entry. It sometimes times out, sometimes it's just very slow. This is a homepage entry and it gets cloned frequently. Any thoughts?


texts:
This is a cross-post from the Devot:ee forums.
http://devot-ee.com/add-ons/support/ce-cache/viewthread/9173

I’m hoping I’m missing something simple.
My {exp:ce_cache:escape} tag pair simply seems to be ignored.

Templates aren’t unusual.

{exp:ce_cache:it}
  {exp:ce_cache:escape}
    {current_time format="%g:%i:%s"}
  {/exp:ce_cache:escape}
{/exp:ce_cache:it}

The time never changes.
When I look at the cached file through the CP, it shows the cached time, not the tag.


texts:
I am having a bit of a issue when it comes to using MXNotify module and submitting a form with safecracker.

What's happening is if all fields are correct, it will save the post, and send the email, but it breaks my javascript submit, as it does a 302 redirect, and doesn't respond with the JSON my submit function is expecting. Therefore I can't use ajax to show the success. Are there any ways to still get my custom email sent on updating this channel, and still get a JSON response on success?

If this helps:

  {exp:safecracker channel="deal_registration"
  return="deal-registration" error_handling="inline" json="yes"
  include_jquery="no" class="registration-form" safecracker_head="no"}

The URL is site.com/deal-registration and it posts back to it self to show the AJAX responses.


texts:
I can't seem to get the User register form to honor settings in Custom System Messages.

I had this issue before (see: CSM & Solspace User) and was supposed to be fixed in the recent new release of User.

The new release seems to have fixed other forms but not the register form.

I have tried setting (12) Registration Form (On Error) & (13) Register Member(On Error) to redirect to a specific template in CSM, but I always get redirected to the General Error template.

Any help is appreciated.


texts: How to show a certain page based on the selection of prior two pages

texts:
First page would be 10 street light bases to select from. Next page would be available light posts to select from (not all light posts are available for each base). Then the final page would be a details page about the base and post that were selected.

I have three channels: poles, bases, pairings.

I've tried this using playa, which works up until page 2. On page one I can select a base, then the next page shows me related options of poles for that particular base selected, but then there's really no way for me to relate my "pairings" entry of that particular pole and base combination.

Really hitting a wall with this.


texts: Having trouble pulling titles from another channel into a sidebar

texts:
This is what I currently have, Ive only been using ee for about 1.5 wks so I'm pretty sure I can't do what I am below. The index and and practice_dangers templates are in the same folder group but had to be in two different channels. Any help is appreciated.

{exp:channel:entries channel="aop" disable="pagination|categories|member_data" dynamic="no"}

{title}

        {exp:channel:entries channel="practice_dangers" dynamic="no" disable="pagination|categories|member_data"}

            {title}

        {/exp:channel:entries}

{/exp:channel:entries}


texts: How to duplicate entries in ExpressionEngine 3

texts:
So I used MX Cloner in EE2 but it doesn't support EE3.
Anyone know any tools for duplicating a channel entry in EE3? Need to create a few variations of landing pages.


texts: Order Item shows Number after option name

texts:
I have a confirmation email which shows the customer which item & option they have selected. For some reason it is also showing numbers "1 0" after the option name (Think these are pulled from the matrix field):

Option Name 1 0

How can I remove these numbers?

Here is the code I am using:

{exp:cartthrob:submitted_order_info}
{exp:cartthrob:order_items order_id="{entry_id}"}{item_options}{option_name}{/item_options}{/exp:cartthrob:order_items}
{/exp:cartthrob:submitted_order_info}


texts: Delete all cached files and refresh in one strike

texts:
Is it with Ce Cache possible to delete all cached files in one strike and have them immediately regenerated?

/David


texts: EEHarbor Transcribe 1.6 and EE 2.8 - error

texts:
We're getting the following error when we upgrade to 2.8 and 1.6 transcribe:

Parse error: syntax error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_STRING or '(' in /httpdocs/system/expressionengine/third_party/transcribe/mod.transcribe.php on line 9

Think it must be due to them require PHP 5.3+ but we're running 5.2.10, anyone able to recommend a fix for this?


texts:
I am using EE version 2.9.2, transcribe 1.6.1 and Freemember 2.3.2

I have a login form which works fine in the original language with error_handling set to inline.  However, when I viewed in the translated language the error_handling parameter causes the form to redirect to the home page without the language prefix when a bad username is entered.

If I remove error_handling-"inline" the problem disappears but of course the error shown is in the original language not the desired one.

Does anyone know how to fix this?
Cheers


texts:
I have a client who is requesting a member portal. The concept  is to have two parts to this portal. Part one is from the Employer side. Employer logs-in  to access Employees resumes and information and can search by keyword or industry. Part Two is from the employee side. The employee logs-in and can update their information, add keywords, upload a photo and resume and have access to restricted content.

I'm not too familiar with member management in EE so my questions are this:
1. Are there any plugins that could make this project run smoother such as User?
2. Is it possible to have a way that an employer can view the details of an employee, and download that data to a file? Would that require a plugin?
3. Is there an advance search that I would need for this type of project?

thanks
jeff

Here is an update
I now have the docs to begin and I want to make sure these are the right plugins to use on this project. I am think of using Zoo Visitor, Safe Cracker, Super Search and Grid Field. The idea behind the project is that there are two types of members, employers who want access to employees and employees who want access to employers. Both need to be able to update info and search for each other and both login to the site.


texts: Does native EE have good menuing options?

texts: I've used Taxonomy or NavEE previously, but I'm now considering keeping it simple, if possible, and using native EE controls for menuing. Anybody have good solutions?   That is, something for my content author to use to manage the menu that isn't hard-coded templates. Perhaps some way of utilizing categories (the only thing I know of that has hierarchy)?


texts: Can't do "if" conditional with FreeForm field unless I output the field elsewhere?

texts:
Inside an {exp:freeform:entries} tag, I can't do something like {if freeform:count == 1} unless I output {freeform:count} somewhere in the loop. It can be above or below the conditional.

Doesn't work:

{if freeform:count == 1}
Submissions
{/if}

Works:

The count is {freeform:count}

{if freeform:count == 1}
Submissions
{/if}

I'm using EE 2.73 and FreeForm Pro 4.2.0

Thanks for any ideas


texts: The uploaded file exceeds the maximum allowed size in your PHP configuration file

texts: Hi can you help? im going to upload some mp3 but doesnt work that problem can you help in EE2, where can find the solution ?thank you


texts: Simple redirect with Redirectee doesn't work

texts:
In my Templates Global Preferences I've set the 404 page to go to pages/404.html template.
In that template is a redirect to the 404 page:

{exp:redirectee:redirect status="404" url="/404/"}

It doesn't work, instead it shows a blank page, as if that tag wasn't in the template.

I have used the redirectee redirect on another template on the same site, and it works!

What am I doing wrong?


texts: Low search for using grouped category dropdown

texts:
Just looking for a pointer in sorting out a search form.

I am implementing a property search form.

I have a search field and a couple of range filters, and a grouped category drop down.

See here...

{exp:low_search:form collection="cottages" class="walk-search-form" search_mode="all" query="{segment_3}" result_page="cottages/results"}

                    Search for a cottage:

                    <input type="text" name="keywords" id="keywords" class="span5" />

                    Choose a county:

                    <select name="search:cottage_county">
                      <option value="">Filter by Category</option>
                      {exp:channel:categories cache="yes" refresh="60" channel="cottages" disable="category_fields" style="linear"}
                      {if parent_id == '0'}{if count != '1'}</optgroup>{/if}<optgroup label="{category_name}">{/if}
                      {if parent_id != '0'}<option value="{category_id}">{category_name}</option>{/if}
                      {/exp:channel:categories}
                     </select>

                    Sleeps a Max of:

                    <select name="range:cottages_sleeps_max" class="span2">
                      <option value="">All</option>
                      <option value="1;">1 or more</option>
                      <option value="2;">2 or more</option>
                      <option value="3;">3 or more</option>
                      <option value="4;">4 or more</option>
                      <option value="5;">5 or more</option>
                      <option value="6;">6 or more</option>
                      <option value="7;">7 or more</option>
                      <option value="8;">8 or more</option>
                    </select>

                    No of Beds:

                    <select name="range:cottages_beds" class="span2">
                      <option value="">All</option>
                      <option value="1;">1 or more</option>
                      <option value="2;">2 or more</option>
                      <option value="3;">3 or more</option>
                      <option value="4;">4 or more</option>
                      <option value="5;">5 or more</option>
                      <option value="6;">6 or more</option>
                      <option value="7;">7 or more</option>
                      <option value="8;">8 or more</option>
                    </select>

                    <button class="btn btn-large btn-block btn-blue" type="submit">Search</button>

                {/exp:low_search:form}

So far the search field and the range dropdowns both work.

The category dropdown displays correctly, i.e.

Parent Cat
-child 1
-child 2
Parent Cat 2
-child 1

But when I perform a search on it, it returns every entry.

The other thing is that I want the category, and range values to remain selected once the search has been performed.

Low helped me before in a similar search form, but i've tried everything that was suggested there, but as this is a slightly different scenario, they don't seem to be working :(

UPDATE

OK I seem to have the category search working.

Changed <select name="search:cottage_county"> to <select name="category:cottage_county">

This returns the right results, but is there a way for me to display the name of the category that they selected in the results page?


texts: Expresso Store Shipping not updating cost

texts:
I'm using Expresso Store 2.2.0 and the only item in the CART that does not update is the 'Shipping' costs.

Instead of the price showing it reads '3' which is the number of the store Shipping Method in the STORE CP.

The code I'm using is:

Shipping Country

{field:shipping_country}
{if error:shipping_country}
{error:shipping_country}
{/if}

<input type="submit" name="update_cart" value="Update Shipping" class="btn" />

From this I get an output for a list of counties which is correct, but not a price!

The price should output put in this code:

Subtotal: &pound;{order_subtotal}

Discount: &pound;{order_discount}

Shipping to: {shipping_country_name} by {shipping_method}&pound;{order_shipping}

Total &pound;{order_total}

But it only putputs the number '3'.

I am using the same code on a live site with STORE 1.6 and it works fine!

Any ideas.


texts: Capturing Attendee Information using Cartthrob 2.5 and EE 2.9

texts:
Has anyone had any luck adding the ability to capture attendee information, (i.e. name, company) as part of the Cartthrob 2.5 checkout with EE 2.9?

We're stuck and can't upgrade and would appreciate any suggestions.


texts:
In EE2 there was a mechanism whereby the user/admin could move the channel fields about on a channel entry edit page and change their width to wrap short ones next to each other etc
This allowed the page to be much more compact and let the field creator create fields in any arbitrary order as they could be reordered later.

Is this still available in EE3? At present it appears as though the fields are displayed in 'natural' order and no reordering is present which results in some very long channel entry pages


texts:
I'm having issues with Structure module... When I try to make a child page, it does this...

But if I remove it as a child page, and refresh it puts the styling back but the page is in totally the wrong place?!

Why could this be happening?


texts: What are the implications running EE 2.7 on php 5.1?

texts:
We've been developing a mayor update for one of our clients website. Their current website runs EE 2.5. We've made the change to 2.7 for several obvious reasons. And everything worked beautifully on the development server.

Then I noticed that the client hosting is running PHP 5.1. Which is sufficient for EE 2.5. But not for 2.7. Php should be version 5.2.4 or higher. Also, the php upgrade isn't possible without a linux upgrade, so said the hosting company. And that can't be done before the deadline next week.

So my question is, what are the implications of running EE 2.7 on php 5.1?


texts: MasterConfig seems to retain reference to Republic Variables somewhere

texts:
I just performed a clean install of EE onto a local virtual host, and having checked the installation by successfully logging into the CP, followed that up by bringing into play the MasterConfig files. I copied those over from my last project since I had them modified from the basic FocusLab files (lots of config-variables added in, extra commented headers for my own reference, etc). I had used these same files to switch another project over to MasterConfig system just a few days ago, with no problem.

So I updated the system folder location in my webroot index.php and admin.php files, as normal, made sure all the folders were in the correct locations, and checked that all was okay by going to log into the CP. And got the response 'Unable to load the following extension file: ext.republic_variables.php'. Now, the project that these MasterConfig files were grabbed from did use Republic Variables. And since this is a virgin install, of course those extension files are not present. But since the only change between the successful CP login and the failed one was the introduction of the MasterConfig files (and some folder moving), I have to conclude that somewhere in the MasterConfig files there must be a reference to Republic Variables. But I absolutely cannot find it anywhere. Does anyone have any ideas what code in MasterConfig might be causing this?

Thanks.


texts: Fresh EE 5.5.2 Install, Javascript Error That Breaks The Admin Control Panel: Please Help!

texts:
This is related to another question I asked earlier but the problem is not caused by what I thought.

I did a fresh install of EE on a different server and I'm getting the same js error of Uncaught TypeError: EE.grid is not a function.

I've been pulling my hair out all day trying to debug this, and since it's on a fresh install of EE I'm really, seriously thrown off.

This is happening on any admin Control Panel form that uses file grids. So any type of channel entry that uses images, or evencategories as they have an image uploader, is completely broken and unusable.

When I check the error in the Network tab of the chrome dev tools, this is in the Headers section:

Request URL: http://example.com/admin.php?S=0&D=cp&C=javascript&M=combo_load&plugin=ui.touch.punch,ee_table_reorder&file=cp/global_end,cp/grid,cp/files/picker,fields/file/cp,fields/file/file_field_drag_and_drop,fields/file/concurrency_queue,fields/file/file_upload_progress_table,fields/file/drag_and_drop_upload,fields/grid/file_grid,cp/date_picker&v=1556219934
Request Method: GET
Status Code: 406 Not Acceptable

All I've done with this new project is install EE, let it set up the example project (because it's easier to work off of), add an htaccess file according to the EE docs, and get my editor set up with ftp to the server. I have not touched or installed any modules.

As far as I can tell this has something to do with the combo loader(?????) But if so, why? Would would a brand new install on a brand new server START with errors that make the whole CMS unusable?

Really at a complete loss with this and if I can't get it figured out I'm going to have to abandon this CMS completely, which would really suck because I've invested a lot of time into learning its template system and really, really like working with it.

Any help at all would be immensely appreciated.

[EDIT] Some further strange behavior is that when I post an entry using the example site's blog setup, which contains a video, audio, and image field, it will save those items to the entry weather or not there's anything in them.

HIT SAVE

HIT SAVE AGAIN (without changing anything)

What on earth could possibly be going on here? Again, this is a brand new install of EE 5.2.2


texts:
I’m stuck into something about File and Relationship and looking for help. I’m wondering if there is a way in EE2 to have something like Playa but for file relationship.

Basically, I have a bunch of images updated on a folder “my_images” via the File Manager. I would like to get a field on a channel that could list all the files of that specific folder so admins could pick one of already stored images. The same way for instance, Playa is doing when you want to create a relation between an entry to another entry. But in that case it would be between a file and an entry.

I know there are numerous ways to handle that using channel images for instance but the thing is we already have a bunch of images stored on the folder “my_image” uploaded via the file manager plus, we don’t really want to have an “Upload” functionality on the channel entry. Only a way to select a stored image of the folder “my_image” that would create a relationship.

If someone knows something about it, a module or a direction to look into, it would be greatly appreciated.


texts: Some of my primary fields that are used on multiple forms (like First Name, Last Name, Email) are now missing from the list of available fields. If I try to recreate the field, it says a field with that name already exists. On the forms that use those fields, the space where they should be is blank. Is there a limit to the # of fields, and did these early-created fields get dumped as I added more and more over the years? Any way to repair these missing fields?


texts:
Looking for help doing what I hope is a simple task.

We have approximately 2500 entries that are need to be reclassified (choose new category ID).  I am hoping that a simple MySQL script can identify all the records with a certain category id, and then change the record from that id - to a different id.

Of course if there is an easier way than a script, let me know!

Need to change all the entries that have ID:2 - to ID:4

Thanks EE community!


texts:
We're setting up a new website that uses Cartthrob (v2.70 currently installed) and need to use Worldpay as the payment gateway.

Selecting 'RBS Worldpay Redirect Payment Gateway' and testing seems to hook us into what looks like a legacy part of Worldpay. I believe they have a new API that looks and works in a much nicer way.

Do newer versions of Cartthrob have the newer payment gateway? Can we get around this by upgrading?

Or, do we have write our own payment gateway for this?

Any advice gratefully received!


texts: Including a javascript ad within an entry?

texts: Is there any way to add a javascript within an EE entry? I wanted to use one of the new Amazon affiliate ads within a post to easily be able to present a selection of products specific to that post. But these ads are javascripts and natively that does not seem to work within an entry.


texts: expression engine extension development - make a field required

texts: In a custom extension, can I make a settings field required to have a value without having a create a custom form using settings_form()?


texts: Pull dynamic entries using Ajax template on multiple Structure entries with Relationships

texts:
I've created two separate Structure entries, both using the Page template below with Relationship entries. It works fine if I only want one page, but I've made a second page to pull different Relationship entries for each page, but now it's just pulling the same relationship entries for both pages. I tried using entry_id="{entry_id} in the {exp:channel:entries} on the recipe_ajax/index template and that didn't work...only works when I explicitly write the id.

Is there another way to parse the ajax template so that I can use the dynamic entry_id="{entry_id} to pull correct entries? Or am I missing something completely obvious?

Here's my Page template:

{embed="layouts/index"}

{!-- PAGE CONTENT --}
{exp:stash:set parse_tags="yes"}

    {exp:channel:entries cache="no" refresh="60" disable="category_fields|member_data|pagination"}

        {stash:content}

                                {recipes_landing_recipes limit="15"}

                                            {recipes_landing_recipes:title}

                                {/recipes_landing_recipes}

                            view more

        {/stash:content}

    {/exp:channel:entries}

{/exp:stash:set}

And here's the recipe_ajax/index template:

{exp:channel:entries channel="recipes_landing" cache="no" refresh="60" disable="categories|category_fields|member_data|pagination}

        {recipes_landing_recipes offset="15"}

                    {recipes_landing_recipes:title} {recipes_landing_recipes:entry_id}

        {/recipes_landing_recipes}

{/exp:channel:entries}

UPDATED ANSWER:

I was able to resolve by calling the entry_id_path in the Page template {entry_id_path='recipe_ajax/index'} and referencing this path in the ajax file like so entry_id_path="{entry_id_path}


texts: Set action dynamically in Charge subscription form

texts:
When using Charge to handle subscriptions is it possible to set the Charge Action (not the HTML form action parameter) dynamically based on which subscription option has been chosen in the form?

For instance, I have 3 different subscriptions available.
Depending which subscription is chosen the member is to be put into a different member group. This was to be done using Charge's Actions.

But it appears that you must set the Action as a parameter on {exp:charge:form}.

Is it possible to set the Action dynamically within the form?


texts: point of sale / in-store or phone orders

texts:
deciding between expresso store and bigcommerce. i need to be able to either sync inventory to POS system such as quickbooks. or use e-commerce that allows for POS point of sale orders in-person or over the phone.

does expresso store have any POS features to take cash payments in store or over the phone orders?


texts: How to collect convenience fee with Cartthrob, based on total fees

texts:
I am utilizing CartThrob to collect invoice payments, since several of my clients have been requesting it. The invoices can be up to $20,000. If my clients want to pay by CC, then I want them to pay the CC charges, loosing $300 on a $10,000 invoice hurts just a little bit. So I am trying to get CartThrob to calculate the convenience fee. I have tried several things…

Using CartThrobs shipping function

This works quite well. I can set the shipping fee to be a percentage of the total fees and CartThrob automatically adds it to the total to be processed. But then in the future, if I ever need to charge shipping fees, I can't.

Using add_to_cart function

I began to test this. First I added a product and used the add_to_cart function to add it to the cart. But parameters from the add_to_cart_form such as allow_user_price and price do not work,  they don't override the price set in the product entry.

This was quite promising because I would use the delete_from_cart function just before the add_to_cart function so I could always reset the price., not in


texts:
I get this error out of the blue, when trying to login to the CP, possibly because the ISP made some updates to PHP/MYSQL.

An Error Was Encountered
Unable to load the requested file: account/login.php

EE is version 2.1.6 - an older customer site, has been stable for a number of years, has lots of new entries every day. No dev work going on.

Customer can't go to a later EE version until later this year. Rolling backups are taken each working day and kept for five days. The earliest backup in the current series also throws the error, which mmeans that last successful superadmin login was more than five days ago.

The front end appears to be unaffected according to the customer.

ANy pointers as to where to start looking appreciated. Similar report affecting EE 2.7.2, made on Ellislab forum in February has no replies.


texts: Setting blank value for first option for dynamic Freeform select "load from channel field" list type

texts:
I am trying to set up Freeform Pro's dynamic Select list types (Country, State, and Load from Channel Field). I would like the first option to be an empty value / label pair like:

  -- Select --

For country and state I was able to insert a blank value by modifying the corresponding language files (hackish, but it could work). Or I could of course just copy and paste a regular value/label list into the Newline Delimited Textarea option.

Unfortunately, I cannot figure a way to include a blank value/label pair for the "Load from Channel Field" option. I would like to keep this dynamic so the list is automatically updated without forcing the client to remember to update the field as the channel data changes.

Has anyone been able to find a better solution for inserting an empty value/label pair for the first entry in these dynamic selects?


texts: Script to change member password on many different sites

texts:
We host around 20 different expressionengine run sites for a variety of clients.  In those sites we have an admin account with the same username on each site.  When one of our employees leaves the company we have to go and manually change the passwords on each site which is manual and time consuming.

I am thinking of writing a script to do this automatically.  My plan would be to create an object or array of all the sites db connections and loop through them and run a sql query to change to password where exp_members.username equals our admin username.

Before I go through this process I am wondering how others manage this as maybe there is a better way.

Thanks


texts: Best method for mulit-file upload in Freeform?

texts:
Looking for advice on the best way to handle multiple file uploads associated with a Freeform entry.  We have a form that collects basic text-based demographic information, but it also requires several 4-5MB uploads.

I'd like to avoid asking users to zip into one file, but doing 4-5 http uploads seems dangerous.  Any great ideas?


texts: Solspace FreeForm Pro Multi Page Form URL + Structure = 404

texts:
Multipage form on a site that is using Structure. The form is built in the Composer and added to the page with a custom field from the publish page.

Obviously page one works as the url is www.domain.com/name-of-page-with-form

But when I click through to page two of the form www.domain.com/name-of-page-with-form/page2, I am getting a 404 page not found. So I tried using Freebie to ignore that last segment but it looks like it is making FreeForm ignore the segment as well, thus displaying the first page of the form still.

Is there a way to use Structure and FreeForm Pro Multi Page forms??


texts: Channel entry notification isn't working on entries created by SafeCracker

texts:
Channel entry notifications are not working on new entries generated by SafeCracker. This seems to be a recent development, as the notifications were working previously. The only change has been in updating EE versions and a change to the client's SMTP servers. We tried switching to PHP and Sendmail, and now are working with a new SMTP account.

I believe I've narrowed it to a problem between SafeCracker and the channel. Email notifications are working via FreeForm and Tools > Communicate.

Strangely, I did receive 2 new entry notifications via the forms submitted by real users, but the client (whose email address was also in the recipients list) did not, and I was unable to replicate success using test form submissions.

Channel entry notifications do work just fine when manually adding a new entry in the Control Panel.

Has anyone experience something similar to this, or have any ideas about what might be preventing notifications from being sent?

EE version 2.5.2


texts: Zoo Visitor registration and autologin issues

texts:
I am trying to allow the user to autologin on registration rather than activate via email, and have set 'Require Member Account Activation?' to 'No activation required' and turned 'Require email confirmation' to 'No' in Zoo Visitor settings.

With these both set, when I go to register on the front end, it still sets my new account to 'Pending' and doesn't autologin - which I need it to do.

I have tried the standard expressionengine registration form and that worked, creating a new member with the correct member group, rather than 'Pending', so I believe it to be a problem with Zoo Visitor somewhere, but can't figure it out.

I have looked in the database to see if any of the settings are different to what are set in the CMS but everything looks okay.

I have tried adding the 'allowed_groups' parameter and also the autologin but none of these help.

I have also tried adding a field with the member group_id within the registration form but that had no effort either.

The zoo visitor login form still works too so I'm a bit stumped really!

Any help would be greatly appreciated!


texts: Playa tag outputting relative fields in multiples

texts:
I have the following code:

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

Related Articles

            {exp:playa:children entry_id="{entry_id}"}
                {cf_general_related}

{title}

                {/cf_general_related}
            {/exp:playa:children}

{/exp:channel:entries}

The problem I'm finding here is, my related entries are outputting in multiples, so if I have 2 relative entries, I get 4 results in the template, if I have 4 relative entries, I get 16 items output. And each item repeats so many times.

Why?


texts:
I'm using the query module to return entries for a particular page. I would like to create a drop down list where the user can change how the entries on those pages are sorted.

is it possible to use something like Mo' Variables to add something in the URL string that I can pick up and use in my query to change my sort on page refresh?

Something

www.site.com/category_name/?sort=rating_rank

I think I'm reaching for straws, so need some good guidance.


texts:
I've been locked out of a site I'm developing as my password is no longer accepted.

What I've done so far.

Reset the password 10+ times
copied password hash from database of site I know works into password hash of site I can't access
generated an md5 hash and pasted in to password field
reset password again via /admin.php hash changed in database,but I still can't access
tried all of the above after clearing cookies
tried again in 3 different browsers

There are no other registered users that I can use to login, member registration has been turned off in the CP so I can't create a new user either.

Have also checked the exp_reset_password table and all values appear to be empty.

Please advise.


texts: How to only execute some code within a specific time frame?

texts:
I have a site where users can use a SafeCracker form to submit an entry. Once they submit the entry, they are taken to a confirmation page that also includes some code to automatically send out a series of emails.

I'm running into a problem where users bookmark the confirmation page, and then every time they go back to it, the emails are sent again.

Is there a way I can compare the entry date/time of the post with the current time, so for example, the emails will only be sent out within five minutes of the original post?

I know I could do something like:

{if entry_date == current_time}
    email code here
{/if}

but that would only work if the times matched exactly. Is there a way to specify a range of a few minutes?


texts: Comparing Stash variable to segment fails

texts:
I asked this also on Devotee - apologies for posting in both places but I guess here is better.

I’m setting several variables in the Channel Entries loop like so:

  {exp:stash:set name="var1" parse_tags="yes"}{custom_field}{/exp:stash:set}

Then outputting them later outside the channel like this:

  {exp:stash:get name="var1" default="uff" process="end"}

Which works fine. But then I want to compare “var1” to Segment_3 but can’t find any syntax/conditional which will work…either it outputs nothing or both conditions are true - have tried with If/else plugin too.

I’m guessing it’s parse order? What’s the way to compare these values? I tried with this conditional:

  {if segment_3 == "{exp:stash:get name='var1'}"}Success!{/if}

And it returns nothing when the condition is actually true and the ‘success’ when it’s false. Which is odd. Anyone shed any light?


texts: The fluid field dropdown is overflowing the bottom of the control panel

texts: I have around a dozen fields in a fluid field and as I add them the add fluid field drop down over flows the bottom of the page and I cant see most of them. (see image below).Is this a bug or recognized problem


texts:
I'm currently working on a Multi Language site with Biber's MLS.

I'm using Exp:presso's RSVP addon (it is brilliant!) to manage attendance.  The only problem is that I have 2 event channels (one per language) named events_en and events_es.  On the RSVP preferences you can only pick one channel to show the RSVP Form in.

What I want to do is have the RSVP Form show up on the default language Event page and on the tranlated Event page, but that the attendance is shared between them, since its really only one event.

I have the RSVP form and attendance code in a embed template, and tried using conditionals and custom fields to pass the entry_id of the default language event, but the form still doesn't show up.

Anyone has any idea on how to get RSVP working with two channels?  Thanks!