texts: I am Receiving "Fatal error: Using $this when not in object context in /libraries/Core.php on line 575" on sending FreeForm, i am using ee 2.10.1 and freeform 4.2.4


texts: Working with multiple categories group, show not empty from only one category group

texts:
I am having trouble showing a list of map categories that are not empty but they must work in conjunction with the countries category group

No children categories needed

My categories setup

Map group

Topographic
Geophysical
Geology

Countries group

Kenya
South Africa
Tanzania

Eg:

Entry one - Kenya & Geology
Entry two - Kenya & Geology
Entry three - Kenya & Geophysical

My result should be on this address

url: /maps/category/kenya

Geophysical
Geology

Any ideas, no luck with native categories and Gwcode categories tags. Any help is appreciated.


texts: Prevent first entry to be shown conditional

texts:
I'm trying to prevent that the first entry has a certain class in this case the class 'wide'. I call the class from a channel-field called {format}.
But i want the use the param orderby="random" in the entries tag.

Now sometimes the first entry with the class 'wide' is still shown, how can i prevent this?

This my code so far..

{exp:channel:entries channel="work" orderby="random"  status="open|featured"}

{if count == 1 AND '{format}' != 'wide'}

                                {templates}
                                {title}

{if:else}

                                {templates}
                                {title}

{/if}

  {/exp:channel:entries}


texts: Rich text editor - losing carriage returns in headings

texts:
Carriage returns (ctrl-enter or coded br tags) work fine in paragraphs but they're not saving in the middle of a h1 heading.

Has anyone else encountered this or am I taking crazy pills?

Thanks
Amanda


texts:
I'm hoping to provide a client with the ability to filter custom member fields in the CP.

I know Zenbu has this functionality for channels, but I need it specifically for members and their [custom] fields. Does anyone know if anything like this exists? I can build something front-end, but would like to keep it isolated to the CP.

Edit: I realize this is probably best accomplished with something like Zoo Visitor. Just wondering if there is anything else out there :)


texts:
I installed Freemember as an addon module for Expression Engine. I'm still getting this error when I try to set up registration form.

Error

In order to use the encryption class requires that you set an encryption key in your config file.

I'm using EE 2.7.3 and PHP Version 5.3.2 . I have added this to my config.php file

$config['encryption_key'] = "l49YGsxdrq3VcNJdxTWQcaKKhBKREfNb7nbGSxOxBPMnHumuzCVkwa9xoTFHkBq";

So why I am getting this error message?

Thanks you,
randy


texts:
Currently we are using Postmaster to send all automated email, we are very happy to see such module.

Unfortunately we got some issues with it;

All email that has been sending with the ExpressionEngine service got equal signs in the mail. We already check the NewLine and the CRLF, but all options are failing.
Mandrill gives us some error: "Mandrill Service - Error: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed"

PHP version : 5.3.13 and running Wamp.


texts: Adding playa entry into field (e.g. related gallery)

texts:
Anyone know the best way to add a playa related entry (in this case a gallery) directly into a post area (wygwam or richtext field for example)? I need to have flexibility here, so could be 1 or 20 galleries per entry.

In WP you'd be able to drop in the [gallery] tag or similar (can't remember exactly, it's been a while). I was thinking there'd be some kind of integration with playa+wygwam but I can't see anything in the wygwam field config/advanced settings...

Any ideas?


texts: Can Exp:resso Store handle recurring subscriptions

texts:
We're about to embark on a new project where we need to deploy a relatively simple shop, subscriptions, donations and the ability to offer subscribed members a percentage discount on all purchases in the shop. Users should also be able to opt to become members (paid subscription) at checkout. It would be great if this then facilitated an immediate percentage discount on products in their basket too.

I've been looking at Exp:resso Store (which I love because it embraces the 'products as entries' approach) but I'm not familiar enough with it to know if there's a way to use it to achieve all or any of the above.

Our client currently uses a very old version of X-cart and PayPal, as I understand it this creates formal subscriptions in PayPal.

Is it reasonable to expect that Store would be able to fulfil the requirements above or am I looking at the wrong product?


texts: detect data is coming from which channel?

texts:
{exp:channel:entries channel="schedule_action | schedule_sports | schedule_hd" }
        //how do i detect channel here.I need to use a if condition.
{/exp:channel:entries}

Based on data is coming from which channel,I need to provide some condition.

How do i give a {if channel=="ch_1"}{/if}


texts: Unserialize error for libraries/Extensions.php after EE upgrade from 2.5.2 to 2.5.5

texts:
I've tried upgrading EE from 2.5.2 to 2.5.5. The upgrade apparently went through OK, but when I login to the CP - none of the menu items are clickable and also the rounded borders on the menu items don't display.

I'm also getting an error when CP tries to load the following as a script;

admin.php?S=0&amp;D=cp&amp;C=javascript&amp;M=load&amp;file=css&amp;theme=default&amp;v=1356028154

When I check the Sources tab in Chrome Developer tool, I see the following;

A PHP Error was encountered

Severity: Notice

Message:  unserialize(): Error at offset 0 of 88 bytes

Filename: libraries/Extensions.php

Line Number: 229

(function($, doc) {var adv_css = {".button a,\n.cp_button a,\n#search form,\ndiv.contentMenu,\n#mainContent .formArea,\n#navigationTabs .first_level:not(.addTab)":{"border-radius":"10px"},"#navigationTabs .addTab":{"border-radius":"none"},"#accessoryTabs li,\n.heading":{"overflow":"hidden","border-top-right-radius":"10px","border-top-left-radius":"10px"},".tableFooter,\ndiv.pageContents,\n#mainContent #publishForm":{"border-bottom-right-radius":"10px","border-bottom-left-radius":"10px"},".newTemplate":{"border-radius":"5px"},"#write_mode_writer":{"border-radius":"15px"},".js_hide":{"display":"none"}}, selector, compat_el = doc.createElement("ee_compat"),supported = false,inline_css = [],use = ["", "", "$1$3"],prefixes = " webkit o ms moz Moz".split(" "),corners = " -top-right -top-left -bottom-right -bottom-left".split(" "),regex = /^-(.)(.*?)-(.)(.*)/,css_radii = {};$.each(prefixes, function(i) {var name = i ? this+"BorderRadius" : "borderRadius";if (compat_el.style[name] !== undefined) {if (i == 0) {use = ["border", "-radius", ""];}else if (i < 3) {use = ["-"+this+"-border", "-radius", ""];}else {use = ["-moz-border-radius", "", "-$1$2$3$4"];}supported = true;return false;}});$.each(corners, function(i, v) {if (use[2]) {v = v.replace(regex, use[2]);}css_radii["border"+this+"-radius"] = use[0]+v+use[1];});function process_css(key, value) {if (key.indexOf("@") == -1) {var apply_radius = "",sep = (supported) ? ":" : " ",jQel;for (radius in css_radii) {if (value[radius]) {apply_radius += css_radii[radius]+sep+value[radius]+";";delete(value[radius]);}}if (supported) {inline_css.push(key+"{"+apply_radius+"}");}else {jQel = $(key).css(value);if (apply_radius) {}}}else if (key.indexOf("@"+EE.router_class) != -1) {$.each(value, process_css);}}if (supported) {$.each(adv_css, process_css);var head = doc.getElementsByTagName("head")[0],ss_txt = doc.createTextNode(inline_css.join("\n")),ss_el = doc.createElement("style");ss_el.setAttribute("type", "text/css");ss_el.appendChild(ss_txt);head.appendChild(ss_el);}else {$(doc).ready(function() {$.each(adv_css, process_css);});}})(jQuery, this.document)

Wondered if anyone else had this issue? :/


texts: How to upload file using ajax and file extension validation using ajax in freeform?

texts:
I'm using Freeform 4.0.11. I have a form, which i want to upload file using ajax and also check file extension validation using ajax.

Except file upload field, every fields value are submitted, but i can't got attachment file.

So, How i can upload my file using AJAX and how to i can check file extension validation using AJAX.

FYI:

Freeform 4.0.11

ExpressionEngine  2.5.5

Thanks!
Jignesh


texts: Site failing after update to Playa 4.4.2

texts:
I'm in the process of updating my local and staging-environments to EE2.6. I've just updated Matrix, Wygwam and Playa to their latest (EE2.6 compatible) versions, and I'm now getting these errors on the front-end:

Error Number: 1054

Unknown column 'rel.parent_is_draft' in 'where clause'

SELECT DISTINCT(rel.child_entry_id) AS entry_id FROM exp_playa_relationships rel WHERE rel.parent_entry_id = 1 AND rel.parent_is_draft = 0 ORDER BY rel.rel_order

Filename: /Applications/MAMP/hqdocs/static/third_party/playa/mod.playa.php

Line Number: 739

Backend is functioning fine, all fields are displaying and saving as expected, just the front-end fails... Any thoughts?


texts: Pagination outside of channel entries tag?

texts:
I have a channel entries loop that I need to paginate but am having an issue with the location of the pagination code.

The channel entries loop surrounds a table structure but is inside the main table tags as to not repeat them.

The pagination code needs to be outside of the main table tags.

How can I achieve this?


texts: Is it possible to randomize the row output of a matrix field?

texts:
I would like to use a parameter like orderby="random" on a matrix field to randomize the order of the row output.

{matrix_field orderby="random"}
  {row_title}
{/matrix_field}

I tried this, but got a MySQL error.  Is this possible?


texts: Using Freemember, I get this message "This website only accept registrations through the main registration form"

texts:
I'm using Freemember for my registration form. When I click submit, I get this message: "This website only accept registrations through the main registration form". Any ideas on how to resolve this?

I found this same issue here https://getsatisfaction.com/addonbakery/topics/_this_website_only_accept_registrations_through_the_main_registration_form but the solution provided is for the Simple Registration add-on.

The solution is a config variable, however I cannot find anything in the Freemember documentation that says I need to set a config.

I'm using EE 2.8.1, MSM, and Freemember 2.3.1.


texts: Re-importing live EE2 Playa/Matrix data into local EE3 upgrade using native Grid/Relationship fields

texts:
I’m currently updating an EE2 to EE3 which has a lot of playa / matrix custom fields. On my local ee2 dev site I am about to run the Playa/Matrix importer addon to get duplicate field data into the native grid/relationship fields. However my problem is that eventually I will have to get the current live site EE2 data re-imported into the upgraded ee3 site before going live, but I need to somehow get the current live ee2 playa/matrix data into the new ee3 native grid/relationship fields. I am aware of using the DataGrab addon for importing purposes, but not sure how to accomplish this field data transfer (ie. Playa/Matrix field data into new Grid/Relationship fields?
Does anyone have any suggestions or previous experience with this?
Many thanks in advance :-)


texts: Performing an actual redirect to 404 page

texts:
I'm having no trouble displaying a 404 page when using {redirect="404"}, but is there any way to actually redirect to my 404 page? ie. changing the url to /404 ?

