texts:
I would value any suggestions / help available regarding a weird problem I'm having with an EE migration.

Trying to create a clone of an existing site (that works just fine) to do some development to the site templates.

I've set up a clean build of EE 2.10.1 on the development server, and it works just fine.

I've moved all the ancillary files associated with the existing site (e.g. Templates, Add-ons etc.) to the development server, and they are all visible and / or in the right place.  But I've retained the (working) config.php and database.php files from the initial setup of the new machine.

I've exported the MySQL of existing site using phpmyadmin - a process I've used before and works fine.

I edit the MySQL dump to remove table relating to CECache (which points to cache entries I did not migrate across).

I've imported the exported MySQL tables into the MySQL of the newly created server.

I try to log into the CP and get no further than the login screen looping back after each attempt.

I've had a look and it appeared that the 'new' site was trying to load some assets from the old site - presumably due to settings in the imported MySQL (as config.php and database.php remain unchanged and relate only to new site).

So I reload the original database for new site, and check it works as before.

I edit the MySQL dump to change all references in there to the old site (or the old file path) to the new site URL / site path.

I try importing the edited MySQL to the new site database, and try to log in, and get same error as before - but this time the new site is not trying to load assets from the old site.

All the fixes I can find for this assume / suggest it is a problem with settings in the config.php file.  But in this case, as I have a working config.php, the error must be something that is introduced via the MySQL import - not sure what though.

Anyone with any ideas?  Would value any / all suggestions about how to fix.

Thanks!


