texts: Using Stash to set Custom Field based on URL with Freebie

texts:
I'm building a multilingual site, which has a fallback to English if the article isn't available in the users selected language. I'm using freebie_1 to switch the custom field for each language.

I'm still fumbling my way round Stash and guessing the following code should work. However, on the front end I'm only seeing {cf_news_title_en}

How can I pass the {lang} variable in to the custom field to render correctly?

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

    {if "{cf_news_title_{freebie_1}}" != ""}
        {exp:stash:set_value name="lang" value="{freebie_1}"}
    {/if}

    {if "{cf_news_title_{freebie_1}}" == ""}
        {exp:stash:set_value name="lang" value="en"}
    {/if}

    {exp:stash:append_list name="news"}

        {stash:news_title}{cf_news_title_{lang}}{/stash:news_title}
        {stash:news_page_url}{site_url}{freebie_1}/news/{url_title}{/stash:news_page_url}
        {stash:news_intro}{cf_news_intro_{lang}}{/stash:news_intro}

    {/exp:stash:append_list}

{/exp:channel:entries}

{exp:stash:get_list name="news" type="snippet"}

{news_title}

        {if news_intro != ""}
{news_intro}
{/if}

{/exp:stash:get_list}


texts:
I'm using Solspace Calendar 1.8.14 in ExpressionEngine 2.10.1. According to the Solspace Calendar documentation (https://solspace.com/expressionengine/calendar/docs/occurrences/#occurrence_id) I should be able to display a unique ID for each event occurrence; however, when I try to display this ID it only shows the shared event_id instead of a unique ID.

Example:

{exp:calendar:occurrences event_id='71' date_range_start='today' date_range_end='12 month' upcoming_occurrences_limit='20'}

ID: {occurrence_id}

{/exp:calendar:occurrences}

In the above case, {occurrence_id} displays '71' for each occurrence. What am I doing wrong?

Thanks,
Brady


texts:
Perhaps I've misunderstood what Related_Entries is aimed at accomplishing, but I've tried a number of variations and can't seem to get some very simple template code to parse correctly.

Channel Setup

I've got a Matches channel and a Teams channel. The Matches channel has two fields in it labeled as "Team 1" and "Team 2". They're both set as a Relationship to the Teams channel. I've created some test Matches and assigned Teams to them and everything appears fine there. However, I'm attempting to create a sample template using all of this information. See below:

Template code

<!DOCTYPE html>

    <title>Matches</title>
    <meta charset="utf-8">

List of current matches.

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

{title}

{related_entries id="Teams" entry_id="{team_1}"}
  {team_name}
{/related_entries}

vs

{related_entries id="Teams" entry_id="{team_2}"}
  {team_name}
{/related_entries}

{/exp:channel:entries}

{team_1} appears to just be returning an id of some sort... I presume it is the rel_id.

exp_relationships/clearing cache/table behavior

To further muddy the waters, while troubleshooting, it was recommended I clear the Relationship cache within EE through the Admin interface. This action cleared out all data within the rel_data column in this table but I've yet to find an ideal way to repopulate this data. The only way I've found is to go into Content > Edit > Matches, edit one of the matches and CHANGE the team participating in the Match and then change it back. Simply hitting "Update" doesn't appear to re-populate the table.

EDIT: SOLUTION

I made a mistake and read the documentation on the related_entries tag incorrectly. The accepted answer below is based on the comment he made pointing out that I need to use the field id instead of the Channel name.

The changed line(s) should look something like

{related_entries id="team_1"}


texts:
I am trying to integrate a payment gateway (PayU) to an ExpressionEngine2 website. I have created the payment gateway extension and believe I have the required code to execute the payment.

When I do the checkout and I reach the credit card payment stage and clicking on 'Pay', I get the following error: Fatal error: Class 'Omnipay\PayU\Message\SoapVar' not found in C:\wamp\www\flook\trunk\backend\expressionengine\third_party\store_payu\Omnipay\PayU\Message\PurchaseRequest.php on line 182

I have also tried to use the SimpleXMLElement() object in php, but get the same error (SimpleXMLElement not found in...). It's as if objects may not be used within this PurchaseRequest class.

I have activated the php_soap extension in my wamp server and restarted it, but still get the same error. Is there perhaps something else I am missing?


texts: What is the best place to post job listings for EE devs?

texts: I just want to find some talented people to work with that are already familiar with the platform.


texts: Expression Engine install trouble (2.9.2)

texts:
I seem to be having some trouble getting expression engine to install on my server. I've set everything up as directed and still am having issues with it. When I go to the home page - no matter what I do I still see "Your config file does not appear to be formatted correctly."

