texts:
Can non moderators delete their own posts?

I cant seem to delete my own posts when logged in as one of my member groups.

Is this normal or is there a member preference of sorts that i need to tweak?


texts: Extension Development - Getting the editing author's ID in entry_submission_end hook

texts:
I may just be being thick here - but I can't seem to find this even when debugging the code I am writing.

Here's my scenario:

I have an extension that does something whenever someone created or updates an entry.
What I'd like to do is log the user who made edits to an entry

The issue I am running into is when a user (who did not create the original entry) updates an existing entry. I can find the original author's ID in the $meta['author_id'] field, but don't seem to find any reference to the editing author's ID.

Am I missing something, or is this data really not passed to the hook?

Thanks in advance for your help!

MW


texts: Super Search Results Conditionals Based on Channel / Custom Field

texts:
I would like to have a search results page with results from 8 different channels.

The results depends on the channel name.

For instance

{if channel_name = channel1}
Display {custom field} - {custom field 2}  And additional text here.
{/if}

{if channel_name = channel2}
{title} - {excerpt} - More stuff you don't see unless the results have that channel.
{/if}

{if channel_name = channel3}
{custom field 3} - {custom field 4}
{/if}

and so on.... Any idea on how to do this.  It's not clear in the documentation.  Thanks!


texts: Increase File upload for expression engine

texts:
Site is on a dedicated server, i want to be able to increase the max upload file size.

.zips of around 5mb are fine however i want in excess of 50mb to be uploaded. At the moment i get the following error:

This form has expired. Please refresh and try again.


texts: Content Elements doesn't have a {count} variable

texts: I wanted to insert a related-articles block after the n-th content element using stash. But it seems Content Elements doesn't provide a {count} variable in the elements loop.


texts: In Expression Engine 4, live look preview is displaying A HREF links

texts:
Instead of a normal blue link, LIVE LOOK renders the link like this:
[url="http://www.geomagic.com" target="_blank"]Geomagic[/url]

I am using EE 4.1.3.

How can I prevent the live look preview from rendering the URL links within an article? I would like the links to display as normal "a href" links. I have WYGWAM installed and the {body} field is set to use the WYGWAM add-on. This display issue above also happens on non-WYGWAM fields in live look, too. I would like the links to just render as normal links.

Are there settings or defaults for live look?

Can we update the default CSS/JS live look uses to alter the URLs? I have used a method similar to this for "printer friendly" pages.


texts: Inconsistencies found in exp_channel_titles and exp_channel_data tables

texts:
While I was looking into a related issue, I found the following scenario:
Entry IDs in the exp_channel_data table do not match entry IDs in the exp_channel_titles table. I want to clean these up so there are no inconsistencies. Any suggestions as to how to clean this up?


texts:
Hi Low (or anybody else),

I have a similar problem to this one in the old devot-ee-support-forums. When I use Seg2Cat-tags they produce nothing (means: empty output). Template-Debugging returns a lot of pipes in the Snippet-Values ("||||").

In the mentioned thread Low wrote:

  First of all, check if the correct category groups are selected in the extension settings. If the category in the URI belongs to a non-selected category group, then the empty string is correct output.

The category group is selected, the category exists.

  Or else, enable the output profiler and look up the SQL query performed by Seg2Cat, which should look something like “SELECT LOWER(cat_url_title) AS cat_url_title…”. Then run that query in the SQL manager. If there are results in the SQL manager, but not from the extension itself, then there’s a conflicting extension somewhere, probably. Check which extension use the sessions_end hook as well and try to disable them to see of that helps.

Now I used the SQL-query, I think it's this one:

SELECT `cat_url_title`, `cat_id`, `parent_id`, `group_id`, `cat_name`, `cat_description`, `cat_image`
FROM (`exp_categories`)
WHERE `site_id` =  '1'
AND `cat_url_title` IN ('schule', 'lowseg2cattesttrash', 'deutschunterricht')
AND `group_id` IN ('1')

and I get one result (the correct category).

Now my question is if there is any help for me identifying the problematic plugin. I have a lot of plugins installed, mostly commercials which I need (Assets, CE Tweet, FireMail, LowSearch, Rating, Playa, Threaded Comments, Wygwam ...).

I would appreciate any help very much, because it would be a useful delight for me to use Seg2Cat.

Thanks in advance!


texts: Some valid form submissions are blocked and EE errantly thinks they are robots

texts:
I have several contact forms on our site, but only experience issues with the form for job applications (http://www.autouplinktech.com/careers). Most submissions work with no problems and I cannot reproduce the issue, but we have many seemingly random report of users not being able to submit the form because EE mistakenly thinks they are a robot. We have no captcha enabled on the form whatsoever.

Anyone experience this sort of issue or might know what to do?

We are using Freeform Pro for the form.


texts: Submitting Files With {exp:channel:form}

texts:
EE 5.2.2

I'm using the {exp:channel:form} tag to create an order reporting feature that will save a generated report as an EE channel entry.

The feature currently has a form that accepts parameters, submits those to an Amazon API, and returns the result (XML report for orders) as a JSON object. If the object is received successfully then the old form is hidden and a new form is shown. This form is a {exp:channel:form} tag.

I've been able to get this tag to submit an entry to the channel with a title that is generated based on the previously submitted parameters, and that works fine. I also have two links that show along with the new form as a part of the result of this query: a link to view the new file and a link to download it (these are both done using the JavaScript Blob object, and both of them are working:

var file = new Blob([text], {type: type});
a.attr('href', URL.createObjectURL(file));
a.attr('download', name + '.txt');
v.attr('href', URL.createObjectURL(file));
t.attr('value', name);

The problem I'm having now is this: how to save this new file in a input (preferably hidden) that can be submitted to the channel along with the title?

I have these two docs open: this one and this one. I'm not quite sure how to interpret this, though. They both have this as an example:

<input type="file" name="my_field_name" />
<input type="hidden" name="my_field_name_directory" value="1" />
<input type="hidden" name="my_field_name_hidden_file" value="{my_field_name}{file_name}{/my_field_name}" />

What I have in my form is this:

{exp:channel:form channel="order_reports" return="/{my_index}"}
    Download File
    View File
    <input type="hidden" name="title">
    <input type="file" name="my_field_name" />
    <input type="hidden" name="my_field_name_directory" value="1" />
    <input type="hidden" name="my_field_name_hidden_file" value="{file}{title}{/file}" />
    <input type="submit" value="Save">
{/exp:channel:form}

Now, I'm obviously not doing this right, but I'm not entirely sure how to interpret the documentation. And I'd ideally like to put this new file into a hidden input so the user doesn't have to go through another step to save the file to the channel, so if there's some way that I could put my Blob object into an input as a .txt file, the same way I'm doing it with my two links, that would be perfect.

Thanks for any help and/or clarification.


texts: Redirect templates with native template routes

texts:
I have a template group called 'members' with two templates - 'male' and 'female'.

Now, I want the 'index'-template of the 'members'-group to redirect to the 'male'-template, whenever somebody types in the following URL:

my_site.com/members

I've setup a route in the CP like this...

'members/index' => 'members/male'

... and put this in my 'members/index'-template:

{route="members/male"}

I expected this to initiate a redirect, but it doesn't. So, how do the new native template routes actually work?


texts:
Attempting to customize the list of users displayed based upon a custom field in a channel entry.

{exp:channel:entries channel="messages"}
  {exp:user:users group_id="{member_groups backspace="1"}{option_name}|{/member_groups}"}
    {email} - {group_id}
  {/exp:user:users}
{/exp:channel:entries}

The 'member_groups' custom field will output the chosen groups in this format...

group_id="7|8|9"

No matter what, I always get the logged in super admin account as a result. Is this possible with User or do I need to use a query here?

Would really prefer to not have to use an embed since I also need to this to work for sending email notifications when a new entry is posted to the messages channel.

Thanks!


texts: ACK! Can't edit fields - getting WYGWAM error after EE & WYGWAM upgrade

texts:
EE v2.7.3 - Build Date: 20131210   /    Wygwam - 3.2.2

when I go to:

CP Home -> Add-ons -> Fieldtypes

OR

CP Home -> Administration -> Channel Fields -> (any field group even if there is no wygwam field in the group)

ERROR I get:

  A PHP Error was encountered Severity: Notice Message: Use of undefined
  constant FT_PATH - assumed 'FT_PATH' Filename:
  wygwam/ft.wygwam.ee1.php Line Number: 7 A PHP Error was encountered
  Severity: Warning
  Message: require_once(FT_PATHwygwam/config.php)
  [function.require-once]: failed to open stream: No such file or
  directory

  Fatal error: require_once() [function.require]: Failed opening
  required 'FT_PATHwygwam/config.php'
  (include_path='.:/usr/lib/php:/usr/local/lib/php') in
  third_party/wygwam/ft.wygwam.ee1.php on line 7

I can get to CP Home -> Modules -> Wygwam -> Editor Configurations - and I resaved all my wygwam fields as per this post: WYGWAM PHP errors in CP after upgrade

THAT post mentions a post to look at on https://getsatisfaction.com/pixelandtonic but that info is "retired"  :-/

  Sorry, the community that you’re looking for has been retired and is
  no longer available. If you need help, please contact the company
  you're looking for directly.


texts: Get Channel Field Names from Channel Field IDs?

texts: Is there an API that can get Channel Field Names being passed Channel Field IDs? I'm not looking for a third party solution. I can code a solution myself if that's the case.


texts: Is there a way to make a vimeo gallery with playlist thumbnails using channel videos?

texts: I'm trying to create a vimeo video player with playlist thumbnails. Has anyone ever done this using dev demon's channel videos? Does anyone have any good advice or can point me in the right direction? Thanks!


texts: Control Panel checkboxes working incorrectly

texts:
I am having an issue where checking a checkbox next to one entry in my control panel is causing all the previous checkboxes to become checked as well. Obviously it's not supposed to do this, and I have no idea how to fix it or what's going on. I thought it might have been Zenbu, but everything works fine on my local version, and the staging version has all the same code and add-ons installed.

I've disabled my custom CP theme to try the default again with no change.
I've disabled almost all the extensions, accessories (not modules) and the CP theme that could have been affecting the publish layout without any effect:

MX extended content menu
NSM morphine theme
responsive CP
Sassy CP theme
Zenbu

I haven't listed the modules, but Zenbu is the only one I can think of that might be affecting this. If I uninstall the module I will have to set all the layouts up again, but if this fixes the checkboxes, I'm willing to do that.

I checked the console and there are no Javascript errors, so I can't figure out how to troubleshoot this, since disabling almost everything (that won't cause me lots of extra time to set up again) had no effect.

Here is a screenshot of what happens