texts: How to check if EE member has a website address (field carries http:// so it always returns true )

texts:
I have the following code:

{if url}

Website
 {company_name}

{/if}

However,because the website field in EE's member profile always has "http://" inserted by default, the above code will always return true and display the conditional HTML. I am having to edit profile, remove the "http://" bit and save. Even then the "http" bit is inserted back in again but the code above will work!

Any ideas on how to get around this?

Thanks


texts: Set Freeform notification email dynamically

texts:
I have a modal box that pops up with a form anytime a person from a staff list is selected so that they can be contacted via the form without giving out their email address.

However, I'm having trouble figuring out how I can pass the staff members email address (which is in a field) to the freeform tag inside the modal without exposing their email address to the public.

I looked at the recipient parameter, but that wouldn't work since I don't want the user to have to select the recipient from a list in the modal again once they've selected a staff member to email.


texts: Profile:edit / Safecracker current password not recognized

texts:
I am working on a member profile edit using Profile:edit and a safecracker form. There is just one small problem.

When I try to make changes to the profile (not as a super admin) it requires the current password. The documentation provides the following code, which I have tried, but I still get an error.

The code:

{exp:profile:edit return="/member-area/company-preview" form_class="profile"}

{if logged_in_group_id != 1}

(You must submit the current password to update this page)

  Your Current Password:
   <input type="password" name="current_password" value="" />

{/if}
<fieldset>
Username:
    <input type="text" name="username" value="{username}" />

        Screen Name:
            <input type="text" name="screen_name" value="{screen_name}" />

        Email:
            <input type="text" name="email" value="{email}" />

</fieldset>

<fieldset>

Change password? Leave blank if you do not wish to change it.

        New Password
            <input type="password" name="password" value="" />

        Confirm New Password
            <input type="password" name="password_confirm" value="" />

            {!-- superadmins don't have to submit existing password --}
            {if logged_in_group_id != 1}

(You must submit the current password to update this page)

                Your Current Password:
                    <input type="password" name="current_password" value="" />

            {/if}
</fieldset>

<fieldset>
    *First Name:
        {field:member_first_name}

    *Last Name:
        {field:member_last_name}

    *Full Name:
        {field:full_name}

    Address:
        {field:member_address}

    Address:
        {field:member_address2}

    City:
        {field:member_city}

    State:
        {field:member_state}

    Zip:
        {field:member_zip}

    Main Phone:
        {field:member_phone}

    <fieldset>
        <input type="submit" value="Save" />
    </fieldset>
{/exp:profile:edit}

The error message:

  In order to make changes you must submit the current password

I would appreciate any assistance resolving this.

Thanks.


texts: Use an exp-resso store coupon code without being a member

texts:
Is it possible to use an exp-resso store coupon code without being logged in / without being a member?

From the docs:

Restrict to Member Group: If configured, the promo code will only be able to be used by logged in members in this member group.

So I set the setting to 'all'. When I log out to test the code I get an error 'invalid code'. If I'm logged in, everything works shiny.


texts: How to have an entry open into a standalone page

texts:
I am working on my first EE site and also my first site in general so I am a bit new to this. However, things have been going fairly well but I need some assistance on this topic.

I am creating a tutorial site so I plan on having recent content quite frequently. I have categories set up so users can go to certain topic pages and also my most recent video is large for viewers to see. However, since the splash page is a little bit of a summary page, I want users to click into a page to view the content. Here is a link to what I am referring to http://greyscalegorilla.com/blog/

As you can see his splash page showcases all of his tutorials, and when you click on the title you go into a standalone page for just that content. I don't know what terms I would type into search engines to even start looking for how to solve this. I saw the Pages module in EE and I am not sure is that something I need to use? Just looking for a little bit of assistance so I can start looking for how to create that effect. Any help is greatly appreciated! Thanks everyone!


texts: Can a member group upload a file in an entry, but not access File Manager?

texts:
I have a member group where a member can only edit their own entries. Their entry contains a File field. I thought if I went to the Upload Directory preferences and select their group to access this Upload Directory, it would be fine. But when trying to upload, they get the error, "You are not authorized to perform this action."

Going into the Member Group settings and allowing them access to File Manager fixed this. But I'd rather they not have access to the File Manager (lots more than they need). Any ideas on how to let them upload a file, but NOT access the File Manager? (Or am I doing something wrong?)


texts: Changes to parents not cascading to relationship child

texts:
Got a large number of relationships in a DB via Playa.

When I change a parent entry (the titles) the title been out-put by the playa tag is still the title before it has changed.

I know why this is happening as the old title is stored in the playa entry, but is there a way to make playa automatically go round and check and update these so I can change these without having to do it manually.

So to clarify:

Channel 'Parent' has a entry "I'm the Daddy"
Channel 'Child' has an entry which via playa references "I'm the Daddy"

If I rename the entry in the parent channel to "I'm not the daddy", when I reference the parent's title via the child using playa, it returns "I'm the daddy" still instead of using the updated title.


texts: I am using solspace calendar. The weekend in our country is during Friday and Saturday. I would like to show the dates which are during the weekend in different color. Can anyone help me?


texts: Text field formatting - auto  + safecracker editing

texts:
I am using safecracker for users to create and edit content. When the entry is set to a status I have named "validated" the users can't edit the entry anymore and it uses a different template.

My issue is with a textarea and formatting. When I have the formatting for the text field as "none", the textarea in the safecracker edit field returns the content with the right returns. When the entry gets validated it comes out as one huge paragraph because there are no
 tags or
 tags. When I set it to "auto
" or "xhtml" I get the tags that I need for the "validated" page, but these tags show up in safecracker edit field.

Is there a way to override how a field is formatted from the template so my edit template would not add
 tags to the field but the "validated" template would?

I don't want richtext, I just want a
 tag for a return but I don't want the user to see tags on the edit page. This text field is in Matrix if that makes any difference.


texts: Client-side web storage for offline fallbacks

texts:
I'd be interested to know if anyone has experience working with ExpressionEngine feeding through data to a local client-side storage to run a microsite when it's offline.

Could it be possible to still use Channel entries and custom fields? a starting point could be through JSON data template or cached files.


texts: Creating Links To Uploaded Files (non-Image) Within Entries

texts:
I know this may be a silly question, but since I'm new to EE, my client has a requirement of creating links within their entries to files uploaded to the file library. Since we are using the URL rewrite feature for the website, I wanted to know if there a way to link to any uploaded file, e.g.

Click here to download file. Blah, blah, blah....


texts: Jquery works in jsfiddle but not in my cart. Expresso Store

texts:
I have been working on some jQuery in jsfiddle and I currently have it working. However, when I apply the exact same script to my Expresso Store using EE it doesn't work.  It's not outputting in js errors in Firebug.  Any ideas?

Here is the fiddle  http://jsfiddle.net/NnEdM/11/

And here is my site  http://spartonenterprises.com/store/playground-mulch


texts: Not able to update channel entries related to store, other issues

texts:
I’ve recently updated a site from 2.5.2 to 2.7.3. I've also updated Store from 1.6.1 to 1.6.5. I’m experiencing issues in certain sections of the back-end, namely editing channel entries and working with the Template Manager.

For one channel, when I click Submit I receive the following error:

Error Number: 1030

Got error 139 from storage engine

Filename: libraries/api/Api_channel_entries.php

Line Number: 1665

For another channel, I receive an empty click when trying to Submit or Save Revisions. Nothing is firing in console.

A third issue is, the template manager is empty. Screenshot:

Is anyone familiar with these issues? I’ve run out of ideas.


texts:
I have this code. All seems fine but the categories info won't output between my H4 tags. Not sure what I am missing here but I think it has something to do with the 'related categories mode' parameter. Any help would be appreciated.

{exp:channel:entries channel="work" limit="20" status="New|Open" related_categories_mode="yes" custom_fields="yes"}
        {if no_results}

There are no related projects.

        {/if}

            {if status == "New"}{/if}

{title}

{categories backspace="2"}{category_name} / {/categories}

{project_excerpt}

        {/exp:channel:entries}


texts: Choosing the guest user for a channel form

texts:
I've gone through these

http://dotmeta.com/expressionengine/guide/ee-2101/add-ons/channel/channel_form/index.html

http://dotmeta.com/expressionengine/guide/ee-2101/add-ons/channel/channel_form/examples.html

https://docs.expressionengine.com/latest/channel/channel_form/index.html

And i don't see a way to tell the {exp:channel:form ...} which Guest user account to use when creating a new entry.


texts: Hide grid fields based on value of dropdown selection

texts:
Is there a plugin around to hide grid fields based on value of dropdown selection?

So say the field is a dropdown and based on the selected option you then hide / show specific fields in the grid based on the selected option.

Kind of like this plugin but only for fields in a grid.

https://devot-ee.com/add-ons/entry-type


texts: EE 2.5.3 "no access to the directory specified for this field" error when updating entries

texts:
An ExpressionEngine install has begun to throw a "no access to the directory specified for this field" error when my client and I try to save updated entries.

The error relates to three optional image fieldtypes. If no image is selected for any of the three fields using File Manager I get the error. If I select an image for each field the error does not occur.

Our EE install is up to date: 2.5.3 and I've already checked that permissions on the upload directories are correct.

The Ellislabs support forums have a couple of instances of the same error (example here) but no solution.

Any help greatly appreciated.

Update

I have just reproduced the error as a Super Admin and have a PHP error displayed on the Edit Entry screen:

A PHP Error was encountered
Severity: Notice
Message: Undefined index: filename
Filename: libraries/File_field.php
Line Number: 77


texts: Can I Modify Custom Field Variables Before Output?

texts:
Here's the situation:

I have a custom field named {article} that contains and outputs formatted articles.
I would like to be able to modify that {article} variable before it outputs in the template.
To be specific, I would like to insert an Adsense ad after the first paragraph of each article.

Is this possible in any way shape or form?

Any feedback and/or help is appreciated...


texts: Solspace Calendar : Not able to retrieve previous events

texts:
I am trying to list 3 previous events but I'm not getting any results. Does anyone have any ideas?

{exp:calendar:events
                            event_limit="3"
                            status="open"
                            date_range_end="today"
                            show_weeks="10"
                            orderby="event_start_date"
                            sort="desc"
                            calendar_id="not 400|402"
                        }

                                {event_images limit="1"}

                                {/event_images}

{event_start_date format="%M %j, %Y"} - {event_end_date format="%M %j, %Y"}

{event_title}

                                {event_snippet}

                            Read more

                        {/exp:calendar:events}


texts:
If I enter the URL to a channel that was deleted months ago, my EE install seems to default to the homepage.
I have read up on strict URLs, but if enabled, EE checks whether the first segment in the URL corresponds to a template group so its not possible to access templates directly inside the site group folder without adding it into the URL.
Is there anyway to ensure old URLs like this display the 404 page listed, rather than the homepage without the use of a manual 301 redirect?


texts: zoo visitor - display members based on category

texts:
I have a category select menu that will select a category from the zoo_visitor channel.  THis will then load a page with the selected category in segment_3.  Problem is the zoo_visitor members are not responding dynamically based on the category selected in segmetn_3

Here is the select menu:

<form name="catmenu" action="">
  <select name="selcat" onchange="location=document.catmenu.selcat.options[document.catmenu.selcat.selectedIndex].value;">
  <option value="">Filter by Riding</option>
    <optgroup label="group 39">
    {exp:channel:categories cache="yes" refresh="60" channel="zoo_visitor" disable="category_fields" style="linear" category_group="39" show_empty="no"}
        <option value="{path='Riding'}">{category_name} </option>
    {/exp:channel:categories}
    </optgroup>
    <optgroup label="group 41">
    {exp:channel:categories cache="yes" refresh="60" channel="zoo_visitor" disable="category_fields" style="linear" category_group="41" show_empty="no"}
        <option value="{path='Riding'}">{category_name} </option>
    {/exp:channel:categories}
    </optgroup>
 </select>
</form>

this displays a url like: http://domain.com/index.php/Riding/category/cat_name

this template has the code:

 {exp:zoo_visitor:members limit="99" member_group="5" orderby="random" dynamic_parameters="orderby|limit|sort|category|member_lastname" status="Members-id5" }

{visitor:member_firstname} {visitor:member_lastname}

{visitor:member_level_of_government}

      Region: {categories show_group="42"}{category_name}{/categories}

  {/exp:zoo_visitor:members}

Problem is ALL members from group_5 are displayed and not ONLY those have the segment_3 selected


texts: relationship inside grid field works but throws errors

texts:
I've got a grid field with a text column (amount) and a relationship column (product). The data is outputted perfectly but I'm getting lots of php errors on the page:

A PHP Error was encountered
Severity: Notice
Message: Undefined offset: 18
Filename: relationship_parser/Tree_builder.php
Line Number: 536

A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /Applications/MAMP/htdocs/system/codeigniter/system/core/Exceptions.php:170)
Filename: libraries/Functions.php
Line Number: 810

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

my template:

{bt-pack-contents}

{bt-pack-contents:amount} {bt-pack-contents:product:title}

{/bt-pack-contents}

this also works:

{bt-pack-contents}

{bt-pack-contents:amount} {bt-pack-contents:product}{bt-pack-contents:product:title}{/bt-pack-contents:product}

{/bt-pack-contents}

As soon as I remove the {bt-pack-contents:product:title} tag all errors are gone. Any thoughts on what might be going wrong?


texts: What happens to channel entries / products when inventory reaches 0 in expresso store?

texts: Curious what happens when inventory for a product reaches 0. Does the channel entry automatically change its status to 'closed' so it doesn't appear as an option? Does it stay visible but cannot be added to the cart? Is there some error messaging associated with it? Also, if it's possible to set it manually, is it a system-wide setting or per-product basis? Any guidance is much appreciated!


texts: Google claims member spam--I can't find it

texts:
I received this message from Google:

  Google has detected user-generated spam on your site. Typically, this
  kind of spam is found on forum pages, guestbook pages, or in user
  profiles. As a result, Google has applied a manual spam action to
  4sonline.org/forums/member/.

I have seen the member spam attacks described elsewhere on the board, but that is not going on here. While the site has a few hundred members, all have been approved by me and most have never visited the site. Only three have logged in in the last two months.

Any ideas on what I could be missing?


texts: ExpressionEngine {exp:channel:categories}, categories from multiple category groups ordered together

texts:
Is it possible to create a single alphabetically ordered list containing categories from multiple category groups?

Here is the code I am using:

    {exp:channel:categories category_group="1|2"}

{category_name}

    {/exp:channel:categories}

Unfortunately this separates the category groups, and I end up with a list such as this:

book
graphic identity
poster
website
architecture
art
David Bowie
ExpressionEngine
zoos

You'll notice that it is actually two lists ordered alphabetically. I would like to merge these into one list somehow.

I would expect to be able to add something like orderby= as in the Channel Entries Tag:

    {exp:channel:categories category_group="1|2" orderby="name"}

{category_name}

    {/exp:channel:categories}

But this does not work. Has anyone come across this before?

Many thanks in advance.


texts: Assets {if caption} breaks if caption has " or ' in it

texts:
I'm thinking this is a bug and just needs some addslashes to it. Anyone else run across this problem? I've tried:

{if caption}
{if '{caption}'}
{if "{caption}"}
{if '{caption}' != ''}

Even used it within an assets loop with var_prefix with all above options:
{if img:caption}

None of them are 100% fool-proof. If the caption has one ' it breaks one method; if it has two, it breaks another. Frustrating.

EE 2.7.0
Assets 2.2.2

Parse error: parse error in ../system/expressionengine/libraries/Functions.php(679) : eval()'d code on line 135


texts: Page No Longer Prompting w/ USN & PSW on HTTP Authenticated Page

texts:
Page is set to "yes" for http authentication. Worked fine for the last week. Went to show a client how it worked during a training session and it was no longer working.

Thoughts? No errors, just not requested usn and password and is taking users to page that should be protected via password/usner.


texts: How to access query string params in a template?

texts:
I need to access the query string params in a template. How can I access these variables?

http://example.com/search.php?size=large&color=red&page=1


texts: Is there a way to target the Field Content Type in Freeform Pro?

texts:
Just wondering if there is a way to target this?

I've got an field in freeform that the field type is set to text and the field content type set to email.

In the front end I'm wishing to target this field specifically.

The same way you can do this : composer:field_type == 'nonfield_title'.

Cant see anything about it in the documentation.


texts:
iv been trying to setup the email registration form for zoo-visitor when I add in all the credentials and hit submit the form just refreshes with a blank form and the error messages says
"The following field is required: Email"

{exp:zoo_visitor:registration_form return='dashboard' class="form" error_handling='inline' error_delimiters='|' autologin='yes' allowed_groups='5'}

    <input type="hidden" name="group_id" value="5">

        <input id="trainer_firstname" class="form-control input-lg" name="trainer_firstname" type="text" placeholder="First name" value="" />

        <input id="trainer_lastname" class="form-control input-lg" name="trainer_lastname" type="text" value="" placeholder="Last Name" />

        <input id="trainer_phone" class="form-control input-lg" name="trainer_phone" type="text" value="" placeholder="Phone" />

        <input id="email" class="form-control input-lg" name="email" type="text" value="" placeholder="Email" />
        {error:email}

        <input id="password" class="form-control input-lg" name="password" type="password" value="" placeholder="Password" />
        {error:password}

        <input id="password_confirm" class="form-control input-lg" name="password_confirm" type="password" value="" placeholder="Confirm Password" />

     <input class="form-submit" type="submit" value="Register" />

    {field_errors}{error}{/field_errors}

{/exp:zoo_visitor:registration_form}


texts: Getting Pesky Unable to load site preferences error

texts:
I am using EE 2.1.3 within the MSM. I have a number of other sites already setup on this MSM and not having any problems. I tried to add a new site and got the "Unable to load site preferences" message.

I verfied that config.php, database.php for the MSM are set to 777, cleared the cache for the site and still got the error. So, for this sites' index.php file I made $debug = 1; Now it is showing:

A PHP Error was encountered

Severity: 8192

Message: mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead.

Filename: mysql/mysql_driver.php

Line Number: 303

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/techmark/webapps/_system_ee2msm/.system/codeigniter/system/core/Exceptions.php:170)

Filename: core/Common.php

Line Number: 405

A Database Error Occurred
Unable to connect to your database server using the provided settings.

Filename: core/EE_Config.php

Line Number: 176

Any idea how to fix this? Like I said earlier all of the other sites on this MSM are working correctly.

Here is the site: http://friendsunday.outreachcs.com/


texts: Freeform MSM sites - no submissions received

texts:
I have a site that features MSM with Freeform pro. For the main site, all submissions are fine however for the other sites running from the main one form submissions are not received into expression engine . They do work though and email notifications are being sent, they are just not stored as submissions.

Any ideas?


texts: Can I add more countries to Exp:resso Store shipping options?

texts: What's the best way to add additional countries to the system with Store 2.x? I see a button in the CP to add a new state option to a country, but no control for adding a new country. Is it possible to do without diving into the database and adding records directly?


texts:
Has anyone had any luck getting ExpressionEngine 2.x working with nginx and/or PHP7? I have a CentOS 7 server with PHP7 and nginx installed. I have another site hosted on the server that runs just fine. A simple "hello world" example written in PHP will work but any attempt to load ExpressionEngine results in a 500 error. Tailing the logs isn't leading me to anything useful (I've checked logs for php-fpm and nginx).