I've seen Ryan's blog post, but he uses PHP to do it. Should I just write a simple plugin to do that?

Update:
I've created a plugin for this behavior.
https://github.com/jazonv/fourofour


texts: "This license is in use on multiple domains" - Privacy & Security issue?

texts:
I noticed the following in my EE account: "This license is in use on multiple domains, please make sure each use is authorized". The reason seems to be due to me having EE installed on development server and production.

This got me wondering and concerned though. I'm guessing EE has some sort of homing beacon? What information is being exposed from my server to EE? I know it's at least exposing my domain names. Anything else I need to be concerned about from a privacy and securiry perspective?

Are any of the addons doing something similar?


texts: Grid with Bootstrap carousel not displaying correctly.

texts:
I am using bootstrap carousel with EE's Grid and the page is not displaying correctly. All 3 slides are displaying on top of each other. I think its the "active" class is being applied to each slide in each div. I think I need a conditional on the active class but I don't know how to do it.

here is the code:

                  {exp:channel:entries channel="slider" {snp-disable}}
                  {home_page_slider}

                   {/home_page_slider}
                    {/exp:channel:entries}


texts: Trouble Creating an accessory that will access DB field and modify value

texts:
I am creating an accessory that will access a table that I have created to update the value of a field. I have it set up so that if the value is 1 the page will be rendered and if the value is 0 the page will not be rendered. I have gotten everything down except getting the value to change via the access class.

What I currently have is a link that will execute an onclick to call another function within the accessory that evaluates the value of the field and then decides to change the value based on that.

Here is a sample of the code:

/**
 * The Blog Switch Accessory
 *
 * @package ' '
 * @author Jeremy Herb
 */
class Blog_switch_acc {
var $name         = 'Blog Switch';
var $id           = 'blog_acc';
var $version      = '1.0';
var $description  = 'This accessory will allow you to turn your blog page on and off';
var $sections     = array();
/**
* Constructor
*/
public function Blog_switch_acc()
{
$this->EE =& get_instance();
}

//onclick execute function to change value
public function set_sections()
{
$this->sections["On/Off Switch"]  = "
  On/Off

To turn the blog on or off click the button above
";
}

public function switcher()
{
$query = $this->EE->db->query("SELECT blog_on_off FROM db_options");
$set_to = $query == false;
$this->EE->db->query("UPDATE db_options SET blog_on_off = $set_to");
}
   }

/* End of file acc.blog_switch.php */
/*Location:./system/expressionengine/third_party/blog_switch/acc.blog_switch.php*/

My apologies if it looks bad on the forum, this is my first post here.

Thanks, Jeremy Herb


texts:
So I have a custom plugin that inserts data from a csv.  I build up the array of data and then issue the insert command.

Right before the insert I am dumping my array so I can see the values which are not encoded.  This is what is displayed.

array(6) {
  ["entry_id"]=>
  string(4) "2642"
  ["site_id"]=>
  int(1)
  ["channel_id"]=>
  int(1)
  ["field_ft_5"]=>
  string(4) "none"
  ["field_id_5"]=>
  string(28) "17524.mp4"
  ["field_ft_6"]=>
  string(4) "none"
  ["field_id_6"]=>
  string(3) "30"
}

Then the exception shows the sql query that is built out and this is what the query looks like.

INSERT INTO `exp_channel_data`
(`entry_id`, `site_id`, `channel_id`, `field_ft_5`, `field_id_5`, `field_ft_6`, `field_id_6`)
VALUES
('2642', 1, 1, 'none', '1\07\05\02\04\0.\0m\0p\04', 'none', '3\00')

 //

My code is right there is.  Nothing in between my dump and my insert.  I have done something similar to this in the past and never saw anything get encoded.

var_dump($channel_data);
$this->EE->db->insert('channel_data', $channel_data);

Any tips on where to look would be appreciated.  I am on EE 3.5.6 with php 7.2.

Thanks

Edit 1
Here is what I am doing to build the array so I am not converting object to array that I am aware of.

// exp_channel_data
                        $channel_data = array(
                            'entry_id'      => $entry_id,
                            'site_id'       => $this->_site_id,
                            'channel_id'    => $this->_clip_channel_id
                        );

                        foreach($this->_clip_channel_fields as $clip_channel_field)
                        {

                            if( isset($clip_channel_field['field_name']) )
                            {

                                $field_id = 'field_id_' . $clip_channel_field['field_id'];
                                $field_ft = 'field_ft_' . $clip_channel_field['field_id'];

                                $channel_data[$field_ft] = $clip_channel_field['field_fmt'];
                                $channel_data[$field_id] = ${$clip_channel_field['field_name']};

                            }
                        }


texts: Editing customized matrix fields in safecracker

texts:
I have a SafeCracker form where I've hard-coded the Matrix fields to customize the way they are displayed. It is working fine as an entry form, but I'm having trouble using it as an edit field.

My safecracker tag is wrapped in a channel entries tag, so I can get the values of the form fields when editing, but using the code below, when I have multiple matrix rows, the edit field just shows a single row, but with multiple values within each field.

Is there a way to get it to display multiple rows when editing?

    <input type="hidden" name="form_name_relationship[row_order][]" value="row_new_0" />
    Name
    <input type="text" name="form_name_relationship[row_new_0][col_id_14]"  value="{form_name_relationship}{name}{/form_name_relationship}"/>
Relationship
<input type="text" name="form_name_relationship[row_new_0][col_id_15]" value="{form_name_relationship}{name}{/form_name_relationship}"/>

+ Add Name &ndash; Remove Name


texts: Create a menu from a different channel on page with separate channel loop

texts:
I have a channel rendering a page. I need to make a menu for a different channel with in that page. the two do not seem to be able to work independently. Is there a way to do this

maybe something like this, only this doesn't work correctly.

Thanks for looking!

  {exp:channel:entries
   channel="channel-1-content"
   limit="1"
   }

{some content}

{/exp:channel:entries}

{exp:channel:entries
   channel="channel-2-menu-items"
   limit="10"
   }

{title}

{/exp:channel:entries}

  {exp:channel:entries
   channel="channel-1-content"
   limit="1"
   }

{some content}

{/exp:channel:entries}


texts: How to make a playa field required in a safecracker form?

texts:
How do I make a Playa select field required in my Safecracker rules?

I have a playa field in my safecracker form as follows. The field generally works fine, but I cannot get Safecracker to require it. I've tried rules:training_teams="required".

<select id="training_teams" name="training_teams[selections][]">
    <option value="">Select Race</option>
    {embed="includes/_training_teams" selected="{training_teams:child_ids}"}
</select>

The embed file is as follows:

{exp:channel:entries dynamic="no" status="open" channel="rally_athlete_program"
    orderby="title" sort="asc" date_field="event_date"
date_field_start="{current_time format='%Y-%m-%d'} 12:01 AM"}
    <option value="{entry_id}">{if entry_id == embed:selected}selected{/if}{title}</option>
{/exp:channel:entries}


texts:
I know, still asking newbie questions.

Maybe it is because I am running version 2.3.1, but it's not working for me.

I have a custom field options and I am trying to sort the checkboxes.

I have tried the following:

1) In the products template

{product_sizes markup="ul" orderby="product_sizes" sort="asc"}

2) In the Channel Fields> Edit Field> Field Options, I have literally ordered the options manually. They have to come up in order, right? Nope

Let me know what I am missing or is this a known issue?

Thanks in advance

Update with example:

32 oz, 32 servings

4 oz, 4 servings

16 oz, 16 servings

I would like it to be:

4 oz, 4 servings

16 oz, 16 servings

32 oz, 32 servings

I have also tried:

{product_sizes markup="ul" orderby="field_list_items" sort="asc"}

Should I change the database type for field_list_items from "text" to something else. I have read in other postings, that it cannot sort unless you change the type to INT, but how would I have a list of checkboxes, if it is type INT?


texts: Parent page showing content from child page instead

texts:
I am using Structure to create and order the pages.

I am having an issue where the parent page is displaying the data of the child page instead of it's own data.

All 3 pages uses the same channel.

Parent
 - Child 1
 - Child 2

Eg instead of displaying the title Parent it is displaying child 2

 {exp:channel:entries channel="page" dynamic="off" url_title="{segment_2}" limit="1"}
   {title}
  {/exp:channel:entries}


texts:
I have a channel image field set in one of my channels. Curiously this field allows me to delete an image from one channel entry but on another channel entry it allows me to unlink the image instead.

I can't find out why.
Can anyone explain?


texts: "Time Ago" addon that has multilanguage support

texts:
I am using this addon to show time in a "time ago" format. The problem with this one is that it doesn't seem to support multilanguage.

Is there an add-on or a PHP solution that supports this kind of feature?