So I Double checked the permissions and directories and everything looks fine. I however did notice that the drop down for data base type is completely empty and un selectable ( I don't know if this is a bug).

I can fill out all the information and click create and then the url changes and the browser screen just turns white. It doesn't look like anything is happening (nothing spinning or moving in the browser tabs) but regardless I let it run a few minutes - and nothing. I checked the config and database.php files and both are still blank.

This has been quite frustrating as I have installed EE many times before with no problem at all. Any help would be greatly appreciated. Thanks for reading!!

EDIT -
I am using -

centOS: 5
PHP: 5.3.29
apache: 2.2
mySQL: 5.6

I would also like to add - the database type drop down is not populated with anything and I'm thinking that may be a helpful clue.


texts: Accept Terms Field in DevDemon Subscriptions

texts:
Looking for a solution to make users have to click a checkbox to accept the terms and conditions of our membership before being able to subscribe.

Would prefer some sort of required field solution rather than scripting something outside of the add-on.

Any suggestions?


texts:
I'm trying to pull a category image using segment_n_category_image variable from Low Seg2Cat add-on.

Code looks like:

and output:

It looks fine except {filerdir_1} part which I have no clue where comes from.

Any idea?

Thanks


texts: Store: how to configure promotions in bulk?

texts:
I'm about to launch several EE sites with Expresso Store. Each site will basically have the same products. And when some of the products go on promotion, they need to happen across the individual sites.

Is there a way to quickly replicate the configuration of promotions (e.g. a 50% discount sale on 100 products) across multiple sites?


texts: Expresso Store2 - regular_price not showing in browsers other than Safari

texts:
I'm having this problem with browsers not displaying the old price next to the sale_price except in safari. Both the index page where all products are listed and the singel productpage are not showing. Even in the pagesource is the old price not listed. Safari is showing in both pages without a problem.

This is the code I'm using:

    {if on_sale}
      {price}
      {regular_price}
    {if:else}
      {price}
    {/if}

I've also tried this code:

  {if on_sale}
    {price} {regular_price}
  {if:else}
    {price}
  {/if}

Both without success! Is there someone else who had encountered this problem? All help would be great.


texts:
If a customer adds products to the basket, fills in their details and then processes a payment and it errors / fails / cancels and they press back (Or click the go back link) in their browser to go back and amend their address (Or the bit that is incorrect) then submit the details again. It doesn't seem to remove the previous address from the session.

Is there a way of just clearing the *customer_info* part of the CartThrob session, not the full basket?

I know of this tag:

{exp:cartthrob:clear_cart clear_customer_info="yes"}

But I don't want to clear the cart, just the *customer_info*


texts: What Forum Template do I modify to display Smileys?

texts:
I am working through the tangled web that is the EE Forum templates in search of the correct template for adding a link to the emoticons (smileys). So far I am coming up empty handed. Anyone with experience out there that can point me in the right direction?

Thanks!


texts: Expresso store with a Pay Trace gateway?

texts: We built site with Expresso store - client came back with a Pay Trace gateway. Anyone connected these? Ideas?


texts: Expresso Store - remember form fields if inline error

texts:
I wish to pre-populate my billing and shipping details for logged in members

VALUE="{exp:member:custom_profile_data}{firstName}{/exp:member:custom_profile_data}"

This correctly populates the form fields however when I submit the form when there is an error on the form such as a required field not being complete all the form fields are reset to blank.

So I basically need something along the lines of the following:

if inline error then use

VALUE="{firstName}"

otherwise use the following:

VALUE="{exp:member:custom_profile_data}{firstName}{/exp:member:custom_profile_data}"

Is this possible? If so anyone care to share the syntax?

Thanks


texts:
I'm trying to display all the data of my members, including the last time they logged in (last visit), but I can't seem to get the right data. Either I receive the data of the users that's currently logged in, or nothing at all. I'm currently trying this:

Last visit

{exp:low_alphabet:entries
        channel="members"
        status="Members-id5"
    }
    {exp:member:custom_profile_data member_id="{entry_date}"}{last_visit format="%Y %m %d"}{/exp:member:custom_profile_data}
{/exp:low_alphabet:entries}

I thought this should work since this is the way it's being described here: https://ellislab.com/expressionengine/user-guide/add-ons/member/#member-profile-templates

Does anyone has the idea what's the right way to do it?


texts: How to disable Editor (DevDemon) for Category Descriptions

texts:
I want to completely disable Editor for my Category Descriptions and have it revert back to the simple text area field that ships with EE.

Does anyone know how to do this?


texts: Match entries in sales: How can i add a custom field to the article title?

texts:
In a wine shop article titles are very often identical. That makes it difficult for my client to choose the right product to be on a sales list. This screenshot should say it all:

Is it possible to change that? Something like this would be perfect in my case:

custom_field-title (the custom field is the wine ID in my clients workflow, for example 1234. That's not the ExpressionEngine entry_id. That would show something like this:

1234-Chardonnay

If custom_field-title is not possible: article_id-title would be already some help.

Thanks!


texts:
I am currently using ex-presso store and have mapped it to the zoo visitor fields. When i complete an order, the user shipping and billing details are not saved or updated at all.

I am using the {exp:zoo_visitor:details {global:disable_categories}} tag to surround the member info form and using the {visitor:global:mbr_user_shipping_phone} formatted tags for the values of the text boxes.

Is there anything I can look at to solve this? I don't know what I am missing?


texts: Database errors on update - issue with updates/ud_215

texts:
I am trying to bring a slightly older site back to life. It's currently on 2.1.4 and I am trying to pull it right up to date. There appears to be something going wrong somewhere as I am receiving database errors...

It is in or around ud_215 I think as this is where the error is reported. It appears to be attempting to create some duplicate fields in db tables - although I am aware that this may be because I have attempted to run the updater a couple of times. I've tried dropping the fields manually from the tables and re-running but I continue to get errors.

I ended up changing the software version in config.php to show as 215 and everything appeared to run okay - but on accessing the control panel I can tell that there up upload path issues somewhere.

I appreciate it's a long shot that someone else may have had similar issues - but where better to ask!? ;-)


texts: Client needs a Paypal donation form with recognition wall - use Comments?

texts:
I've got a site in progress that is a redesign of a Wordpress website, and the client was using a WP plugin that allowed users to make a Paypal donation and leave a comment for the donation "wall of recognition."  I see a few WordPress plugins available with this kind of functionality, but nothing similar for EE.

I'm wondering if there's a way to set this up just using the EE Comments module?  Can I set up a Paypal donate form and somehow send the EE comment with it?  And if the user selects a box for "show my donation amount", pass that donation amount along with the comment form?  Seems plausible in my head, but it's a bit beyond my comfort zone coding-wise, so before I delve into it too much, wondering if anyone else has a better idea of how to do this!


texts:
I am wondering if there is a way to use the Channel Images (by Devdemon) fields with Moblog. I've tried a bit and have not found a way...yet. Tomorrow, though, is another day and I can give it more attention but I don't want to reinvent the wheel if someone has been successful.
Thanks to you all. This is a great resource and I hope it continues.
Carole


texts:
One of the changes in the CT 2.5 update is:

ADDED: exempt_discount_from_tax config variable (can be added to EE's index.php in the $assign_to_config) to make it so that discounts do not affect taxes.

Is it possible to get a bit of an explanation on how this works. Based in the UK I would charge tax to customers in Europe but not outside Europe. If a discount is valid in either case I need the tax to be calculated correctly in both circumstances.


texts: Prevent access to templates from a remote server

texts:
I have some templates that output JSON in ExpressionEngine which we are called using a simple CURL request from a CodeIgniter app elsewhere on the same domain - we don't want these templates to be accessible to other sites as we want to control who has access to this data (though it's not sensitive) - how can we best go about achieving this?

I was thinking about using .htaccess but in some ways I would rather control it at a template level so it's not forgotten or missed in future site updates.


texts: Customizing Wygwam & CKEditor to prefill width & height attributes

texts:
For the latest version of Wygwam, is there a way to:

When an image is added, prevent the image dialog from automatically filling the width/height of the chosen image's dimensions
Instead, prefill both the width & height fields with the value "100%"

I'm assuming a custom config file can be created & added to a Wygwam configuration via the Advanced Settings, but not sure of the code to do the two steps above.

Thanks all!


texts: Cartthrob notifications for cancelled orders

texts: In Cartthrob I notice a number of orders that have not been completed, looking under the payment error field I see "Transaction in process offsite" which means they cancelled their order while using the payment gateway. Is it possible to send an email when this error occurs with the customers details? I tried setting up notifications using the event "Customer completing order offsite" but that does not work. Any suggestions? Also is it possible to send to an email listed in the custom field e.g.{shipping_region}


texts:
I need to upgrade an EE2 site to EE5 and looking for some insight on best practices.

From what I've seen it looks like the EE upgrade path would require upgrading from 2 > 3 > 4 > 5. The issue I would have is not having a copy of EE3. Is that something I can get somewhere?

Or try and use some plugins to export my entries EE2 and then import them into a fresh EE5 install and rebuild a bunch of things.

Any best practices, articles, or pitfalls I should watch out for would be greatly appreciated.


texts: Wygwam 2.7 not processing Assets tags after bulk conversion

texts:
I have a client site in which I need to convert a very large number of existing entries from ExpressionEngine's native File Upload functionality to Assets in order to take advantage of S3 storage. I have successfully converted all File fields to Assets fields and moved over the files to S3 via drag and drop in the Assets interface. Now all of those fields are properly pointing to S3.

The problem comes in with Wygwam fields. I have referred to this other SO answer which explains that previous to Wygwam 2.7 there was no way for Assets to keep track of what files were pointed to inside Wygwam fields. I have upgraded the site's Wygwam version to 2.7.

I wrote a batch process that does a regex replace on the contents of all wygwam fields and converts {filedir_n} and hardcoded references to {asset_m} references for the corresponding Assets S3 upload location. Now all of them simply display {asset_m}/filename.ext, which obviously means broken images.

It was my understanding that Wygwam 2.7 would be able to convert those tags on display to the correct path. Am I missing something?


texts:
I have changed Default Mail Format to HTML in email configuration but when I get email notifcations via the Discussion Forum it still contains HTML tags .

e.g., <p>

Anyone any idea?


texts: Get member id in ExpressionEngines session hook

texts:
How do I get the member id of the current user in my extension when I'm in the session_start hook?

ee()->session->userdata('member_id');

Obviously doesn't work; this gives me a server error.


texts:
I'm having trouble getting the rEEservation form to show up properly on my website. The basic form shows up okay, but it's not showing the options for which I created channels for. When 'proceed' is clicked, it leads to an error page saying, 'The object for booking is not provided' - because there was no way to select the options.

I'm trying to create a reservation system for 2 tables at a cafe, for 3 hour slots from 11am - 11pm. This is how it's set up at the moment:
Channel: reserve_table
Channel Fields: {table} which is a text input field
Channel Entries: 8 of them (Table 1: 11am - 2pm; Table 1: 2pm - 5pm; Table 1: 5pm - 8pm; table 1 - 8pm - 11pm - and then repeated for Table 2).

The template code:

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

{title}

{exp:reeservation:form entry_id="{segment_2}"}

Name: <input type="text" name="name" />

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

Phone*: <input type="text" name="phone" />

Booking date*: <input type="text" name="date_from" id="date_from" value="{current_time format="%Y-%m-%d"}" />

Leave a comment for your booking: <textarea name="comment"></textarea>

<input type="submit" value="Proceed" />

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

Ideally, the customer would be able to select a table time slot on a particular date (dropdown menu perhaps?), and have it verified that the time slot has not already been booked.

I've scoured the docs and just can't seem to move it past the point i'm at. I can add manual reservations, but not from the website. How do I get the channel entries list to show up? Where does the exp:reeservation:check (or do I use exp:reeservation:check_multiple?) code go? And if I were to use the Simple Calendar code, which is provided, where does that go?

If anyone who has successfully used rEEservation before can help, or even let me peek at your template code, I would greatly appreciate it. Thanks!

====
Update: Problems solved!

I got rEEservation working with lots of help from Yuri. In the end, I now have 4 channel entries, one for each time slot. In the rEEservation settings, I have it set so that each time slot (or 'object') can be booked a maximum of 2 times per day (because there are two tables which can be booked). My final template code looks like this:

 {exp:reeservation:form return="bookings/thank_you"}

Table/slot*: <select name="entry_id">
        {exp:channel:entries channel="reserve_table" dynamic="no" disable="categories|custom_fields|member_data" orderby="title" sort="asc"}
        <option value="{entry_id}">{title}</option>
        {/exp:channel:entries}
        </select>

Name*: <input type="text" name="name" />

Email*: <input type="text" name="email" />

Phone*: <input type="text" name="phone" />

Booking date*: <input type="text" name="date_from" id="date_from" value="{current_time format="%Y-%m-%d"}" />

Leave a comment for your booking: <textarea name="comment"></textarea>

<input type="submit" value="Proceed" />

        {/exp:reeservation:form}


texts: Template Access Restriction Redirection is not working

texts:
I have a template where I only want "Members" to be able to access. If a user that is not part of the "Members" group tries to access that page, I want it to redirect to a sign-up/index

Here is what I did in the templates

However, my problem is that when I tried accessing this certain template as "Guest", I only see a blank page. I am not redirected to sign-in/index.

Am I missing something here?


texts: Enable Membership Captcha on specific forms in ExpressionEngine

texts:
I am working on a website based on ExpressionEngine, which requires captcha on the member registration form.

For this, I enabled Membership captcha, and added the below code in the form.

{if captcha}

Please enter the word you see in the image below:

{captcha}

    <input type="text" name="captcha" value="" size="20" maxlength="20" style="width:140px;" />

{/if}

It works fine, it shows the captcha as required. But the problem is, the website is divided into 2 parts:

Free membership registration
Paid membership registration

And I require captcha only on "Free membership registration" form and not on all the membership registration forms. I tried almost everything, and it has been 2 days, I am stuck with this problem.

Please let me know, how can carry this out? Help on this will be highly appreciated. Many thanks.


texts:
I've made 2 new Member Groups, Ouders and Kids.
Both are base on the Members group.

I've a Template Group nieuws. Access for this index is only for Member Group Ouders.

I've a Template Group activities. Access for this index is only for Member Group Kids.

In my template nieuws/index I have this code:

 {if logged_in}

 {exp:channel:entries channel="nieuws" disable="categories|member_data"}
 ....
{/exp:channel:entries}

 {/if}

 {if logged_out}
{exp:member:login_form}

 gebruikersnaam
 <input type="text" name="username" value="" class="formfield" maxlength="32" size="25">

 wachtwoord
 <input type="password" name="password" value="" class="formfield" maxlength="32" size="25">

<input type="submit" name="submit" class="button" value="LOGIN">

{/exp:member:login_form}
{/if}

In my template activities/index I have this code:

{if logged_in}

{exp:channel:entries channel="activities" disable="categories|member_data"}
....
{/exp:channel:entries}

{/if}

{if logged_out}
{exp:member:login_form}

gebruikersnaam

<input type="text" name="username" value="" class="formfield" maxlength="32" size="25">

wachtwoord

<input type="password" name="password" value="" class="formfield" maxlength="32" size="25">

<input type="submit" name="submit" class="button" value="LOGIN">

{/exp:member:login_form}
{/if}

If I login with the username/password from a Kids Member Group I get access to both templates (nieuws and activities) when a Kids member should only have access to the activities template. If I login as a Ouders member I get access also to both template.

Am I doing something wrong or do I need an Add-on to achieve this.

Francois


texts: loading country code selection javascript file once per site visit

texts:
On my website I am displaying a country specific icon for the visitor. I'm doing this by setting a data-country variable in the head of the html document and loading a javascript file that sets the local storage value once when the homepage is visited.

I only want to run the geo.js script once as it can be a performance hit, so I included the conditional, if the first segment is empty then load the geo.js file. But if the users first visit to the site is anywhere other than the homepage the geo.js file is not loaded and the country code is not selected.

Here is my current code:

<head {if segment_1 == ''}data-country="<?php $country_code = $_SERVER["HTTP_CF_IPCOUNTRY"]; echo $country_code; ?>">
{if segment_1 == ''}
  <script src="{cdn_url}{exp:setversion path='/js/geo.js'}"></script>
{/if}

Here are the contents of the geo.js file:

var countrySet = localStorage.getItem('country');

if(countrySet !== null && countrySet == 'UK') {
 window.location='http://website.com/uk';
}

// If country is not stored, get it from the <head> element

if(countrySet === null) {
var country = document.getElementsByTagName("head")[0].getAttribute("data-country");

// Store country

localStorage.setItem('country', country);
 if(country == 'UK') window.location='http://website.com/uk';
}

Question

Is there a way to load the geo.js script only once per site wide visit? Right now if I take away the conditional the script runs on each page load.


texts: How do I limit access to certain actions based on member role?

texts: I only want a particular action to be available to certain user types. Is there a way to 'bake' this in when I register the action in my module install file, or do I need to check authorisation in the actual action method?


texts: What do you put in your .gitignore for ExpressionEngine sites?

texts: I'd like to keep my git repo as clean as possible without cache files and content image files. Also I'd like to preserve the ExpressionEngine images directory structure. What are you gitignore directives to achieve this?


texts:
I'm struggling to understand what is the "proper" way to build URLs in EE. I think I want my URLs to be built in such a way that it can take advantage of EE's dyanamic="yes", etc. Right now, I can build URLs and use certain segments to display the content I want, but I'm not sure if I am doing it correctly.

Say I am building a simple forum. I have a Channel forum_topics which has Categories. I want to do the following:

Display a page with a list of categories. Each category will link to a list of Channel entries with that category. Also, ideally, I'd like to list the last 10 entries for each category on this page. Is this possible?
Display a list of Channel entries for a given category. Each channel entry will link to that entry's single entry page.
Display the single entry page.

I can do it, but I'm just not sure if I am doing it the "EE way." Here are the snippets of how I'm doing it:

1. FIRST template: loop through categories, create list of links to SECOND template

    {exp:channel:categories
        category_group="1"
        status="open"
        style="linear"
    }
        {category_name}
    {/exp:channel:categories}

2. SECOND template: use segment_2 in {exp:channel:entries}, set {entry_id} as 3rd segment

    {exp:channel:entries
        category="{segment_2}"
        channel="forum_topics"
    }

        {title}
    {/exp:channel:entries}

3. THIRD template: use segment_3

    {exp:channel:entries
        channel="forum_topics"
        entry_id="{segment_3}"
    }

{title}

    {/exp:channel:entries}

Any suggestions?


texts:
I have an empty stash list, as expected.  I need to output some alternative content if the list is empty.  I've tried using conditionals and {count} but to no prevail.

Any ideas how I can do this.  I am using Stash and Expresso Store.  I need to allow users to seamlessly switch between purchased and purchased products.

Any help, greatly appreciated

Here is my list

{exp:store:orders member_id='CURRENT_USER' order_by='order_date' sort='desc'}
  {items}
    {exp:channel:entries entry_id="{entry_id}" channel="series"}
        {exp:stash:set_list name="series_list" parse_tags="yes" parse_depth="3" context="{url_title}"}
           {stash:item_entry_id}{entry_id}{/stash:item_entry_id}
              {stash:item_title}{title}{/stash:item_title}
                {exp:stash:set_list:nested name="series_list_episodes" parse_tags="yes" context="{entry_id}"}
                        {series_episodes}
                           {stash:episode_title}{series_episodes:title}{/stash:episode_title}
                           {stash:episode_number}{series_episodes:episode_number}{/stash:episode_number}
                           {stash:episode_teaser}{series_episodes:series_episodes:episode_teaser}{/stash:episode_teaser}
                           {stash:episode_duration}{series_episodes:episode_duration}{/stash:episode_duration}
                           {series_episodes:episode}
                              {stash:desktop_url}{episode:desktop_url}{/stash:desktop_url}
                              {stash:mobile_url}{episode:mobile_url}{/stash:mobile_url}
                              {stash:placeholder_image}{episode:placeholder_image}{/stash:placeholder_image}
                            {/series_episodes:episode}
                        {/series_episodes}
               {/exp:stash:set_list:nested}
            {/exp:stash:set_list}
        {/exp:channel:entries}
  {/items}
{/exp:store:orders}

And here is the output:

{exp:stash:get_list name="series_list" context="{segment_3}"}
    {!-- if no results/list empty load another product --}
    {!-- chuff removed --}
  {item_title}
    {exp:stash:get_list:nested name="series_list_episodes" context="{item_entry_id}" prefix="nested" }
                {!-- bla bla this all works nicely, just stash variables used in the embed --}
    {/exp:stash:get_list:nested}
    </ul>
{/exp:stash:get_list}

UPDATE

A little background to my issue.

I am building a ecommerce site that gives users access to some streaming video content.

From within one template I need to be able to list products which have been purchased and products which haven't been purchased.

With the list above, I was hoping to return some content based on the {segment_3} value, if there is no content, so rather than using the exp:store:orders loop, I'd use the standard channel entries loop with the url_title set to {segment_3} (i've not coded this part yet, Just at the stage where I need to return 'something' if the list returns nothing.


texts: How to keep admins at /admin.php and out of /system?

texts: When using admin.php to point to the /system folder, sometimes admins will end up redirected from urls with /admin.php to urls with /system.  This presents problems with various add-ons, and generally speaking if I set everything up with /admin.ph pI'd like to keep them there.  Is there an .htaccess rule I can use that will ensure that?


texts:
I'm looping matrix entries and I'm trying to give each image a unique id. I've tried using {count}, but it's just outputting same number for each entry? What's the best way to do this with either EE logic or PHP?

Here's my current code. Essentially just trying to increment mainImg1, mainImg2, mainImg3, etc...

{image_title}

Click To Zoom Image

                <input type="button" value="Print Image"  onclick="printImg()" />

                    {table}

    {/machine_support_landing_parts}


texts: FreeformPro Not Submitting After Upgrade

texts:
I have a site I inherited and did a big update on. All looked good until we tested the contact forms that use Freeform Pro and they aren't submitting.

EE 2.10.0
Latest versions of Structure/Publisher/FreeformPro.

Freeform code is:

{exp:freeform:form
            form:class="form-horizontal"
            form:id="freeform"
            form_name="contact"
            form:action="{root_url}index.php/{publisher:current_language_code}/?ACT=50"
            return="{root_url}index.php/{publisher:current_language_code}/{segment_1}/thank-you"
            parse="inward"
            ajax="yes"
            required="first_name|last_name|email"
            match="email"
            recipients="yes"
            recipient1="***email_removed"
            recipient2="***email_removed"
            recipient_template="contact_form_notification"
        }

Originally the "ACT=50" was "ACT=42" - on a whim I looked at the exp_actions table and saw no entry there for 42 but Freeform had an action of 50 so I thought that might be the issue.

Googling around it looks like this is possibly .htaccess related.  Currently the site has:

RewriteCond %{QUERY_STRING} !^(ACT=.*)$ [NC]
RewriteCond %{REQUEST_URI} !(\.[a-zA-Z0-9]{1,5})$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php/$1 [L]

When I try to submit the form the Chrome JS inspector shows:

`POST (**URL removed) /en/respond/contact-the-hope?ACT=50 404 (Not Found)

I threw a quick EE contact form in and it submits/sends email successfully.

Any thoughts?


texts:
I've got a project where I need to display several sales reps dependent upon their location. I've decided to display that data with relationships within a grid. The entire set up is like this:

Channel - Rep Locator {rep_locator}

Grid - Rep Grid {rep_grid}

Grid Fields

Text Input - Location {location} | Relationship - Sales Rep {sales_rep}

Relationship Channel

Has a title {title}, Office Number {office_number}, and Email {email_address}.

I can get the Location just fine, it also loops out the correct amount of relationship entries, but it does not display the title, office number or anything else.

My code is set up as

{exp:channel:entries channel="rep_locator" dynamic="no" disable="members|categories|pagination"}
{rep_grid}

{rep_grid:location}

        {rep_grid:sales_rep}

{rep_grid:sales_rep:title}

        {rep_grid:sales_rep}

{/rep_grid}
{/exp:channel:entries}


texts: Can the discussion forum registration display custom fields?

texts:
I'm using the Forum Module on a client site. I want to add two custom member fields to the registration form. Does anyone know if this is possible?

The theme template has a tag for custom fields, but they don't seem to show up.

{custom_fields}

            {required}*{/required} {field_name}
            {if field_description}
                {field_description}
            {/if}

            {field}

    {/custom_fields}

Thanks


texts: Have forms been broken by new security issue?

texts:
I've just completed an upgrade from 2.5.3 to 2.7.0 (never want to do THAT again ;) ) and have run into an issue that seems to be coming from some changed security restrictions.

I have several simple pages that (in a nutshell)

read the contents of a web page into a variable
allow the selection (via radio button) of an e-mail address value for another variable
mails the html content to the provided e-mail address

This has been done for the last year or so, no problems at all. Two lines of php have capture the content and another line sends the mail with the native mail() function.
The page has used a form to post the html payload and email address selection back to itself (action="") and then based on the value of a couple hidden variable has either executed the mail() command or recycled the page with alternate html to be delivered as payload.

Since upgrading to 2.7 these form submission have stopped working, and I am confronted with that ugly grey box stating

The following errors were encountered

- The action you have requested is invalid.

Return to Previous Page

A "wonderful" generic message, which says absolutely nothing at all. (sigh)

I bit of time with google had me thinking this was being caused by a now mandatory CSRF token, but looking at my config I saw that CSRF protection was not even enabled.

I can't find a hint of anything in any log file anywhere, nor does anything appear on screen for a superuser. Also, the action does not complete, the mail is not sent.

I whittled one of the pages down to the following contents as a test:

<form action="" method="post">
   <input type="hidden" name="toAddy" value="test@example.com" />
   <input type="submit" name="submit" value="mail" />
</form>

And this also generated the error page.

Looking at a web console in FF, nothing is generated at all. I simply cannot find any specific error information anywhere which can lead me to a next step.

Has anybody seen this, or does anybody have an suggestions?

Any help is very much appreciated.

Andy


texts:
Ok, let's see if I can explain this question, I have a channel with a playa field which refers to channel which has other playa fields in it that I want to display on the given page. How do call the other playa field? on that playa selections channel since just calling them doesn't work of course.

I get about this far, but don't know the next step?

{exp:playa:children field="FROM CHANNEL A"}
    {title}
{/exp:playa:children}

EDIT

Hi Lisa, Thanks for responding I am somewhat new to playa and even to EE itself lets see if I can explain this better.

I have a channel called "data_entry" with a playa list {location_source} the items on the list refer to another channel called "locations" which contains another playa field called {second_order_location} that I want to display right before the {title} of the first playa list. Does that make sense?

{exp:playa:children field="location_source"}
    {if first_order_location_parent}{first_order_location},{/if}
    {title}
{/exp:playa:children}

EDIT
I wrote

     {exp:playa:children channel="data_entry" var_prefix="data_entry"}
        {data_entry:exp:playa:children channel="nwt_locations" var_prefix="first_order_location_parent"}
            {data_entry:title} - {first_order_location_parent:title}
        {/data_entry:exp:playa:children}
      {/exp:playa:children}

All I get is the same as if I wrote {title} am I missing something? I am not sure what to do about the parameters. Thanks So much for time


texts:
I recently updated to EE 2.7.3 and noticed that I am getting the following error at the top of all my pages:

  Parse error: syntax error, unexpected 'II' (T_STRING) in /var/www/vhosts/mysite.com/eesystem/expressionengine/libraries/Template.php(3276) : eval()'d code on line 1

Line of said template reads:

<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');

Any clues what is causing this and how to resolve it?

Thanks.


texts:
I'm using Stash to set a value like so;

{exp:stash:set_value name="head_title" value="{title}"}

However, I have now added a new channel field {news_meta_title} and would like to pass this as the value of "head_title" if it has been entered, otherwise just use {title}.

I have tried doing this, but it didn't work;

{if news_meta_title}
    {exp:stash:set_value name="head_title" value="{news_meta_title}"}
{if:else}
    {exp:stash:set_value name="head_title" value="{title"}
{/if}

I was wondering if anyone had any pointers?

I know that it's all down to parse order, but not sure on how to resolve this.


texts:
Problem solved.  If you are already logged in and log in again the return does not WORK

using this form the return is always redirected to the home page but it should use the redirect tag.

{exp:member:login_form return="/courses/online/53"}
<input name="username" class="form-login" title="Username" value="" size="30" maxlength="2048" id="username" />

Password:

<input name="password" type="password" class="form-login" title="Password" value="" size="30" maxlength="2048" id="password" />

<input type="checkbox" name="1" value="1"> Remember Me Forgot password?

<input type="image" name="submit" value="Submit" src="/images/login-btn.png"  style="margin-left:90px;" />
{/exp:member:login_form}


texts: Updating an entry field, without updating every field

texts:
Using the Expression Engine Channel Entries API, is it possible to only update 1 field?

Using the below code, it appears you have to grab all the field data and then re-add it to the fields.

Is it not possible to do the below, just updating a single field (field_id_306).

ee()->load->library('api');
ee()->legacy_api->instantiate('channel_entries');

$query = ee()->db->select('title, url_title')
        ->from('exp_channel_titles')
        ->where('entry_id', $entry_id)
        ->get();

if ( $query->num_rows() > 0 )
{
    $row = $query->row();

    $data = array(
        'entry_id' => $entry_id,
        'title' => $row->title,
        'url_title' => $row->url_title,
        'field_id_306' => '10'
    );

    ee()->api_channel_entries->save_entry($data, $channel_id, $entry_id, FALSE);
}


texts: In Expresso Store, how do I use my own buttons for modifiers in place of  menus?

texts:
Expresso Store's default behavior is to output modifiers as  menus. This makes sense when the product is a T-Shirt and the variations are predictable: you have a modifier for size (with options for S, M, L) and a modifier for Color (red, orange, yellow, green). Expresso Store outputs each modifier as a  menu, and the built-in Javascript updates the price variable and appropriate SKU so that the correct item is added to the cart when the form is submitted.

But this UI isn't great for things like tickets, where you want to display the modifiers all at once. Suppose each product is a single production, with modifiers for dates and seating. How do you output buttons (essentially radio buttons) so the user can see all their options before clicking anything?


texts: If else condition involving contains on url-title?

texts:
I have an event block that displays images.

I want to have 3 options:
- if event has image, display that image
- if event url title has a certain keyword, display that image
- else display a placeholder image

I don't know how to write the 2nd option to the existing code:

    {if event_photo}
        {exp:imgsizer:size src="{event_photo}" alt="{title}" width="300" height="450" class="displayBlock" quality="100"}
    {if:else}
        <img src="/images/_pages/_global/placeholder.jpg"/>
    {/if}


texts: Unable to retrieve custom order data on checkout step

texts:
I can capture custom order data as per the instructions at
http://cartthrob.com/docs/tutorials/adding_custom_data_to_purchased_items_and_orders/ by using a field like this:

{exp:cartthrob:save_customer_info_form}
    <textarea name="delivery_note" id="txt-delivery-note" placeholder="Delivery note"></textarea>
{exp:cartthrob:customer_info}

That gets captured fine but I have a multi-step checkout and when you go back to the page this is on, I can't work out how to populate the field with the data that's been submitted.

It's on a page that has billing and shipping address fields and they all populate as expected but when I try to populate this custom data field as follows, the tag doesn't render:

<textarea name="delivery_note" id="txt-delivery-note" placeholder="Delivery note">{delivery_note}</textarea>

Any suggestions?

This is on EE 2.7.2, CT Pro 2.4.

Thanks


texts: Conditional Statements to show Open Hours

texts:
So I want to show "Open-Now" if the current time is in betwee in the open hours (which are put in a grid time select field).

This is what I have right now:

{if {current_time format="%h"} >= {branch_hours:opening_hour} && {current_time format="%h"} <= {branch_hours:closing_hour} } Open Now {/if}

It's not really working, and not sure why? Is what I'm aiming for even possible?


texts: Postmaster add-on - Is it able to handle emailing file attachments?

texts:
Is the Postmaster add-on by Objective HTML able to send file attachments?

Basically I have a channel (Zoo Visitor member) which has a SafeCracker File field contained within it. All I want to do is to email the file to an Administrator when a channel entry is updated.

I couldn't find any mention of attachments in the documents for the add-on. Has anyone done this sort of thing before?


texts: Stash: how to overwrite a variable in set_list?

texts:
Is there a way to define default values in set_list?

Basically, I want to set 3 variable to:

{stash:var_run_here}no{/stash:var_run_here}
{stash:var_type}none{/stash:var_type}
{stash:var_title}{url_title}{/stash:var_title}

Then overwrite them, depending on a playa value or checkbox values further in the set_list grouping. Something like:

    {if is_global == 'y'}
            {stash:var_run_here}global{/stash:var_run_here}
    {if:else}
        {run_on_these_pages}
            {exp:switchee variable = "{url_title}" parse="inward"}
                {case value="{segment_2}"}
                    {stash:var_run_here}yep{/stash:var_run_here}
                {/case}
            {/exp:switchee}
        {/run_on_these_pages}
    {/if}

    {exclude_from_these_sections}
        {exp:switchee variable = "{option_name}" parse="inward"}
            {case value="{url_title}"}
                {stash:var_run_here}yep{/stash:var_run_here}
            {/case}
        {/exp:switchee}
    {/exclude_from_these_sections}

So that this is the get_list part:

{exp:stash:get_list name="fma_list" parse_conditionals="yes" unique="yes" process="end" orderby="var_type" sort="asc" limit="999"}
  Title: {var_title}

  Run On This Page: {var_run_here}

  Type: {var_type}

{/exp:stash:get_list}


texts: Conditional Examination of Dates within a Matrix Field

texts:
We are utilizing a Matrix field to list information by date (each day has it's own row - first column being "date".  We want only today's row to be displayed (similar to a calendar).  HOWEVER, if an entry containing matrix rows - all of which are outdated, then a note to display "outdated" should appear.

Channel Entry : Department
Channel Field : Calendar (Matrix)
Columns:  Date | Information

For entries that contain an updated monthly calendar, we are correctly identifying and displaying the single row with today's information using this code:

{calendar}
    {if "{date format='%Y%m%d'}" == "{current_time format='%Y%m%d'}"}
        <information here>
    {if}
{/calendar}

BUT, we need it to be a conditional examination of the all of the matrix rows within the entry so that if none of the rows matches current_time, then a notice of "outdated calendar" displays.

Here's the catch - when we have used conditionals like the following, we get repeated display of "outdated" for every row that does not match today.

{calendar}
    {if "{date format='%Y%m%d'}" == "{current_time format='%Y%m%d'}"}
        <information here>
    {if:elseif "{date format='%Y%m%d'}" != "{current_time format='%Y%m%d'}"}
        <"Your calendar is outdated">
    {/if}
{/calendar}

Thus this results in 30 rows of "Your calendar is outdated" - instead of just one.

We ONLY want one item displayed - either today's info (on a row that contains today's date) - OR outdated (if no rows match today's date)

Please help!


texts: How do I escape characters in an RSS feed?

texts: Here's a link to my RSS feed's failed validation. Nevermind the subtitles being too long, I'll fix that later. But fixing these special characters is a pill and in company names where it's part of their brand fixture, I can't readily change "&" to "and". How can I escape these characters? In the channel entry, the channel field type is sometimes Wyvern (already escaped the HTML character) and sometimes simply Text Input, which I believe is plain text right?


texts: EE3 - When image description is blank, use title field

texts:
I'm running into a roadblock here. Basically my client wants to use the "description" field of a file as the alt text, unless it isn't filled out, then he wants it to fall back to the page title. I am using this:

     {if right_image_1:description }
        {right_image_1}{/right_image_1}
    {if:else}

    {/if}

But it keeps defaulting to the title field no matter what info i have in the description. Any idea what I'm doing wrong?

Thanks!


texts: Can "control" of EE licenses be transferred?

texts:
We took over a site from another agency, but they still technically have the only access to the license for the site. Is there any way to have EllisLabs transfer it? Or just enter the license # under our  own account as belonging to us now?

I am completely clueless if there's even a way to do this, and didn't see a way to just quick-contact EllisLabs without being charged.


texts: Extend EE_Loader (or CI_Loader) in ExpressionEngine

texts:
I want to extend the EE_Loader class in ExpressionEngine 2, without hacking at core EE (or CI) code.

I tried to follow the advice from Simon Emms' blog which would be a clean way to extend CI_Loader, and follows the standard convention for extending a CI class.

I've tried adding a EE_Loader.php file within codeigniter/system/core/, which is where CI_Loader (in file Loader.php) lives. My subclass_prefix is 'EE_' because I'm using ExpressionEngine so I'm confident with the filename being used, but it's not reading in the new file.

Has anyone been successful in extending ExpressionEngine's EE_Loader class? Any pointers would be appreciated.

To provide some background, I have written a PHP Session handler which writes to MySQL, using Active Record to form my queries. It will be used in a web cluster so I need to share sessions. I have considered using a NFS file, memcached, redis and MySQL solutions. MySQL is already in use, will perform well and provides a centralised store.

After reading the session data from the DB, I make another call to write to the DB, but I get a "deprecated" warning:

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: 319

I also get the same message when I use the mysqli driver.

It's happening because $this->conn_id becomes false between 2 queries. I don't know why.


texts:
EE 5.2.5

I'm trying to update the ToS message for member signups.

When a user goes to domain.com/member/register and sees this form:

In the docs it says you can change this at Design --> Themes --> Member Profile Templates --> Default --> Registration Form but I actually don't know what that means.

Is that a path in the admin panel? If so, I don't see any Design page or link anywhere. Is it in the file structure? If so, again, I don't see any Design directory.

Are the docs out of date or am I missing something?


texts:
I'm in the process of securing my control panel with SSL using the following rewrite rules

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteCond $1 ^(member|system) [NC]
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

I'd prefer not to secure the frontend of my website as well, however if an admin visits the frontend of the website over unsecured http while logged in, will this open them up to session sidejacking? If so is there a way around this? Should I be worried?


texts: Links created with Structure tags point to wrong environment after DB import from another environment

texts:
When I export my DB from one environment to another, all links created with {structure:page_url_for:{entry_id}} format try to load the environment URL path from the database I imported from another environment.

If I to go to Admin -> General Configuration, the URLs and Paths look right (assuming from Focus Lab config setup) and if I just re-save that page, structure links start working again.


texts: Total no of row returned for exp:channel:entries?

texts:
{exp:channel:entries channel="channel_1"}
//how do i find the total no of entries retuned without exp:query?
{/exp/channel:entries}

I want to find the count first and then loop?Any idea


texts:
I have an issue where I upload an image through WYGWAM 2.6.3, then using Assets 2.0.1 as a file browser, and when I view the Source it has the IMG tag in there.  I save / submit the entry, but when I view it on the live published site it has the IMG tag stripped out leaving just the URL as plain text.  There isn't any parameters to my WYGWAM custom field tag and it's just the name of the field.  The text formatting around the image shows up, it's just the IMG tag that doesn't.  Odd.

Not sure what's going on.  Any help?

Assets 2.0.1, WYGWAM 2.6.3, EE 2.5.5

EDITS: Process

I have a WYGWAM field set to Brandon's original "Basic" configuration.  WYGWAM 2.6.3, Assets 2.0.1 are being used.

I load the entry, click in the field to where I want to insert the image
Click the little picture icon, it loads Assets, I choose to upload a new image
I upload it
Choose the file in Assets, it inserts my uploaded image.
Next I view the source and I see the IMG tag with the SRC to a URL (that image path does load an image by itself).
I go and view the entry on my page and it just has the URL as plain text, tags are gone.

Those are my steps.


texts: Passing field values from one page to the next with Freeform Pro

texts:
I'm using Freeform Pro 4 and creating a multipage form. In the first page I have a field {freeform:field:sale_price} where the user can enter a price for their house.

On the next page I then need to do some calculations on this price.

I know that there is also a Hidden Field type, so I created a 'sale_price_hidden' and then when the user submits the first page, the hidden value gets added like so;

<input type="hidden" name="sale_price_hidden" value="{freeform:field:sale_price}{freeform:data:value}{/freeform:field:sale_price}" />

On the second page I am then trying to retrieve that value, but I'm not sure how to get the raw data value (assuming it is possible).

Wondered if someone could help? :)

Thanks.


texts:
I am trying to use cell padding to add some white space in Wygwam table cells. It works in the editor view, but doesn't show up in the live view. (I am very new to Wygwam and know nothing about HTML.) Thanks.

Labeled screen shots attached. Notice the lack of padding in the live version even though it is set to 5 in the edit version.


texts:
All my channels are set to save revisions, but only some channels do and some do not. I cannot figure out the reason. I should admit that i updated the ee_channels table to set the max_revisions from 10 to 100 to save time, but i doubt that could have done anything.

Anyone have any idea what else could be causing this?

EE v2.9.3


texts: Possible to update stock via template tags in frontend?

texts:
Here's the scenario: There's a store that has both a physical department and a web shop (expresso store). The thing is they both share the same inventory. So when someone buys something in the physical store, the inventory in the web shop doesn't match up anymore.

What I want is to make a frontend interface that lists all products, and have the ability to update the stock by either increasing or decreasing it without having to log into the backend. The reasoning being that it's much more cumbersome to do in the backend, and you have to find the product, open it to edit the stock, then save it.

If it could be done in the frontend, the stock adjustment could be done on the same page as the listing of the products.

Is there any way to accomplish this?


texts: {site_url} returns value without 'http://' string

texts:
In the control panel under

Admin > General Configuration

I have set the value of the field 'URL to the root directory of your site' to be the URL of my site with the leading http://

eg: http://mysite.com

When I use the tag in templates it just returns

mysite.com (without the leading http://)

This is causing issues throughout my templates - is this expected behaviour?


texts: WYGWAM freezes on Chrome when popping up a dialog box

texts:
When clicking the Link tool, or from the Link tool, clicking "Browse Server," or Create table, or Add Image, WYGWAM freezes for somewhere between 0-60 seconds. This just happens on the first clicks; subsequent clicks work fine.

This only happens on Chrome; FireFox is OK.

It's also only happening on EE 5.3.0 / WYGWAM 5.0.3; my EE2 site is working fine.

Any ideas on what might be going on?


texts: Is there a way to log entry deletions within EE?

texts: The Control Panel Log doesn't seem to record this type of activity. Am I missing something?


texts:
I've just purchased and installed Matrix, and I'm receiving this error when I attempt to create a new Channel Field in any Channel.

Any ideas why this might be happening?

When I uninstall Matrix, it goes back to working normal with no issues.

EE 2.7, Matrix 2.5.6

Unable to load requested field type file: ft.dww_flickr.php.


texts: How to reference snippet variables inside a stylesheet template

texts:
EE doesn't seem to be parsing {snippet} tags inside a template of type stylesheet - I'm guessing because the curly braces conflict with CSS's own braces indicating the start of a style declaration. Is there a way to sort of escape these characters or something?

Ex:

.style { /* CSS curly brace */
  width: {snippet_width}px; /* EE curly brace */
}


texts:
I have a site setup which works, I have basically copied it across because I need to duplicate it and change content.

I am using Structure module, but any content I add it goes to a 404 page.

Is there anything I can show to help find out the problem to this.  Driving me mad because I can't think what I've missed.


texts: Can the Expresso Store download tag deliver web page urls?

texts:
Is it possible to use the download tag (https://exp-resso.com/docs/download_tag.html) in Expresso Store to deliver a url of a web page and not to download a file.

I'm looking for a way to sell access to individual channel entries.

Thanks for any ideas on this...

Regards
Lee


texts: Upgrade to 2.8.1 (fiasco) installed 2.7.3 unable to login to CP

texts:
Had 2.5.5 install. Upgraded to 2.8.1 which was a disaster.

So I installed 2.7.3

Before i upgraded I turned off the site so it's offline

I am unable to login to CP. I don't get an invalid login message it just reloads the login form.

Am in panic mode as I scramble to get access to the site.


texts:
I'd like to make Assets ignore html files that appear in my file upload directories. I've looked through the Assets docs, and can see that there's a config override that seems to allow this named assets_ignore_file_patterns.

However, I can't find a working example of how to use this that I can copy from, so can anyone give me a complete working example that I could use in my EE config file that would allow Assets to ignore files that have a .html extension please? I'm using ExpressionEngine 2.7.2 and Assets 2.2.2, and thanks in advance for any help.

Also, as an aside, the reason my upload directory has an index.html file within it is because I'm using this method for my .gitignore file.


texts: Structure Monthly Archive - archive template

texts:
I have a listing channel of a news/blog page. I'm attempting to use the Structure Monthly Archive plugin to achieve this. Everything seems to be as it should, however I keep getting a 404 error when I attempt to access the monthly.

My structure is like this:
mysite.com/resources/newscenter - this spits out a paginated list of all news/blogs articles

In the left column of this page I've got the Structure Monthly Archive plugin coded, the archive list shows - but when I go to click on the link [which looks like this: resources/newscenter/archives/2014/02] I'm getting the 404 error.

But I can go to: resources/newscenter/archives - where it displays the same list as the main newscenter page: resources/newscenter

Any thoughts?


texts: Single add to basket in Exp:resso Store?

texts:
I'm using Exp:resso store, everything is working fine, but I have multiple "Add to Cart" buttons on the page, one for every product.  Is there anyway to have just one Single Add to Cart at the bottom of the form?

As an example, my products page currently has 50+ items listed, each with there own Add to Cart button beside it.  I'd like the customer to be able to go down through the list, entering  the totals as they go, then clicking on an one Add to Cart button of the bottom of the list to update the cart.

Any help much appreciated.

Thanks.


texts: Lock down/Secure specific sub section in Structure

texts:
I have a client's website where they're using Structure addon to hierarchically author content. They now have a need to lock down a particular sub-section of content (could be third level deep). I don't really want to create a set of new templates just for this section, so using the Template Manager to lock down templates to specific user groups is out of the question.

Is there another method by which I can lock down/secure a sub section down to one or more member groups?

Regards
Brendan

UPDATE: The scope has changed slightly now. This section of the site now needs to be accessible by one of more working groups, but the content they see will be member group specific. May need to consider breaking this out to a specific template group and sub templates instead.


texts: Textile plug-in throwing PHP errors RE preg_replace /e modifier

texts:
I'm using the Textile plug-in on a new project and it's spawning PHP errors all over the place and complaining thusly:

  A PHP Error was encountered
  Severity: 8192

  Message: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead

  Filename: textile/pi.textile.php

  Line Number: 918

Not one I've run into before but this is occurring in my local dev env on a new MacBook so it's a fresh install of MAMP running PHP 5.5.3.

Any ideas???

Update: I only see the PHP error in the front end templates when logged in as Admin.

The function generating the error is 'footNoteRef':

function footnoteRef($text)
{
    return preg_replace('/(?<=\S)\[([0-9]+)\](\s)?/Ue',
        '$this->footnoteID(\'\1\',\'\2\')', $text);
}

:)


texts: Remove category Group Name from Low Search select

texts:
As per the title. I have categories set up like this example:

Group Name: Amps
Children: Pre > Power > Integrated

Then using:

   <select name="category:Amps[]">
  {exp:channel:categories channel="sound" style="linear" category_group="2"}
    <option value="{category_id}">{category_name}</option>
  {/exp:channel:categories}
   </select>

How do you exclude the Group Name and just bring back the children in the rendered select dropdown? Otherwise on submit it will bring back ALL results if nothing is selected.

TIA


texts: How to test for the entry_id of a related entry?

texts:
I need to do a check like this:

{if:elseif {related_entries id="privacy"}{entry_id}{/related_entries} == 48}

However, the template errors out when there is no related entry. How do I do this test properly?


texts:
I am trying to create a multi site locally on my machine with MAMP PRO. So far I have installed the local ee fine but for some reason when I try to click Site in the home admin page I get a server error.

Does anyone know why this happens?

Cheers,
Mark


texts:
I have this

{exp:member:login_form return="files/browse" form_class="form default"}
        <input type="text" name="username" value="" placeholder="Username">
        <input type="password" name="password" value="" placeholder="Password">
        <input type="submit" name="submit" value="Login" class="btn dark">
    {/exp:member:login_form}

But no matter what, when the form is submitted, it returns the page /site/thanks, not what is specified under "return"... i just don't get it??

What gives?


texts:
I'm trying to use stash withing Expresso Store modifiers

 {exp:stash:set_list name="price_list"}
 {exp:store:product entry_id="{entry_id}" disable_form="yes" disable_javascript="yes"}
    {modifiers}
        {modifier_options}
            {if price_mod_val}{stash:item_price}{price_mod_val}{/stash:item_price}{/if}
        {/modifier_options}
    {/modifiers}
 {/exp:store:product}
{/exp:stash:set_list}

but unfortunately I'm getting item_price as {price_mod_val} text instead price value

What kind of tags order suppose to be in that case?

Thanks


texts: New release full of fatal errors - Fatal error: Call to a member function on a non-object

texts:
I just started a fresh site with ExpressionEngine 3.0.6 and it seems like everything I do creates a Fatal Error. They are all the same error too.

Fatal error: Call to a member function on a non-object

This is the case with the simplest of tasks such as avatar selection. It also happens when I try to save settings inside of addons. The "function" it references is always different, depending on the task at hand, but the error is the same. If EE wanted to be more OO, I understand that, but breaking things on a $300 license is killing me.

Is there any kind of "simple" fix to correct the non-object references?

Thanks.


texts:
My client needs longer titles/URL titles/Structure url titles, but there is no add-on available with this specific functionality. I already know about these add-ons, but they don't do what I need. A support request with Title Master is already filed, it extends titles in Structure, but the url_title is still cut-off at the shorter length, all three components needed to be extended.

So I need to hack the core, but I'm not sure which files I need to modify. So far, I've found these 2 files:

/system/expressionengine/controllers/cp/content_publish.php, lines 2279 & 2291
/system/expressionengine/third-party/structure/tab.structure.php, line 156

Those files seem to update the "maxlength" parameter on the HTML for the 3 title input fields.

And I've found these database tables:

exp_channel_titles > title
exp_channel_titles > url_title
exp_structure_listings > uri

So I think I just need to change a few more files, but I don't know where they are:

Javascript file that controls the URL Title auto-fill on the publish page.
Javascript file that controls the Structure URL Title auto-fill on the publish page.
Structure Page URL database column.

Does anybody know where these are, and possibly what line number I need to edit? Am I forgetting anything? Thanks.


texts: Taxonomy restricting top navigation to single node

texts:
I am trying to add top menu items using Taxonomy.

First node gets created, lets say Home
The next one on the top menu is About Us and when I try to add a new node it takes Home as the parent.

I don't want home as the parent, instead it should be on the same level as home.

How can I achieve that.

Am using Taxonomy 3.0.8.3 and EE 2.7.2


texts:
Does anyone know of a predefined way to increase the number of URI segments ExpressionEngine allows before it throws an error. This is currently set to 10 and I'm sure I could hack the core to achieve this but I thought there may be another way (config setting, extension, etc).

Any suggestions?


texts: Shipping costs not updating during checkout

texts:
We are using the aus post shipping extension.

The price during check out does not reflect this, however Store knows about the price that should be used.

How do i get the shipping price to update?

I have thoroughly read the documentation. I feel this is missing info or a bug!

Please read carefully the below our result:

{exp:store:checkout ...


texts:
After upgrading to 2.10.3, my client can no longer upload anything via the File Manager - not even a vanilla 24kb jpg.

"File not Allowed" appears in red letters in the modal window where the file is chosen.

I've double-checked the mime type locally:

199701AD.jpg: image/jpeg; charset=binary

And this is obviously in-line with EE's default settings for allowed files.

I've noticed that the file is thrown away and the error is thrown after the file is uploaded. I've tried a variety of files, all have the same result. The upload directory permissions are 777 (for the purposes of debugging this.)


texts: Missing "Create" options, such as Channel, on ExpressionEngine CP Dashboard

texts:
I am fairly new to ExpressionEngine, I have noticed my admin page is missing "Channel", "template", and "template group" as seen on this page:

http://ellislab.com/expressionengine/user-guide/how_to/building_a_simple_news_site.html#before-you-begin

Can someone please advise?

Many thanks.


texts:
I've installed an SSL on my server and I'm forcing https:// via htaccess. The entire site needs to be secured. Unfortunately, the browsers are complaining of insecure content.

For example:

<link rel="stylesheet" href="{stylesheet='assets/css.layout'}">
{site_url}

These evaluate to a URL that begin with http://.

I'm still exploring the problem, so there might be other issues.

What do I need to do in EE so that I don't get URLs that begin with http://?


texts: Offloading comments/login to thirdparty from Expressionengine to speed up website

texts:
Developing for potential high traffic website (Startup) which will be kind of like a news website ( Heavy on reading).
One of the ways user will interact will be through comments. Thus a social login comment, and threaded comment is in consideration.

Question

Will offloading the login/comment/analytics to third party like disqus/livefyre/ intense debate etc will have any positive impact in sense that more concurrent users can be handled by the server.
i.e. will having logged in users vs having NO logged in users will have better performance.
e.g. Full page Static caching can be potentially used if you have no comments/login as Javascript will will be used for both login/comment and analytics

Note: This maybe not expression engine specific, even then what is opinion for handling high traffic with good efficiency for read heavy site.

Edited for simplicity.


texts: Requiring User to Select from Dropdown Menu

texts: I'm trying to create a field that requires the user to select from a dropdown field (Select field). I inputted the selection options and the first option shows by default. Instead of that, however, I'm trying to get it to show some default "Select option" or something of that sort and then requires the user to select from the dropdown selection options. I know I can just input "Select Option" as the first option, but I need to make this a required field that ensures the user makes a real selection—that is to say, an option that isn't just the "Select Option" option if I were to put that in as the first option. Any idea on how to do this?


texts: Can I get a Structure page’s position in relation to its siblings?

texts:
Is there a method for getting a Structure page’s position in relation to its siblings via Global Variable, etc.? I’m currently building a class management interface for a client, and instead of using Playa to create relationships to “parent” entries, I’m instead using Structure, for ease of use for the client. However, they want to take a tree such as this:

Unit Name

- Task Name
  - Segment Name
  - Segment Name

- Task Name
  - Segment Name
  - Segment Name

As a result, I want to be able to automatically add the task and segment's position in relation to its siblings, so that on the front end, I could display the following tree:

Unit Name

- Task A - Task Name
  - Segment A1 - Segment Name
  - Segment A2 - Segment Name

- Task B - Task Name
  - Segment B1 - Segment Name
  - Segment B2 - Segment Name

The line of thinking will be that the letter for the task will be converted using a string plugin, and then the Segment will use a number, appended to the Task’s letter.


texts: jQuery does not work in channel form, get 'syntax error: Unexpected token

texts:
I'm using Channel Form to post entries from the front end. It works fine locally, but on the development and production server it isn't working at times: Channel images, WYGWAM, Tagger, and Grid. All but WYGWAM look right (the WYGWAM field shows as a basic text box, not the WYWAMY look) but don't work. If you click on a suggested tag it does not get added, if you click an "add row" icon for a Grid it just takes you to the top of the page.

In console I see the following error whenever it breaks (not when it works):

  [Error] SyntaxError: Unexpected token '<' (www.example.com, line 40)

Strange part is it is very inconsistent. It will work fine, then break. Then won't work on any browser (Mac, PC, Chrome/Safari), then will start working again.

I've set up a test account:

username: test@rcdevotee.com

password: eecms

http://www.rcdevotee.com/contribute/model

Feel free to see if it works, doesn't work, and if you see any issues that can help figure it out when it isn't working.

The template does not have jQuery, the form includes it (include_jquery=="yes"). So no double jQuery issues in this case.

If I remove the form altogether I don't get the error I listed above. If I have just the form tags, but no fields it will give the error when it isn't working. So it has something to do with the Channel Form tag and not any of the fields it would seem.

Any help or ideas where to look for help much appreciated.


texts: Channel Image - get detailed image by ID

texts:
I want to get the image detail by its ID  rather than the URL.
Here is my code that is not working.

List page
{exp:channel:entries channel="gallery"}

{gallery_images}

{/gallery_images}

{/exp:channel:entries}

Detailed Page

{exp:channel:entries channel="gallery"}
 {exp:channel_images:images  segment_3="{image:id}"}

{/exp:channel_images:images}

Thanks


texts: Output of JSON addon is blank when embedded in another template

texts:
When using this json addon in a template, it outputs just fine. However, when I try to call that template using embed into another template, it ends up as

'[]'

My setup is similar to this:

template/json
{exp:json:entries channel="resources"...}

template/main
{exp:channel:entries}
...stuff
{embed="template/json"}
{/exp:channel:entries}

Any ideas on what is going on?


texts: DevDemon Subscriptions automatic emails: template caching issue and access to member data

texts:
Does anyone know how to clear the cache to be able to make changes to the email templates and have them update immediately?  Right now, the templates are caching and changes don't show in the actual sent emails unless I create a new template and update the Action.

Also, how can I get access to the Member info from within the email template?  For example, we want to confirm the username and email address they registered with, but the standard {username} and {email} tags doesn't work.

Thanks in advance,
Justin


texts: Solspace Tag entries page not displaying list

texts:
I've reached out to SolSpace for help with this, but they aren't proving to be very smart. Perhaps the SE community can come to the rescue.

I am trying to display a list of my entries associated with a certain tag, but so far this only yields a blank page. I know my tags are working correctly because they are automatically showing up on the categories left-hand list and below the articles.

Code for the by_tag EE template.

        {exp:tag:entries channel="blog_entry"}

{title}

            {exp:trunchtml chars="450" inline="..."}
                {entry_text}
            {/exp:trunchtml}
            Read more

        {/exp:tag:entries}

Any thoughts why this isn't working? SolSpace said it should with the exp:tag:entries opening and closing blocks, but again, nothing. I know there's 2 articles tagged with news as well. I do have Structure installed, but I don't see why it would be causing interference.


texts: Automated Newsletter from ExpressionEngine with native or external mailing-service

texts:
I'm planing several newsletters for one of my project.

The goal is to send out automated daily and weekly as well as sporadic manually sent Newsletters out to several mailing-lists.

Now as I know there actually are two ways to do that: use an external service like MailChimp or CampaignMonitor (which is better?) … or use a service on our own servers.

There are several modules to link ee with an external service and there are the native or local modules like EE Mailing List and FireMail. I know that using an external service might be better because of all the mailing/blacklist/whitelist/etcpp stuff … but what are the disadvantages of those services?

The Project I'm talking about has almost 10k members and therefore there may be thousands of subscribers. The raw-data of the newsletter will be ee-templates and should be (if possible) send absolutely automaticly each day (list 1) and weekly (list 2). There will also be several mailing-lists where newsletters will be sent only manually by me/our staff.

Now since there are so many Services, Modules etc out there: What is the best solution for this use-cases? And why? What are you using? And why are you using that? Or what are your experiences with that particular solution?


texts: Relationships field limited, but it should search through all entries

texts:
It seems I have found something missing in the features of the relationships field. We have many native one to many relationships fields. I have to limit the results that are to be displayed on the publish page, because otherwise it will load tens of thousands of entries on opening the publish page.

However, when I search for a specific entry it will only search through the entries that are displayed by limit, say the 100 last entries of 20000 ... ?

Am I missing something? Did anyone else run into this? Should I fix some kind of custom solution to make it work properly? Switching to Playa is not an option anymore because many relationships have been made by now.

Thanks!


texts:
I can't upload .eps extension files to any upload directories. I'm on EE 3.4.5. When I try to upload, I see the following message:

I've tried using the 'mime_whitelist_additions' config override, but it's still not working.

$config['mime_whitelist_additions'] = array(
  'application/postscript',
  'application/eps',
  'application/x-eps',
  'image/eps',
  'image/x-eps'
);

Once that didn't work, I tried to use add the mime types to 'mimes.php' located in:

  system > ee > EllisLab > ExpressionEngine > Config > mimes.php

I also saw that there's already a mime type declaration for .eps:

  'application/postscript', // .ai, .eps, .ps

So I don't know what's happening, any ideas?


texts: Plugin returning wrong value for numbers that start with 0

texts:
We have a plugin that takes orders from CarthThrob and then creates a special file for the distributor. This plugin grabs the order information and converts it to a special file type and format they use to fulfill orders. One part of that is to take the three letter country code and convert that to the three digit currency code. It works for most countries, however those that start with a zero don't work.

What we find is that instead of converting the letter code to the right numeric code it converts AUS (should be 036) to 030, Armenia (051) to 041, and Argentina (032) to 026?

This mightn't be a question for the EE community, but thought I'd start here in case someone can see a pattern or maybe it is some binary thing that is doing math and converting that to a different number.

Sample of the code (not all of it):

private function alpha_three_to_numeric_country($country)
{
    switch ($country) {
    case "AFG":
        return 004;
        break;
    case "ALA":
        return 248;
        break;
    case "ALB":
        return 008;
        break;
    case "DZA":
        return 012;
        break;
    case "ASM":
        return 016;
        break;
    case "AND":
        return 020;
        break;
    case "AGO":
        return 024;
        break;
    case "AIA":
        return 660;
        break;
    case "ATA":
        return 010;
        break;
    case "ATG":
        return 028;
        break;
    case "ARG":
        return 032; etc...


texts:
I have recently purchased MSM but am having trouble getting it to work. I have followed the docs to a tee but have had no luck.

I have completed the following:

Installed and activated the add-on
Created a new site (did not copy anything from site 1)
Updated URL to root directory in Admin > General Config
Created a new template group and made default for site2
Added site 2 to hosting
Ensured "open_basedir" has been turned off
Copied admin.php & index.php from site 1
Updated system path in admin.php & index.php to absolute URL of site 1 (other variables also updated to reflect site 2 cp url & url).
Uploaded admin.php & index.php to site 2
Reload the site but get the following message:

  Your system folder path does not appear to be set correctly. Please
  open the following file and correct this: index.php

I have tried relative links for system paths but get the same result.

Does the name of site 2's admin.php & system name need to be the same as site 1 (I have changed it as a security precaution) ?

Any help of feedback would be appreciated.

Thanks,
Dan


texts:
I hoping someone has some experience with EE 1.  I recently had to apply a secure cert to secure a site, front end and back end.  Everything's fine, but EE is loading 2 jQuery files over http.  The client is getting a message asking them if they want to load insecure elements on this page. Everything is fine when they click ok to this, but they'd rather not have to do it every time they want to update something.  Does anybody know where EE 1 loads the files below?  There at the top of the page if you view source on a control panel page.

script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"

script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.1/jquery-ui.min.js"

Thanks,


texts: Matrix playa field children tag not honoring status

texts:
I'm on EE2.5.3 using playa 4.3.3 and matrix 2.5.3 with the code below. My understanding is the children tag should take into consideration the status of the parent and not return children for a closed parent entry. However, I'm getting exactly that. The tag is returning children for parents with a closed status. I've checked to make sure the parent status is closed, entry date is in the past.

Is this a bug or a problem with my code?

    {exp:playa:children col="warranty_item_subscontractor" dynamic="no" orderby="title" sort="asc"}

{title} &rarr; {exp:playa:total_parents} warranty {if {exp:playa:total_parents} == 1}item{if:else}items{/if}

    {if no_results}
There are no outstanding subcontractor items
{/if}
    {/exp:playa:children}

Here's some of the output. Both ASD Systems and Beverly Northwest are children whose parent entry is closed and shouldn't be returned.

ACCENTS & INTERIORS, INC. → 8 warranty items

AMERICA 1ST ROOFING → 2 warranty items

ASD SYSTEMS, INC. → 0 warranty items

BEVERLY NORTHWEST, INC. → 0 warranty items


texts: Method to add multiple fields to a channel entry

texts:
I'm building a website on ExpressionEngine 3.5.10. One of the channels, training, is for Training courses.

It's possible that each training course has multiple: date, time, location, price. In other words it's the same course but that runs on different dates, in different locations, and costs a different amount.

My plan so far has been to add multiple channel fields to my training channel, e.g.

date_1
time_1
location_1
price_1

date_2
time_2
location_2
price_2

date_3
time_3
location_3
price_3

...

Obviously this isn't ideal as I'm having to pre-determine what the maximum number of options is for the client who will be populating this content.

My strategy in the template is equally bad. For example a course must have a price to be bookable so I was going to do things like this:

{if price_1}
    // Show details and booking button for first course...
{/if}

The idea of the above code is that if there are, for example, only details for 2 options it will output those, but {foo_3} will be omitted from the output as it's inside an {if} statement that would evaluate as false.

Is there a better way of doing this, or an EE 3.x plugin which allows the user to assign multiple options with different fields (date, time, location, price) against an individual channel entry?

Any help would be appreciated.

Please note - I don't want to have to create separate channel entries to do what I'm trying to achieve. This is because each course also has other channel fields (e.g. description, downloadable PDF) and I don't want the administrator to have to re-enter or copy/paste that every time. I want individual entries, with multiple date/time, location and price options.

The way the data is structured, conceptually, is like this:

Course ABC

Description
Downloadable file
Date 1
Time 1
Location 1
Price 1
Date 2
Time 2
Location 2
Price 2

Course DEF

Description
Downloadable file
Date 1
Time 1
Location 1
Price 1
Date 2
Time 2
Location 2
Price 2
Date 3
Time 3
Location 3
Price 3

...
Course XYZ

Description
Downloadable file
Date 1
Time 1
Location 1
Price 1

So as you can see, all courses have a Description and Downloadable file. ABC, DEF, and XYZ are individual channel entries. But each one has a variable number of date, time, location and price data.


texts: Create Tag Cloud of tags related to the channel entries being displayed

texts: Is there a way to create a tag cloud based on tags of channel entries be displayed using {exp:tag:entries}.  In other words, tags related to the channel entries currently being displayed.


texts: Transcribe - After AJAX request, when i switch language it directs me to the AJAX endpoint

texts:
So using - Transcribe 1.5 and EE 2.6

Basically when i have channel information outputting to json within ee,
when another page is requesting this via ajax, transcribe redirects to the translated json route rather than the template route.

$this->EE->session->tracker is updated with this new route because of the ajax request

which then means when i change the language using language switcher it uses the ajax url rather than the requesting page. (doesn't use referrer).


texts:
I have a plugin that allows you to set and store cookies using EE tags (so you don't have to enable PHP in your templates).

Unfortunately, I can't get the tag to parse the cookie value within a channel tag:

{exp:channel:entries channel="misc{exp:cookie:retrieve name="exp_lang"}"}

Any ideas?


texts: MSM displaying main site when going to second site's domain?

texts: I've installed a new site using MSM but when I hit the domain it's showing the content from our original domain. I'm not sure where to look for this.


texts: Can't add items to a cart with EE 2.7 - Expresso Store

texts:
So, I wasn't sure if this was just a version problem or something (using EE 2.7 and Store 1.6.4 - the latest).

When I try to add items to my cart, they aren't successfully added and the network inspector shows that the POST is being 302 redirected to a GET. I tried a variety of htaccess setups, including not having one at all putting the index.php back into the URL. Nothing seems to work.

Here's the POST data:

ACT 41
RET products/my-product-page
XID 32e30b64c0bdc8d9c5912d91c3764ad4b3c194b4
_params JklZbhzeb7aea+I4IB82StmfY1Bt/4jVC9XT2EbcV+2jeMX3Q7EKeZa1LWwiLh8f59h6n8Xsuaz6Rw0guwFpEcECKeZgLN+OS3uk8QTCaXfx0p5UR+jTgFl0uB/QVDedMkUuXXpki2aPaFrUgy3UT4unGSK+juDkn+zDQUrKRWqVjoHVguKqoxKI2LuFQJPELKTP0tPbhBFdXSYMUYw1213qV8VMWQPV4XKLmuTMyt4YprL/Kh8jy3AkiNaOem8JaClZfaunEZlM+ehf+9FG8SyzwmsRm4SefiwhY8V2wHI=
entry_id    40
item_qty    1
modifiers_3 10
return_url  store/checkout
site_id 1
submit  Add to Cart

The URL for both the POST and GET are exactly the same. No differing slashes or anything. Using PHP 5.3.22 and Apache.


texts: Allow "Invalid" Characters in Member Account Email? Apostrophe

texts: There is a particular member in my site that needs access but her corporate email that is attached to her account has an apostrophe in it. How do I allow EE to allow apostrophes in emails for member accounts?


texts: {status} not available as variable in Solspace Rating:Entries?

texts:
Is {status} not an available variable in Rating:Entries?

It's a parameter but it doesn't seem to be available as a variable - I've tried using it in a conditional and it doesn't work.

Solspace, any comment? Any workaround?

I'm creating a page to show a logged in member's ratings but I want to show closed ratings and well as open ratings and display an extra "Pending approval" message on closed ratings only. Need status as a variable to do this.


texts:
We have a large site with 100k+ entries in exp_channel_data The admin section straggles when trying to edit entries and change or add channel fields. It takes almost 80 seconds to add or alter a field and more than 10 seconds to list or edit an entry. Is there a way to archive old entries to a different channel (add-on maybe) or something similar? How do we deal with such large sites? You can find more about this here http://ellislab.com/forums/viewthread/238313/
Is there anything we can do about this? - or this is it? EE has its limits.


texts:
Does ExpressionEngine support the "break" functionality in its loops?

{exp:channel entries
  channel="foo"
}
  {if some_arbitrary_condition}
    {!-- Do Break(exit the loop) --}
  {/if}
{/exp:channel entries}


texts: Does Wygwam 3.0.2 strip out JavaScript in Source mode?

texts:
I have a client who uses a lot of embedded Wufoo forms in EE entries. Previously, this was no problem in Wygwam--just switch to Source mode and paste in the JavaScript from Wufoo!--but since upgrading Wygwam to 3.0.2, this client has noticed that this no longer works. Now whenever JavaScript is pasted into the Source, it seems to be getting stripped out upon submission.

Is there a way to work around this?


texts: Focus Lab's EE Master Config under webroot

texts:
What Focus Lab’s EE Master Config modifications are required for /config/config.master.php to work within webroot (eg. public_html or htdocs), if I cannot place it above webroot?

The instructions provided on their github page are for placement above webroot.   It has a link to a step-by-step article regarding placing it within webroot by Alex Ball, but the link does not resolve.


texts: Solspace Calendar - Use checkboxes to dynamicly filter displayed events

texts:
I would like to have a row of checkboxes representing event categories so I can select which categories are displayed on the active calendar.

Would be best if checking or unchecking automatically refreshed the calendar (or entire page if needed) without a submit button.

Can anyone point me in the right direction for this?

Thanks!

Greg


texts: Expresso Store: Using with Freemember to Save a user's shopping cart

texts:
I'm working with an ecommerce site powered via the Expresso Store module, and I'm using the Freemember plugin to handle store user accounts and to save billing information for use in the checkout pages. Everything seems to be working great, only when a user logs out and logs back in the cart is cleared every time. However, if you're signed out, add a product to the cart, then sign in, the product remains in the cart. Do I need to pass anything special into the {exp:store:cart} loop? Can someone give me a nudge in the right direction? Thanks!

+

EE v2.5.3 / Store v1.6.3 / Freemember v2.2.1


texts:
Our Expression Engine site is essentially a Style Guide for development teams. What i am looking for is a good way to push out changes to the folks that want to listen.

Is there a good plugin or feature I could use that would allow folks to subscribe by email to content pages or maybe an RSS feed tracking internal changes or even any internal features I may be missing?

Ideally not all users would need to be Expression engine users.

I've tried searching around but most of the results a I get are change logs for the actual product.

Any suggestions?


texts: Category group ordering within categories tab

texts:
Does anyone know if it's possible to change the order category groups appear within the categories tab when publishing/editing an entry?

Mine are coming back in neither ID order nor alphabetical order!


texts: @Grid With Channel Form single form template Multiple Time on same page Grid not working

texts:
WE have Integrated Channel form with Grid on Front End.

That channel form Template load by ajax on page multiple at a same time update.

e.g one channe form edit two time on same page load by ajax then first load form grid working fine when second form open for edit at same time when first one already open then second open form grid field not working.

let me know any idea for this.

Thanks,
PD

UPDATE:

Here is My Code When We have added single form multiple time in one page that time only first one add row of grid functionality working but other form not working.

My Code this.

<html>
<head>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<link href="{path=css/_ee_channel_form_css}" type="text/css" rel="stylesheet" media="screen">
</head>

<body>
{exp:channel:form channel="test_form" id="test1"  return="channel-form/index" json="no" include_jquery="no" include_assets="yes"}
   <input name="title" type="text">

    {field:test_entry}

   <input type="submit" value="Submit">
{/exp:channel:form}

{exp:channel:form channel="test_form" id="test2"  return="channel-form/index" json="no" include_jquery="no" include_assets="yes"}
   <input name="title" type="text">

    {field:test_entry}

   <input type="submit" value="Submit">
{/exp:channel:form}
</body>
</htm>

Above My Code for two channel form in multiple time use in single page but add row of grid not working of second one.


texts:
I'm trying to display a list of my solspace calendar events, with all the event fields that I have. This is my code:

{exp:calendar:events orderby="event_start_date" sort="asc" date_range_start="today" show_months="12" dynamic="off"}

{event_location}

{event_summary}

{/exp:calendar:events}

I don't know whether I'm doing something really silly but my event location and summary won't show. There's definitely content in these fields and the solspace examples says you can add these fields in the the exp:calendar:events tag so I'm not sure what I'm doing wrong?


texts: Hero picture showing in all pages (languages) with the exception of one page (Dutch)

texts: I have recently started working on EE (ex WordPress guy). I am using version ExpressionEngine2.10.1. I did not developed the site, I am just debugging and resolving issues. It is a multi-language site www.gripgrab.com. The site shows a big picture with caption in the subpage Local heroes/cycling. However, in the Dutch version the sub-page local-heroes/cycling is not showing the top-picture. Pls. see http://www.gripgrab.com/nl/local-heroes/cycling. I checked many times on the template manager and I can see that the picture (actually a slider with only one img) is embedded but it's not showing in the browser. I checked also with the inspector in Chrome and I saw that I am missing the <li> tag of the slider. I have attached a screenshot, pls. see line 351. Is it an embedding problem? Why all the other languages show the img with the exception of Dutch? I would really appreciate your help.


texts: Can’t add channel field with ‘file’ type in 2.7

texts:
I can’t add a channel field with ‘file’ type in 2.7.  I double checked to make sure that the file type module was installed and that the fieldtype ‘file’ was installed and they both are.  When I hit the submit button I stay on the same page and it’s never added.

I’m tried to uninstall the module and the fieldtype ‘file’ and reinstall it, but that didn’t work.  Even tried naming it several different ways and that didn’t work.

I’m using a newly installed paid version of EE.

Any ideas?  See the screenshot.


texts: Import data into Expression Engine channels content

texts:
How can I import data into Expression Engine channels?
There is a way to do it with the core functionality or there is a plugin for that?
I need to import special characters too (ex: á é í)


texts: Upload a File using a URL instead of direct upload

texts:
Is there a way to upload a file to a "File" field using either a direct upload ("Browse" button) or a URL input? I noticed that the built-in file field only support direct upload.

Thanks!


texts: Redirecting Joomla Links to New ExpressionEngine Links Fails

texts:
I'm running into an issue where 301 redirects on site I switched from Joomla to EE are not working. The link style on the old version of the site is:

http://example.com/index.php?option=com_user&view=reset&Itemid=14

For the redirect, I'm using this line in the .htaccess:

Redirect 301 /index.php?option=com_user&view=reset&Itemid=14 /contact

Since index.php is valid with EE, my assumption is the issue revolves around the query string since a more basic redirect works as indended:

Redirect 301 /about /

routes traffic from the about page to the home page.

How can I redirect these links to the new ExpressionEngine-powered pages or, if the issue is more generic, links containing "index.php?"?


texts: ExpressionEngine and Online Photo Service

texts:
I'm really sorry if I repeat somebody else's question but I could not really find any information on it for days. My deadlines are approaching and I am a little frustrated.

I am building a website for an online photo editing service. I never really thought about it before but I have to admit that I am actually stuck :(

The question is, if there is any ExpressionEngine Extension/Add-on that would suit me in order to provide this functionality (this is how it works):

A user selects a photo editing option [i.e. a shopping item] and adds it to their cart, then when they proceed to checkout they are offered to upload the photo that they would like to have edited [this is what I have no idea of how to implement], then they checkout via PayPal or any other method, I, therefore receive their order [that comes with the actually uploaded images/image links], then, when the photos are edited and I've received their payment, I mark the order as 'Complete' and they receive an invoice along with download links to their updated images OR they login to their account and access their updated images.

Could somebody who might have probably done something similar before give me a right direction? :(

So much appreciated, thank you guys.


texts:
I'm using Solspace User and I’m hoping this is just something simple I’ve overlooked or can’t find, but I’m trying to send the notification email when a new user registers to multiple addresses.

Am I correct in saying that I go to Members > Preferences and enter the addresses in the “Email Address for Notification” field?

I’ve done this, but it’s only sending to the first address on the list.  I’ve taken over this site from someone else, so I might just not be putting them in the right place.

Thanks,