texts:
Website was hacked. After being cleaned up (but probably not 100% secured), all pages started returning a 500 internal server error. Host says it's not them. The server loads flat files perfectly. Moving /system/ returned "The system path does not appear to be set correctly.  Please open your path.php file and correct the path" message, as expected. No idea what's causing the 500 errors. Probably related to the hack, but I can't be sure. Also don't know how to fix it. Any advice?

For context: I don't know if the site runs EE1 or 2. I'm a noob w/ EE. I was called in to help, but I don't know much about the site/server. I have FTP access but (as of now) no SSH access.

Edit: A local install of PhpMyAdmin is running on this server. I'm trying to convince the client to remove it. I've moved the PMA directory/files out of the web-accessible directory for now.

Edit 2, more context: This site runs on an IIS server. I can't make file-permission changes.


texts:
I tried to use all possible way for search but it doesn't work.

So what I have:

Channel countries:

field: country_name (like UK, USA, Ireland, Russia and etc)

Channel departments:

field: department_title (like tech, commerce, finance)

Channels careers:

field: title
field: careers_department_title(relationship with channel departments by field department_title)
field: career_role_location(relationship with channel countries by field country_name)

To display all from careers I do:

{exp:channel:entries channel="careers"}
  Job title - {title}
  Department title: {careers_department_title:department_title:}
  Role location: {career_role_location:country_name}
{/exp:channel:entries}

Now I need to do search by country or by departments.

{exp:low_search:filters query="USA"}
  {exp:channel:entries channel="careers" style="linear"}
   {career__country_name:country_name}
  {/exp:channel:entries}
{/exp:low_search:filters}

As result I have list of all countries, but I need only from specific country, in this example should be only USA, and no UK, Russia and other.

Can somebody advice how correctly to write this search by field which has relationship type?

My main goal to display dropdown menu and user can select search option: search by departments or by location.

Thanks in advance!


texts: Safecracker Registration - Entry Ids are all 0

texts:
I have this code in safecracker registration form

<select required name="gender" data-content="{instructions:gender}" data-title="Help" data-placement="right" data-trigger="focus" id="gender">
    <option value=""></option>
    {exp:channel:entries channel="genders" disable="categories|category_fields|member_data|pagination" orderby="entry_id" sort="asc" dynamic="no"}
        <option value="{entry_id}">{gender_name}</option>
    {/exp:channel:entries}
</select>

When I first load the page, it outputs correct entry_ids for the gender.

The problem arises when I try to submit a form that causes an error. I get redirected to the same page but the difference is that in the field above, ALL entry_ids are 0.

<select required name="gender" data-content="{instructions:gender}" data-title="Help" data-placement="right" data-trigger="focus" id="gender">
    <option value=""></option>
    <option value="0">Male</option>
    <option value="0">Female</option>
</select>

Any idea why this is the case?

EDIT: I forgot to say that this code is in a Snippet. It probably is relevant to the discussion.


texts: Using Low Variables & P&T Pill in a Conditional

texts:
Having a bit of a weird problem happening with P&T pill field inside Low Variables.

When I used this code:

{if "{lv_metasocial_meta_title_display}" == "title_site_name"} | {lv_general_site_name}{/if}

It doesn't render out the {lv_general_site_name} variable. Moving this outside of the conditional makes it appear.

The options inside the Pill field are:

title_only : Meta Data Title Only
title_site_name : Meta Data Title and Site Name

Changing the pill values, and also resubmitting the variable multiple times doesn't make this work.

What could be causing this?

I also tried changing the tag to using the Low Variables Single tag, but it throws this error:

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

So I've had to just use it as the field name itself, which outputs fine outside of the conditional due to Low Variables Parse tag being wrapped around it.

Any ideas?


texts:
I've been getting errors related to the exp_security_hashes table and it's always this statement:

Unknown column 'ip_address' in 'where clause'

Normally I would be looking at the add-on but this same issue/error has happened while using different add-ons.

Can I create the ip_address column in the exp_security_hashes?


texts: after upgrading to EE 2.9.0 any valid user login attempt to CP or front end is not sucessful

texts:
I've seen posts like this but I've reached a dead end, can anyone help ?
Post upgrade from 2.8.1 to 2.9.0

logging in as front end user:
First thing I see is that "S=0" is prefixed before the template segments, like this http:///?/S=0/account/login
This S=0 was not present at previous version EE2.8.1 Core.
The login form is functioning, as a POST with an incorrect password is picked up correctly.
A correct set of details merely refreshes the screen and clears out the form fields.
logging in as CP user
No "S=0" this time ; http:///admin.php?/cp/login
As for front end, submitting a correct set of details merely refreshes the screen and clears out the form fields.

Here's the parameters in play for both cases that may be relevant ....