texts:
Does anyone have any thoughts on how best to handle the import of large chunks of body copy that are already formatted with basic html (p tags and br's mostly)?

Datagrab can obviously do the heavy lifting of the actual import, but I'm then left with textareas full of compacted, marked up copy that's hard to read.

Should I look to replace all the p tags with newline/carriage returns prior to import and then import them to a field with 'xhtml' formatting (or an RTE field), or is there some other way?


texts: Allow PHP? not working in Expression Engine 2.11 templates

texts:
Has anyone experienced before having issues with the Allow PHP? option in the Templates not working?
Suddenly, the server stopped recognizing the PHP code and it is now not able to show anything nor using custom PHP code in there.
Any help would be truly appreciated.
Thanks!


texts:
Relinked a bunch of Assets in Wygwam fields to take of advantage of the dynamic link to the Asset. Moved the Assets from a local file upload source to and S3 source. As a result, assets paths now look like this when rendered in  a Wygwam field on the front-end:

<img src="{assets_412:http://s3.amazonaws.com/API/images/about/filename.jpg}" />

Looks like a bug? Is there a fix for this?


texts: How do I toggle alerts when a core file is modified?

texts:
A month ago my site got hacked. I only found out there was a problem because I got an email alert saying 'a core file on your site has been modified'. Now we've been hacked twice in the same week by the same people, and I haven't had that email alert telling me to fix it. How do I re-enable this?

And yes, I am focusing on trying to stop them from hacking at the moment.


texts: Is there a way to modify the CP home screen?

texts: Are there any plugins available to update the layout / available list of actions on the home screen once a user is logged in?


texts: Should I use a channel entry tag pair for quotes?

texts:
I have small modules in the sidebar on various pages throughout my site.  I'm including different quotes for different pages in the sidebar modules.  Originally I hard coded them into the template, but I started thinking that I may want them to be editable by whoever will be administering the content on the site.  I don't want to use snippets because you can't give someone access to snippets without also giving them access to the templates, and I'd like to not do that.

I was thinking of using a channel entries tag pair to display that content, and just have a "quotes" channel.  Is that the best way to do that as far as speed goes?  How heavy are those tag pairs if I disable all the unneeded properties?


texts: I have to import about 1,000+ Categories that are 4 levels deep. Is there an easy want to bulk import categories? I have DataGrab, but I don't think it handles Categories. I would also rather not mess with the database if I don't need to, as suggested here: What's the best way to bulk add or import categories?


texts: Low events field in Channel Form, customising

texts:
I'm trying to use the low events fieldtype within a Channel Form for users to submit events.
If I use the field shortname {field:myfieldname} it works fine, but I am trying to customise the look of the fields/datepicker, mainly because the form is responsive and the EE styled datepicker breaks the design.

I have tried the same approach as what I would normally do with matrix, and have seen what HTML is outputted by the field.

<input type="text" name="event_date[start_date]" value="2014-03-23" class="date start-date hasDatepicker" maxlength="10" id="dp1393520784651">
<input type="text" name="event_date[start_time]" value="" class="time start-time ui-timepicker-input" autocomplete="off">
—
<input type="text" name="event_date[end_time]" value="" class="time end-time ui-timepicker-input" autocomplete="off">
<input type="text" name="event_date[end_date]" value="2014-03-23" class="date end-date hasDatepicker" maxlength="10" id="dp1393520784652">
<input type="checkbox" name="event_date[all_day]" value="y" checked="checked"> All Day

Now I have changed the class in order to target a different datepicker (using pickadate.js) and this works but it would not save the dates/times, so I'm not sure what else I would need to change? Presumably the values?

Also, I do not need an input for the end date/time as I only want the user to enter a single date and start time.

Any pointers on this would be greatly appreciated! Thanks!


texts: Nolan is working fine, but it is possible  to insert a drop down inside a cell, as the Field Pack dropdown inside a Matrix cell?


texts: Checkbox field, displaying li with different classes

texts:
Nice to see a Stack site for EE. Used S Overflow many times in past, and has always been much help.

Anyhow, heres my first question...

I have a site that lists dog walks. I have a checkbox field for the walks channel. Users submit walks via a safecracker form, and the checkbox field is used for users to select certain features present at the walk.

At the moment I display the field on the single entry view page, using the following...

Walk Features:

                  {walk_features}

                      {item}
                      Find out more

                  {/walk_features}

This produces me a simple list on front end. Now I want to spice up that list slightly, by having a different icon/image & description for each option (contained within the checkbox field.)

So I need to output (HTML) something like:

Option 1

A short description of option one

Option 2

A short description of option two

etc

I'm just not quite sure on how to get to that from my checkbox field. I have had P&T checkbox field & Low Options suggested, however I am still unclear as to how I can get it from the current field.

I have over 130 entries which use this field, and was hoping that I could output it directly from the existing field. I could add a new field if necessary, and go through transferring the data, but I obviously would like t avoid that if possible! Any help greatly appreciated! :)


texts:
EE 2.7.3c / WYGWAM 3.3.2 / MSM / Native EE File Management

All images/files are loaded on one domain but need to be used on both. WYGWAM is returning relative paths so the client has to manually insert the correct domain.

Is there a way to get WYGWAM to return a full path?


texts: Is there a limit to the number of categories I can create?

texts: In Expression Engine 3.x is there a limit to the number of categories and sub-categories I can create? If so, how many?


texts:
I want public users to have the possibilty to "order" a file (that is already on the webpage/server) through a form. After the form has been submitted successfully, an email should be sent to the entered user email with the file that has been ordered. Payment is not necessary! It's only about the sending process!

I'm searching a way to do it with an addon, but can't find one. Postmaster, Firemail, Forms, Freeform - all those are great tools for building forms, or sending mails - but no possibility to easy handling file attachements? Is there any other?

Might it be a solution to use PHP-Code within the "FormSubmitSuccessful"-Template and do it "on the fly" with phpmailer, for instance? Any other possible solutions?


texts: Expresso Store, Authorize.net, Firefox security warning

texts:
My client's online store uses the Authorize.net SIM payment gateway (off-site payment gateway), so when placing a credit card order, a customer is redirected to an external secure page hosted by https://secure.authorize.net/etc... When a customer checkout using Firefox, after they submit their credit card details on the external secure page, they get a popup window saying "Security Warning -- The information you have entered on this page will be sent over an insecure connection and could be read by a third party. Are you sure you want to send this information?". I'm not sure how long this has been happening, but customers have only been complaining about it recently.

I'm at a loss for what to do to fix this. Is it an Expresso Store issue? An Authorize.net issue? An SSL issue?

Any help would be greatly appreciated.

Versions:

EE v2.9.2
Store v2.5.1


texts: Turning off fuzzy search conditionally in Super Search

texts:
Is it possible to conditionally turn off fuzzy search results in Super Search via search syntax and/or setting the fuzzy_distance parameter to 0?

We have a case where we want to apply fuzzy search to all except for certain saved URLs (or certain search results).


texts: Exp:resso Store - Customise Admin Order Print View

texts:
I'm trying to work out what the best way to edit the layout of the Order Print View is so that it can fit with my clients Packing Slip Paper (it has special sticker areas for the shipping address etc).

In earlier versions of Store there was a PDF view that I have been able to edit, but since 2.4.0 this has been replaced with an HTML print view. This HTML view seems to be the main display template with print CSS applied. I'm always lothe to start editing core files, so any pointers much appreciated.

Any pointers much appreciated.


texts: Does anyone know what this means? I get this when I submit my form ... ?


texts: Getting USPS shipping working with Store 2.20

texts:
I am running Store 2.20 and EE 2.73 and I am running into Fatal error: Uncaught exceptions using the USPS shipping extension 1.01. Everything is installed and I have two products with all the dimensions added such as weight, length, width and height. Here is an image of my product entry info.

Every time I try to add a product to the cart, I always get a fatal error stating that Dimensions are missing for package; unable to calculate postage. Additional Info: All dimensions must be greater than 0.

This is a pretty intrusive error when someone is just trying to add a product to their cart and not actually going through the checkout process. Does Store call the shipping method every time a product is added to the cart? Is there a better way to handle the uncaught exceptions than killing the site? Also, I get a guzzle error stating that Couldn't resolve host 'production.shippingapis.com' [url] http://production.shippingapis.com/ShippingAPI.dll?. This happens pretty regularly as well. I have used Store 1.65 with the same credentials without any issues for the past few months and only started seeing this when I upgraded to Store 2.20. At the moment, a user can not even add products to a cart without one of these errors happening.


texts: How to create entries w/ relationships through Models

texts:
I am having trouble saving a ChannelEntry with a relationship to another ChannelEntry using the Models Service.

The following produces no errors, but a row in exp_relationships with no field_id

$entry = ee('Model')->get('ChannelEntry')
  ->with('Children', 'Channel')
  ->filter('entry_id', 330)->first();

$child = ee('Model')->get('ChannelEntry')->filter('channel_id', 7)->filter('title', 'My title')->first();

$entry->Children[] = $child;
$entry->save();

In the Control Panel, this shows no relationships have been set. I can manually add the field_id to the DB, and poof the relationship is created.

So how do I create the relationship with the field_id column populated?

Also, I noticed it also creates a row in the exp_channel_data_field_23 (the id of my relationship field) with a NULL value in the field_id_23 column. Adding a relationship through the Control Panel does not produce a row in this table at all, however...


texts:
I am trying to use EE tags inside RTE Editor.  But it is not working. So Can i use EE tags inside RTE Editor? if yes then how can i use?
Currently using below in Textarea (Rich Text)

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

{title}

{/exp:channel:entries}

But it is displaying as it is.
So Please how can i use? Looking for quick response


texts: Obtain first paragraph of channel entry text field

texts: Is there an easy way to get the first paragraph of a wysiwyg. In this instance I want to add it without the enclosing <p> tags into a Facebook og:description tag.


texts: Setting up MSM on EngineHosting Account?

texts:
This might be more general than I'm titling it, if so, I'll correct that.

I am migrating an ExpressionEngine MSM site to EngineHosting. The site was built by another developer. I am upgrading it from EE 1.x to 2.x and doing ongoing site maintenance.

My directory structure is like so:

/public_html/www_site_1
/public_html/www_site_2
/public_html/www_site_3

The www_ convention is mirrored from what the original developer set up on another hosting account.

Where I'm confused is if I visit my preview URL supplied by EngineHosting, how do I configure it the server knows to look in the /www_site_1 folder?

Currently, both visits to either http://[PREVIEW_URL] or http://[PREVIEW_URL]/www_site_1/ fail. I get a 404 on the first (no index page) and Internal Server Error on the second.


texts: How can I send the contents of an entry using the built in communicate module

texts:
What I would like to have is a channel entry that will be a monthly newsletter that can be updated each month and then available on the site to view. But that can also be used as the content for sending out to a small mailing list using the communicate module managed within the EE control panel.

In the perfect world I'd like it to be converted to use inline css to reduce problems with some email clients. When I do it manually I use the Mailchimp inliner tool but that's getting complicated for non-techie users.

The Chimper addon by Dukt would probably be perfect and be better for larger mailing lists but the project has been on hold for a long time now.

Any ideas for a simple easy to use solution?


texts: How to use angular js inside expression engine. Is there any article or tutorial is available for this. Thanks in advance.


texts: EE1 plugin that outputs data from third-party oracle database, can I cache?

texts:
I developed a plugin that pulls data from an oracle (oci8) database.

One function in the plugin returns hundreds of rows and the page takes about 5 seconds to load. I have caching turned on, so when you refresh the page, it takes .03 seconds to load.

I was wondering if there is any other things I could do to speed up or cache the data.

I have optimized the sql scripts and use oci_pconnect


texts:
I am working on an online directory that will allow users to use the input range type element(a slider) to search for prices. Can this be used with low search this element, or would anyone recommend any other add-ons that would allow for the slider/input range to search my db whilst still using EE.

Thanks

Jam


texts:
I have a unique scenario in that I'd like to log into a single EE site but with a wildcard subdomain.

for example:

dev.example.com
staging.example.com
fishfood.example.com
anything.example.com
*.example.com

I'd like to be able to log into any one of these sites and stay logged into them all.

The examples I've seen involve knowing the number of domains for which to set the cookies, but in my case I can't anticipate every possible subdomain.

Any suggestions?


texts: EE1 to EE2 upgrade error SELECT field_id FROM exp_weblog_fields WHERE field_type = 'date'

texts:
getting this error during an EE1 - EE2 upgrade:

A Database Error Occurred
Error Number: 1146

Table 'dbname_ee.exp_weblog_fields' doesn't exist

SELECT field_id FROM exp_weblog_fields WHERE field_type = 'date'

Filename: updates/ud_200.php

Line Number: 1930

NEW ERROR::