Any advice? Here's the config that is working for me on another site (running Laravel 5):

http://pastebin.com/SEcYCqwe

I've tried the recipes here, but nothing seems to stop the 500 errors from happening: https://www.nginx.com/resources/wiki/start/topics/recipes/expressionengine/


texts:
I have a few sites that upload a lot of files.  My problem is, when someone uses the file upload the files getting uploaded are not owned by anyone at the server level.

rw-r--r-- 1 nobody nobody

Because these files are not owned by anyone, they are not recorded as part of that user's storage space on their hosting account.

Does anyone have any ideas how to get the user to own these files when they are uploaded?

I should also note that the sites in question are EE1 sites using nGen File Field as the file upload. I am guessing it is a bug in nGen File Field?


texts:
Is there a way to reset the entry_id count for newly created entries?

I'm importing entries with Datagrab and need them to have entry_id's starting from 1. There are no other entries in the system.


texts:
I am using the same infinite scroll scripts that I have used before but for some reason the results just post into a new window.

Here is the template that calls the snippet that has the infinite scroll:

News Blog

        {snip_ajax_scroll}

Categories List

        {exp:channel:categories}

{category_name}

        {/exp:channel:categories}

And this is the snippet:

            {exp:channel:entries
            channel="news"
            dynamic="yes"
            order_by="date"
            limit="4"
            status="open"
            paginate_base="_embeds/ajax_scroll"
        }

{title}

              {entry_date format="%D, %F %d, %Y"}

                {if news_image}

                {/if}

                {exp:word_limit total="25"}{exp:remove_html}{news_article}{/exp:remove_html}{/exp:word_limit}
                Read More &rarr;

        {paginate}

            {if next_page}{/if}

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

I also have an embed that is called by the snippet that just includes it again to populate the next set of entries.

Jquery is loading above the scripts and it is working on a different site, but just not this one.  I am using EE 2.7.


texts: Solspace Rating: adding parameter inside the

texts:
I'm using Rating from Solspace, and at the same time I use Zurb Foundation Abide validation library.

My goal is the data-abide Zurb Foundation parameter appears  inside the form element created by the Rating module:

<form data-abide>

How it's possible that this parameter data-abide appears inside the form element when the HTML form is created by the Rating module ?


texts: Safecracker Registration: Prevent auto-log in of member on register

texts:
When a member registers on my site, I want them to first verify their email address before they can log in the site. Right now, when a member registers, they are automatically logged in. Is there a way to prevent this? I don't see any option for this in Members Preferences.

FYI: I'm using Safecracker Registration and Membrr, too. Not sure if this matters.

UPDATE 1:

Clarification: the members are being logged in PRIOR to them verifying their email. The system is already set up in such a way that the user needs to verify their email address first. The problem is that their instantly logged in when they sign up (without having to click the activation link in their email).


texts: Freeform 4.x doesn't upload files but no error occurs

texts:
When manually creating a freeform form, I have a series of file upload options which I'm creating as follows:

{exp:freeform:form form:id="freeform" template="career_applications" return="" collection="career_applications" file_upload="Careers" allowed_file_types="pdf|doc|docx|rtf|txt" notify=""}
<input type="hidden" value="{title}" name="job_title" />
<fieldset class="careers-application">
                    <legend class="hide">Apply for this job</legend>

                        Full name:*
                        <input type="text" id="textApplicantFullName" name="name" class="input-text" required />
                        Email address:*
                        <input type="text" id="textApplicantEmailAddress" name="email" class="input-text" required />
                        Attach CV:*
                        <input type="file" id="fileApplicantCV" name="file1" class="input-file" required />
                        Cover letter:*
                        <input type="file" id="fileApplicantCoverLetter" name="file2" class="input-file" required />

Closing date: {expiration_date format="%j %F %Y"}

                        <button class="button green" type="submit">
                            Apply for this job now
                        </button>

                </fieldset>
{/exp:freeform:form}

the problem appears that the files aren't being uploaded, but the form is still being processed with no errors.

Checking the folder location permissions, path is correct, XSS filtering disabled, spellings etc all to no avail.


texts:
EE 5.3.0
DataGrab 3.0.3
Using the DataGrab add-on, when importing to channel entries I keep getting a 500 error and then a status of RUNNING on my imports with a records percentage.

This could become a problem because I'm going to be running one of these imports daily and it'll need to be updating all of the entries.
I've reached out to support directly but it's been a few days and I still haven't heard back. Wondering if anyone had any idea about this.
Thanks!


texts:
I just updated tag to the latest version of Tag and noticed a placeholder "Press Enter after each Tag" has been added to the field.

How can I customise the the text here?

(All the fields across the site have placeholders instead of titles, so would be great to do this here too.)

Cheers!


texts: Stash - 2 lists, match/against with a tag not outputting correctly

texts:
Somehow, I'm not able to get this to work. I am populating 2 lists at the top of a template.

{exp:stash:set_list name="favorites" replace="yes" parse_tags="yes"}
{exp:favorites:entries}
  {stash:item_channel_name}{channel}{/stash:item_channel_name}
  {stash:item_title}{title}{/stash:item_title}
{/exp:favorites:entries}
{/exp:stash:set_list}

{exp:stash:set_list name="all_channels" replace="yes" parse_tags="yes"}
{exp:stash:get_list name="favorites"}
  {stash:c_name}{item_channel_name}{/stash:c_name}
{/exp:stash:get_list}
{/exp:stash:set_list}

{exp:stash:get_list name="all_channels" unique="yes"}
  {c_name}
  {exp:stash:get_list name="favorites" match="#^{c_name}$#" against="item_channel_name"}
  -{item_title}
  {/exp:stash:get_list}
{/exp:stash:get_list}

I tried just using a static channel name in place of match="#Resources#" but it only outputs 1 item (the same item for each channel loop).

Here's the output thus far:

Channel Name: Benefits
Entry Title: 2015 Benefits Open Enrollment Information

Channel Name: Education
Entry Title: 2015 Benefits Open Enrollment Information

Channel Name: Forms
Entry Title: 2015 Benefits Open Enrollment Information

It's pretty much exactly like Mark's examples here https://gist.github.com/croxton/6219973 but I can't get it to work as intended. One thing though, when I manually limit the all_channels list to 1 item, it outputs the correct items from the favorites list (I tested it against 4 different channels, one at a time = all correct. If more than 1 item in the all_channels list, it does not work). To be certain it wasn't a server issue, I tried this on my local MAMP machine as well with the same results.


texts: Channel Categories: Display all categories so each parent is a header and children are a list

texts:
I am displaying all of a channel's parent and child categories. The client's design is kinda tricky so the goal is each parent group is in a row, each parent name is in a tag and its children are in a list...

Breakfast

Coffee

Bakery

Lunch

Sandwiches

Salads

I have kinda output this result with channel categories...

   {exp:channel:categories channel="catering" style="linear"}
      {if "{parent_id}" == 0}

{category_name}

      {if:else}

{category_name}

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

It comes out like...

Breakfast

Coffee

Bakery

Lunch

Sandwiches

Salads

But how do I get each parent group properly wrapped in a
 and the
 items wrapped in

 tags? Are there more advanced conditionals I need to be using?

Thank you for any suggestions.


texts: What is the best way to delete every entry in a channel?

texts:
What is the best way to delete every entry in a particular channel?

I'm talking thousands of entries, so checking each entry and clicking delete isn't going to work.
I also know you can't just delete rows from exp_channel_data.


texts:
For CartThrob and Expresso Store guys, just had this email from PayPal this morning:

In an upcoming system upgrade, the following API endpoints will be updated:

api.paypal.com
api-3t.paypal.com
svcs.paypal.com

Please make sure you are ready for this event by consulting with your technology team or individual(s) responsible for your PayPal integration.

When is this happening?

This upgrade will occur on 26 March 2014 at 5:00 p.m Australian Eastern Daylight Time (AEDT).

* If you are integrated with a partner or a cart, please view our FAQs for more information.

What do I need to do?

Your technical team or individual(s) responsible for your PayPal integration will need to examine your current integration and make necessary changes as outlined below.

If your site is:

Calling our APIs with a hardcoded PayPal API endpoint IP address, rather than using DNS resolution:

Impact of upgrade: API calls will timeout or your will encounter an internal error from your system.
You need to: Use DNS resolution to access our API endpoints and/or open your firewall to the new IP addresses which will be communicated later.

Using HTTP methods other than GET, POST, DELETE and PUT:

Impact of upgrade: API calls will return HTTP/1.0 400 Bad Request or HTTP Error 405 Method not allowed.
You need to: Send the API requests using one of the allowed methods. Heartbeat calls using the HEAD method won’t be allowed.

Using the HTTP 1.0 protocol:

Impact of upgrade: API calls will return HTTP/1.0 400 Bad Request.
You need to: Update your code to HTTP 1.1 and include the Host header in the API request.

Needing firewall changes to allow new IP addresses:

Impact of upgrade: API calls will error out if your system responsible for making API calls to PayPal is behind a firewall that uses Access Control List (ACL) rules and limits outbound traffic to a limited number of IP addresses.
You need to: Update your firewall ACL to allow outbound access to a new set of IP addresses we will be publishing. Test your integration on Sandbox (see the IP addresses for Sandbox API endpoints). The list of new IP addresses for our Live API endpoints will be posted here when available in January.

Will this require add-on updates? And if so, will it affect v1 versions of the software too?


texts:
Do you guys know of a library where there's sample queries to retrieve info like how many pages are in a specific site ect?

What I mean is a custom select statement.

Thanks,
Dan


texts:
i've got a weird issue with the first date from calendar entries showing up as the wrong day number and weekday. ie: instead of 01 Sunday it reads 001 Monday, but every other entry loads perfectly.

full code:

{exp:calendar:cal calendar_id="5057" date_range_start="{segment_3}-{segment_4}-01" pad_short_weeks="n" show_months="1"}
{display_each_month}
    {display_each_day}
        {if day_event_total > 0}{date format="%d %l"}{/if}
        {events}
            {event_start_date format="%g:%i %a"}

            {title}

        {/events}
    {/display_each_day}
{/display_each_month}
{/exp:calendar:cal}

you can see it working here (with some additional inline formatting), in the right column under March Calendar

Update: to confuse things more, there is another monthly calendar on the site, from which i created the template above, which does not commit the same error. both have the same settings for PHP handling and use the exact same tags to generate the content.