Cookies only are set to on for
$config['admin_session_type] = 'c'
$config['user_session_type] = 'c'
and...
this issue occurs even when cookie_prefix and cookie_domain are set or are null

The above occurs even when
all sessions are deleted from exp_sessions;
cookies are deleted from browsers - have run this from Safari, Chrome and Firefox;
$env_config['expire_session_on_browser_close'] = 'y' and $env_config['cookie_secure']= 'n';

re modules, having seen other posts:
I don't have Zoo Flexible Admin installed;
I have disabled in the database the cp_member_login hook for the structure addon;
Also I can confirm that the "redirect after login" parameter in structure is set to 'n';
and config item allow_extensions is 'n'

thanks


texts: Adding custom errors inside safecracker_submit_entry_end hook

texts:
I'm doing some post-processing after a Safecracker form has been submitted.  During my post-processing if I want to encounter an error, I'd like to set one and have it show up as an error when the page reloads. I would assume you can do this somehow using the $safecracker object you have use of inside the hook, I'm just not sure how.

Any help or insight would be appreciated

Thanks!


texts: Using session_variables and conditionals with Matrix!

texts:
The Situation:
I'm building a new feature for a wildlife-based charity. They want to spice up their donation form to include images of relevant animals based on how users have been browsing the site. If a user checked out a page about Animal-X, when they hit the donation form, there should be a big image of Animal-X as well as other info stored in a Matrix entry.

I didn't do the original build of the site, and the site's setup is a little different to what I'm used to: Each page starts with {embed:_templates/_standard} and then uses {exp:stash:set name="xxxx"} to set content. The template at _standard is full of standard mark-up interspaced with {exp:stash:get}'s for content areas. I suspect this setup might have something to do with why I'm running into problems but the fact is I'm not well versed enough in stash or EE (yet!) to be able to identify why :(.

The Problem:
I'm organising all my data in a Matrix inside a channel/channel entry (Donation Page Controller). This contains:

Cause name (eg. 'animalx') This is what gets stored in the 'interest' session_variable
List of page URLs that should set this interest
Image of animal-x
Text to use on Donation page
Text to use on Thanks page

I've also tried using a matrix in a Low Variable, but that didn't get me any closer to success.

My code looks like this at its most basic:

On all pages:

{exp:channel:entries entry_id="178"} {!--access entry that contains data--}
    {donatable_causes} {!--matrix--}
        {if current_url == don_pages} {!--compare URL to matrix content's list of pages--}
            {exp:session_variables:set name='interest' value="{don_text}"} {!--set the session var--}
        {/if}
    {/donatable_causes}
{/exp:channel:entries}

I've tried a heap of different variations on this; storing it in a seperate template, embedding, stashing, snippets, gv's... From what I can tell, setting the session_variable fires before the if conditional. So I tried using a stash:set scope='user' instead and getting to parse at the end, but I was getting a similar result. :(. I've tried everything I can think of.

On the donation page:

{exp:channel:entries entry_id="178" parse="inward"}
    {donatable_causes}
        {if "{exp:session_variables:get name='interest'}" == "{don_text}"}
            {don_image}
        {/if}
    {/donatable_causes}
{/exp:channel:entries}

The Solution:
Ideally I'd like to be able to store the 'interest' in a exp:session_variable, and then access it later when building the form page, using it to pre-select an option in a drop-down, which then lazy-loads in other components like the image or some-such.

Am I missing something completely obvious? Am I doing this in a completely stupid way? Should I just be using a URL segment to do this (/donate/Animal-X) and use the drop-down to just push people to different pages? Should I just be working around with PHP? I'm really stuck :(.

I'd be happy to use Mo' Variables, Stash, Session_variables, or Low Variables to accomplish this, or any mix of them.

Thanks you guys!


texts: How to use {exp:query} results in {exp:channel} parameter?

texts:
Since i can not retrieve {parents} from grid field, i am trying to find simplest workaround.
This works great:
{exp:channel:entries channel='channel-one' entry_id='
    <?php
        $servername = 'blabla';
        $username = 'blabla';
        $password = 'blabla';
        $dbname = 'blabla';

        // Create connection
        $db = mysqli_connect($servername, $username, $password, $dbname);
        // Check connection
        if (!$db) {
        die("Connection failed: " . mysqli_connect_error());
        }

        $url_pieces = explode("/", $_SERVER['REQUEST_URI']);

        $sql = 'SELECT parent_id FROM exp_relationships WHERE child_id = '.$url_pieces[2].'';
        $result = mysqli_query($db, $sql);

        while($row = mysqli_fetch_array($result, MYSQLI_NUM)) {
            echo $row['0']."|";
        }
    ?>
' disable='categories|member_data|pagination|category_fields'}

This works great also and produces little more total_queries:
{exp:channel:entries channel='channel-one' entry_id='
        <?php
            $pieces = explode("/", $_SERVER['REQUEST_URI']);
            $sql = 'SELECT parent_id FROM exp_relationships WHERE child_id = '.$pieces[2].'';

            $query = ee()->db->query($sql);

            if ($query->num_rows() > 0)
            {
                foreach($query->result_array() as $row)
                {
                    echo $row['parent_id']."|";
                }
            }
        ?>
' disable='categories|member_data|pagination|category_fields'}

But i can not get same result when i'm trying to use {exp:query}, it shows me nothing or error.
Here is what i've tried:
{parents_ids} Template Partial content:
{exp:query sql="SELECT parent_id FROM exp_relationships WHERE child_id = '{last_segment}'" backspace="1"}{parent_id}|{/exp:query}

Tempate code:
{exp:channel:entries channel='channel-one' entry_id='{parents_ids}' disable='categories|member_data|pagination|category_fields'}

This returns nothing. Is there anyway to do what i am trying to do without php in templates?
(ExpressionEngine® CMS 5.3.2, PHP 7.3.15)


texts:
In the URL www.site/recipes/meat, the segment 2 is a category, so, to make this work, I use a template with the category´s name:

the category template, is named (meat):

{embed="recipes/.recipes" url_title="meat"}

The main template, is named (.recipes):

{embed="estrutura/.template"}
     {exp:stash:set name='main'}
       .........
     {/exp:stash:set}

So, when the category appears in the url, the main template .recipes is called by the category template. With,
www.site/recipes/meat, all the entries of this category are listed.

It's working fine, but I have to create a small category template for each category. I'm curious to know if a more efficient templating way exists?

Stéphane


texts:
I'm mid upgrade of an EE 1.6.7 install with Freeform Pro 2.7.2. I have completed upgrading the site to 2.8.1( I know 2.9.x exists...), and now when I try to update Freeform to 4.1.8, nothing is happening.
I've copied in the new folders, gone into the Add-Ons / Module screen and ran the "Update Modules" function. Freeform then shows an updated version number to 4.1.8. Then when I go into Freeform itself, the tool works, but I have no forms showing, nor any fields. When I go into utilities, it gives me the option of migrating old collections, which I initiate, only it stalls out at "Migrating 0/9128.
*UPDATE
I followed the direction given in this post: Solspace Freeform Pro no field types available for adding in the missing freeform fields table, which fixed that portion, along with freeform now showing all of my previous fields from before the upgrade, so that's working now.The only thing left is the migration of collections are still failing and the forms tab is still blank... even though there should be forms.
In looking further into the DB, which is getting in over my head, the Freeform upgrade renamed the original table exp_freeform_entries, to exp_freeform_entries_legacy, then created a new exp_freeform_entries_1, but seems to never have actually converted any of the data or columns from _legacy into _1. Is there a way to run a SQL query to do that? Like I said, it's over my head at this point...


texts: Better dropdown fieldtype to handle long lists?

texts:
Does anyone know of a better fieldtype to handle long lists in a dropdown than the default dropdown list fieldtype?

I need to

work within Grid
field must be searchable in front end (via ee or low search)
be able to add items within the list at times
handle thousands of items in the list (maybe 5,000 - 20,000)
hopefully offer an improved way of choosing the item

(I considered using a second channel and a Relationship in the Grid, but the problem is searching isn't a possibility for Relationships in a Grid. That would be ideal in that I can change/add to the items in the second channel, but the search issue is a deal breaker.)


texts: The day before a big meeting....site disappears

texts:
Yup. I was finalizing a design by FTPing a revised stylesheet to my server and my entire domain went down for about 1/2 hour. It came back up but the website I wasb preparing on a subdomain shows up as a white screen. Looking at the source there is no code. However, I am able to log onto EE CP and my data is still present.

I'm currently on the line with my host (MT) so see if the issue is on their end. Has anyone experienced this on EE's end? If, so where should I start looking for a solution?

Thanks.

Update: Now I can see my raw HTML, but no CSS or EE templates.

Update: And now I just disabled the structure module and lost my site tree. :(


texts:
I'm trying to install Freeform and after install I click Freeform from the modules list and I get the error below...

  Fatal error: Class 'Freeform_mcp' not found in /var/www/vhosts/site.com/httpdocs/sysadmin/expressionengine/controllers/cp/addons_modules.php on line 344

I'm using Expression Engine Version v2.8.1.

I've uninstalled and tried again but I get the same error.

Any ideas?

Thanks


texts:
in user add on

<select name="category[]">
    {categories}
        {category_body}
            <option value="{category_id}">
                {category_name}
            </option>
        {/category_body}
    {/categories}
</select>

Adding category to user is not working. Categories are not displaying in select dropdown.


texts:
I just recently updated my DV server (media temple) to their new infrastructure DV4.0. Most recently I've been experiencing latency of more than 8s to load my site or any site on my server. After further investigation, I identified an excessive RAM usage on my server which was causing absurd latency and my site(s) to time out at load time. It turns out that the new media temple infrastructure comes with NGINX running and installed instead of Apache. Here it is what the error log shows:

http://pastebin.com/iZ5yizGg

http://pastebin.com/PzSsYKNS

The problem, in my mediocre understanding, is that EE doesn't like NGINX so I'm not sure what to do at this point. I have the option to install apache or to try to configure NGINX. NGINX seems to be very performant when it comes to heavy traffic. I'm wondering if anyone here has run into this issue and what the possible solution is.

Thanks,

Juliano


texts: Exp:resso Store - add shipping cost after shipping country selected

texts: Is it possible to add shipping cost on the summary checkout page? ie after the user has selected shipping destination?


texts:
Is it easy to downgrade from version 3.5 to 2.9? I have a client that do not like the interface and don't want to upgrade some plugin's too. And how must I downgrade

Greetings Marc


texts:
I've been looking for an easy way to point search engines to the sitemap.xml file in the root of the website. I've been using Google Sitemap Lite in combination with Navee or Structure. And it's generating sitemap.xml output like a charm.

But I've put the code in a template group named "sitemap". So I need to edit the .htaccess file, so the /sitemap.xml url points to /index.php?/sitemap. I couldn't get it to work...


texts: Playa: Reverse Relationship Entries without a channel entry

texts:
Is it possible to simply retrieve the entries from a Playa field that are in use?

Let's say I have a Team channel with everyone in the company's bio. 5 of those people have been selected across various Blog channel entries as the author. (In this case, a different person is logging in to post the entries, and we want to link to their bios.) Can I, with one tag, simply fetch the Team entries that are actively selected within Blog entries, in a sidebar without having a Blog entry as context?

Thanks!

Mark


texts:
We've setup a site for a client to populate with their content and they are having a recurring issue when they go to 'save revision' or 'submit' the entry.

If they've spent a bit of time adding the entry content, when they click either save or submit, they're getting dumped out to the control panel home.

I wondered whether the session could have been expiring (or changing somehow) so changed the security to cookies only, but they're still having the issue.

Anyone else come across this or have any thoughts as to why it might be happening?

Cheers!


texts: Channel parameter error in Solspace tag cloud

texts:
I am using v. 5.0.0 of the Solspace tag module in EE3, and when I use the channel parameter in the tag cloud, I get the following errors:

Notice

Undefined property: Tag::$sc
user/addons/tag/mod.tag.php, line 2331

Trying to get property of non-object
user/addons/tag/mod.tag.php, line 2331

Trying to get property of non-object
user/addons/tag/mod.tag.php, line 2331

Here's the code I'm using:

{exp:tag:cloud tag_group_name="my_group" channel="my_channel1|my_channel2" orderby="tag_name" rank_by="entries" sort="asc" start="12" step="8" groups="5"}

{tag}

{/exp:tag:cloud}

The above code worked with v. 4.2.9 & EE2. If I remove the channel="my_channel" parameter then the errors go away. I also noticed that the channel parameter is not listed in the current documentation or the 4.2.9 documentation, but it still worked before. Has this parameter been removed?


texts: Moving channel from one msm site to another

texts: Is there a way to move a channel from one msm site to another?  Both sites are within the site  installation.


texts: Snippets breaking on one entry, but not others?

texts:
What would cause an EE template to barf on one set of comments but not another?

For example, the comments on this page are messed up:

http://alistapart.com/comments/seo

But it doesn't seem to be happening on any other article (that we've found). Example:

http://alistapart.com/comments/negativemargins

What could cause this? I've gone through the comments to see if I could spot any bad code, but even if I had found something I'm at a loss to explain why it would cause problems with EE rendering.

(EECMS v 2.5.5)


texts: Import existing File field content to Matrix gallery

texts:
I have a channel with a File field that I'd like to replace with a Matrix field in order to create an image gallery for each channel entry, however there are thousands of entries in the system already that I am worried will be wiped if I modify the field type. Is there a way to incorporate the existing image files into a Matrix entry, or is my best option to create a Matrix gallery alongside the single File field?

Thanks!


texts: Expresso Store: set price based on rules

texts:
I'm going to be importing thousands of products into my products channel. The imported data will have "cost" information.

By default, I want to "selling price" to be based on whatever category the product is assigned to (the category will have a "markup field" that'll either be in dollar value or percentage). I do want the store operator to be able set the markup at the product level (so the channel will also have something like a "markup field").

How can I do this in Store? Is Carthrob able to do this?


texts: Using Structure to output main menu when frontpage is the root?

texts:
I always end up with a custom addon for outputting the nav from Structure but for this project I was hoping to go all native .. it should be pretty simple, after all.

Given this Structure structure how could one output the menu to the right?:

The nav tag won't cut it as it will always output the root. Am I missing something?

{exp:structure:nav include_ul="no" start_from="/" max_depth="2"}

{title}

{/exp:structure:nav}

// NOTE: I do know about the Structure Entries plugin but AFAIK this will use {title} for the page titles which means it won't work inside a {exp:channel:entries} loop w/o using an embed.


texts:
On the site, the errors shown below are appearing on the bottom of the home page, and also appear when I try and complete a SagePay test payment.

Doing a bit of digging, it appears it may be something to do with a firewall blocking permission, but not sure. Can anyone confirm this, and also, does Expression Engine need to connect to a port?

A PHP Error was encountered

Severity: Warning

Message: Unknown: open(/var/lib/php/session/sess_4l2sqvju8b8ji8usse9vq4ekk7, O_RDWR) failed: Permission denied (13)

Filename: Unknown

Line Number: 0

A PHP Error was encountered

Severity: Warning

Message: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session)

Filename: Unknown

Line Number: 0


texts: Create new template in Discussion Forum theme

texts:
I am working on customizing the theme of EE Discussion Forum and some of pages need to add/remove sections. For which I would like to create new template and include within appropriate template like {include:html_header}.

But when I am including the new created template, getting the error message like "Page not available".

Can anyone please suggest me if its possible. If possible, how can I achieve it.

Thanks


texts: Communication module, batch send, "Unable to send email at this time" after many successful batches sent

texts:
I'm using EE 2.7.2

Sending out an email with Communication tool to an EE mailing list with about 3,000 people on it. Started sending fine in batches of 50, and then after about 2,300 sent it came up with this error:

  Unable to send email at this time

Now when I go new previously sent emails it says the status is "incomplete" and gives me an option to finish sending the unsent messages, but when I click this I get the same error over and over again.

For the record, I have Postmaster setup to send all system emails through Mandrill. All other system emails have been working fine before and after this, so it's just a problem with sending to this mailing list via communication tool.

What would cause this very nondescript error to appear?

I first thought maybe there was an EE, Mandrill or server limitation on emails sent, but I've checked and I don't think that's the case.

Another suggestion I received is to check to make sure there isn't a malformed email address in there that is messing it up. But when you have over 3,000 emails it's very hard to look through them for something like that.

Any other suggestions of how to debug this?


texts: VZ Exif - has someone used this on forums?

texts:
I have been searching for solution to show EXIF infos on images on my forums. I found so far only VZ Exif that is EE2-ready, but didnt manage to make it work with forums, even that i run my forums via regular template.

So, can someone guide me, or give a helping hand, thanks.


texts: Store - PHP Error was encountered when tried to export order details in store

texts:
Good day,

An error was encountered when I was trying to export order details to PDF in Store Module.

Following are the errors:

A PHP Error was encountered:
Severity: Warning ;
Message: Illegal string offset 'hex';
Filename: include/style.cls.php ;
Line Number: 1418;

Unable to stream pdf: headers already sent

Version of EE and Store are 2.6.1 and 1.64 respectively.


texts: Expresso Store on Expression Engine 3.4.2

texts: I have purchased Expression Engine 3.4.2 and Expresso Store 2. However I can't get the addon to be shown in the add-on section with Expression Engine. After uploading it to several folders I started looking into the release notes of Expresso Store 2 and noticed that there are no notes about Expression Engine 3.4.2. Is it true that Expresso Store 2 is not compatible with Expression Engine 3.4.2?


texts:
I was in the process of trying to upgrade my Assets in the EE 2.5.2 install from version 1.1.5 to 2.1.4. I was able to do the update without issue in our development and staging environments, but when I attempted the EXACT same update in production I received this error:

A Database Error Occurred
Error Number: 1062

Duplicate entry '1-review_badge.png' for key 'unq_folder_id__file_name'

ALTER TABLE exp_assets_files ADD UNIQUE unq_folder_id__file_name (folder_id, file_name)

Filename: third_party/assets/upd.assets.php

Line Number: 479

When I tried to re-submit I was met with this error:

A Database Error Occurred
Error Number: 1146

Table 'tmo_ee2.exp_assets' doesn't exist

ALTER TABLE exp_assets MODIFY COLUMN file_path VARCHAR(255) NOT NULL

Filename: third_party/assets/upd.assets.php

Line Number: 403

I know the second error is a symptom of the updgrade script already deleting the old exp_assets table. Anyone have any idea what's causing the first one? It seems similar to this error: Assets 2 update causes PHP errors which is related to this one: Assets not showing the correct upload directory

I AM using the EE Bootstrap Master config, but I am NOT using the $config['upload_preferences'] options, plus the second support thread above claims this issue is resolved in the latest versions of Assets


texts: {auto_path} linking to category-url instead of page-entry-url?

texts:
Is it possible to modify the {auto_path} variable to return the category-url instead of the page-title-url?

for example:

if the search results url, set in channel -> preferences, is:

    http://example.com/template/

can the {auto_path} return:

    http://example.com/template/category/category-url/

This is using "exp:search:simple_form". I have the results  displayed in a template using the following:

    {exp:search:search_results}
    {title}
    {/exp.search.search_results}

If I use the {path} variable, would the correct format be:

    {title}

How would I get the "/category/" url indicator inserted in the url?

Am I close?

    {!--more stuff--}

I made a mistake above, which I corrected; the fist segment of the url isn't the channel, it's the template.

I created the site with six template groups - just using the index page for each group; a conditional for "{segment_1}" - the template which selects the channel & "{segment_3}" - the category - which loads sidebar snippets based on the result of the conditional.

The {path} variable should return:

    http://example.com/template/category/category-url/


texts: Override inclusive_categories="yes" with search string?

texts:
Is it possible to override the inclusive_categories parameter with a search string? I want to use inclusive_categories for every case except for when a search string is passed to the results template. For example, this is my template:

{exp:super_search:results inclusive_categories="yes"}
    Results
{/exp:super_search:results}

And I want to pass a search string to the results template and set inclusive_categories="no". So I tried this string which does not work:

/search/locations/search?&amp;channel=locations&amp;XID={XID_HASH}&amp;category=category1+category2&amp;inclusive_categories=no

Any ideas on how to approach this?


texts: Set custom field value inside channel form parameter

texts:
Is there a plugin that can do this?

{exp:channel:form custom_field="value" channel="my_channel"}{/exp:channel:form}

The reason I'm doing this is so that nobody can view what are the values I'm sending when creating an entry using channel form.


texts:
I've got a Grid field (EE2.11) where one of the columns is called "Open?" with a checkbox for "Closed" so I can turn a row off and on. I'm using a nested conditional to first filter out anything that's marked closed, then a simple conditional within that, like this simplified version:

    {exp:channel:entries channel="samples"}
        {sample_grid}
            {if sample_grid:open <> "Closed"}
                {if sample_grid:videolink == ""}
                    {sample_grid:description}
                {if:else}
                    {sample_grid:videolink}
            {/if}
        {/sample_grid}
    {/exp:channel:entries}

So two questions: (1) is there a better way to turn Grid rows off and on (I was wishing for something I could put in the channel entries tag to do the filtering)? and (2) is there a better way to filter out the closed rows than with a nested conditional?

It's all working fine, I'm just wondering if there is some performance issue with this, or if this all seems like a good way to do this.


texts: Expresso Store Fatal error trying to install

texts:
I'm getting a fatal error installing Store 2.4.1 on a fresh install of ee2.9.2

Anyone have any ideas the cause / solution?

Fatal error: Uncaught exception 'InvalidArgumentException' with message 'Unknown CI database driver 'mysqli'' in

/home/eedemo1/system/expressionengine/third_party/store/vendor/expressodev/laravel-codeigniter-db/src/CodeIgniterConnection.php:39 Stack trace: #0 /home//eedemo1/system/expressionengine/third_party/store/vendor/illuminate/database/Illuminate/Database/Connection.php(160): Illuminate\CodeIgniter\CodeIgniterConnection->getDefaultQueryGrammar()
#1 /home/eedemo1/system/expressionengine/third_party/store/vendor/expressodev/laravel-codeigniter-db/src/CodeIgniterConnection.php(22): Illuminate\Database\Connection->useDefaultQueryGrammar()
#2 /home/eedemo1/system/expressionengine/third_party/store/vendor/expressodev/laravel-codeigniter-db/src/CodeIgniterConnectionResolver.php(24): Illuminate\CodeIgniter\CodeIgniterConnection->__construct(Object(Addons))
#3 /home/eedemo1/system/expressionengine/third_party/store/src/Container.php(30): Illuminate\CodeIgniter\CodeIgniterConnection in /home/eedemo1/system/expressionengine/third_party/store/vendor/expressodev/laravel-codeigniter-db/src/CodeIgniterConnection.php on line 39


texts: Solspace Tag and sorting by tags from tag group

texts:
I have created tags group "Attributes", which contain tags for product colors, material which was made etc. Next I want to sort products by one of tag from that group (a drop down menu "sort by" and there are listed all tags from that group).

I know how to display all tags from that group, but I'm not able to retrieve tags for displayed products only (for an example there is no red color so shouldn't be displayed).

Any clue?

Thanks


texts:
I'm trying to use Safecracker for a job application form so that all applications will be registered as entries in a channel called job_applications.

So I have this:

{exp:safecracker channel="job_applications" return="/inside_town_hall/administration/human_resources/career_opportunities"
}

[some code...]

{/exp:safecracker}

And yet when I try to view the form, I just get a "No channel was specified" error message... I double-checked (more like fifty-times-checked) the spelling of the channel and all. I even tried another of my channels as a test and none worked.
I also tried to replace the 350-or-so lines of code inside the tag pair by a basic "input name="title" type="text"" and "input type="submit" value="Submit"" and it still doesn't work.

I feel like this is probably some really stupid error but I can't think of anything. Is there some setting I have to change to make it accept my channels or something? I'm not really used to ExpressionEngine and SafeCracker so I might be forgetting something basic.


texts:
We've setup LV with a Matrix field, inside of which is an Assets field. When we submit the changes, these are written to the DB but when the page reloads, the Asset field is blank.

It appears this problem has happened before but the fix from back then seems to have become inaffective: https://getsatisfaction.com/low/topics/assets_field_used_in_matrix_as_a_low_variable_doesnt_pull_information_from_db

Is anyone able to help with this one? Our setup is:

EE 2.6.1
LV 2.3.5
Matrix 2.5.5
Assets 2.1.3

Sam


texts: Information not displaying in Playa field

texts:
I'm unable to get any relationship information to display within my Playa field. I'm using ExpressionEngine 2.5.2 with Playa 4.0.5 installed and my license key input. I have an information selected within my channel entry in the Playa field.

My playa field is titled "testplaya2" and here is the code that I'm using to display the playa information:

 {exp:channel:entries  channel="tours" limit="1" url_title="{segment_2}" status="open|hidden" show_future_entries="yes" show_expired="yes"}
 <div class="section">
    {testplaya2}
        {title}
    {/testplaya2}
 </div>
 {/exp:channel:entries}

Am I missing something?


texts: What is the updated version of assign_variable?

texts:
In former days {assign_variable: my_var="foo"} was a very handy tool. I haven't used it for some time and discovered that it was deprecated in EE 4.x but was not able to determine what if anything it has been replaced with. Is there a "modern" equivalent? If so, would you mind sharing?
Thanks.


texts: Cannot use SMTP email sending protocol without errors, in System Settings : Outgoing Email

texts:
I want to get EE's Outgoing Email working with the SMTP Protocol so that I can tag my messages using an SPF record, to avoid being marked as spam on delivery: https://support.google.com/a/answer/33786
I've tried settings in System Settings : General Settings : Outgoing Email for two entirely different SMTP servers without success.
This was tested using the Communicate panel in Developer : Utilities.
I'm having to conclude that EE is somehow not passing on correct credentials for sending messages. There's nothing conflicting in config.php or index.php
Any other tests I can try?
Gmail (G Suite) SMTP Relay
I worked with G Suite Support as far as we could go before they referred me back to EE. A 500 POST error appeared in the server log for a failed test. Gmail error page was:

Failed to authenticate password. Error: 535-5.7.8 Username and
Password not accepted. Learn more at 535 5.7.8
https://support.google.com/mail/?p=BadCredentials u35sm1903136uah.1 -
gsmtp Unable to send email using PHP SMTP. Your server might not be
configured to send mail using this method.

Relevant EE settings in /cp/settings/email:

Address: [G Suite Gmail address]
Character encoding: UTF-8
Protocol: SMTP
Newline character: \r\n
Server address: smtp-relay.gmail.com
Server port: 587
Username: [G Suite Gmail address]
Password: [application-specific password]
Connection type: STARTTLS

Gmail SMTP relay service settings:

Allowed senders: Only addresses in my domains
Only accept mail from the specified IP addresses: Yes
Allowed IP addresses: [IP of sending server]
Require SMTP Authentication: Yes (also tried No)
Require TLS encryption: Yes

Gmail Allow per-user outbound gateways: On
VPS hosting provider's SMTP
Also used user/password authentication and STARTTLS.  Error was 403 Forbidden page.  This triggered the server to block me as a spammer... Once unblocked, same error.


texts:
I cannot get my datepicker to work in the freeform demo  templates.  I have included the css, jquery and jquery UI.  THe datepicker works on a test page when not in a freeform, but it will not ork once I add it to a freeform

href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css
https://code.jquery.com/jquery-1.12.4.js
https://code.jquery.com/ui/1.12.1/jquery-ui.js
script type="text/javascript">
    $('#form-input-date').datepicker();
/script
input name="date" type="text" id="form-input-date" class="form-control " maxlength="" placeholder=""


texts:
I am using zoo visitor to manage my member profiles.

Is it possible to allow members to edit their profiles but not let the edits post live until they are moderated/approved by the admin?


texts: Expresso Store add shipping insurance based on Payment method

texts: My customer wants to charge a 2% shipping insurance cost if the user selects credit card as Payment method is there a way to add tis cost in Expresso Store?


texts: Does ExpressionEngine 3 use Codeigniter?

texts:
Ok first off apologies if this seems like a silly question but I'm actually having a hard time finding the answer, even on Ellislab's website and Google.

In ExpressionEngine 2.x it used Codeigniter as the framework. There was a directory containing the framework files and you could use features of Codeigniter within EE projects.

I'm just building a site on EE 3.3.1 and can't see any such directory in 'system' or it's subdirectories. Is there an underlying framework that can be used?

The reason I ask is because a lot of plugins don't seem to have been updated for EE 3.x compatability. I'm wanting to develop something to send an email and in 2.x I would have used Codeiginters features to do this.

So, is EE 3.x using Codeigniter and if not is there a framework that can be accessed, e.g. by using PHP in templates and then getting an instance of the framework?

Edit (15 Nov 2016) - this post seems quite frequently viewed. If anyone has any examples or information about how they've written custom PHP on an ExpressionEngine 3.x site please post it as an answer. The lack of a documented framework, or having to rely on one that might get removed, is a major issue for anyone doing custom PHP development on EE 3.x sites. Ellislab should really comment on this.


texts: Channel Form: how to explcitly remove a selected category through a hidden field based on Primary Cateogry value

texts:
This is a weird situation I admit.

I'm using Channel Forms to make all entries on my site created & editable via the front-end.

I have a category group of locations.

I use Primary Category to allow the user to specify what their primary location is. Some paid premium entries may also be assigned to additional categories (locations).

In the CP, when you specify a category as the Primary Category, it automatically selects that category even if it was previously unselected. This bahaviour is not carried over to Channel Forms. If I select a Primary Category via the front-end form the category is not actually selected. I use javascript on form submit to copy the Primary Category ID to a hidden category[] field to be sure that category is selected. This works fine on new entry creation.

The complication arises on entry edit via Channel Forms.

Now, if I edit the Primary Cateogry, I can use the same javascript to assign that cat ID as the value of a hidden field, but how do I deselect the old Primary Category? If I don't deselect the old category when Primary Category is changed, an author could add their entry to more and more locations if they continue to edit the Primary Category, when in most cases I want to limit them to having just the one Primary category selected.

So in essence, I need a hidden form field with a value equivalent to something like this:

<input type="hidden" name="category[]" value="not {some-cat-id}" />

Or another creative solution to use Channel Form (edit entry) to deselect old Primary Category when new one is selected.


texts: Can I see the most basic example of a File field in Channel Form (Safecracker)?

texts:
I'm using Channel Form/Safecracker and a File field (photo of a person) doesn't work; the UI is messed up: Clicking the "x" only goes to the top of the screen and there's no "Browse" button.

I've dumbed it down to barebones channel/fieldgroup/html, and still it's not working (unix permissions are fine). So I'm out of ideas. Does anyone have working Channel Form File field code? Here's my base that won't work. Page at http://farpoint.fcs.uga.edu/facs/site/test.

Any help is much much appreciated.

<html>
<head>
<link href="{path=css/_ee_channel_form_css}" type="text/css" rel="stylesheet" media="screen">
</head>
<body>

{exp:channel:form
    channel="people1"
    url_title="jphansen1"
    logged_out_member_id="1"
    return="site/test"
}

{field:photo1}

<input type="submit" name="submit" value="Next" />

{/exp:channel:form}

</body>
</html>


texts: Displaying multiple categories separately

texts:
I am having difficulty understanding how to display multiple categories inside an entry. This example is for a church website where sermons have multiple categories, such as which service it was in, and who the speaker was.

This is what I'm trying to accomplish:

{exp:channel:entries channel="sermons" limit="10" orderby="entry_date" sort="asc"}

{title}

        <time>{entry_date format="%F %j, %Y"}</time>
        {speaker_name}
        {service_name}

{/exp:channel:entries}

As you can see, I want to display the two categories inside the entries loop, but I'm not sure how to do this.

Any guidance would be greatly appreciated. Thank you much!


texts: EE 5 - Code snippet in template appearing and disappearing on website

texts:
I have an code snippet embedded in one of my pages, that will disappear, and then, if I go into EE, open the template, see that yes it is there, and close the template, then it’s there again on the website.  So weird.

Page: https://brookechao.com/about

It’s a website content reader.  When it shows up, it’s an orange button right next to the heading text of the page.

The code is this:

<script async src="https://widget.websitevoice.com/wBI4odpYGBtGcKfXUCgasg"></script>
<script>
  window.wvData=window.wvData||{};function wvtag(a,b){wvData[a]=b;}
  wvtag('id', 'wBI4odpYGBtGcKfXUCgasg');
  wvtag('gender', 'female');
  wvtag('text-selector', 'article, .post-content, .blog-body, .post_content, .content, .section,.wsv-audio');
  wvtag('widget-style', {
    className: 'wv-circle-small',
    backgroundColor: '#F5953E',
    tooltipText: 'Audio Version of Content'
  });
</script>


texts: Show the category image belonging to specific post

texts:
So on the Happy Monday website (http://www.happymondaypodcast.com) we have different sponsors for each show, these sponsors are set up as categories and assigned to the "Episodes" channel. I want to be able to select the sponsor for each show and have the category image (mailchimp, typekit etc.) show up for each episode.

The problem I'm having is that it's showing all sponsors, regardless of what has been selected in the individual episode posts.

The code I'm using is:

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

{episode_number} {title}

                {entry_date format="%l %d%S %F %Y"}

                {podcast_player_link}

Made possible by:

        {exp:channel:categories channel="podcast_episodes" category_group="2" style="linear" show_empty="no"}

            {/exp:channel:categories}

{/exp:channel:entries}

Any help would be so much appreciated. Completely stuck.


texts: need to create v1.7.x plugin for pulling data from an oci8 database into template

texts:
I've used oci8 databases in CodeIgniter applications in the past, but before I have never connected to a database in EE plugins I have written in the past.

I imagine I could use the database class to connect and query the oracle (oci8) database to return the data to the template.

I have always set up the database settings in the db config file of my CodeIgniter instance. I am unsure of what to do when trying to set the db connection within the plugin code. I need a push start. Any help is appreciated. Thanks.


texts: Cartthrob ct_pay_by_check causes 502 Bad Gateway | nginx

texts:
Specs: EE 2.8.1 | CT 2.5 | PHP 5.3.5

I'm running into an issue where using the ct_pay_by_check gateway during checkout is giving me a "502 Bad Gateway | nginx" error on returning to the confirmation page, in which the order entry is set as status 'Offsite Processing'.  The order is processed correctly in the backend, but does not return the confirmation page to the frontend user.  I am also using PayPal Express & PayPal Pro gateways without issue on the same site, although those have only been tested on successful authorization.

I have tested this issue in both Chrome and Firefox and both give the same result.  Additionally, I tested checkouts by both regular logged-in members and as superadmin both return "502 Bad Gateway | nginx".

Testing on my local system running WAMP had no issues, so I'm assuming there is something about the live server configuration that might be causing this.  However, I'm at a bit of a loss as to what might need tweaking.


texts:
We have an issue where an incomplete transaction is showing up on VZ Buyers like the person bought the items.  However the transaction was incomplete and the transaction failed so it was not taken out of stock but it's still listed.  Does anyone have a fix for this?

Our system has to be very precise with us selling 100 items at a time can't have room for buyer error by any means.  Any help would be greatly appreciated


texts: Something wrong in Stash usage and cannot figure out what

texts:
I have this code

{exp:channel:entries channel="katalog" limit="12" dynamic="yes" status="open" show_future_entries="no" orderby="date" sort="desc" disable="member_data" pagination="bottom"}

{!-- if entry has one of those three categories then set variable link to true --}
{categories show="51|50|39"}
      {exp:stash:set_value name="link" value="true"}
{/categories}

{if "{exp:stash:get name='link'}" == "true"}
//then print content1
{if:else}
//print content2
{/if}

{!-- delete stash variable and go for next loop because channel entries will do this 12 times --}
{exp:stash:unset name="link"}

{/exp:channel:entries}

what happens is this. If first entry in pagination has some category, then stash variable will be set to true for all 12 entries shown on that pagination page. Likewise, if first entry does not have any category added to itself then  variable link will not be set to "true" and other part of if condition will be displayed.

How to make stash to overwrite it's values ... what am I doing wrong? I need categories for this problem, but I am not sure what else to use.


texts: Using stash embed var as a conditional in channel:entries parameters

texts:
I'm revisiting a very old EE site, I had an embed that was used heavily in the site. The embed has some embed variables that could be used in simple conditionals to turn on and off various weblog parameters:

{exp:channel:entries
  channel="{embed:my_channel_id}"
  orderby="{embed:my_orderby}"
  {if embed:my_member_id}author_id="{embed:my_member_id}"{/if}
  {if embed:my_paginate}paginate="{embed:my_paginate}" {/if}
  ...
}

I want to convert this to a stash embed, but I'm stuck on how to include the stash vars in simple conditionals.  I want to do something like the following:

{exp:stash:set_list name="st_images" parse_tags="yes" parse_depth="2" parse_conditionals="yes"}
  {exp:channel:entries
    channel="{stash:_channel}"
    orderby="{stash:_orderby}"
    {if {stash:_author_id} != ""}author_id="{stash:_author_id}"{/if}
    {if {stash:_paginate} != ""}paginate="bottom"{/if}
    {if {stash:_paginate} != ""}disable="member_data|categories|pagination"{/if}
    {if {stash:_paginate} == ""}disable="member_data|categories"{/if}
    ...
  }

Any ideas how I can use stash to turn on or off parameters in this way?

Thanks


texts: Hookan and permission on front end template

texts:
We have about 30+ member groups (schools) and about 15 channels (books).

After logging in at the front end, member groups should have access to the channels we set. For the moment we use snippets to do it, but its very hard for a non tech person to manage it. So when we came across Hookan module from de Beer, it looks like the perfect fit to manage it (instead of the snippets). This module is purchased and installed and looks like it works well.

I only one the user groups to view, no edit or create anything.

On the front end template, how do I code the persmission to only display channels (books) the user group who have access to?

I would appreciate if you could just send me off in the right direction. I'm just stuck at the moment.

Thanks


texts: How do I find the Column ID for a Grid Entry Field in Expression Engine Channel Forms

texts:
I am looking to add a grid entry to Channel Form. I can see the field in the Field Groups list, but i cannot locate the Column id for the actual entry.

<input type="hidden" name="field_id_59[rows][new_row_0][]" value="new_row_0" />
<input type="text" name="field_id_59[rows][new_row_0][col_id_**????**]" value=""/>

Many Thanks


texts: Assets field within Grid field does not display

texts:
I have an issue using an Assets field (2.2.2) within a Grid field (EE 2.7.2). Here is my code:

{home_slideshow}

<img src="{exp:img_resize src="{home_slideshow:slide_image}" width="745" height="558"}" alt="Front Show Image" class="hero-image">

{/home_slideshow}

When I use Assets, the image displays fine but other Assets fields on the same page display nothing. When I swap out Assets and use a basic File field the above image does not display (and returns an empty img tag) but the other Assets fields on the page work fine!

I have already eliminated img_resize as the problem by removing any references to it - the issue remains the same.

Any thoughts?

Thanks.


texts: Stash Destroys variable regardless of conditional

texts:
I have the following at the top of one of my pages:

{if "{fn_zone}"!=""}
    {redirect="/store"}
{if:else}

{exp:stash:destroy name="delivery_day"}

.... More stuff ....

{/if}

However, what I'm finding is that regardless of the conditional the stash variable is always being destroyed.

I've even tried changing it to the following:

{if "{fn_zone}"!=""}
    {redirect="/store"}
{/if}
{if "{fn_zone}"==""}
    {exp:stash:destroy name="delivery_day"}
{/if}

Yet its still doing the same.

Can anyone advice how to deal with this?


texts:
Is there a way to show the name of the field in the front end (via Channel Form)?

There's the Name and short_name..  I want to put the whole "question" in the field Name rather than type it in the template.

Would be nice to do something like this:

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

instead of:

My question here with many words
<input type="text" name="{short_name}" id="{short_name}" value="{value}">

It's because I have my form in 3 templates and it would be easier to edit!


texts:
Good morning folks,

small but very irritating problem. Store2 comes with the Omnipay/Buckaroo payment gateway that's way outdated. Buckaroo switched to a new communication protocol in februari 2014.

The Omnipay github contained the new version and i was able to update this and get it to work for the three payment methods that already showed up in store2.

Then came the problemmy bit, i extended the method to include some functionality not yet implemented in the updated github version. Reason behind this, clients can pay via buckaroo using a few different methods (iDeal, CC, belgium bank, German banks, etc). When you handoff the payment to buckaroo without specifying what to use they show the user a selection screen. Since that selection screen is already part of my site design I need to handoff the payment to Buckaroo with a selector in the request.

The Omnipay Github version includes 3 methods (iDeal, CC, Paypal). I needed a few extras so i created those. Problem is, their NOT showing up inside Store2.

Who can point me in the right direction? I've asked the good folkes at DevDemon multiple times but haven't received a response yet (and we're a few weeks down the road already).

With kind regard,
Bas van Ginkel

Updated Omnipay Github
https://github.com/omnipay/buckaroo/tree/master/src

My Github Version
https://github.com/ginkelb/store-buckaroo/tree/master/store_buckaroo/Omnipay/Buckaroo


texts: Is there a way to configure a custom separator for channel field checkboxes?

texts:
I am working with a template where items are filtered by their checkbox values. The each item can have multiple checkbox values, and when they are selected the checkbox values are separated with a comma.

example: The template looks like this:

When multiple checkboxes are selected it looks like this:

I am using the isotope (http://isotope.metafizzy.co/) plugin to filter and sort my website values but isotope won't read the values with a comma after them. In the example above the only filter my filter function would read would be value3 (because it doesn't have a comma after it). Is there a way to customize the checkbox separator from a comma to a space? Or is there a different channel field that is better suited for something like this?

edit: This problem has been solved by adding some PHP to the replace the commas in the string of the class.

example:

<div class="<?php echo str_replace(",","","{checkbox_values}") ?>">


texts: Is there a way to display playa fields inside my matrix field?

texts:
I have searched high and low for answers to why my fields are not displaying properly or displaying data I need.

I am basically trying to get the url for the playa entry selected in the backend to the frontend with an anchor.

My template setup is this:

{exp:channel:entries channel="brands" dynamic="no" limit="100"}

                            {brand_image}

                            {/brand_image}

{brand_logos}{/brand_logos}

                                    {lookbook_season}
                                    {season}
                                    {/lookbook_season}

{/exp:channel:entries}

This is the setup in the backend if you need to know it is in the attachment.

Has anyone ever had these problems before?

Thanks,
Mark


texts: An Error Was Encountered This form has expired. Please refresh and try again

texts:
I am getting the above error. Its not a constant error comes and goes. when it happens and i clear cache it seems to "go" but when client tests, the error comes back.

This happens when they upload images to an already existing entry(Image size not the problem, they use small images).

I checked this post out, and it also seemed to be close (Can't login to CP – form has expired), but my question is entries based.

would adding this line in my config.php not affect security: $config['disable_csrf_protection'] = 'y'; and what would this do to my user front-end forms? is this the best solution? what would be the long term fix be for this?

thanks


texts: File Uploads Not Being Stored in Entry ID Folder

texts:
I've created a File Upload Directory called Films where images for Film Channel Entries are stored. The upload works and displays correctly in my templates, but I noticed in the Upload Directory that the uploaded images are being stored in the root of the directory and not in the entry's Channel ID folder.

The Channel ID folders are being created but the images are being stored outside of it (see screenshot). Is this how it is supposed to work or is something buggy going on? I'm using EE 2.4.0.


texts: Displaying what categories a product belongs to on a single-entry page

texts:
I have 3 category parents with several children in each.

For a single entry product page, I would like to list which categories the product belongs to (children only), with a single header for each category parent:

Publisher: (parent id 22)
Designer: (parent id 45)
Genre: (parent id 8)

There could be multiple children categories for Designer and Genre.

Ideally I would like to use conditional statements that spit out:

if publisher is checked then
Publisher: publishercategoryname

if designer is checked then
Publisher: designercategoryname1, designercategoryname2, designercategoryname3

if genre is checked then
Genre(s): genrecategoryname1, genrecategoryname2, genrecategoryname3

I would like the parent to show up just once, with the children category names nested.

Any help would be greatly appreciated.

Thanks!


texts:
Does anyone know if something like this is possible:

{exp:channel:entries channel="choices_events|jobs-opps" show_future_entries="yes" show_expired="no" disable="trackbacks" orderby="date_time|job-start-date" sort="asc" paginate="bottom" status="open" dynamic="no" parse="inward" {if channel_short_name == "jobs-opps"}category="258"{/if}

So I've got 2 channel entries that I want to list 'choices_events' and 'jobs-opps'. If the entries are under 'jobs-opps' I only want to display the 'jobs-opps' within the category '258'.

The above code isn't working for me at the moment.

Julie


texts: Ajax call via external embedded javascript?

texts:
i want to load some images on a click event from an external loaded javascript.
At the end of the template i manage my loaded scripts via modernizr load and yep nope. On click of some of the elements i want to load a html snippet with some ee related tags for the different channel entries.

The snippet look like this:

{exp:channel:entries channel="news" status="open" dynamic="off"}

{title} TEST

{/exp:channel:entries}

As i said i use jQuery to manipulate the dom, but i'm not able to start an ajax call like this

function loadSlider(element)
    {
        $(element).load("/system/expressionengine/templates/snippets/newswall_news.html");
    }

i get only an 403 error?

Tried it also as test to put the html snippet in the root folder, but the ee tags don't get parsed?

Any help on this would be great.

Peter


texts: Safecracker not creating entries with correct url for Structure

texts:
I am currently building a web app that allows users to create a list of their own contacts which are then stored as channel entries. This generally works fine however the Structure URLs are not being generated as expected.

I have created the form as below. The dynamic title is working and is being set on a simple jquery keyup handler. When I submit the form using ajax, the entry is created along with all the relevant data but rather than the entry being accessed at domain.com/channel/john-doe it is found directly at domain.com/john-doe.

I have gone as far as to use the Structure module's suggested additional tags:

<input type="hidden" name="structure_template_id" value="21" />
<input type="hidden" name="structure_parent_id" value="{structure:parent:entry_id}" />

but there was no joy and I simply experienced the exact same result. Any suggestions? Full code below (not including the additional structure fields).

{exp:safecracker channel="contacts" dynamic_title="[contact_name]" safecracker_head="no" include_jquery="no" return="safecracker/ENTRY_ID" json="yes" id="addContact"}

<input type="hidden" name="contact_list_designation" value="A" id="contact_list_designation"/>
<input type="hidden" name="contact_name">

New Contact

  <fieldset class="inline">
    Type

A

B

C

  </fieldset>

  <fieldset class="grid-50">
    Firstname
    <input type="text" name="contact_firstname">
  </fieldset>
  <fieldset class="grid-50">
    Lastname
    <input type="text" name="contact_lastname">
  </fieldset>
  <fieldset>
    Company
    <input type="text" name="contact_company">
  </fieldset>
  <fieldset>
    Email
    <input type="text" placeholder="name@example.com" name="contact_email">
  </fieldset>

{/exp:safecracker}


texts: How can I display a member's photo in a template?

texts:
I have a template for logged-in users where there's a small sidebar in which I want to display the member's photo.  In the EE documentation, it says to to use the {photo_url} variable, along with {photo_height} and {photo_width}.  Unfortunately, when I put those into my template, EE doesn't even render them.  Am I missing a {exp:} wrapper tag?

Here's what I have now:

{exp:member}
 {if photo}

 {if:else}

 {/if}
{/exp:member}

As it is now, the entire block seems to be erroring out and displaying nothing, however if I remove the {exp:member} tags, it always evals to false.  I know I have a photo uploaded for the member that I'm testing with, and if I remove the {if} block and just leave in {photo_url} it prints the literal value "{photo_url}".

What am I missing?


texts: How to build a table in a form using DevDemon Forms?

texts:
I am trying to build a form for booking rooms using DevDemon Forms. The data I need to collect has a tabular format like this:

Room 1 name -- Date from -- Date to -- Time from -- Time to

How can I implement this using the said module?
I have 5 columns so the 4 column layout widget does not work for this.

A solution would be to integrate a matrix field into forms - but I don't think this is possible.


texts: Problems with CE Image, MX Jumper and parse order (I believe)

texts:
I'm experiencing two possible issues in the code below:

The if/else I have always sets standard_image_width and retina_image_width to the value in the last {if:else}, regardless of whether or not it's correct; and
Whatever that value turns out to be set to, it doesn't make it through to the width="{exp:mx_jumper:out name='standard_image_width'}" attribute on the {exp:ce_img:pair} tag.

What I'm trying to do: Determine the size the image should be resized to, then create a standard and 2x retina versions using CE Image. {blog_images} is a Matrix field.

Anyone see what might be causing these issues? Appreciate any help I can get…

{blog_images}
    {!-- Get Image Size --}
    {if '{placement}' == 'sidebar'}
        {exp:mx_jumper:put name="standard_image_width"}226{/exp:mx_jumper:put}
        {exp:mx_jumper:put name="retina_image_width"}452{/exp:mx_jumper:put}
    {if:elseif '{size}' == 'full-width'}
        {exp:mx_jumper:put name="standard_image_width"}750{/exp:mx_jumper:put}
        {exp:mx_jumper:put name="retina_image_width"}1500{/exp:mx_jumper:put}
    {if:elseif '{size}' == 'text-width'}
        {exp:mx_jumper:put name="standard_image_width"}500{/exp:mx_jumper:put}
        {exp:mx_jumper:put name="retina_image_width"}1000{/exp:mx_jumper:put}
    {if:else}
        {exp:mx_jumper:put name="standard_image_width"}500{/exp:mx_jumper:put}
        {exp:mx_jumper:put name="retina_image_width"}1000{/exp:mx_jumper:put}
    {/if}
    {exp:mx_jumper:put name="image_{row_count}"}

            {!-- Retina --}
            {exp:stash:set name="retina_content_image"}{exp:ce_img:pair src="{image}" hide_relative_path="yes" cache_dir="images/blog/retina" filename_suffix="@2x" width="{exp:mx_jumper:out name='retina_image_width'}"}{aws_url}{/exp:ce_img:pair}{/exp:stash:set}
            {!-- Regula --}
            Size: {size}

            Standard Image Width: {exp:mx_jumper:out name='standard_image_width'}
            {exp:ce_img:pair src="{image}" width="{exp:mx_jumper:out name='standard_image_width'}" allow_scale_larger="yes" cache_dir="images/blog" hide_relative_path="yes" parse="inward"}

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

                    {caption}

            {/if}

    {/exp:mx_jumper:put}
{/blog_images}


texts: Solspace User: Blank Error Page After Submitting Registration Form

texts:
I have a User registration form:

{exp:user:register
    return='member/register/pending'
    admin_register='yes'
    required='m_firstname|m_lastname|username|email|password|password_confirm'
    error_page='notifications/user-error'
}
        {!-- form fields --}
{/exp:user:register}

Submitting a successful form returns the correct member/register/pending template, but submitting a form with errors returns a blank page at the site's root (http://mysite.com/).

This is my error template; the {if ajax}/{if not_ajax} tags are from Mo' Variables:

{!-- Error template for the User module --}
{!-- if the template is requested with Ajax, return JSON data. Otherwise, display a normal page --}
{if ajax}
    {exp:http_header content_type='application/json'}
    {
        "success": false,
        "heading": "{heading}",
        "message": "{content}"
    }
{/if}

{if not_ajax}
    {embed='_global/document_head' page_title='{title}'}

    {header}

{heading}

        {content}
        {link}

    {footer}
    {global_scripts}
    {document_foot}
{/if}

Debugging doesn't return anything.

EE 2.6.1

User 3.4.4


texts: Child subcategory or separate category - which one for the best practices

texts:
I have channel named Products and category group Product Types assigned to it.  As an example it looks like:

Product Type -> Scent -> Product Collection

And then it comes as Product Collection sometimes has own Product Line (here I have dilemma) or goes directly to a product item (that part I have handled already).
Also Product Types category group is used for building a main menu (using GWcode Categories add-on).
My question is - should I add Product Line for particular Product ABC Collection as a child category or create separate category group Product Lines and there list Product ABC Collection with his Product Line (and how to link it to the "main" Product Collection from Product Type).
Option 1:

Product Type -> Scent -> Product ABC Collection -> Product ABC Line

Option 2:

Product Type -> Scent -> Product ABC Collection
Product Lines -> Product ABC Collection -> Product ABC Line

and connect those two category groups together.
I'm not sure which one is the best practice way to go for within EE.
Thanks


texts:
I'm looking to show parent categories that have children, but if parents have no children, I need to show channel entries for the parent cats using the same segment_3.

{if "child_categories"!=""}
   This Has Child Categories
     {if:else}
   This Doesn't - Show Entries in Parent
{/if}

Edit:  Trying this:

{exp:gwcode_categories cat_url_title="{segment_2}" max_depth="2"}
{if '{has_children_in_output}' != ''}
This Has Stuff Show Children Cats
{if:else} This Doesn't Have Children - Show Entries for Parent Cat
{/if} {/exp:gwcode_categories}

I'm just not sure whow to show entries inside GW Cat tags.  Maybe I need to store GW output as a variable to reuse in a Channel Tag?


texts: How to pull {category_url_title} from related content

texts:
Wondering how I can pull {category_url_title} back from a Matrix field {recipes-related} that uses PLAYA related entries for {left} and {right}. I have this but doesn't pull the Category URL Title back so that I can build up the url.

{exp:channel:entries channel="{recipes_channel}" category_group="1" url_title="{last_segment}" dynamic="no" limit="1"}
    {recipes-related}
        {left}

        {/left}
        {right}

        {/right}
    {/recipes-related}
{/exp:channel:entries}


texts: P&T Assets - old image selections returning

texts:
I've recently upgraded a site to use Assets 2.3.2 instead of the built-in File field-type. This field is a column in a Matrix field.

During the process of setting the new field-type I did notice that there were a lot of very similar rows in the exp_assets_selections table like this:

INSERT INTO `exp_assets_selections` (`file_id`, `entry_id`, `field_id`, `col_id`, `row_id`, `var_id`, `element_id`, `content_type`, `sort_order`, `is_draft`)
VALUES
    (19, 3270, 26, 31, 44019, NULL, NULL, NULL, 0, 0),
    (22678, 3270, 26, 31, 44019, NULL, NULL, 'matrix', 0, 0);

For some entries that are updated the old image will reappear and the new image selection will not seem to be remembered. The rows above are one such example of this happening.

Which row is the correct selection format and is it possible to delete the unwanted rows with SQL as a means to clean up the database?

Thanks.


texts: What might cause "No direct script access allowed" during EE update

texts:
I'm in the process of updating a site from EE 2.9.0 to 2.9.3. As always, I've follow through the update process specified in the docs step by step. Upon running the update wizard the process seemed to get to 2.9.2 (ie. it was showing 2.9.2 in the wizard's progress window, but I don't know whether that means it was in the process of installing 2.9.2 or whether it meant that 2.9.2 was fully installed and it was now installing 2.9.3). But rather than completing the process it suddenly displayed a white screen saying "No direct script access allowed". The URL in the browser is http://mydomain/admin.php?C=wizard&M=do_update&language=english

Re-running the wizard gives the same result, except that this time the white screen appears immediately (without showing the wizard's progress window and without mentioning 2.9.1 or 2.9.2).

I've never run into this issue before during updates; does anyone know what might be causing it?


texts:
A client uses the purchased_item_notes field for customer order notes, and would like to export those in the order reports. This purchased_item_notes content displays on the CMS view of the generated order report, but when you export to CSV, the file trims away the data from that field.

Is it possible to alter the CSV export settings to include all the data in the generated report?

Using CartThrob Order Manager 2.5 and EE 2.8.1.


texts: Is there a way to provide a pick list of avatar images using Solspace User module?

texts:
I'm using the Solspace User v3.4.4 module on Exp Eng v2.7.2 - Build Date: 20131008 and trying to provide a set of existing Avatars for members to select from. I've setup a javascript function that populates a hidden field with the filename of the Avatar image when it is clicked on in a displayed list. But when the User "edit" profile form is updated the value is not being saved/stored in the member's profile.

I've tried variations of the field from 'hidden' to 'file' to 'text'. I can see the field being set to the proper value on the web page when a radio button is clicked on. But no saving of the field value when the form is posted. It seems likely there is some other security issue blocking this or something that I'm missing.

Here's some of the html and javascript...
(I've changed the initial character of some tags to '[' so that the code will display)

    [p id="avatar_filename_set">Choose a New Avatar:
    [input type="text" name="avatar_filename" id="avatar_filename" value="" />
    [input type="hidden" name="XID" value="{XID_HASH}">

<input type='radio' name='avatar' value='stand-up-paddling.png' {if avatar_filename == 'sports/stand-up-paddling.png'}checked='checked'{/if} onclick="javascript:document.getElementById('avatar_filename_set').getElementsByTagName('input')[0].value = 'sports/stand-up-paddling.png'; return false;" />

Here is the javascript specifically...

onclick="javascript:document.getElementById('avatar_filename_set').getElementsByTagName('input')[0].value = 'sports/stand-up-paddling.png'; return false;"

Any ideas would be appreciated. Thanks.


texts: Channel Images: Unable to upload images to product entry

texts:
I am having the issue that I am unable to upload any images to the product entry,

The console error I get is:

XMLHttpRequest cannot load http://www.findsignage.co.uk/?ACT=38. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://findsignage.co.uk' is therefore not allowed access. admin.php?S=239ef94834e3801b60655ed166061f89f7044695&D=cp&C=content_publish&M=entry_form&channel_id…:1
Uncaught TypeError: Cannot set property 'innerHTML' of undefined

Thanks


texts:
I have a list of items. Each item has a season.
I am trying to organize the items by season. I believe the list is pre sorted and I need to create a header everytime there item has a new season

In php I would imagine something like this

$nextSeason = "";
foreach($list as $item){
    $season = $item->season;
    if($nextSeason != $season){
        $nextSeason = $season;
        echo '
' . $season . '
'
    }
}

I have no clue how to accomplish this within the EE templating language

Here is the current code looping through the list:

{exp:stash:get_list:1 name="classes"
    against="class_category_ids"
    match="#(^|\&|\s){category_id}(.|$)#"
    prefix="classes"
}

      {classes:class_card}

{/exp:stash:get_list:1}

If i add {classes:season} it is printing out the season for every item.

I also do not understand what the :1 is at the end of {exp:stash:get_list:1} I have looked at the documentation for stash but it does not have a reference for this.

I believe this site is running EE 2


texts: search:field_name parameter combined numeric matching doesn't work

texts:
I want to use the numeric matching possibility of EE with 2 conditions to only show entries that are in a certain range of values.

I tried these two but none of them works (it just shows nothing) :

search:cost=">={embed:the_cost-from}" search:cost="<={embed:the_cost-to}"

search:cost=">={embed:the_cost-from}|<={embed:the_cost-to}"

If I ask just for one search:cost numeric matching (search:cost=">={embed:the_cost-from}"  or  search:cost=">={embed:the_cost-to}") it displays something but not what I want because I want something from a range.

Is this a EE bug or simply not intended or I just do it wrong?

EE 2.9.2


texts: Sublime text edit and ExpressionEngine Syntax - Not highlighting

texts:
Has anyone successfully gotten EE tags to properly highlight in Sublime Text 2? I tried installing the default ExpressionEngine package available from the package installer and it doesn't do anything. I also tried this one https://github.com/mrw/ExpressionEngine2-Sublime-Text-Bundle and it throws errors when I launch it. Any suggestions?

I am running OSX 10.8.2 and Sublime Text 2.0.1 (trial)


texts:
I'm trying to use a variable in a match for a stash get_list like so, but it doesn't appear to be working;

I'm setting an initial entry_id here for a place;

{exp:channel:entries
    channel="places"
    status="open"
    {global:channel_disable_basic}
}
{exp:stash:set name="place_id"}{entry_id}{/exp:stash:set}
{/exp:channel:entries}

Then I'm getting a list of events like so which contains an Event Venue as a custom field;

{exp:stash:set_list
    name="venue-events"
    parse_tags="yes"
    parse_conditionals="yes"
    parse_depth="3"
    save="yes"
    scope="site"
}
    {exp:calendar:cal
        calendar_id="4871"
        first_day_of_week="1"
        enable="custom_fields"
        date_range_start="today"
        date_range_end="+ 12 months"
        pad_short_weeks="n"
        dynamic="yes"
    }
        {stash:venue_event_title}{title}{/stash:venue_event_title}
        {stash:venue_event_venue}{cf_event_venue}{entry_id}{/cf_event_venue}{/stash:venue_event_venue}
    {/exp:calendar:cal}
{/exp:stash:set_list}

Then finally i'm using the 'place' entry_id above to match against the 'venue_event_venue';

{exp:stash:get_list
    name="venue-events"
    require_prefix="no"
    parse_tags="yes"
    parse_depth="3"
    match="#^{exp:stash:get name='place_id'}$#"
    against="venue_event_venue"
}
    <pre>{venue_event_title}, {venue_event_date}, {venue_event_venue}</pre>
{/exp:stash:get_list}

I can't get {exp:stash:get name='place_id'} to work in the 'match' but on it's own it does return a value.

Grateful for any advice here.


texts: Error when upgrading EE - 'The update script failed without returning an error. Please contact tech support.'

texts:
I was upgrading an EE install from 2.5.2 to 2.5.5. First of all, I updated all the add-ons to make sure they were the latest versions. Then I added the new EE files as per the updating docs.

When running the upgrade, I got the following error message in a popup window after about 15 seconds:

The update script failed without returning an error. Please contact tech-support.

My hosting has plenty of memory (512mb) and execution time (60 seconds, though I even upgraded it to 600 seconds to rule it out as an issue) and has run dozens of upgrades before without any issues. I even tried upgrading from 2.5.2 to 2.5.3 instead, but got the same result.


texts: Structure: change display depth for certain parents

texts:
I'm building a site with Structure, and in my overall navigation, I'd like to vary the show_depth parameter for particular parts of the site.

The following works for the majority of my site's navigation:

{exp:structure:nav css_id="none" css_class="menu" show_level_classes="yes" current_class="active" start_from="/" has_children_class="yes" show_depth="4" exclude="142|144|146|148|150|152"}

However, there are some sections that will have many (hundreds) of entries that are also at the "fourth" level of the hierarchy that I do not want to show in the navigation. For instance: I have a "Press Releases" section, which will have a parent page (called Press Releases), and will list ALL of the site's press releases.

Is there a way to conditionally change the show_depth number for certain parts of the site?


texts: unable to access to CP after setting cookie domain

texts:
Help! I was just trying to setting the cookie domain inside the CP > Admin > Security and Privacy > Cookie Settins

(as explained here Cookie Settings)

and now I can't login to the CP admin :(

how can solve this big problem?
thanks


texts: How do I change a Text Field to a Date Field without losing the content values?

texts: Is there a way I can change a Text field to a Date field and not toast the data that is already there?


texts: Assets field within Playa field + EE 2.7.1 causing template code to display on front end

texts:
I just upgraded EE to 2.7.1 and am having problems with my Playa (4.4.5) fields that pull in Assets (2.1.4) data. I have a 'homepage' channel with a Playa field that pulls articles from a 'features' channel, which includes an Assets field for (a single) image.  Pulling any data from the Assets field (e.g., {url}) causes the template code for the Playa field to display, as if the parser has choked.

For example, this works fine (without the Assets field):

{exp:channel:entries channel="homepage"}
        {home_features}

{title}

{feature_summary}

                more info

        {/home_features}
{/exp:channel:entries}

But this (stripped-down version) doesn't:

{exp:channel:entries channel="homepage"}
        {home_features}

                {feature_photo}{/feature_photo} {!-- this is the Assets field --}

{title}

{feature_summary}

                more info

        {/home_features}
{/exp:channel:entries}

which displays the following on the page:

{home_features}

Homepage

more info

{/home_features}

('Homepage' is the title of the homepage channel entry)

Assets fields seem to be working fine elsewhere on the site, just not within Playa fields.  I did sync directories and update indexes, fyi.

Help?  Thx!


texts:
I'm getting the following errors when I use the Channel Videos module:
A PHP Error was encountered
Severity: Warning

Message: Declaration of Video_Service_youtube::search($search) should be compatible with Video_Service::search()

Filename: youtube/youtube.php

Line Number: 219

A PHP Error was encountered
Severity: Warning

Message: Declaration of Video_Service_vimeo::search($search) should be compatible with Video_Service::search()

Filename: vimeo/vimeo.php

Line Number: 244

I'm using this tutorial (http://www.train-ee.com/courseware/free-tutorials/comments/09-implementing-the-blog-part-1) to create the site and all I've done is copy and paste the text files. I'm using EE 2.11.3 if that matters, and the site is hosted locally on my Mac using MAMP.


texts: Simple Commerce - don't want to use PayPal

texts: I'd like a simple ecommerce solution, but don't want to use PayPal. I already have authorize.net set up, so I would rather use that option. Simple Commerce seems to be designed to work around PayPal. Is there a way to make it work with authorize.net? Are there alternative solutions to Simple Commerce that do not cost?


texts: DevDemon Subscriptions: Cannot view details of transaction in Logs

texts:
Using DevDemon Subscriptions v 1.6.
Anytime that I go to "logs" and click on the ID of an entry to see if there are more details I get a screen that says "The requested module page could not be found.".
Are there more details to be found?  This happens on every log entry.


texts: I hope this is a really easy question. I'd like my simple search form to return ALL results, what should I enter in to the results parameter please?


texts:
I'm using the built in contact form, but the only element that gets emailed is the message.  Nothing else.

{exp:email:contact_form user_recipients="no" recipients="nick@pixelsandcode.co.uk" charset="utf-8" form_class="form form--full"}

    <fieldset class="controls">
        Your Email:

        <input class="controls__control" type="text" id="from" name="from" size="40" maxlength="35" value="{member_email}" />
    </fieldset>
    <fieldset class="controls">
        Your Budget:

        <input type="hidden" name="budget[]" value="--Your Budget--" />
        <input class="" type="range" name="budget" id="budget" min="1000" max="10000" step="1000" value="3000" oninput="outputUpdate(value)" list="ticks" />
        <datalist id="ticks">
            <option>1000</option>
            <option>2000</option>
            <option>3000</option>
            <option>4000</option>
            <option>5000</option>
            <option>6000</option>
            <option>7000</option>
            <option>8000</option>
            <option>9000</option>
            <option>10000</option>
        </datalist>
        <output for="range" id="your_budget" class="output">£3000</output>

    </fieldset>
    <fieldset class="controls">
        Message:

        <input type="hidden" name="message[]" value="--Message--" />
        <textarea class="controls__control" id="message" name="message" rows="18" cols="40"></textarea>
    </fieldset>
    <fieldset class="controls">
        Extra:

        <input type="hidden" name="extra[]" value="--Extra--" />
        <textarea class="controls__control" id="extra" name="extra" rows="18" cols="40"></textarea>
    </fieldset>
    <fieldset class="controls">
        <input name="submit" type='submit' value='Submit Form' class="btn btn--primary" />
    </fieldset>
{/exp:email:contact_form}

What am I doing wrong here?


texts: Popup editing modal in EE3 control panel?

texts:
In EE2's control panel, when working in a textarea field, there was an option to open a larger modal, effectively giving one a much larger screen area for editing. Then you'd either cancel the changes you made in that modal window, or publish to field.

I'm not finding this in EE3.x control panel. Am I just missing it?


texts: Expresso Store: Prevent prices from being rounded up

texts:
Okay, I've run into unsual cituation with Exp:resso Store and hope that the community will be able to help.

The site I'm working on is selling prints and the purchase's price is built depending on print dimentions. So in the backend, the item's price is set per square cm, then on front-end I have simple Javascript calculator which turns the width and height that user inputs into square area. Which, multiplied to the item's cost per cm, is the order subtotal.

Such setup means that the price for square cm is quite low (and minumum order is 0.5 square meter)

I have "Currency Decimal Places" setting set to "8".

But I found out I can't really enter amount like "0.000095"as the item price - it's getting rounded to "0.00010000" when the entry is saved.

Can anyone suggest what do do here to prevent rounding?

Or maybe some alternative solution which would allow me to charge for the print based on its square area?

Running Store 2.3.1 on EE 2.9.0

Thanks a lot!


texts: Displaying Count of Large Amount of Entries - Best Practice?

texts:
we need a 'counter' which displays the total number of entries for a given channel limited by category and status.

Were originally doing this via the EE Stats module before the Status/Cats requirement was added, the Stats module can't handle those parameters so need another approach - we're talking about possibly 10k entries so we can;t sure 'count' - it's going to have to be a query or a plugin.

Does anyone have any suggestions for that sort of large amount? Thanks!


texts: How do I order file list in Dev Demon's Channel Files alpha by filename?

texts:
I need to order the files alphabetically by file name. How do I do this?

The "orderby" parameter docs are incomplete for Dev Demon's Channel Files.
Both Channel Files and Channel Images docs are also blank after...

  "The “order” parameter sets the display order of the images. Setting
  options for this parameter include:

in the Parameters section of the docs. It just ends there after the colon.