{"error":"
Error Number: 1064<\/p>\n\n

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`wm_name` varchar(80),\n\t`wm_type` varchar(10) DEFAULT 'text',\n\t`wm_image_path` v' at line 3<\/p>\n\n

ALTER TABLE `exp_member_groups` ADD \n\t`wm_id` int(4) UNSIGNED AUTO_INCREMENT,\n\t`wm_name` varchar(80),\n\t`wm_type` varchar(10) DEFAULT 'text',\n\t`wm_image_path` varchar(100),\n\t`wm_test_image_path` varchar(100),\n\t`wm_use_font` char(1) DEFAULT 'y',\n\t`wm_font` varchar(30),\n\t`wm_font_size` int(3) UNSIGNED,\n\t`wm_text` varchar(100),\n\t`wm_vrt_alignment` varchar(10) DEFAULT 'top',\n\t`wm_hor_alignment` varchar(10) DEFAULT 'left',\n\t`wm_padding` int(3) UNSIGNED,\n\t`wm_opacity` int(3) UNSIGNED,\n\t`wm_x_offset` int(4) UNSIGNED,\n\t`wm_y_offset` int(4) UNSIGNED,\n\t`wm_x_transp` int(4),\n\t`wm_y_transp` int(4),\n\t`wm_font_color` varchar(7),\n\t`wm_use_drop_shadow` char(1) DEFAULT 'y',\n\t`wm_shadow_distance` int(3) UNSIGNED,\n\t`wm_shadow_color` varchar(7),\n\t`id` int(10) UNSIGNED AUTO_INCREMENT,\n\t`upload_location_id` int(4) UNSIGNED DEFAULT '0',\n\t`title` varchar(255),\n\t`short_name` varchar(255) DEFAULT '',\n\t`resize_type` varchar(50) DEFAULT '',\n\t`width` int(10) DEFAULT '0',\n\t`height` int(10) DEFAULT '0',\n\t`watermark_id` int(4) UNSIGNED,\n\t`file_id` int(10) UNSIGNED AUTO_INCREMENT,\n\t`cat_id` int(10) UNSIGNED,\n\t`sort` int(10) UNSIGNED DEFAULT '0',\n\t`is_cover` char(1) DEFAULT 'n',\n\t`site_id` int(4) UNSIGNED DEFAULT '1',\n\t`rel_path` varchar(255),\n\t`status` char(1) DEFAULT 'o',\n\t`mime_type` varchar(255),\n\t`file_name` varchar(255),\n\t`file_size` int(10) DEFAULT '0',\n\t`field_1` text,\n\t`field_1_fmt` tinytext,\n\t`field_2` text,\n\t`field_2_fmt` tinytext,\n\t`field_3` text,\n\t`field_3_fmt` tinytext,\n\t`field_4` text,\n\t`field_4_fmt` tinytext,\n\t`field_5` text,\n\t`field_5_fmt` tinytext,\n\t`field_6` text,\n\t`field_6_fmt` tinytext,\n\t`metadata` mediumtext NULL,\n\t`uploaded_by_member_id` int(10) UNSIGNED DEFAULT '0',\n\t`upload_date` int(10),\n\t`modified_by_member_id` int(10) UNSIGNED DEFAULT '0',\n\t`modified_date` int(10),\n\t`file_hw_original` varchar(20),\n\t`can_admin_upload_prefs` CHAR(1) DEFAULT 'n' NOT NULL AFTER `can_admin_channels`<\/p>\n\n

Filename: \/home\/user\/admin\/expressionengine\/libraries\/Smartforge.php<\/p>\n\n

Line Number: 122<\/p>"}

this is line 122:

if (ee()->dbforge->add_column($table, array($k => $field[$k]), $after_field))


texts: Strict URLs / Removing one template group name

texts:
I would like to have 'strict URLs' enabled, but see I have to include the template group name in the URL for the pages to link correctly (else the 404 shows).

All groups are fine but one. I have a group called 'site' where all misc pages are listed.

Is there a way to have only this folder removed similarly to index.php with the htaccess?

Thanks


texts: Channel entry details - what's the template group/template?

texts:
I have a template the loops over the Channel entries and displays some basic information about each entry. I'd like to have each item link to more details about that particular entry. It seems that I should be linking to the one of the following: {url_title}, {entry_id}, {comment_entry_id_auto_path}, or {permalink}. The problem is that the resulting values of those variables do not seem like they would map to a template group + template. For example, {permalink} gives me something like this:

http://domain.com/2

(NOTE: I have removed index.php via .htaccess)

Shouldn't the URL be something like this:

http://domain.com/products/2/

Then maybe in my templates /products/index, I do a check on {segment_2} to decide if I should be displaying the details page or not? So where does the details template go?


texts: Removing index file from template group?

texts:
I am having an issue where if users try to access a page that doesn't exist within a template group, it displays a blank page instead of the 404. I believe this is due to the fact that the template groups have an index file in them that has no code. I would like to have a 404 page appear any time someone accesses a URL that doesn't exist within my site but I believe I have to remove the index files from my template groups for this to happen.

Does anyone know how I can accomplish this or a different solution to getting my 404 page to display instead of the blank white page?


texts:
I have a site that was just updated to EE 2.5.3 and since then it looks like any image I had in a file field that had spaces in the file name now appears to have + in place of the space.  THis has caused all the image sources to be broken.

ie: an image with the name file name.jpg that was uploaded  now appears to be file+name.jpg so the image is broken when viewed in the browser.


texts: Store 2.5 - updating orders within the control panel

texts: With the last release of Store, the ability to edit an order within the control panel was added. Is there a hook which can be used to do something once an order has been updated?


texts:
What do i need to consider when using a ssl ceritifcate on my website. I have an sll set up on my server but at the moment i have the .hta file redirecting everyone to http://.

This is because if i visit the site over https:// there is a few things wrong.

Low Search doesnt work,
Free Form doesnt work,
Free members - basically asks if your sure you want to login as some things might not be secure.
Control panel has no styles or javascript.

However the general website loads and operates fine.

Do i need to change some files to reflect https:// for everything to work properly?

Thanks for any help.


texts: Is it possible to create categories outside control panel

texts:
Wondering if it's possible to create categories outside control panel. I know its not possible with safecracker. Any add-ons or hack to achieve this?

Thanks in advance.


texts: Accessing extension settings from plugin throws a PHP warning

texts:
I have written a custom add-on which consists of an extension and a plugin.

The extension basically loops through a set of channel entries, gets some matrix data and performs a calculation based on the contents of a grid field and then stores that information within the the entry. This all works great.

The plugin uses the calculation method of the extension and works OK except for one critical element.

The extension features a setting for a "multiplier value" which it uses in its calculation. Everything appears to be fine with this and if I change the value in the extension's settings the resulting figures are correct.

However, the plugin displays a PHP Warning about an Illegal string offset for this multiplier setting. If I hardcode the setting within the extension or remove that part of the calculation then again it works OK.

The problem seems to be the way the extension accesses the setting value. I'm guessing that when used internally it manages to muddle through and works but is fundamentally done incorrectly.

I've got the following within my extension;

function settings() {
        $settings = array();
        $settings['points_multiplier']      = array('i', '', "1"); // default value is 1
        return $settings;
    } // END

And the method that does the calculation returns a value multiplied by that setting...

// use points multiplier (default is 1)
$points_multiplier = $this->settings['points_multiplier'];
$total_credits = $total_credits * $points_multiplier;
return $total_credits;

If I dump out the value of $points_multiplier or $this->settings['points_multiplier'] then I get the value expected (although the latter outputs a string).

As far as I can tell, I've done the settings bit correctly.

So why does my plugin throw this warning and ultimately not work?

UPDATE
Rob Sanchez's answer fixed the problem but for the sake of completeness, here is the code that I was using in my plugin.

$ext = new Fm_credits_from_entry_ext();

$query = $this->EE->db->select('entry_id')->where('author_id',$this->author_id)->where('channel_id','7')->where('status',$status)->get('channel_titles');

if($query->num_rows() > 0){
    foreach($query->result_array() as $row){
        $credits += $ext->calculate_total_credits($row['entry_id']);
    }
}

The missing nugget of information was that when the extension is loaded by the plugin it is necessary to manually load the settings for that extension.


texts:
I need to merge to loops into one stash list.

The first loop is a standard channel entries loop.
The second is a twitter time line, using CE Twitter.(http://www.causingeffect.com/software/expressionengine/ce-tweet)

Here is my code thus far, I've removed a lot of the markup and variables et al...

{!-- set list --}
{exp:stash:set_list name='journal_list' parse_tags='yes' depth="2" parse="inward"}

    {exp:channel:entries channel="journal" dynamic="no" paginate="bottom" sort="desc" limit="10"}
        {!-- append to the list the channel entries --}
        {exp:stash:append_list name='journal_list' parse_tags='yes' depth="2" parse="inward"}
                {!--type set as post, used to output post markup --}
                {stash:type}post{/stash:type}
                {!-- entry date saved to variable - the idea is to then use this as the order by argument --}
                {stash:entry_date}{entry_date}{/stash:entry_date}
                {!-- All the usual gubbins, titles, images, text et all, all sorted in stash variables --}
        {/exp:stash:append_list}

    {/exp:channel:entries}

    {exp:ce_tweet:user_timeline screen_name="myMegaTwitterAccount" count="5" sort="asc"}
        {!-- append to the same list as above for the twitter time line --}
        {exp:stash:append_list name='journal_list' parse_tags='yes' depth="2" parse="inward"}
                {!--type set as tweet, used to output tweet markup --}
                {stash:type}tweet{/stash:type}
                {!-- entry date saved to variable - the idea is to then use this as the order by argument --}
                {stash:entry_date}{created_at}{/stash:entry_date}
        {/exp:stash:append_list}

    {/exp:ce_tweet:user_timeline}

{/exp:stash:set_list}

{exp:stash:get_list name='journal_list' order_by="{entry_date}" paginate="bottom" limit="5"}
    {if "{type}" == "Post"}
        {!-- all the post markup here --}
  {if:else}
    {!-- all the tweet markup here --}
  {/if}
{/exp:stash:get_list}

The code above works, but not quite right.

Currently the two lists are outputted separately, i.e. first all of the channel entries are outputted, then all the tweets.

What I need is for the sort order to be based solely on the {entry_date}, so the tweets and posts will be mixed up... [post post tweet post tweet post post] etc etc

I'm sure this will be possible, I may have approached this incorrectly.  Fairly new to stash, although I have to say I'm bloomin' loving it (Thanks Mark!)

I've added a screenshot below which should illustrate the issue I have, notice the dates on the items. eeee! (n.b using masonry for the layout)

Any help, greatly appreciated


texts: Why does my exp channel entries not display asset image url properly?

texts:
I am creating a list of entries from all of my multi sites in Expression Engine.

They are displayed on the main homepage and use this syntax below:

{exp:channel:entries site="site1|site2" category="18|15" dynamic="no" limit="999"}
{count}.
<a title="{url_title}" href="
{exp:query sql="SELECT site_name FROM exp_sites WHERE site_id='{entry_site_id}'"}{site_name}{/exp:query}/{url_title}">
{channel}
Lookbook
</a>
{main_image}{url}{/main_image}
{/exp:channel:entries}

The idea is that the entries will be all entries on the sites across the board(9 in total) but they will be displayed/organised by the category only. The reason being is that some of the channels created for the entries have to be named differently according to seasonal changes in fashion etc.

What I am struggling to do is get the image from the entries via the field name which uses Pixel & Tonic's Assets addon. The field name is:{main_image{/main_image}.

What it gives me is the right url to the entry but I am struggling to find the image url for the images added into the entry via the addon field in the entry area.

Does anyone have an idea why this is happening or a better solution to my problem? I know its finding something because the field is being rendered on the front-end.

Thanks,
Mark


texts: Don't display duplicate column data from Matrix

texts:
If I have a matrix field with data like

Mon    X    Y
Mon    A    B
Tue    X    Y
Wed    X    Y
Wed    A    B

how can I output that on the front-end so that it looks like

Mon    Tue    Wed
X Y    X Y    X Y
A B           A B

At the moment I'm getting

Mon    Mon    Tue    Wed    Wed
X Y    A B    X Y    X Y    A B


texts:
I am using ExpressionEngine-5.4.0 with Transcribe v3.6 & Structure v4.7
In my site there is 3 languages (Azerbaijani, English, Russian)
And this is my settings for per language

Azerbaijani: no prefix, default language
English: /en/ prefix
Russian: /ru/ prefix

Homepage urls:

/en/welcome (EN Home)
/ru/welcome (RU Home)
/xos-gelmisiniz  (AZ Home)

If the user's on site language is en or ru and if he types /xos-gelmisiniz to bar  ExpressionEngine returns 404 page.
However
If user types /az/xos-gelmisiz on browser bar will work. Doesn't matter what language was on that time.
How can I fix that? Thanks.


texts:
When I open Add Ons > Modules > DataGrab I get the following PHP Errors:

I am running EE 2.7.3 and DataGrab 1.8.0. Any ideas what is happening here?

Thanks.


texts: Different Content showing depending on the domain a visitor arrives on

texts:
A client's site has a main domain ('A'), they also have a parked domain as well ('B'). Depending on the domain that the visitor arrives on the site at, the site would show an older version of some entries, but not others.

Having checked the settings in the control panel, I may have narrowed down that some URLs in the settings had reverted to the parked 'B' domain. This has now been fixed using Deeploy Helper.

My main concern is that the site was showing out of date content which shouldn't have existed. Had anyone ever seen this happen before?


texts:
Am new to this expression engine  am using the cartthrob module to handle my shop item.The site base on credit system users can earn credits and use to purchase items in shop .I use devdemon credit module .can any one please tell me how to remove credits equal to the price of product from my credits table .Is there any idea of linking the credits table and cartthrob

Thanks in advance.


texts:
On a new project, the client requires that it be possible to add/modify all text.

I will be using channel entries to hold majority of the 'content' text, but I am more perplexed by how I should allow text editing for hard coded items, like button text, headers, navigation etc.

Ideally, I would like to be able to code variables into the templates without any wrapping tags. Essentially like a global variable. For example:

<input type="submit" val="{lang_login_btn}" />

{lang_login_btn} being the variable.

The text all needs to be manageable by the client, so there has to be some kind of control panel interface, or at the very least a 'lang' document.

What would you recommend for this?

A custom module? If so, is it possible to have a module that can output variables like this without the use of wrapping tags?

I have built many plugins and extensions, but only basic modules without control panel interface.

Any direction would be greatly appreciated.


texts: Freeform: Number of fields: which is better

texts:
I am building a form with Freeform Pro that has 80 fields and am wondering the best way to go.  The form is contains 4 parts, so my question is:

Should I create 1 form with 80 fields or 4 forms with 20 fields each?

I have been looking into database normalization and am wondering if this concept mostly pertains mainly to really, really large databases with way more than 100 columns.  Also,  this form probably won't get more than 20100 submissions per year.

Thanks


texts: Evaluating limited stock when product modifier options are fractional

texts:
So I'm building an ecommerce site that sells items in the following quantities:

Whole
Half
Quarter
Eighth

The whole option is the default. So when they input the stock quantity (e.g. 100 whole items), I want that to mean that there are 200 half items, etc..

As a result, if someone orders 3 halves, I want the stock to be reduced to 98 whole and 1 half of that item.

Is there a way to do this in expresso store?


texts:
I've created a /404.group/index.html that contains my desired 404 page. In Design ‣ Templates ‣ Global Preferences, I've set my 404 to 404/index.

When I go to domain.com/some-crazy-made-up-url, I do not get the 404 page. However, I do see it when I go to domain.com/404.

What am I doing wrong? I have Enable Strict URLs set to "yes".


texts: EE1 -> EE2 Upgrade; Playa template tag conversion looks like it failed

texts:
Where before (in EE1) I had this in a template:

{assign_variable:current_weblog="news"}
...
{exp:weblog:entries ... }
    {reverse_related_entries weblog="{current_weblog}"}
    ...
    {/reverse_related_entries}
{/exp:weblog:entries}

After upgrading to EE 2.6.1 and installing Playa 4.4.3, I now have this (note the opening {parents} tag):

{preload_replace:current_channel="news"}
...
{exp:channel:entries ... }
    {parents }"}
    ...
    {/parents}
{/exp:channel:entries}

I haven't actually tested the template yet, but something tells me it's not gonna work... ;) I'm guessing that having the weblog="{current_weblog}" use an assigned variable (i.e. a curly-brace tag) rather than plain text is what tripped the converter up. In another template where the weblog was specified in plain text, this issue did not happen.

Any ideas, P&T? Thankfully, this is a trial upgrade on a copy of a live site, so it's not critically urgent. :)


texts: Prevent a category being displayed when using category="{segment_3_category_id}"

texts:
Because of the URL schema on a site I'm working on I'm using {segment_x_category_id} (via Low Seg2Cat - http://gotolow.com/addons/low-seg2cat) to grab the category ID and pass it to a channel entries loop.

The problem I have is that there are a couple of specific categories which I never want to be navigable using this method. Usually I would exclude them specifically using category="not 1|2|3" but when I also need to pass in the category I want to display that's not going to work... any ideas?


texts:
It's all good on a refresh, but once the form is submitted, all goes wacky.

{exp:dynamo:form return="/events_keynote" search_id="{segment_2}"}

{exp:low_yearly_archives channel="public_events" end_year="2013" status="not closed" sort="desc"}
      {if year_count == 1}
      <div class="input-group margin-bottom-20">
        <select name="year" class="form-control">
          <option value="">Year</option>
            <option value="">All Years</option>
          {/if}
          <option value="{year}">{year}</option>
          {if year_count == total_years}
          </select>
</div>
      {/if}
      {/exp:low_yearly_archives}

{/exp:dynamo:form}

After a submit, all the yearly option values become blank. I have tried parse inward, dynamic=no, etc.... nothing will seem to make it work.

Is there something I am doing wrong or are these two plugins just simply incompatible? If so, it really unfortunate.

Please help!

Mike


texts: Inside Playa {if no_coparents}, display channel entries

texts:
I have a channel entries tag which displays Videos and then a playa pair tag (coparents) which displays related videos based on a specific field.

Now, I would like to display other videos (let's say the last two entries of the "video" channel) in case no related videos are found. I tried with {if no_coparents}...{/if} but no luck so far since I don't manage to display video channel entries inside those tags.

{exp:channel:entries channel="video" url_title="{segment_3}" limit="1" status="open" transcribe="disable"}

{title}

  {video_file}
  {video_description}

Related Videos

    {exp:playa:coparents channel="video" field="video_related_field" dynamic="no" limit="2"}

{title}

            {if video_flickr_thumbnail}

            {if:elseif video_thumbnail}

            {/if}

    {/exp:playa:coparents}

{!-- Now here I would like to get something in case there isn't any related video.
It would be great if I could just call {exp:channel:entries channel="video"}
to retrieve the last two videos. I tried with {if no_coparents} ... {/if}
but no luck so far. --}

{/exp:channel:entries}


texts:
I'm retrofitting Assets into an existing site and need to convert all of the existing file fields to Assets. All the file fields use the same upload directory and options, so I tried a query:

UPDATE
    exp_channel_fields
SET
    field_type = 'assets',
    field_settings = 'YToxMjp7czo4OiJmaWxlZGlycyI7YToxOntpOjA7czo0OiJlZToxIjt9czo0OiJ2aWV3IjtzOjY6InRodW1icyI7czoxMDoidGh1bWJfc2l6ZSI7czo1OiJzbWFsbCI7czoxNDoic2hvd19maWxlbmFtZXMiO3M6MToieSI7czo5OiJzaG93X2NvbHMiO2E6MTp7aTowO3M6NDoibmFtZSI7fXM6NToibXVsdGkiO3M6MToibiI7czoxODoiZmllbGRfc2hvd19zbWlsZXlzIjtzOjE6Im4iO3M6MTk6ImZpZWxkX3Nob3dfZ2xvc3NhcnkiO3M6MToibiI7czoyMToiZmllbGRfc2hvd19zcGVsbGNoZWNrIjtzOjE6Im4iO3M6MjY6ImZpZWxkX3Nob3dfZm9ybWF0dGluZ19idG5zIjtzOjE6Im4iO3M6MjQ6ImZpZWxkX3Nob3dfZmlsZV9zZWxlY3RvciI7czoxOiJuIjtzOjIwOiJmaWVsZF9zaG93X3dyaXRlbW9kZSI7czoxOiJuIjt9'
WHERE
    field_type = 'file'

That worked OK, but I guess Assets runs some extra functions to convert existing field values, which only seems to work if I manually click "update" from within the field settings in the control panel.

Is there a quick & easy way to bulk-convert those field values so they're compatible with Assets?


texts: How to send HTML email (in template) from extension?

texts:
I am using the Email Class in an extension to send an email when an entry is saved with a certain status. This all works great and the emails send when they are supposed to.

However, I am looking to enhance this: for the body of the email I would like to be able to pull a template that I have created. I previously had been pasting in my entire HTML email into the extension which works- but this seems impractical, especially when I need to make changes to the email.

Any ideas or pointing me in the right direction would be appreciated! Thanks in advance!


texts: Change Hidden field based on select choice

texts:
I've got a select field that is populated with all titles from a channel entry like this:

<select id="product_name" name="product_name" class="form-control">
  {exp:channel:entries channel="product_page" limit="500" disable="member_data|pagination|comments|categories" dynamic="no" orderby="title" sort="asc"}
    <option value="{title}" {if freebie_2 == url_title}selected{/if} data-productid="{product_id}">{title}</option>
  {/exp:channel:entries}
</select>

I've also got a hidden field that I need to populate the value with a value pulled from the data-product-id attribute of the selected option.

<input id="product_id" name="product_id" type="hidden" placeholder="Product Id" class="form-control input-md" value="{freebie_3}">

I"m not sure how best to approach this.

My current javascript is below and not working. On change the value is removed and set to "undefined"

//Populate hidden field with data-attribute from select on quote-center page
$(document).ready(function(){

    $('select#product_name').on('change', function() {

        var prod_id = $('select#product_name:selected').data('productid');

      $('#product_id').val(prod_id);
      console.log('product id is ' + prod_id);
    });

});

And a JS Fiddle is here: http://jsfiddle.net/pgzfLo24/


texts: What's the best way to get yesterday's date?

texts:
I am using Solspace's Date Field Filter to group sales on a site. I need to display everything from yesterday (relative to current date) and older. I also need to do this moving forward (forecasting), so tomorrow (relative to current date). All of the dates being checked are custom date fields in EE's native date fieldtype though.

So instead of something like this:

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

I would need the date_field_start to be yesterday or tomorrow.

Is there a way to do this easily? I think I am making this harder on myself than it needs to be.

Thanks

****UPDATE****

So I have the date coming in like I need it now, but I am not receiving filtered results...

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

Grid Field = {sale_dates_and_times}

Sub Fields = date | opening_time | closing_time
or

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

I have this now:

{exp:stash:set name="previous"}{exp:dt day='-3' format='%Y-%m-%d %h:%i %A'}{/exp:stash:set}

This renders as 2015-09-11 12:57 PM

{exp:channel:entries
    date_field="{sale_dates_and_times:date}"
    date_field_start="{exp:stash:get name='previous'}"
    channel='sale'
    limit='5'
    orderby="{sale_dates_and_times:date}"
    sort="asc"
    paginate="bottom"
    dynamic="no"
}

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

These are with the following dates:

Entry-1:

Friday 09-11-2015 — 9:00am-9:00am
Saturday 09-12-2015 — 9:00am-9:00am
Sunday 09-13-2015 — 8:00am-8:00am

Entry-2:

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

Entry-3:

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

Why would all three be rendering in this case?

Thanks


texts: P&T Field Pack and Matrix with EE version 2.8.1 errors

texts:
I upgraded a site to EE 2.8.1 and updated to the latest Field Pack and noticed the EE Control Panel really buggy and slow and have found errors in the log files from the server:

PHP Fatal error:  require() [function.require]: Failed opening required '/home/.../public_html/sys/expressionengine/third_party/pt_field_pack/pt_fieldtype.php' (include_path='.:/opt/alt/php53/usr/share/pear:/opt/alt/php53/usr/share/php') in /home/abwac1/public_html/systm/expressionengine/third_party/_pt_dropdown/ft.pt_dropdown.php on line 6

PHP Fatal error:  Class PT_Fieldtype contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (EE_Fieldtype::display_field) in Unknown on line 0

PHP Fatal error:  require_once() [function.require]: Failed opening required '/home/.../public_html/sys/expressionengine/third_party/pt_switch/config.php' (include_path='.:/opt/alt/php53/usr/share/pear:/opt/alt/php53/usr/share/php') in /home/.../public_html/sys/expressionengine/third_party/_pt_switch/ft.pt_switch.php on line 4

PHP Fatal error:  Class 'Matrix_ft' not found in /home/.../public_html/sys/expressionengine/libraries/api/Api_channel_fields.php on line 365

Anyone else getting something similar? would love to know of a fix or if this has been reported and ready for updating.


texts: category_url_title randomly parsing in channel:entries tag

texts:
I am trying to generate a link by parsing the category_url_title in a channel entries tag. However the link will randomly parse with the category in it and sometimes it will not. I am at a loss as to why it gets parsed this way. Here is the code:

{exp:channel:entries channel="products" limit="3" category="4|5" orderby="random" dynamic="no" disable="category_fields|member_data|pagination"}

link here

{/exp:channel:entries}

So sometimes the link gets parsed like this:

http://website.com/template/category_url_title/entry

and sometimes like this:

http://website.com/template/entry

Can anybody sheet some light on this, if familiar?
Thanks :-).


texts:
First I'm glad to join this community!
I'm experiencing very weird problem:
using EE 1.68 in a template I'm trying to display entries from a weblog, but always got one entry and one specific. I tried adding new ones, checked the expiration dates, statuses, even created new weblog with default settings - same result. I'm using dynamic off and no limits - see below:

{exp:weblog:entries weblog="banners" dynamic="off"}
  {title}
  {/exp:weblog:entries}

Does anybody experienced some problem? The actual site was moved on a new hosting. Everything worked fine before.

Note* If I open some of the older entries with status closed - it instantly shows??


texts:
I am hosting a client site on HostGator running Plesk. I got the server path from their documentation and confirmed it with tech support, however, when I enter the server path in the necessary locations (Captcha, Templates, etc.) I get the following error:

  The following path you submitted is not valid

The path I have entered is:

  /var/www/vhosts/web.clientname.com/domain/themes/

Is there anyone with experience on HostGator Plesk that can provide insight into why I get the error? And more importantly, how to resolve it?

Thanks.


texts: How can I solve a PayPal IPN (Instant Payment Notification) error with Expresso Store?

texts:
I got this message from PayPal recently about a site that I use for a site that includes an Expresso Store.

Please check your server that handles PayPal Instant Payment Notifications (IPN). Instant Payment Notifications sent to the following URL(s) are failing:

/en/?ACT=31&H=48849e7094c749963e181a1e04b13b16

If you do not recognize this URL, you may be using a service provider that is using IPN on your behalf. Please contact your service provider with the above information. If this problem continues, IPNs may be disabled for your account.

Thank you for your prompt attention to this issue.

and Store has stopped registering my PayPal payments (it lists them as pending after they have been paid). Do you know if this is a Store problem, or has PayPal changed the way it deos IPNs? I did not change anything myself.

EE 2.5.3
Store 1.6

Good idea with support on EE Stackexchange by the way!


texts:
I have a simple search form that seems to be displaying incorrect excerpts. In the channel I am searching, I have 2 channel fields, a file field and a description field.

I have the radio button for the file field set to not be included in search results and I have the radio button for the description field set to be included in search results.

When I try a search for a word that I know to be in the description field, the results gives me the URL of the image in the file field.

Any thoughts as to why this could be happening?


texts: Front end registration form stopped working

texts:
The front end registration form on my client's site takes the info and even acknowledges success - and the admin gets notified. But the info isn't getting into the db/ee back end anymore.

This registration form has been working OK for years, the rest of the site is OK as well.

The form uses User 3.4.5 which is no longer supported by Solspace.

The site was recently moved to a new server - en masse with the rest of my hosted accounts.

My server admin looked at this and here's what he got when he turned on error reporting. I have no idea how to use this information.

A Database Error Occurred
Error Number: 1366
Incorrect integer value: '' for column 'last_activity' at row 1
INSERT INTO exp_members (group_id, username, password, salt, ip_address, unique_id, join_date, email, screen_name, time_format, url, location, occupation, interests, language, last_activity, bday_d, bday_m, bday_y, aol_im, yahoo_im, msn_im, icq, bio, profile_views, timezone, signature) VALUES (4, 'mobin', '42b3f050b4c607c33200dde2ab4f3df36ea3b7b35dc26b283055f6e03ed600912a722257daf584162a46c7ab818ef727bd455cb6eb033840e3192e3066aee0d3', 'm0)ByGfjPC>\'sA=$j6>NAX\"QU?,M8XghPKF(/\"@uc\.N=T-v,I\'@K$RaaD=uf-uE>yV,SCRbBb#~AxGOC0OscBE%:3i?6~F]EnEl.}C(&3vB?#/7)I!S:~Qh\'zs,', '123.63.124.188', 'f8f835d49114da34eabf03cc60d807a7adda72b2', 1474251848, 'mobin.xavier@idologic.com', 'Mobin Idologic', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '')
Filename: third_party/user/mod.user.php


texts: Excluding entries based on Date Field Type

texts:
Im wondering if anyone can help me figure out if this is possible.

I have entries that have a Date Field Type and I want to hide entries that have expired passed the date set in the Date Field Type not the entry-date.

Thanks


texts: PayPal Express & Store: Payment has already been made for this InvoiceID

texts:
I am setting up Store using PayPal Express. I am using a sandbox account for testing.

When I go to check out and submit payment I get the following error:

Payment has already been made for this InvoiceID.

What is going on here?

Thanks.


texts:
I’m new to EE and coming from a Drupal background. I’m enjoying learning EE.

Question: How do I display the fields from a custom channel into tabs?

A perfect example I would like to replicate is this page here:

http://www.genuinehealth.com/store/greens-daily-detox#.VuwFlpMrJTY

You will notice that there are 4 tabs below the product and when in a mobile view, the tabs are compressed to a mobile like menu. I would like each custom field to be displayed in a tab.

Can EE do anything similar ??

Thanks in advanced! Rob


texts: how to display a row # when looping through 2 different custom fields

texts:
I'm trying to spit out a table with first column being the # of row basically.  However my {count} keeps resetting for each field loop.  I need my count to stay the same

I have a VM Chosen field that I first loop through to display rows of all players in that field.  I use {count} and works fine.  Then I loop through a grid field and list out all players from that but the {count} resets to 1 because it's a new loop.  I have all this wrapped inside a channel entries tag with limit="1" to a specific entry_id.

Can you create a variable and increment it in EE without a plugin?  I've never used Stash but it sounds like that would be a solution?


texts: Graphical display of multi-day calendar events?

texts:
Is there a way to graphically display multi-day events on a Solspace calendar? I am wanting to create a calendar that works like Google calendars so a multi day event displays as a color bar across the days of the event.

Just showing the title of the event on each day of the event doesn't cut it The graphical UI just communicates so much more effectively and quickly.

thanks!


texts: How to make an entry with dynamic drop down list?

texts:
I'm a newbie to EE & purchased EE 3.0.4!

The scenario is questions have to be grouped into categories:

In the cpanel,

A category has to be chosen from drop down of categories of questions and a question & answer has to be entered as an entry

In front end

A category has to be chosen then a question has to be selected in the chosen category and answer for the question will be shown.

I learnt about relations and forms but if i choose a field as relation then i see the variable is printed as it is like {variable_name} but not its value. Creating forms is apparently only for interacting with end user.

Please help me in understanding how to create this in EE way. Can i create category, question and answer tables by myself and write quires with php-mysqli?

Edit: Category of questions means set of or group of questions, Its not used to indicated reserved keyword in EE

Solution

the pizza store example was explained well. I was trying to create stores &  create pizzas under it. where as from example i learned that pizzas has to be created first and then assign them under stores


texts: Anyone know of a plugin to show Category count?

texts:
Basically want to find the number of entries per category in order to perform a conditional to show different content based on the entry count. Essentially:

if count  = 2 then this
if count is less than 2 then something else.

Native way would be preferred  but any ideas?


texts: Stash - How to nest within a nested Matrix set_list?

texts:
{exp:stash:set_list name="my_entries" parse_tags="yes" parse_depth="2"}
    {exp:channel:entries channel="clients" limit="5"}

        {stash:entry_title}{title}{/stash:entry_title}
        {stash:entry_id}{entry_id}{/stash:entry_id}

        {exp:stash:set_list:nested name="related_entries_{entry_id}" parse_tags="yes"}

            {!-- this is a matrix tag pair --}
            {contact_docs}
                {stash:related_title}{mx_doc_title}{/stash:related_title}
            {/contact_docs}
        {/exp:stash:set_list:nested}

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

{exp:stash:get_list name="my_entries"}

    Entry title: {entry_title}

    Related:
    {exp:stash:get_list:nested name="related_entries_{entry_id}"}
        {related_title}
    {/exp:stash:get_list:nested}

{/exp:stash:get_list}

{contact_docs} have {mx_doc_title} field.
Let say if there is 1 more custom field, {type}, and it can be a multiple item.
How to I store it and retrieve it?


texts: Matrix will not work with URL segments to set a row id

texts:
I'm trying to do something incredibly simple yet it just won't work and I'm getting frustrated. I have a list of staff members in a Matrix field. Upon selecting a staff member the user is taken to a new template with a detailed bio of that member. I'm using URL segments to pass the row_id of the selected staff member to the bio template but when clicked nothing is displayed. If I manually enter the row_id it works fine which leads me to believe that Matrix does not work with the URL segment variables? Here is the code I'm using:

Page with list of staff members:

{exp:channel:entries channel="staff"}
    {staff_members}
     <a href="{path='templates/bio/{row_id}'}">
    {/staff_members}
{/exp:channel:entries}

Detailed Staff Template

{exp:channel:entries channel="staff"}
    {staff_members row_id="{segment_3}"}
        {staff_bio}
    {/staff_members}
{/exp:channel:entries}

Is this not possible with Matrix or am I missing something really obvious?


texts:
I've got a site where it shows different content dependent on the url segments (categories eugh!) but as there can be up to 4 url segments, any of which could have pagination, i want to be able to say not if segment is a pagination segment.

Obviously i could do {if (segment_4 != '') && segment_4 != 'P25' && segment_4 != 'P50'} but pagination could be any value in theory. So, is there a way of saying "where segment_4 is not a pagination segment"?

Thanks!


texts: Freeform Pro issue with Stash and CE Cache

texts:
I have an event template that pulls in a Freeform Pro field, via the Freeform Pro fieldtype, which relates a form to an entry. I'm having problems with a reoccurring error that says "Invalid form id(s)":

{exp:ce_cache:it id="events-{segment_2}-mobile_{gv_device_is_mobile}" tags="event"}

    {exp:stash:set_list
        name="event-{segment_2}"
        parse_tags="yes"
        parse_depth="3"
        parse_conditionals="yes"
        save="yes"
        refresh="60"
        scope="site"
        replace="yes"
    }
        {exp:channel:entries
            channel="event"
            cache="yes"
            refresh="60"
            disable="member_data|pagination|trackbacks"
            show_expired="no"
            status="open"
            require_entry="yes"
        }

            {stash:event_title}{title}{/stash:event_title}
            {stash:event_id}{entry_id}{/stash:event_id}

            {!-- This is my Freeform Pro Fieldtype https://www.solspace.com/docs/freeform/channel_entry_fieldtype/ --}
            {stash:event_form}{event_form}{/stash:event_form}

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

    {exp:stash:set name="content"}
        {exp:stash:get_list
            name="event-{segment_2}"
        }

{event_title}

            {exp:ce_cache:escape}
                {if event_form}

                        {event_form}

                {/if}
            {/exp:ce_cache:escape}

        {/exp:stash:get_list}
    {/exp:stash:set}

{/exp:ce_cache:it}

As you can see, I'm using Stash to set all of the data related to the entry and {stash:event_form} captures the Freeform Pro fieldtype. I'm also using CE Cache on the page, but i'm using CE Cache Escape tags {exp:ce_cache:escape} around the actual form.

I was wondering if someone can tell me if I need to be doing anything else to prevent this error? I can fix it temporarily by deleting the page from CE Cache, but eventually it reoccurs - presumably after someone completes a form on another entry.


texts:
I am new to web development. I have familiarity with CSS/HTML/Wordpress and Expression Engine Content Management system. I want to be a well rounded professional web developer desperately, and trust me, it's been a struggle to do all I do and still have time for self-development with other languages. I take care of several Wordpress Sites at my job and am currently learning Expression Engine 3.0 for a new, much large Expression Engine site. I love the Javascript language, but I am concerned if learning it right now would be good given my current type of work. I was told that learning Javascript would be helpful for customizing things in Expression Engine as well.

That said, here is my question....is learning JS beneficial for Wordpress Dev or/and Expression Engine development? Please forgive me if this is a stupid question. Eventually I would like to design my own EE add-ons and Wordpress themes/plugins with the ability to customize them as needed for my client, maybe even make web games? Is learning JS a good skill for my current career direction? I'm also trying to learn BootStrap as well to my language learning TODO list.


texts:
i'm using exp:calendar:events to show all events that belong to certain dates and categories. Now i have 2 URL segments {segment_2} and {segment_3} that show category ids for example {segment_2} is category 6 and {segment_3} is category 17

if i have category="{segment_2}|{segment_3}" i get entries that belong either to one category or another.

The same happens if i put category="6|17" avoiding segments

What i really want is to get the results for category 6 AND category 17 (entries that belong to both these categories)

is that possible in a straightforward way? if not can it be used in combination with Low Seg2Cat or some other tool?

Thanks

EE 3.4.7 and Calendar (ver 3)


texts: Solspace Calendar One-way Sync with Outlook?

texts:
I know that I can import data from a .ics file when creating a new calendar, but is it possible to do some sort of synchronization with Outlook on certain intervals?

I have been tasked with building a Intranet and I'm trying to decide if I can save costs by building in EE rather than doing custom development.

With synchronization, I need to have it run at an interval (cron job to hit a URL?) and be able to add/update/remove events.

I appreciate any feedback, thanks!


texts:
In the admin CP, I receive this error:
"This form has expired. Please refresh and try again."

This happens when I try to change a template, create one, or save anything to the site. Refreshing and trying again does nothing, my only solution is to switch browsers or clear browser caches, log in again, and try again which fixes the problem very temporarily. It happens every time I start working on the site again after being off of it, and it sometimes starts happening in the middle of working. Site is in development still, haven't even started editing channels yet.

Any ideas would be appreciated.

Multi-site v 2.9.3


texts: Deleting Channel Entries in the Frontend

texts:
Deleting channel entries is pretty straightforward in the EE Control Panel.

But how do I do it via the frontend? Do I need to use the Channel Form tag?

Or is there a native EE tag specifically for this?


texts: How can I include a link instead of attachment in Freeform Pro email?

texts: I'm using the File Upload field type in one of my web forms. The email notifications include the uploaded file as an attachment. Is there any way to change this to a download link? My reason is that most of the file uploads are too large for email.


texts: Cartthrob - Compatibility issue between a discount & coupon code

texts:
Ok, I have a discount and a coupon code that aren't playing well together.

The discount...
* Free shipping for all Orders over $100 (fairly common offer)

... and a Coupon Code...
* 20% off a specific Product Category

The issue
When you purchase over $100 the shipping is removed (as per the Discount).  Unfortunately, when you add the Coupon Code the shipping is added back in.  I understand they should be able to work together.

Note - What does work together with the Coupon Code is the straight "Percentage Off" discount.

I would really appreciate any thoughts on how to fix this.


texts: Migrating the EE1.x aMember plug-in to EE2.x

texts:
We're migrating a EE1.x site that uses aMember and the old 1.x aMember plug-in. New registrations are created in the EE2.x DB but log-in 'via' aMember no longer seems to work.

Did log-in change significantly between EE1.x and EE2.x? I'm guessing so but I wondered if anyone knew roughly what the differences are or happened to have updated the old EE1.x aMember ExpressionEngine plug-in to work with ExpressionEngine 2.x.


texts: Can DataGrab check for duplicate entries using entry_id or url_title?

texts:
I went to set up a data import for a CSV to bulk update product prices and discovered that there is no option to check for duplicates on exp_channel_titles.entry_id or exp_channel_titles.url_title.

This feature only seems to work on custom fields in the channel's field group.

Unfortunately this product list does not have any real-world product code or similar unique identification system so using the entry_id or url_title would be ideal.

I'm using plain old channels here and not using third-party add-ons for this channel.

Is this something that can be done using DataGrab or will I need to add this functionality?


texts: Why do I get an Unresponsive Script Error on Wygwam fields?

texts:
I am working on a site running EE 2.6.1 and wygwam 2.7.1 and I am getting the following error:

  A script on this page may be busy, or it may have stopped responding.
  You can stop the script now, open the script in the debugger, or let
  the script continue.

  Script:
  http://www.responsivehomehealth.com/themes/third_party/wygwam/lib/ckeditor/ckeditor.js:29

I reloaded the wygwam themes folder but the error persists. Any suggestions?


texts: Trouble Using DataGrab to Import into Solspace Calendar in EE3

texts:
Trying to use DataGrab to import into the Solspace Calendar (specifically an XML / RSS feed) but we get this error when we try going to the step that allows us to match fields to the xml data nodes.

SQLSTATE[42S22]: Column not found: 1054 Unknown column 'calendar_id' in 'field list':
SELECT calendar_id, title FROM (exp_channel_titles) JOIN exp_calendar_calendars ON exp_channel_titles.entry_id = exp_calendar_calendars.calendar_id

ee/legacy/database/drivers/mysqli/mysqli_connection.php:122

Is there a solution that would allow us to import XML feeds into the Calendar outside of DataGrab or a fix?


texts: Entries under a channel:categories tag don't show in template group

texts:
I am building a personal site to practice with EE, and on my resume page I am using the following code to display a list of categories with entries displayed under each category:

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

{category_name}

                {exp:channel:entries channel="resume_skills" category="{category_id}"}

{title}

{description}

                {/exp:channel:entries}

{/exp:channel:categories}

The page url is /resume (template group), but the entries don't display unless you go to resume/index. The categories display fine however. Any ideas on how I can remedy this and keep the url intact?

I tested it on a separate page (/site/test) to make sure it wasn't anything else in the code on that page messing with it, and it displayed fine.


texts: EE1 to EE2: Better to Upgrade or Migrate?

texts:
Looking to get some opinions form people who have "been there done that" on getting from EE1 to EE2.

I'm working on a site that's currently running EE 1.6.9. As a first step towards the redesign I'd like to get them on to the latest version of EE, and it seems I have a couple options:

Update to EE 1.7.2, then use the standard EE2 upgrade wizard, and do some cleanup on the EE2 end (if I get there).
Setup a new EE2 install with similar data structure, and pull over the data with something like Data Grab.

I seem to be finding horror stories from folks on both sides. There are a lot of (old) plugins in play … most have EE2 versions, but some very key ones don't:

Gypsy
Matrix
Playa (which is holding a ton of relationships we'd hate to have to recreate)
Wygwam
Better Meta
LG Image Manager (which I guess will have to switch to Assets)
LG TinyMCE (which I guess we'll ultimately switch to Wygwam)
nGen File Field

Initially, I started down the first path. But maybe the second option is cleaner (though I worry about if/how the playa relationships will be migrated, etc.)?

Honestly, it all feels like a mess, so before I venture any further figured I'd ping the community for advice. Thanks!


texts: Is it possible to populate an entry field with categories? When publishing a Structure page, I'd like to be able to select what category of products to display.


texts:
I'm using expresso store and apart from regular products I have gift boxes which contain multiple products. They are a separate channel and I'm using playa to pick the products for each gift box entry.

what I need to do is check the stock level for each individual product and if any of those products are out of stock then the gift box should not be available for purchase.

If I put the conditional inside the loop then I will get 3-4 results and I only need one of them to be 0 in order to hide the add to cart button.

So I need a conditional that will wrap around all of the related entries for the gift box and if any of the items have a stock level of 0 it should disable to button.

EDIT: so the code I have for normal products is as follows:

{if total_stock > 0}
<input type="submit" name="submit" value="add to cart"/>
{if:else}

Product is unavailable

{/if}

what I need for gift boxes should be something like:

{if "{exp:playa:children field="gift_products"}{stock}{/exp:playa:children}"
 *="0"}

Product is unavailable

{if:else}
<input type="submit" name="submit" value="add to cart"/>
{/if}

so if the stock level of multiple related products is 0 add to cart should not be available


texts: EE 2.70 + DevDemon Updater 3.2.6 not working for add-ons

texts:
I used DevDemon Updater to update an EE install from 2.5.2 to 2.7.0 -- worked great, as usual. But, now, Updater will not update any add-ons.

When trying to update any add-on, Updater looks like it's working correctly through each step--all the way to "Done." But it silently fails to make any changes to EE.

I don't see any PHP errors in the error log. I've checked the Updater settings, as well as the EE folders' file permissions. I can update add-ons manually (copying files) and also change things (content, settings) in EE via the control panel.

I've tried a variety of add-ons, including Assets2.1.4, Matrix2.5.6, Playa4.4.5, Wygwam3.1.2, low-reorder-v221, low-search-v231, snippet_sync-135 and others. And, I can see that DevDemon is successfully unzipping these add-on files into a folder under system/expressionengine/cache/updater. The files, however, are never being copied into the proper third_party folders.

Does anyone have this combo of EE 2.70 + DevDemon Updater 3.2.6 working properly? Are others seeing this issue?


texts: Is there an EE plugin that gives greater control over channel permissions?

texts:
I have to build a site for a client that requires 9 different content editors admin groups and 3 publisher admin groups. A lot of what I want to do could be done by allowing certain groups access to categories rather than closing them off to whole channels.

Does anyone know of a third party plugin that makes admin user permissions more powerful or easier to use? I searched Devot-ee and couldn't find anything.

An example of what I want to do is a news channel:

This website has 5 different categories of news - some editors will only be allowed access to 2 categories, but still need access to the news channel. So as far as I can tell, I'll need to make 2 different news channels to block the users' access to the 3 categories they are not allowed to post to. Obviously I'd rather have one channel and close access to the categories, not the other way round.

Thanks for your help,

Ant


texts: Matrix Total Rows Column Search Conditional

texts:
So I have this conditional that works properly for entries with matrix rows:
{if {tech_documents:total_rows search:doc_thumb="IS_EMPTY"} > 0}
    ...
{if:else}
    ...
{/if}

However, entries that have no rows for this matrix field throw a template error:

Error
You have an invalid conditional in your template. Please review your
conditionals for an unclosed string, invalid operators, a missing },
or a missing {/if}.
Parser State: Invalid Condition: Not enough operands for operator ” >
“.

Running: EE 2.9, Matrix 2.6, Assets 2.4


texts: Compare contents of two grid inputs, possibly with variables?

texts:
I have two grid inputs and I need to have a conditional statement that says:
if all fields of both grids are equal to 0, output some text.
The way I'm trying to do this is by changing a variable value based on an EE if.

<?php $var = 0; ?>
{ex_product_dimensions_g}
  {if ex_product_dimensions_g:height != "0" || ex_product_dimensions_g:width != "0" || ex_product_dimensions_g:depth != "0"}
    {ex_product_dimensions_g:height}(h) x {ex_product_dimensions_g:width}(w) x {ex_product_dimensions_g:depth}(d)

  {if:else}
    <?php $var++; ?>
  {/if}
{/ex_product_dimensions_g}

{product_dimensions_case_g}
  {if product_dimensions_case_g:height != "0" || product_dimensions_case_g:width != "0" || product_dimensions_case_g:depth != "0"}
    {product_dimensions_case_g:height}(h) x {product_dimensions_case_g:width}(w) x {product_dimensions_case_g:depth}(d) (inc. Flightcase)

  {if:else}
    <?php $var++; ?>
  {/if}
{/product_dimensions_case_g}

<?php
if ($var >= 2):
  echo 'Not specified';
endif;
?>

For some reason though $var seems to always increment regardless of the content in the grid input. Can the EE if statements be used for what I am trying to achieve, or is there a better way to do this?


texts: Major glitch with EE3 and multiple file fields

texts:
I've got a channel that uses a file field for a logo and another file field for a building beauty shot. In EE3, if I change the image on one field, then change the file on the other, it change BOTH to the same image. The only workaround I can find is to change one, save, then change the other and save.

Even worse is to use this with the Grid setup, which I use for photo albums. Say I finally get 20 images added to an album (add 1, save, add 2, save, etc). If I try to edit multiple images between saves, it changes all the images I edited to the same image. So if I change image2, then image15, then image12, all three change.

This is absurd! Is anyone else seeing this (hopefully fixed it), or is it just my install?

EE3.4.1


texts: Check if user is logged-in inside sessions_start hook handler

texts:
I am aware that in sessions_start handler function, the session object is not yet set.

Since I can't use the session object, are there alternative ways to check if you are logged in  in this function handler?


texts:
Is there anyway, or any plans to add the ability to create custom metadata fields for (Pixel & Tonic's) Assets?

I can't see any references on the docs, nor any content on the web directly relating to this.

Thanks

Dave


texts: Is there a plugin that will strip a bit of text out of a string?

texts:
I've got a variable like {current_url} which contains the full url of the page you are on.

I want to strip out the last segment from it.

Is there a plugin or native EE way of doing that?

Say that variable is example.com/me/you and i want to remove the "you" from the end, how would i do that?

Due to variable url segments, i can't do {segment_2}{segment_3}{segment_4} as "you" might be the second or third or fourth variable.

Thanks


texts: Conditional to check if a user has chosen a modifer - Exp:resso Store

texts: Is there a conditional to check if a modifier has been chosen? I am trying to create a notification to inform the user the need to choose a modifier before trying to add the product to their cart.


texts: Creating a front end file upload that works with the Files module

texts:
I'm trying to work out a way to allow users on the front end to upload a file. Not so difficult in itself but I then need to assign a category to that uploaded file.

Ideally I want to use the Files module but I don't know of a way to create an upload form on the front end that will use this module.

I could use regular entries and Safecracker but it's going to mean some retrofitting and fairly big changes in the existing site and methodolgy which I'd prefer to avoid.

Is there a way to do a front end upload form that integrates with the Files module?


texts: What is causing the paginate_base parameter to be ignored?

texts:
I am trying to add pagination to the site. I am using structure (which I suspect is part of the problem). Here is my code:

 {exp:channel:entries channel="blog" cache="no" dynamic="no" orderby="published_date" limit="5" paginate="bottom" paginate_base="blog/index"}

 {!-- Other code here to display the entries. --}

 {paginate}
   {pagination_links}

       {previous_page}

 &#8249; Previous

       {/previous_page}

       {next_page}

Next Page &#8250;

       {/next_page}

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

The main problem is that something is overriding the paginate_base parameter and the value I am putting in there is getting ignored. The resulting links look like this:
http://www.faketld.com/blog/P5
http://www.faketld.com/blog/P10
etc.

I am expecting this to render links that look like this:
http://www.faketld.com/blog/index/P5
http://www.faketld.com/blog/index/P10
etc.

The strange thing is that if I use any other value for paginate_base it works as expected. For example:

paginate_base="index/blog" renders http://www.faketld.com/index/blog/P5
paginate_base="/" renders http://www.faketld.com/P5
paginate_base="peas/carrots" renders http://www.faketld.com/peas/carrots/P5

Oddly enough, it is specifically the one value I need to use that is overridden. Again, I have a feeling that Structure is causing this issue, but searching Google and this site haven't given me any solutions.

I have tried removing dynamic="no" but this seems to conflict with structure and   I get no results.

Any help will be appreciated. Thank you.


texts: MX Mobile Device Detect stuck in endless loop

texts:
It works when I land on the mobile template from desktop, but when viewed from mobile I get an endless loop...

The mobile template:

{exp:mobile_detect:redirect location="http://csw.rizenbuilds.com" redirect="not_mobile"}

The desktop template:

{exp:mobile_detect:redirect location="http://mobilecsw.rizenbuilds.com" redirect="mobile"}

No clue where this loop comes from.


texts: Merging tags in Devdemon tagger simply deletes the tags in question - no merging occurs

texts:
When attempting to merge tags via the Devdemon Tagger instructions

  "To Merge tags separate each tag_id by a comma, the first tag_id being
  the merged tag,"

it appears to simply delete all tags besides the first one. They do not get merged into the first tag.


texts:
Can somebody help me with the basic construction a Query module query to pull some info out of the Favorites and Tag modules from Solspace? I've tried the following using standard tags but this information isn't available that way, at least as far as I can tell.

"Here's what I'm looking to do: Create a list of tags belonging to the entries a user has in their Favorites collections.

Put differently, a user saves 100 entries (using the Favorites module) and each of those entries has multiple tags. I'd like to list all the tags for all the favorited entries in a user's favorites collections.

I've tried various queries but my sql skills are at a novice level and this seems to be an advanced query I don't know how to do. Can anyone please help me? Thanks


texts:
I'm trying to use GET variables to apply pagination to a channel entries request (so can access via URL/AJAX).

Is there a variable that would work, eg ?P=10 or ?page=10

Tried offset but obviously that just reduces the number of entries available to query against.