texts: How to make expression engine not encrypt plugin output

texts:
I am building a plugin that takes variables from the url's query string and renders out the appropriate category ids, but when I tried testing out a category that I know exists and place the plugin tag inside the category parameters.

{exp:channel:entries channel="products" category="{exp:test_plugin}"}
   {title}
{/exp:channel:entries}

It outputs some hash:

{exp:channel:entries channel="product" category="M00o93H7pQ09L8X1t49cHY01Z5j4TT91fGfr" dynamic="no"}

But when I place the plugin tag outside of the category parameter it prints out the number. Here's my plugin so far.

class test_plugin {
   public $return_data = "";
   public $c;
   public $s;
   public $m;
   public $t;

public function __construct($tagdata = NULL){
    $this->return_data = 28;
}

function type_name(){
    return $this->t;
}

public function usage()
{
    ob_start();
    ?>
        :)

    <?php
    $buffer = ob_get_contents();

    ob_end_clean();

    return $buffer;
}
}

How would I get it to print out the actual category number?


texts: pagination: getting "first" to be the original page when paginate_base is different

texts:
I'm new to pagination, but not EE so much. I'm working on a site where the front page is basically short news items, preceded by one "featured" item. I'm limiting to 10 news items per page, so I'm using "paginate_base" to indicate that for the following pages, I want a different template to be called (first page is "news" with the "featured" item, and following pages are on the template "continued," without the "featured" item).

It's working fine moving into old entries. But when I want to go back, I want the link for the "first" page to go back to the original "news" template, rather than the "continued" template. To try to be more clear, to go back to the template that has the "featured" item, whereas currently "first" takes me back to the "continued" template with the first news items.

Not sure if I'm explaining this clearly; but any thoughts on if I'm approaching this correctly would be appreciated!


texts:
I am trying to integrate payment gateway with Paypal express. the issue is the payment gateway sends post data from paypal express checkout back to a specific URL in our ExpressionEngine but does not contain the parameter XID which is required by ExpressionEngine secure formS as of version 2.7.x

is there a way to accept the incoming post from external website without disabling the settings:
$config['secure_form'] = 'n';

Thanks


texts: Pagination using Structure and Playa entries

texts:
Currently on a site using Structure. I've run into a brainteaser I hope someone maybe able to help out with.

The site itself makes use of Structures child pages. In my case these child pages relate to Recipes. ie. the parent page would be Recipes with a child of Main Courses, which would then have child pages of Fish courses, Pasta courses etc. In the publish form of these child pages I have a Playa field, which link documents/recipes from my documents channel.

Thats all fine, but some child pages have a lot of related documents assigned to them, so I want to integrate pagination if possible to avoid long scrolling pages.

This is the bare bones of my markup

{exp:channel:entries status="not closed" dynamic="on"}

    {if related_docs}

    {exp:playa:children
        channel="documents"
        disable="categories|category_fields|member_data"
        orderby="title"
        sort="asc"
        limit="5"
        var_prefix="pages"
        paginate_base="/{segment_1}/{segment_2}/{segment_3}"
        paginate="bottom"}

{pages:title}

{pages:paginate}
{pagination_links}

  {first_page}

First Page

  {/first_page}

  {previous_page}

Previous Page

  {/previous_page}

  {page}

{pagination_page_number}

  {/page}

  {next_page}

Next Page

  {/next_page}

  {last_page}

Last Page

  {/last_page}

{/pagination_links}
{/pages:paginate}

    {/exp:playa:children}

    {if:else}

Currently no resources for this area

    {/if}

{/exp:channel:entries}

I have read about using pagination within a Playa field, hence the inclusion of var_prefix. But the pagination just doesn't seem to be working.

Right now if I navigate to my Structure child page with the related entries displayed, the URL is domain.com/recipes/main-courses/meat-dishes/.

Using the default pagination_url, this takes me to domain.com/recipes/main-courses/meat-dishes/P5  . Which implies the pagination URL's are being correctly applied. But when I click on the next page I am merely taken to the homepage, with the P5 paginated url.

Am I missing something glaringly obvious with this one. Has anyone had any success with this or can someone point me in the right direction.


texts: How to improve performance of CI_Encrypt->encode?

texts:
I've been having some significant server-side performance issues with an ExpressionEngine / CartThrob site (pages taking 5 seconds or more to generate under no load). Today I installed XDebug and WebGrind to take a look at what was causing the performance hit.

To my surprise, the biggest offender by far (taking over 3 seconds to run only 40 times), was the function CI_Encrypt->encode, and specifically CI_Encrypt->_xor_encode (taking about 97% of that time).

Nothing else in the profiler even comes close to taking this much time, so it looks like this function is basically the sole cause of my woes. Is there any way to speed it up?


texts:
Is there a way to disable Deny Multiple Logins via a $config override?

Thank you.


texts: Show one product with multiple quantity as one entry with Cartthrob

texts:
I've been learning cart throb for about a month off and on and there's one functionality that seems to be missing. If I'm trying to purchase three black shirts I will use a quantity tag:

{exp:cartthrob:multi_add_to_cart_form class='forms product-forms id{purchasable_products:entry_id} off' entry_id="{purchasable_products:entry_id}" no_tax="{no_tax}"}

                <input type="hidden" name="entry_id[{count}]" value="{entry_id}" />

                    {exp:cartthrob:item_options entry_id="{purchasable_products:entry_id}"}

                        {select class='width-70 margin-bottom' limit="1"}
                            <option {selected} value="{option_value}">{option_value} {if option_price_numeric != 0} ({option_price}){/if}</option>
                        {/select}

                    {/exp:cartthrob:item_options}

                    <input type="text" class="product_quantity" name="quantity[{count}]" value="1">

                        <button type="submit" class="btn btn-green add-to-cart" data-target="cart-update">Add to Cart</button>
                        View Cart
                        Checkout

                {/exp:cartthrob:multi_add_to_cart_form}

When I add those three items, they show in my cart as three separate entries rather than one entry with one quantity.

Which says items are added, but the cart total is $0.00 and still shows as multiple entires in the view cart page. View cart code is

{exp:cartthrob:cart_items_info}
    {product_photos limit='1'}

    {/product_photos}

{title}

Which results in looped out items, but adds no money to the cart. My goal is to only show a single item, with its proper quantity and proper cart price.


texts: Set country as parameter in Checkout tag

texts:
To make the checkout tag more user friendly, I would like to set a country parameter in the Checkout tag. Making it display the correct shipping cost using the ip-to-nation functionality.

Installation details:

Expresso Store 2.4.1
MC Country 1.0.1
Expression Engine 2.9.2 (with ip2nation module enabled)


texts: REElocate: Fatal error: Call to undefined function ee()

texts:
Good Afternoon,
I'm trying to install the REElocate module. I see it in the Control Panel, but when I click Install, I get the following error:

Fatal error: Call to undefined function ee() in [omitted]/expressionengine/third_party/reelocate/upd.reelocate.php on line 39

upd.reelocate.php line 39:
ee()->db->insert('modules', array(

Line 39 context:
public function install()
{
    // register module
    ee()->db->insert('modules', array(
        'module_name' => 'Reelocate',
        'module_version' => $this->version,
        'has_cp_backend' => 'y',
        'has_publish_fields' => 'n'));

    return true;
}

I'm running v2.1.3 build 20101220.
The docs at https://github.com/expressodev/reelocate state:

Requirements
ExpressionEngine 2.1.3+

Many thanks,
Andrea


texts: Embedding Channel Entry Tag Pair within another Channel Entry Tag Pair

texts:
I am using ExpressionEngine 2.5.2.

I am trying to set up an instance where one channel entry is embedded within another. I found this question on StackOverflow and tried the method described in the answer. However, when I try this method on my site, the page is not recognizing the embedded channe. Anyone see any errors here?

Main Template (Simplified)

{exp:channel:entries  channel="events" limit="1" url_title={segment_2}}

       {embed="event_video"}

{/exp:channel:entries}

Embedded Template (Simplified)

{exp:channel:entries  channel="news" limit="1" url_title={segment_2}}
    {title}
{/exp:channel:entries}


texts: Problem installing - "there is no suitable CSPRNG installed on your system"

texts:
Can anyone help me with this?
Im trying to installed 5.3.2 and this message is appearing.

Exception Caught
There is no suitable CSPRNG installed on your system
ee/EllisLab/ExpressionEngine/Library/Compat/Random/random.php:176

Stack Trace: Please include when reporting this error
#0 ee/EllisLab/ExpressionEngine/Library/Compat/Random/random_int.php(156): random_bytes(8)
#1 ee/EllisLab/ExpressionEngine/Service/Encrypt/Encrypt.php(285): random_int(-9223372036854775807, 9223372036854775807)
#2 ee/installer/controllers/wizard.php(878): EllisLab\ExpressionEngine\Service\Encrypt\Encrypt->generateKey()
#3 ee/installer/controllers/wizard.php(272): Wizard->do_install()
#4 [internal function]: Wizard->_remap('do_install', Array)
#5 ee/EllisLab/ExpressionEngine/Core/Core.php(241): call_user_func_array(Array, Array)
#6 ee/EllisLab/ExpressionEngine/Core/Core.php(110): EllisLab\ExpressionEngine\Core\Core->runController(Array)
#7 ee/EllisLab/ExpressionEngine/Boot/boot.php(151): EllisLab\ExpressionEngine\Core\Core->run(Object(EllisLab\ExpressionEngine\Core\Request))
#8 admin.php(153): require_once('...')
#8 admin.php(153): require_once('...')


texts: SQL select query almost works, except for the ORDER BY

texts:
I've got a query that very nearly works, except for the ORDER BY part.

In Plain English, I'm selecting the author_ids for authors who've posted entries to a particular channel, and limiting it by a few member groups.

(why is this a query? Will use this as basis to list entries in channel by member, limiting the number of entries/author to 4)

So far, so good. This Query works:

 {exp:query sql="SELECT DISTINCT author_id
    FROM exp_channel_titles
    JOIN exp_members ON exp_channel_titles.author_id = exp_members.member_id
    WHERE exp_channel_titles.channel_id='5'
    AND exp_channel_titles.status = 'open'
    AND (exp_members.group_id = '5' OR exp_members.group_id = '6' OR exp_members.group_id = '7' OR exp_members.group_id = '8')"}

It works, but the listing needs to be ordered differently. I want to order them alphabetically by member last name.

Am using Profile:Edit and have custom channel fields for member_first_name and member_last_name (field_id_50)

I need to refer to exp_channel_titles twice. Here's a graphic representation of what info I'm referring to in the database:

 ct  exp_channel_titles             exp_members
     ==================             ===========
     author_id                      member_id
     status = open                  group_id = 5|6|7|8
     channel_id = 5

 ct2 exp_channel_titles             exp_channel_data
     ==================             ================
     entry_id                       entry_id
     channel_id = 12                field_id_50
     author_id

Here's my second query. It doesn't throw errors (um, yay?), but it does not change the order of the results, either.

SELECT DISTINCT ct.author_id
FROM exp_channel_titles AS ct
JOIN exp_channel_titles AS ct2 ON ct.author_id = ct2.author_id
JOIN exp_members ON ct.author_id = exp_members.member_id
JOIN exp_channel_data ON exp_channel_data.entry_id = ct2.author_id
WHERE ct.channel_id = 5
AND ct.status = 'open'
AND ct2.channel_id = 12
AND (exp_members.group_id = 5 OR exp_members.group_id = 6 OR exp_members.group_id = 7 OR exp_members.group_id = 8)
ORDER BY exp_channel_data.field_id_50 ASC

changing the first line does not produces an empty column of results for last name
        SELECT DISTINCT ct.author_id, exp_channel_data.field_id_50
        FROM etc.

How do I get my ORDER BY to work?


texts: Removing part of EE urls with .htaccess or via other methods?

texts:
I've had a similar question up on Stack Overflow, but now that we've got this shiny new site, I figured I might as well bring it here.

With EE 2, is it possible to remove anything other than index.php from the URLs via .htaccess rewrites? I am thinking of, for example, a non-default template group or part of a Page URI.

Both these things could be done in EE 1 but no longer work for me in EE 2. I have tested my rewrites using http://htaccess.madewithlove.be/  and as far as I can tell, they do result in the correct URLs. However, attempts to access the pages lands me on my default page.

My original setup was this:

RewriteRule ^/?((403|404|About|Chat|Contact|Copyright|Search)(/.*)?)$ /Westeros/$1 [L]
RewriteRule ^/?((ASoIaF|Digest|Images|Login|Store|Updates|Westeros|member)(/.*)?)$ /index.php/$1 [L]

I've also tried this:

RewriteRule ^/?((403|404|About|Chat|Contact|Copyright|Search)(/.*)?)$ /index.php/Westeros/$1 [L]
RewriteRule ^/?((ASoIaF|Digest|Images|Login|Store|Updates|member)(/.*)?)$ /index.php/$1 [L]

There's a couple of different things going on and some work and some don't, in both of these scenarios.

1) domain.com/Updates/ works fine. Updates is a template group. So, no problems with just removing index.php.

2) domain.com/Search/ does not work. Search is a template within the Westeros template group. It does work to access it as domain.com/index.php/Westeros/Search/. The reason for this rewrite is that I wanted to avoid creating several single-template template groups to handle things like Search, Contact, etc. At the same time, its important that these segments come right after the domain given the overall structure of the site.

3) domain.com/About/ does not work. About is a Page with its URI set to /Westeros/About/. It does work to access it as domain.com/index.php/Westeros/About/. Again, I need these Pages to display right after the domain to fit into the overall structure of the site, but since I am running multiple sites using the old method (multiple index.php files) rather than MSM, I cannot simply make the URI /About/ for the Page since I have an /About/ Page for each site/subsite.

In case .htaccess can't be used for this any longer in EE 2, are there any other options available for these sort of behind-the-scenes URL changes?

Edited to add: I have now received a support answer from EE on this matter and even though removing the template group is unsupported, they pointed to a config option that has restored the EE 1 behaviour for me. This is the URI Protocol option in config.php; default in EE 2 is "auto" but if I set it to "path_info" instead, the rewrites work as they did in EE 1.


texts: Advice for a user-friendly relationship dropdown

texts:
i have a channel screenings with a relationship with movie.
The screening channel has date, place and movie relationship with dropdown.

the dropdown has now about 1000+ movies in it. Is there eg a choosen plugin on EE to replace the dropdown? (this one seems to be in beta http://devot-ee.com/add-ons/chosen-selects )

Best
Dave


texts: Low Variables, Playa, GWCode Categories, Entry IDs, and Categories

texts:
I need the list of category names, but only the categories that have been tagged in entries that are related (a Playa relationship) to another entry (I know, it's getting down to snow-fortress Inception levels).

Here's my Low Variable (an early-parsed textarea variable), called "lv_region_entry_ids":

{exp:channel:entries url_title="{segment_3}"}{exp:playa:parent_ids}{/exp:channel:entries}

And here's the place I'm trying to use it:

{exp:gwcode_categories entry_id="{lv_region_entry_ids}"} (some code) {/exp:gwcode_categories}

That doesn't work, and I've read in a few places that when dealing with LV and Playa you have to use the pair tag instead of the the global variable syntax. But that's where I'm drawing a blank on how to do that.


texts: Playa field within a matrix field - duplicate results

texts:
There is a probably a very simple fix to this issue, however, I can't wrap my head around it. So I have a playa field (embedded) within a matrix field like so:

{call_out_section}
      {embed="projects/related_projects" row_count="{row_count}" xpos="{xpos}" ypos="{ypos}"}
{/call_out_section}

embed:

  {exp:playa:children field="select_project" status="not closed"}
{title} {embed:xpos}, {embed:ypos}

{/exp:playa:children}

The result of this is:

Window Boxes 100, 100

Dining Room Table 100, 100

Window Boxes 200, 200

Dining Room Table 200, 200

I've tried adding a limit="1" on {call_out_section} and on the playa:children. The former will only return a single title and the latter returns a single pair of x/y coordinates. Any thoughts here?


texts: Carthrob Speedup printing multiple invoices/packing-slips?

texts:
I have an e-commerce site that is generating upwards of 70 orders a week and the client works on a weekly ordering cycle, so we have a template that generates packing-slip for all of the open orders. Otherwise it would be a pain to click through the orders one by one to generate the invoice.

The orders all contain multiple items and options, making the resulting query massive.

Last week they went over 80 orders and the server just choked and I had to do 40 at a time.

Does anyone know of a way to optimise this?


texts:
I'm using the Geofinder plugin to search for events taking place in an area.

Each Event is assigned one of five categories. The search works fine when I select a category, but I'm unsure how to get it to search all categories, leaving the value empty doesn't produce the correct results.

Here is the simple code:

<select name="categories[]" id="categories">
<option value="">Select All</option>
{exp:channel:categories channel="calendar_events" style="linear"}
<option value="{category_id}">{category_name}</option>
{/exp:channel:categories}
</select>

As I say the 'select all' doesn't work properly.


texts: How to create a global configuration page for my custom field type?

texts:
I have created a custom field type which integrates with a web service. I need to create a simple interface which allows the User ID and API key to be configured globally.

Will I need to create a module for this?

A simple example would be greatly appreciated!!


texts:
I'm trying to output a custom field of the author of an entry. And no matter what I do, it wraps it in an  tag that I cannot do anything with. I just want to output that value, but ExpressionEngine keeps wrapping it.

All I do is this:

{exp:channel:entries channel="mychannel"}
    {custom_field}
{/exp:channel:entries}

And what comes out is this:

whatever is in this field

And if I try to wrap it in an a tag myself, it wraps double.

<a href="">Link here

Do I really need to strip the output manually with either PHP or Javascript?


texts: Create (generate) download links from files on server

texts:
My client wants to hold its PDF documents library for reference and easy-always-wherever access. The problem is that the library holds more than a thousand study documents. It's impossible to manually create an entry for each document, so I was wondering if there's a simpler way to just create a list of links for every document in a specific folder.

Notice that the "entries" won't have a link to a special page, or comments, description, don't need to show creation date or any other metadata. It would be sufficient with just a link to the PDF and that's it.


texts: Is there a way to only show sticky entries?

texts: Currently using Playa on a site to allow the client to pick what news entries show up on the homepage as they don't always want to show the newest entry, they want to show the most important. But it's a small nag to have them create a news post then have to open another "Home" entry to drag and drop news items. I was thinking it might be easier for them to set news articles as Sticky when they are creating them, then only display the sticky entries on the homepage. if I just set sticky="yes" this would show sticky entries on top, but might not show all sticky entries if the limit=3 and 4 sticky entries are set. Thanks for any ideas!


texts: Where do I put Freemember Password Reset code?

texts:
This is embarrassing because I know I have asked this before...

What's the trick to getting the reset email link to load the template with the Freemember Password Reset code? Does the template have to be named something specific?


texts: A conditional for "paginate" loop rendering needed

texts:
The "paginate" loop within the channel:entries tag used to render even when no next or previous links would need to render. This seems like it may have been "fixed" in response to a bug report here: http://expressionengine.com/bug_tracker/bug/11298/.

Unfortunately, this change this leaves no way that I can find to test to see whether pagination is without resorting to PHP in my template. PHP does seem to solve the problem but I wondered if anyone else has a way to do this with native EE code.


texts: Getting channel TITLE tag value in Freeform Pro Composer hidden input field

texts:
I have created a Freeform field called title_tag and have set the type to "hidden". In the field config settings, when selecting "Hidden Field" as the type, the field options allows you to set the Default Incoming Data:

  Allowed data are ExpressionEngine tags and brackets and special
  fields. All HTML will be removed from this setting.

As my form is a field type in my channel, I have set the default value to {title}

I have then added the field to my form:

However, the Title of the channel entry is not pulling through:

I'm assuming it's something simple that I've missed but can't seem to identify what I've done wrong and why the {title} tag isn't pulling in the Title as the value for the hidden input when it clearly says in the Field Options that this can be done.

VERSION DETAILS:

ExpressionEngine: 2.10.1
Freeform Pro: 4.2.3


texts: after upgrading from v2.1.3 to v2.10 i am no longer seeing several cookies including exp_uniqueid, exp_userhash, and exp_memberid. I can only seem to log into the admin CP and not the site anymore.


texts: Email attachment to user on form submission

texts: I have created a form using Freeform Lite add-on and would like to send/email a PDF guide to user  submitted the form. Is there a way we can do it without having file type field into the form?


texts: An easy way to reorder many template groups at once

texts:
I'm wondering if there's an easier way to re-order template groups on the template manager screen, something that's easier to do in bulk than clicking and dragging one at a time.

Thanks.


texts: How to send email to admin if no_results?

texts:
I have a page that lists programs people can donate to for a non-profit. This list is updated from a separate database. The current flow takes the entries offline via using Solspace Import to mark them closed, then a second import will edit or add new entries. Those that are still active are then marked open and the list is once again live and ready for people to use.

However, things can and do go wrong. We would not want this list to be blank. I currently have a notice in the no_results tag that asks the user to email the admin if they see that message. A preferred method would be to have the system send an email if the no_results tag is displayed.

Any ideas how to implement this or something similar? Anything that lets us know the list is blank will work.


texts: How to stop refreshing stashed append across page loads?

texts:
I'm trying a different approach to random ordering and pagination, as this approach seems doomed: (Paginating a random ordered list of tag:related_entries)

I'm setting the list of IDs in order and then trying to use them in a fixed_order parameter, which I believe will work with pagination:

{exp:stash:parse process="start"}
    {exp:tag:related_entries
        channel="things-to-do"
        disable="category_fields|member_data|trackbacks"
        status="open"
        dynamic="no"
        cache="no"
        orderby="random"
    }
        {exp:stash:append replace="no" name="viewed_ids" scope="user" save="yes"}{entry_id}|{/exp:stash:append}

    {/exp:tag:related_entries}

{/exp:stash:parse}

And trying to retrieve like this:

{exp:stash:set_list name="entries" parse_tags="yes" process="end"}
    {exp:channel:entries
        channel="channel_one"
        disable="category_fields|member_data|trackbacks"
        status="open"
        dynamic="no"
        cache="no"
        fixed_order="{stash:viewed_ids}"
        limit="3"
    }
        {stash:id}{entry_id}{/stash:id}
        {stash:title}{title}{/stash:title}

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

But it's not working quite right, viewed_ids is getting refreshed every page load.


texts:
In first, sorry to something.
I'm new in EE and need make a form of custom table.

ex:
my table have 4 fields, name, old, address, city. (this is only example.)
and need make in control panel a form to cadastre, edit, delete my register.

I looked in many sites and only saw about EE 1 but I'm using EE 2.8.

can somebody tell me any site or examples to I follow and study more?

one more time, sorry something.


texts: Solspace Super Search - Special Characters

texts: How can we make sure that special characters like ä,ö,å would be noticed while searching for content on a webpage. We are getting no results at the moment. I would appreciate any help! Thank you!


texts: Clients in singapore on Singtel cannot login and sometimes cannot access site

texts:
This is my issue: http://ellislab.com/forums/viewthread/205006/P18

  users in singapore are having an issue when posting content in various
  and random channels and other places in the control panel.

  This goes for updating a post and publishing a new one. What happens
  is the user can navigate to the publish/edit screen fine, and change
  content, but when they click on submit, it boots them back to the CP
  home screen, and the form does not save the data to the channel.

  No one else is having this problem around the world.

  I suspect this is related to the IP address in the session so I did a
  code search for IP checking on form submits and couldnt find anything,
  but I may not have looked correctly.

This is my current security settings (not ideal but made some improvement to logins)

http://d.pr/i/b8Iz


texts: Dynamic path for cachedir when placing system folder above web root

texts:
I've got a query about setting the cachedir path in system/config/database.php when placing the system folder above web root.

When the system folder isn't above web root, I'd normally set the path like this:

$db['expressionengine']['cachedir'] = "${_SERVER['DOCUMENT_ROOT']}/my_system/expressionengine/cache/db_cache/";

But when the system folder is placed above web root, what dynamic path should I be using instead? Thanks.

Edit: In fact, does anyone know the purpose of this cachedir? I've checked a few sites and I've got nothing stored at this folder location anyway.


texts: How can I count the number of channel entries that have parents?

texts:
We are a non-profit organization with many volunteers that we assign to various volunteer roles.  I created a Volunteers channel and a Roles channel, and in the Roles channel I set up a relationship field called role_membership where I can add all of the volunteers in the role.  So, I might have a role titled Website Developer, and select John Doe and Jane Smith in the role_membership field.  In this way, many volunteers will be assigned to roles, but we also have new volunteers that have not been assigned a role yet.

What I want to do is to count the number of entries in the Volunteers channel that have been associated with at least one role (i.e., that have a parent in the Roles channel, role_membership field).  I can't figure out how to alter the exp:channel:entries tag to get this count directly.  Instead I've tried using PHP, but that is not working well.  The following code will work IF I use limit="50" to set a low limit on the number of channel entries returned.  But, if I set limit="2000" to get the count I need, I get a PHP out of memory error.

<?php $assigned_volunteers=0; ?>
{exp:channel:entries channel="volunteers" limit="50"}
  {parents field="role_membership"}
    {if {parents:total_results}>0}<?php $assigned_volunteers+=1; ?>{/if}
  {/parents}
{/exp:channel:entries}

Is there a way to obtain the count of volunteers assigned to roles directly by altering the exp:channel:entries tag?


texts: Need to turn off thumbnail recreation when synchronizing files - possible?

texts:
I brought up this issue with the developers when EE 2 first came out and at the time there was no solution. I am now wondering if anyone has created any hacks, workarounds or add-ons that solve the issue?

The problem is the fact that EE insists on recreating all thumbnails every time you synchronize an upload destination. It does not recreate small or medium images (unless you tell it to) but there's no way to avoid the thumbnail recreation, which means that a batch addition of say, 100 images, to an already large gallery will take a very long time to process since all previous images will have their thumbnails recreated.


texts: No ability to upload new images via rich text editor

texts:
I have a strange one, or maybe it's something new to EE 3.0

I don't see an upload new file button when I click the upload file icon in a rich text field (or Expresso (plugin) field).

It brings up the list of existing files, but no button to upload a new file.

However from a custom field with a field type of 'file' it works fine?

Any ideas

thanks

Matt


texts:
I wish to show future 'events' on a page.  I have a channel, that contains a playa field that I use to associate the desired events.

I cannot seem to get it to show on the site.  I'm convinced it must be something simple that I am overlooking, but I can't figure out why it won't work.  Anyone have an idea what I'm doing wrong? :(

{exp:channel:entries channel="isp" limit="1" show_future_entries="yes" dynamic="no"}
    {events show_future_entries="yes"}
        {title}
    {/events}
{/exp:channel:entries}


texts:
I have the following tag that creates a simple search form:

{exp:search:simple_form channel="{exp:stash:get name='listing_channel'}" result_page="blog/search" no_result_page="blog/search" results="20" form_class="search" search_in="everywhere"}

I am trying to pass in the channel using the stash variable listing_channel from my template file - it is set to "blog". This tag only works if I add parse="inward". My understanding is that without parse="inward", the stash get tag would be parsed before the outer tag, which would result in the search form tag seeing channel="blog". I would think that this is what I would want, but yet it  only works with parse="inward".

With parse="inward", wouldn't the stash variable be parsed after the search form tag? I would expect this to not work.

If someone with a better understanding could explain why parse="inward" is making this work, I'd really appreciate it!

Thanks!


texts:
I am developing a site for a German client.

Is there a way to set the language of a member group?

Does Zoo Flexible Admin offer that as an option?


texts: Does CartThrob allow multiple carts? Is it possible to have 2 unique carts? 1 is a standard cart.  1 is a custom gift box cart — customers will fill up this cart with products that they are sending as a custom gift boxes to someone. We don't want to use 1 cart because then we have to deal with multiple shipping addresses and we want these custom gift box orders to be made up of individual product SKUs from our product catalog. LemonStand uses cart_name for cart assignment.


texts: Getting {switch='A|B'} to work within relationship tag

texts:
I have the following code:

  {staff_member_groups}

{staff_member_groups:staff_group_heading}

      {staff_member_groups:staff_group_members}

{staff_member_groups:staff_group_members:title}

            {staff_member_groups:staff_group_members:staff_position}

            {staff_member_groups:staff_group_members:staff_titles}

      {/staff_member_groups:staff_group_members}

  {/staff_member_groups}

which renders correctly except for the fact that {switch='odd|even'} returns odd on every list item. Is there a way to get this functionality while looping through a relationship tag?

Edit: I should clarify: {staff_member_groups} is a grid field, with {staff_member_groups:staff_group_members} being the relationship field within the grid field.

Edit #2: I’ve found the solution (still new around here, SE won’t let me answer my own questions really quickly yet). {switch='odd|even'} needs to be namespaced so that it switches within the context of the relationship field, like so: {staff_member_groups:staff_group_members:switch='odd|even'}. Otherwise, {switch='odd|even'} is going by the larger context of the entries tag that surrounds this template.

For clarity, my final block of code looks like this:

  {staff_member_groups}

{staff_member_groups:staff_group_heading}

      {staff_member_groups:staff_group_members}

{staff_member_groups:staff_group_members:title}

            {staff_member_groups:staff_group_members:staff_position}

            {staff_member_groups:staff_group_members:staff_titles}

      {/staff_member_groups:staff_group_members}

  {/staff_member_groups}


texts: Can't display modified category image file

texts:
I know this was addressed in older versions of EE, but I was hoping it was finally fixed in EE3.

I have a manipulation set for files in the file location. The manipulations are being made as set, but I am not able to access them through the categories tag. Is this something that is still not available within the core EE? Seems like it should just inherit the file property way like

<img src="{kid_image:thumb}" alt="{kid}"/>

but this doesn't work at all.

Did I miss something in the docs or is this simply not available still?

EDIT

I can retrieve everything here except the :thumbwhere "thumb" is the name of my manipulation.

Full context:

{exp:channel:categories
    category_group='2'
    style='linear'
    show_empty='no'
    restrict_channel='no'
}
    {category_name}
    {category_image}
    {category_image:thumb}
    {category_description}
    {category_url_title}
    {parent_id}
{/exp:channel:categories}


texts: Low Search - How to specify a default filter for {exp:low_search:results}?

texts:
Based on the documentation, {exp:low_search:results} has a default:parameter param.

Lets say that I have a channel foo that has relationship field y where the entries have entry_id 1,2 or 3

Can I make {exp:low_search:results} default the search to filter for y?

Does at least one of the code below work?

{exp:low_search:results
   default:y="1"
}

or

{exp:low_search:results
   default:y[]="1"
}

or

{exp:low_search:results
   default:child:y=""
}

or

{exp:low_search:results
   default:child:y[]=""
}


texts: Resource router hijacking all template groups

texts:
I could swear this was working last week.

I've got Resource Router set up like so:

':url_title' => function($router) {
$router->setTemplate('addon/index');
$router->setGlobal('template', 'addon');
},
':url_title/faqs' => function($router) {
    $router->setTemplate('addon/faqs');
$router->setGlobal('template', 'addon');
},
':url_title/changelog' => function($router) {
    $router->setTemplate('addon/changelog');
$router->setGlobal('template', 'addon');
},
':url_title/documentation' => function($router) {
    $router->setTemplate('addon/documentation');
$router->setGlobal('template', 'addon');
}

and it works.

However, I've just started to notice that if I try /blog the template that gets served is addon/index.

'blog' is not a URL title that exists in the database and this is happening for other template groups as well.

Like I say, this has been working and only just seeing it has stopped coming back to the project this morning.

If I were to alter my routes like:

'blog' => 'blog',
'blog/:url_title' => 'blog/post',
'voucher' => 'voucher',
'members' => 'member',
':url_title' => function($router) {
$router->setTemplate('addon/index');
$router->setGlobal('template', 'addon');
},

it works, but I'd rather rely on native EE routing for these template groups.


texts: Add HTML inbetween, {freeform:mp_data:FIELD_NAME}

texts:
Is it possible to output the previously selected values using 'mp_data' and freeform multipage with some HTML separating the values?

At the moment I have a field with dates in, a user selects some dates, and on the second page either displays the values they selected OR if no values were selected show another 'textarea' field asking why they haven’t selected any dates.

At the moment, it just outputs all the values raw.

Monday 14th September Tuesday 15th September Wednesday 16th September Thursday 17th September Friday 18th September

Is it possible to add a comma or HTML element to separate them.

Desired Result:
Monday

Tuesday

Wednesday

Current Code:
{if freeform:mp_data:FIELD_NAME}{freeform:mp_data:FIELD_NAME}
{/if}

Actual Result:
MondayTuesdayWednesday


texts:
I have an Assets field in a Matrix column that has stopped updating. If you edit or delete the asset and save the entry, the entry will save successfully. However, if you reopen the entry (or view it) the image does not change. All other fields update successfully, but not the Asset field. This new behavior roughly coincides with updating to EE2.7.2, Matrix 2.5.8, and Assets 2.2.1.

Other odd behavior:

It is not all Assets-in-Matrix fields -- other channels on the site use a similar Asset-in-Matrix construct and will update their Asset fields successfully.
Duplicating the entry creates a new entry that will successfully update.

Are there any known issues with the updated plugins/EE build? Has anyone experienced the same thing? Any thoughts on how to further debug this issue?


texts:
I'm trying to install EE 5.1.3 on my server but keep getting error:

Exception Caught

No such property: 'db' on EllisLab\ExpressionEngine\Legacy\Facade

ee/EllisLab/ExpressionEngine/Legacy/Facade.php:120

Stack Trace: Please include when reporting this error

#0 ee/EllisLab/ExpressionEngine/Legacy/Facade.php(30): EllisLab\ExpressionEngine\Legacy\Facade->get('db')
#1 ee/installer/controllers/wizard.php(853): EllisLab\ExpressionEngine\Legacy\Facade->__get('db')
#2 ee/installer/controllers/wizard.php(272): Wizard->do_install()
#3 [internal function]: Wizard->_remap('do_install', Array)
#4 ee/EllisLab/ExpressionEngine/Core/Core.php(241): call_user_func_array(Array, Array)
#5 ee/EllisLab/ExpressionEngine/Core/Core.php(110): EllisLab\ExpressionEngine\Core\Core->runController(Array)
#6 ee/EllisLab/ExpressionEngine/Boot/boot.php(151): EllisLab\ExpressionEngine\Core\Core->run(Object(EllisLab\ExpressionEngine\Core\Request))
#7 admin.php(153): require_once('...')
#7 admin.php(153): require_once('...')

I have doubled checked that the DB is, in fact, up and running and connected to it using all same credentials in entered on the admin.php install wizard page.

Any help or direction in getting this resolved would be greatly appreciated.


texts: Setting a primary category for content entry

texts:
At the moment I can add multiple categories to a post which is fantastic. Is there a way to specify which of the selected categories is the primary category for that content?

The reason that I want to select the primary category is to present a clear breadcrumb trail.

For example an article of content could have the following categories:

A
   B
      C *
   D *
       E
F *
   G
   H

But the bread crumbs should reflect the primary category "C" (for example).

A > B > C > The Content Title


texts: Display embedded templates inside a conditional statement if checked on publish page

texts:
In short: I need to display embedded templates based on whether they are selected by checkbox on the publish page, but my code doesn't work if more than 1 is checked.

I tried using the code below to check for whether a checkbox was checked and display the template if it was. This works, unless more than one is checked off, then none display because the statement no longer validates as true.

I have one full-page template shared by 2 pages. I have one page that requires Rides, and the other requires all 3 templates.

The name of my checkbox field is choose_entries, and the options are "Rides" "Gear" "Groups".

{exp:channel:entries channel="pages" limit="1" url_title="{segment_1}"}
    {if choose_entries == "Rides"}

Rides

            {embed="views/.rides"}

    {/if}
    {if choose_entries == "Gear"}

Gear

            {embed="views/.gear"}
    {/if}
    {if choose_entries == "Groups"}

Groups

            {embed="views/.groups"}
    {/if}
{/exp:channel:entries}

I know there is probably a way to do it with php (but I don't write php), I would like to avoid that if possible. I was unable to find the correct php syntax to get an "if contains" type statement to work.


texts: access Freeform mp_data of upload field with multiple files

texts:
as far as said situation is concerned, i only get one string of all the file names joined. Is it possible to loop through them or even get the files full paths?

{freeform:mp_data:my_multiple_upload_field}

I want to use this for a summary of all submitted content and the end of the form.


texts: EE and Structure - View Page links don't work

texts:
EE 2.7.3 (recently upgraded from v2.5.2 to v2.7.3)
Structure 3.3.14.5
PHP 5.3.3
MySQL

I recently updated from v2.5.2 to v2.7.3.  I'm now seeing in Structure that the View Page links dont work anymore.  What I mean by that is when I click the View Page button in the EE CMS, Structure page, I see the browser start to load the page (i see the loading icon in Chrome appear) but then it stops before taking me to the page.

We run the entire site under https://

Below is what one of the urls from a View Page link looks like...What do you think could be causing this issue?  Do you have any suggestions for me to try to fix it?

https://ourwebsite.com/system/index.php?S=aa6cefbdfb8a27770b11082fc7bd71cb&D=cp&C=addons_modules&M=show_module_cp&module=structure&method=link&entry_id=322


texts: Is there anyway I can limit entries within an entries tag. Not over all limit but within a particular column/row. If I have X amount of entries in a channel, I want them all to be displayed but only so many within a column.  Please and thank you.


texts: Generating link to full map with MX Google Maps

texts:
I have MX Google Maps working fine on a per-entry basis, but I'd like to give the user an option to view the full map on Google Maps.

This doesn't work:

{the-map}

Full-size Google Map
{/the-map}

Ideas why?


texts: Any way to have the default HTTP Authentication redirect to a template when user fails to authenticate?

texts:
Referring to https://ellislab.com/expressionengine/user-guide/cp/design/templates/template_access.html#http-authentication

Right now a failed or canceled authentication redirects to the standard server 401 page.

Is there any way to have this redirect to a specific url?


texts:
Probably a obvious answer, apologies in advance!

We're running EE v2.8.1 and LOW Search 3.4.0.

In some instances we want to be able to search entries but ONLY return results where a particular field is NOT empty...

Is there a way to do this within the {exp:low_search:form} param_value OR with a hidden field?

For example I assumed these would work but do not appear to, first using a hidden field:

{exp:low_search:form}
    <input type="hidden" name="search:my_field" value="not IS_EMPTY" >
{/exp:low_search:form}

or as a param_value:

{exp:low_search:form search:my_field="not IS_EMPTY"}
{/exp:low_search:form}


texts: Super Search, query strings and pagination after EE1.x->2.5.3 upgrade

texts:
I'm currently in the process of upgrading a pretty complex EE1 site to 2.5.3. One of the thornier issues I've hit concerns EE2's handling of query strings and the interaction of this with native pagination.

The site uses Solspace's Super Search module and I'm removing index.php via the standard exclude method, on EE1 I therefore had URLs of the format:

http://example.com/path/to/search&key=value&key2=value2.

On EE2.5.3, though super search works fine with URLs of this format, EE shows the $_GET array as empty (as shown in the template debugger output). I need to be able to access values in GET in my templates (I'm using Mo'Variables for this), so have reformatted my search URLs to use a "?" instead like so:

http://example.com/path/to/search?key=value.

This works great for both super search and mo variables, but breaks on paginated output, as the pagination segment is appended to the end of the query string, like so:

http://example.com/path/to/search?key=value/P15

Which breaks Super Search, whereas what I need is to prepend the pagination segment to the query string:

http://example.com/path/to/search/P15?key=value

I'm reasonably sure there must be a way around this, even if it involves an addon instead of native pagination: devot-EE also uses Super Search and has a URL structure/pagination just like what I'm looking to achieve, but I'm running up against a brick wall at the moment. Any and all bright ideas gratefully received.

Edit: as noted in the comments to below Devot-ee now uses Low Search instead of Super Search


texts: pagination with current URL in custom module

texts:
I added pagination to a module, in a mod.filename.php

Below is my code, it outputs the pagination (after it lists all the reviews) if you pass yes into the template tag parameter as seen below. After you click the first link for pagination, it appends the number to the end of the URL (ex: domain.com/news/1), then if you click another pagination link, it appends another number to the URL, (ex: domain.com/news/1/1). I know why this happens, because I am fetching the current URI.

I know I can pass segments into a parameter to append in the mod file, but I am looking for the cleanest, easiest (on the user) way possible.

{exp:module_name:reviews entry_id="{entry_id}" entry_type="electronics" pagination="yes"}
  // template tags
{/exp:module_name:reviews}

public function __construct()
{
    $this->EE =& get_instance();
    $this->EE->load->library('pagination');
}

private function paginate($entry_id, $entry_type)
{
    $p_config['base_url'] = $this->EE->functions->fetch_current_uri();
    $where = array(
        'entry_id'      =>  $entry_id,
        'entry_type'    =>  $entry_type,
    );

    $p_config['total_rows'] = $this->EE->db->where($where)->count_all_results('bmi_review');
    $p_config['per_page'] = 1;

    $this->EE->pagination->initialize($p_config);
    $vars['pagination'] = $this->EE->pagination->create_links();

    return $vars['pagination'];
}

public function reviews()
{
    $entry_id = $this->EE->TMPL->fetch_param('entry_id', false);
    $entry_type = $this->EE->TMPL->fetch_param('entry_type', false);
    $pagination = $this->EE->TMPL->fetch_param('pagination', false);

    $reviews = $this->_get_data("reviews");

    $output = '';
    $count = 0;

    if(count($reviews) === 0)
        return false;

    foreach($reviews as $review)
    {
        $count++;

        $vars = array(
            'review'            =>  $review->review,
            'review_author'     =>  $review->author,
            'review_date'       =>  $review->date,
            'review_count'      =>  $count,
            'review_total'      =>  count($reviews),
        );

        $output .= $this->EE->TMPL->parse_variables_row($this->EE->TMPL->tagdata, $vars);
    }
        if($pagination == "yes")
            $output .= $this->paginate($entry_id, $entry_type);

    return $output;
}


texts: Can I use custom field types for custom category fields?

texts:
I have just gone to add some custom fields to my category group when I was shocked to find that there was no way to define a rich text field. There are only several basic field types.

Is there a plugin which adds a richer selection of field types for categories?


texts: Show categories of entries based on year

texts:
I'm trying to get an archive to work on a web page, based on entries per year. This, in combination with an isotope-like filtering of categories. I want to output entries based on year, and then output the categories attached to these posts to use for the filtering. I've managed to get the year sorting to work by using Low Yearly Archives, but I can't add a year parameter in the categories tag.

The code that outputs the categories looks like this:

{exp:channel:categories style="linear" channel="News" category_group="1" dynamic="no" show_empty="no"}

{category_name}

{/exp:channel:categories}

And the code that outputs the entries looks like this:

{exp:channel:entries channel="News" dynamic="no" limit="12" year="{segment_2}"}
  {title}
{/exp:channel:entries}

This takes the segment_2 from the url which low yearly archives outputs.

Now, the categories outputs all categories from all years, not the one from segment_2. If only the channel category tag had accepted a year parameter, this would have been solved.
Any idea how to solve this? I've tried combining channel category and channel entries tags, but I can't get the combination to work.

Edit: I've tried the following:

{exp:channel:entries channel="News" dynamic="no" limit="12" year="{segment_2}"}

{category_name}{/categories}

{/exp:channel:entries}

And although this outputs the categories assigned to the corresponding posts, I get duplicates. So I need to output unique ones.


texts: EE's Native Image Manipulations Stored on S3 with Assets 2?

texts: When storing images to S3 with Assets 2, is it possible to store the images created by ExpressionEngine's native image manipulation functionality to S3 as well, or must they be saved to a local directory?


texts:
EEEnthusiasts!

I have a client who is seeking to use Freeform Pro to create a form where site visitors can submit entries that will appear on another part of the site for 10 days from the date of submission, and then expire automatically. It seems like the Freeform Pro date_range_end parameter should be able to do this (or at least the client thinks so), but the following template code is not working as expected.

{exp:freeform:entries
form_id="9|11"
orderby="entry_date"
sort="desc"
status="open"
date_range_end="10 day"
}

Does the date_range_end parameter not actually do what we thought it would? Is it being used incorrectly here? Is there a better way of achieving the same effect?

Any advice would be greatly appreciated. Thank you!


texts: Can other member groups register members?

texts:
I have a member group for a client and I want to give them access to manage and register members.

Settings:

Control Panel Access
Can access MEMBERS section: YES

Control Panel Administration
Can administrate members accounts YES
Can change the group that a member is assigned to (Unlocked groups only) YES
Can administrate member profile templates YES
Can delete members YES

They seem to be able to manage existing users, but get this error when they try and register a member "You do not have the required permissions to add new members to any group." Any ideas?


texts: using Stash to output a language variable with Transcribe

texts:
In my article template I'm doing this:

{exp:stash:set name="article_lang" parse_vars="yes" parse_depth="2" parse_tags="yes" parse_conditionals="yes"}
    {exp:switchee variable="{transcribe:language_abbreviation}" parse="inward"}
       {case value="en"}/{/case}
       {case default="Yes"}/{transcribe:language_abbreviation}/{/case}
    {/exp:switchee}
{/exp:stash:set}

Because the previous developer didn't set up Transcribe properly

Then in my template layout I'm doing

    {exp:stash:get_list name='article_category'}{cat_name}{/exp:stash:get_list}
    / {exp:stash:get_list name="authors" backspace="7"}{author_name} &amp; {/exp:stash:get_list}

Now this works great for the Spanish and French articles, but for some reason, when we're on English, the {exp:stash:get name='article_lang'} variable is spitting out a date.

If I call that variable outside of the get_list, it returns the variable I'd expect.

Any ideas?


texts: Since 3.5.2 unable to add more grid fields

texts:
Since 3.5.2 i'm unable to add more grid fields.
Did a fresh install of EE 3.5.2 and created a grid custom field.
Then i edited the grid field to have more then one column but the new column does not save. No matter which type of custom field i choose to add within the grid field.


texts:
Need help to get this to work:

{if {current_time} >= {exp:str_to_time date="November 6th, {current_time format='%Y'}"} && {current_time} <= {exp:str_to_time date="January 7th, {current_time format='%Y'}"}}
6 Jan

{if:elseif {current_time} >= {exp:str_to_time date="January 6th, {current_time format='%Y'}"} && {current_time} <= {exp:str_to_time date="February 21st, {current_time format='%Y'}"}}
20 Feb

{if:elseif {current_time} >= {exp:str_to_time date="February 20th, {current_time format='%Y'}"} && {current_time} <= {exp:str_to_time date="March 28th, {current_time format='%Y'}"}}
27 Mar

{if:elseif {current_time} >= {exp:str_to_time date="March 27th, {current_time format='%Y'}"} && {current_time} <= {exp:str_to_time date="May 16th, {current_time format='%Y'}"}}
15 May

{if:elseif {current_time} >= {exp:str_to_time date="May 15th, {current_time format='%Y'}"} && {current_time} <= {exp:str_to_time date="August 4th, {current_time format='%Y'}"}}
3 Aug

{if:elseif {current_time} >= {exp:str_to_time date="August 3rd, {current_time format='%Y'}"} && {current_time} <= {exp:str_to_time date="September 12th, {current_time format='%Y'}"}}
11 Sept

{if:elseif {current_time} >= {exp:str_to_time date="September 11th, {current_time format='%Y'}"} && {current_time} <= {exp:str_to_time date="November 7th, {current_time format='%Y'}"}}
6 Nov
{/if}


texts: create customer in stripe with expresso cart when order is authorized

texts: Is there a way with the current Stripe integration with Expresso cart to create a Customer and Card and on the Stripe side when an order is authorized?  If this does not exist in existing functionality in the Expresso cart does anyone have any code to do this?


texts: Filtered search with category entry counts

texts:
I'm trying to create a product search page, where the categories are listed on the sidebar with checkboxes. I'd like to show how many products are in each category.

Checking one of the categories would filter your results to show products in that category.
Once the results are filtered, the entry counts on the categories should be updated. (Number of entries that match the current search and is also in the respective category)

I've created the search using Low Search, and can show the entry count using GWcode Categories. But I don't know how I would show the 'filtered' count. Is something like this even possible?


texts:
I have an EE site on 2.5.2 that just reloads the login screen whenever I click login. This is happening for all users and user groups, and in multiple browsers.

EngineHosting suggested I edit the config file to add:

$config[‘admin_session_type’] = “c”;

This did not solve, unfortunately. Any thoughts?

Many thanks.


texts: How could I go about removing and regenerating all URL titles for a specific channel? I did so once in the past, but unfortunately I have misplaced the query that was provided to me.


texts:
I'm running the latest version of EE (v5) but when trying to login to the control panel, I keep getting a form expired message -
"Error: This form has expired. Please refresh and try again."

This is happening on all computers and all browsers apart from my work computer. That's the only one I can still login on.

Any ideas on how to solve this issue would be hugely appreciated as we're putting this website live in a week's time! Cheers in advance!


texts: Cartthrob clear_cart input not working on update_cart_form

texts:
As the title says - cart just reloads:

{exp:cartthrob:update_cart_form
    class="validate"
    id="form-basket"
    return="shop/basket"
    secure_action="yes"
    }

    basket code here

    <button type="submit" name="clear_cart">Empty Basket</button>

{/exp:cartthrob:update_cart_form}

Any idea why this might be the case?

EE is 2.7.2, CT is Pro 2.4.

Thanks


texts: Is there any way to limit the number of entries a user can make?

texts:
I want to limit the number of entries a user can create. I've found a similar question here: Restrict number of entries per user

The reason that answer won't work for us is because our version of EE is 2.1.3 - before safecracker was integrated. We've tried updating it to the latest version, but after three weeks encountering error after error after error we've had to roll back before we miss a deadline which could make or break our business.

Is there anyway to do this without Safecracker?


texts: Can a freemember login form be sent securely?

texts:
Say I force SSL on my public login page (with DM Force SSL), and I'm using a fairly standard freemember login form:

{exp:freemember:login return="PREVIOUS_URL" error_handling="inline" error_delimiters='|'}

bla bla

{/exp:freemember:login}

When the login form is submitted, Safari will throw this in a dropdown sheet:

  This form will be sent in a way that is not secure. Are you sure you want to send it?

Is this because freemember lacks the ability to send the form securely? (Solspace's Freeform Pro, for instance, has a secure_action="yes" attribute for its tags. Is there some workaround?


texts:
Is it possible to move the Member group on editing of the User profile?

We've set it up so that members in Group A see a profile where they fill in some custom fields (required) and on submission should be moved to Group B - can it be done?

Also is it possible that on this action occurring a mail be despatched to the site Admin to notify them?

Anyone know of the best way to do this?


texts: Solspace importer : A Unique Field Element with valid EE Field Are Required

texts:
I'm using solspace importer (latest version) to import members in EE v2.10.1

In the importer settings form, I have a row Additional Member Fields
There is a select where I can select custom fields and a button [Add field].

When I click the Add Field button I get this error :

An Error Was Encountered
A Unique Field Element with valid EE Field Are Required.

I don't have a clue about what it means...

EDIT : In fact clicking that button submits the form while there are still blank fields. Is that a bug ?


texts: EE2.x Module development reference images in css and views

texts:
I'm building a a module and I am having trouble trying to load images for my css styles and views..

is there a way to do this?

file stucture:
third_party:

module

javascript
css
views

I have tried '../images/file.png' but no go as obviously the path is incorrect on page render.