texts: Plugin to format url_segment as a decimal

texts:
Need to take the final url segment which is in the form of group/index/1030 and format it to be 10.30 to signify a time.

Anyone know of a plugin? The only ones I've found format it as a price and assume it to be 1,030 or suchlike.


texts: How can I use a channel entries tag within an orders received email template?

texts:
I have a need to pull up related information from a different channel when placing an Expresso Store order. For some reason, this isn't working in my Order Received template. Any idea why not?

A new order has been received!

Order ID: {order_id}

{items}
  {title}
  {modifiers}
    {if modifier_name == "Vehicle ID"}

Specs

        {exp:channel:entries channel="vehicles" entry_id="{modifier_value}" dynamic="no"}

Front Blade Size: {vehicleFrontBladeSize}

        {/exp:channel:entries}

    {if:else}

{modifier_name} - {modifier_value}

    {/if}
  {/modifiers}
{/items}

The email I receive looks like this...

A new order has been received!

Order ID: 2

Metal Frame Wipers
Specs

Front Blade Size: {vehicleFrontBladeSize}


texts: I have created a module the generates a form, validates submissions, saves the data in a table that the module creates on install and then integrates with a 3rd party system.  This all works great but I would now like to add some settings to the module but there is no settings column for modules.  So what would be the best way to add settings for the module that can changed in the control panel?


texts: Anything after segment_1 in URL causes CSS not to load

texts:
CSS is not loading if there is anything after segment_1. This includes a trailing slash or an entry id. This happens on ANY template on this site but not other sites on the same server with the same .htaccess.

EG: "...//example.com/projects/" or "...//example.com/projects/4" will not render CSS in browser

The template will still parse the EE tags but seems to not be sending the CSS to the broswer despite the  code showing in the rendered HTML.

Live example: "http://getyourtips.in/projects/"

Setup --

Template Group: projects

Template: index.html

Version: EE 2.6.1

CSS Theme: Unify (Bootstrap Based)


texts: Notification emails not sent to admin or customer if customer not logged in

texts:
Thi seems really odd, as all other notifications are sent successfully, but no emails are sent when a guest makes a purchase (via SagePay), and from my testing it seems the basket is not cleared. I turned on email logging to verify this.

Is it a CT bug or is it just me?!


texts:
I can't seem to prevent auto logouts from happening (EE 2.7.1).

I have set the config item 'admin_session_type' to 'c', which is confirmed in the control panel (reads: 'Cookies only' in Security and Session Preferences).

I have also set the 'cp_session_ttl' to 3 days in the config, but logouts happen after 30 mins or so.

I have even printed config object in a template AND the control panel to double check that it's set right, and it is (output: [user_session_type] => c [admin_session_type] => c [cp_session_ttl] => 259200).

Anyone know why I'm being logged out all the time?


texts: Expresso Store orders paid for but not appearing in order list

texts:
I'm having a serious, but intermittent, problem with exp-resso whereby my client is receiving payment for orders made on the site but the orders are not appearing in the 'Orders' section of the store.

For example this weekend they received payment for orders numbered 171, 172 and 173 but only 172 appears in the order list.

Obviously this is causing them a major problem as they have no idea what people have ordered.

Where can I look to investigate the cause of this? It happens reasonably frequently.

Martyn


texts: Expresso Store: Order tag seems to be ignoring order_by parameters

texts:
I've just upgraded to Expresso Store 2 and I've noticed that on my customers 'my orders' page that the orders are being listed from oldest to newest ignoring my parameters asking for them to be listed from newest to oldest.

(I'm not sure if this is a new bug with Store v2, or if I've only noticed it since upgrading).

Any advice on sorting this out please?

My code below:

{exp:store:orders member_id='CURRENT_USER' order_by='order_date' sort='desc'}

            {if no_orders}

                    You haven't placed any orders yet!

            {/if}

                {order_id}

                    {items}
                        {item_qty} &times; {title}

                    {/items}

                {order_date format="%j %M %Y"}
                {order_total}
                {order_status}
                Details

        {/exp:store:orders}


texts:
I have done some searching and am unable to find an answer.  I am trying to sort my entries using the {parents} tag and it does not seem to be working, can anyone confirm this as a bug or know of an alternative way I can accomplish it? I am using EE 2.6.1.

Here are the tag I have attempted with no results, just what seems to be random orders.

{parents field="sermon_series" orderby="parents:entry_id" sort="asc"}

{parents field="sermon_series" orderby="parents:date" sort="asc"}

{parents field="sermon_series" orderby="entry_id" sort="asc"}

{parents field="sermon_series" orderby="date" sort="asc"}

{parents field="sermon_series" orderby="" sort="asc"}

I appreciate any thoughts.


texts:
I have created a module which using curl retrieves and parses data from an external source. I have adapted the code from channel:entries so it outputs the correct values. The method handles the tags and chunks in the same way as it would a category.

{exp:sh_dictionary:translate_result dictionary="wordreference"}

    {additional}
        {exp:stash:append_list name="additional_{count}"}
            {stash:sense}{sense}{/stash:sense}
            {stash:pos}{POS}{/stash:pos}
            {stash:translation}{translation}{/stash:translation}
        {/exp:stash:append_list}
    {/additional}

    {compound}
        {exp:stash:append_list name="compound_{count}"}
            {stash:sense}{sense}{/stash:sense}
            {stash:pos}{POS}{/stash:pos}
            {stash:translation}{translation}{/stash:translation}
        {/exp:stash:append_list}
    {/compound}

{/exp:sh_dictionary:translate_result}

The problem is if I have just the {additional} chunk I get the result I want.  And similarly if I just include the {compound} chunk. But if I include them both I get nothing.

Do I need to clear something before setting up a new list? or maybe it is the way my module parses the data. If I wrap each chunk in its own {exp:sh_dictionary:translate_result} it solves the problem but this doesn't feel right as I would need to cache the original curl results.

Thanks


texts: I'm looking for a way to display entries in the control panel in the order of being last updated. I saw that EE1 has the hook edit_entries_additional_celldata but it's not present in EE2. Is there any other way I can add new columns to the search entries table in the CP?


texts: Quick question regarding whether anyone knows of any issues with installing EE on a server running the latest version of php (5.5.10 as I write this)?


texts: EE2.5.2 login doesn't work from Safari 7.1

texts:
A client on EE2.5.2 has just found that they can't login with Safari 7.1 on OSX. Chrome and FF work fine, but in Safari, pressing Submit just returns them to the blank login page. I tried changing "Control Panel Session Type" to "Cookies only" but that didn't do it.

I could try upgrading them to 2.9 but don't want to charge them for an upgrade if it's not guaranteed to fix the issue.

Any ideas why this might be happening? Thanks!


texts: Not all Structure URL's are parsed from Wygwam

texts:
If our client selects a structure managed page from the Wygwam link tool, the URL doesn't always parse, resulting in the occasional {page_XX} instead of the full URL. However if I drag the page that is getting link to around in the Structure tree, and place it back to where it belong the URL is updated.

I suspect this might have something to do with the Transcribe+Structure combination, as there are still a few small bugs here and there with that collaboration, but I can't tell for sure.

I'm on EE 2.5.5, Structure 3.3.8 and Wygwam 2.7

Any ideas?


texts: Limited results by the channel of a related entry

texts:
I have three channels: Books, Screenplays, and Reviews. The Reviews channel includes a relationships field, where the user can assign the review to a particular book or screenplay. Thus the relationships field draws its available choices from two channels, but the relationship itself is one-to-one (ie. Allow Multiple Relations is OFF).

As I understand it, this means that I have one parent channel (Reviews) and two child channels (Books and Screenplays).

I have no problem displaying the reviews for a specific book on the book's own page (/books/view/the-book-i-wrote); I do that by accessing the {parents} tag from inside a {exp:channel:entries channel=books} tag. However, what I also want to do is have a list of general book reviews on the book index page (/books/index.php) -- NOTE: book reviews only, excluding any screenplay reviews. So I want to limit the results derived from the reviews channel to ONLY those reviews that have been assigned a relationship to an entry residing in a specific child channel. I cannot work out how to do this.

I realised that assigning a channel parameter to the {parents} tag is not the way -- it is intended to differentiate between multiple parent channels, not limit the results derived from a particular parent.

Can anyone help me untangle this?
Thanks.


texts:
I'm putting together a membership website wherein the members of the site can send an email to each other via an email form presented to them in the front end. The email will go to their email's inbox -- not anywhere in EE.

In the template, I have access to the sender and receiver's email addresses. I have the form ready. When the user clicks the "Send" button -- what should I do next? Is there a native EE way to do this? Or a free add-on that is reliable?


texts: low-search {auto_path} not picking up URL with sub-categories

texts:
When displaying results the the system doesn't seem to be getting the right URL for the different results.

For example is outputting

http://xxx.xx.dev.xx.net/blackberry-autumn-pudding

and the correct one is http://xxx.xx.dev.xx.net/food/recipes/blackberry-autumn-pudding

In another case is doing http://ee.dev/index.php/xx-memphis-bbq-roadtrip-test and the correct one is http://xxx.xx.dev.xx.net/food/recipes/xx-memphis-bbq-roadtrip-test

I guess is not picking up the categories from which that URL belongs to. How can I fix that?

{exp:low_search:results
                                    limit="8"
                                    query="{segment_2}"
                                    collection="article|food"
                                    status="open"
                                    keywords:inflect="yes"
                                    pagination_base="search"
                                    keywords:mode="auto"
            }

{auto_path}
{/exp:low_search:results}


texts:
I'm upgrading my client's website from EE 2.5.5 to bring it up to current spec. I'm at the first stage, going from 2.5.5 to 2.11.9. The site has a number of modules, including CartThrob (currently 2.1.4). (It's all very old, I know.)

After running the EE upgrade, at the end of the installation wizard process I get an error message, and visiting the admin page I now get the following:

A PHP Error was encountered
Severity: Notice

Message: Undefined property: Wizard::$functions

Filename: english/cartthrob_lang.php

Line Number: 650

Fatal error: Call to a member function insert_action_ids() on null in /path/to/system/expressionengine/third_party/cartthrob/language/english/cartthrob_lang.php on line 650

(server path hidden by me!)

Is this a basic incompatibility between the current version of CT and EE 2.11.9, so I'd need to upgrade CT before upgrading EE, or is there something else going on?

Also is there any general advice about upgrading EE and modules? Should the modules be upgraded first or does EE go first? I've searched the documentation and not found a clear answer.

Any help appreciated.

Cheers,

Crac


texts: Undefined variable: category_name after 2.8.1 upgrade?

texts:
I've run into a problem after updating from 2.7.3 to 2.8.1. I've got a couple pages that have this error (below).

I've also noticed, every time I have an "{exp:channel:entries} {/exp:channel:entries}" tag, the error is present. So if I repeated the tags 3 times, I'de have the error repeat 3 times.

Has anyone ran into this problem after upgrading?

Severity: Notice
Message: Undefined variable: category_name
Filename: helpers/segment_helper.php
Line Number: 98


texts: Expresso Store "custom order status" message input field - as textarea?

texts:
Is there a little modification to Expresso Store 2.5 that I can make that would turn the "custom order status" message input (that appears in the Order Status controls when you click "Edit Status", and displays on email notifications when you use {custom_order_status} ) to a textarea field of some size?

I have a client who often writes longer messages to clients when their order is shipped, and wants to use this field as the space for writing it. It would probably be more effective for this use if she had a textarea field to work with.

If it's more appropriate for them to be using some other method to put custom messages into Store notifications, I'd welcome being steered to that. (I suppose she can also just write the messages separately, if she needs to...)

Thanks!


texts:
I'm having issues posting fields from individual entries to my sites pages. For example, I'm trying to post a form that changes based on the specific type of page that it's on (my Marketing Automation tool requires different information for each form in the header so that it knows which form is which and how to process it).

What I've done is create a field for my posts that places the correct forms information in the header. This is the code that is in the header.

{exp:channel:entries channel="blog" dynamic="no" disable="categories|member_data|pagination" limit="1"}
    {if segment_1 == 'blog'}

        {post_specific_info}

    {/if}

{/exp:channel:entries}

Now, what's happening is, it is only pulling the field information from the latest post. I tried removing the limit="1" but then it pulls in the field from every post. Can anyone help point me in the right direction?


texts: Stash id for use in category filtering - help with parse order

texts:
I'd like to use a stash'd variable to filter a list of categories, but the following is not working:

{if segment_2=="thing1"}
    {exp:stash:set name="cat_id"}22{/exp:stash:set}
{if:elseif segment_2=="thing2"}
    {exp:stash:set name="cat_id"}23{/exp:stash:set}
{/if}

{exp:stash:set_list name="filters" parse_tags="yes"}
    {exp:channel:categories channel="channel1" category_group="{exp:stash:get name='cat_id'}" backspace="6"}
        {stash:category_id}{category_id}{/stash:category_id}
        {stash:category_name}{category_name}{/stash:category_name}
        {stash:category_url_title}{category_url_title}{/stash:category_url_title}
    {/exp:channel:categories}
{/exp:stash:set_list}

I think this is a parsing issue, but how do I fix it?

Update: I tried this after the answer offered below:

{exp:switchee variable="{segment_2}" parse="inward"}
    {case value="thing1"}
        {exp:stash:set name="cat_id"}22{/exp:stash:set}
    {/case}
    {case value="thing2"}
        {exp:stash:set name="cat_id"}23{/exp:stash:set}
    {/case}
{/exp:switchee}

{exp:stash:set_list name="filters" parse_tags="yes"}
    {exp:channel:categories channel="channel1" category_group="{exp:stash:get name='cat_id'}" backspace="6" parse="inward"}
        {stash:category_id}{category_id}{/stash:category_id}
        {stash:category_name}{category_name}{/stash:category_name}
        {stash:category_url_title}{category_url_title}{/stash:category_url_title}
    {/exp:channel:categories}
{/exp:stash:set_list}

I also tried: {exp:stash:get name='cat_id' process='end' }

But still no luck.


texts: Issue with no results variable using Friends Module

texts:
I'm having a bit odd issue with channel:entry tag when using it inside friends:mine loop.
Have tried both ways, using channel:entry tag within and embedded.
When using entry tag within friends:mine it shoots entries if available but no_results does not work.
When I use it via embed, it then does not parse friends_member_id and all friends gets "no results".

Here is the code:

{exp:friends:mine reciprocal="y" orderby="screen_name" dynamic="no" sort="asc" limit="5" paginate="bottom"}

    ...some common html and friends single variables here...

    {exp:channel:entries channel="luontopalvelut" author_id="{friends_member_id}" status="closed|open|featured|premium" dynamic="no" limit="15" disable="pagination"}

        ....channel entry title and other stuff....

        {if no_results}blaa that does not parse when there is no entries for the this member{/if}
    {/exp:channel:entries}

    ...yet some html....

    {if friends_no_results}
No available contacts for this person yet.
{/if}

    {friends_paginate}
Page {friends_current_page} / {friends_total_pages} page{if friends_total_pages > "1"}s{/if}{if friends_pagination_links} &nbsp; | &nbsp; {friends_pagination_links}{/if}
{/friends_paginate}

{/exp:friends:mine}

Using the channel entry tag via embed gives no results to all (because the author_id="friends_member_id does not parse, and using the channel entry straight inside friends:mine stops no_results variable from working.

Ideas?
Thank you.


texts: Cartthrob - Reserve inventory when in cart

texts:
Is it possible to reserve the item the user adds to their cart?

For example, if there is an inventory of 2 and one user adds 2 to their cart, show this product as out of stock unless this user removes the items from their cart.


texts: Editor field outputs Site Page links as {page_xxx} variable

texts:
When using the link dialog to add a link to a Site Page, the URL looks correct in the Editor, but when the page is rendered, it just spits out {page_xxx} and not the URL. What could I possibly be doing wrong?

Site is running EE 2.11.3 and Editor 3.2.4


texts: Channel displaying on more than one page

texts:
I've recently inherited a EE site.  I'm a Joomla kid but that doesn't matter.  The owner of this website has multiple channels (I guess that's what they're called, such as Residential, Commercial, etc).  The channels (residential and commercial) are all showing up on one page, which is what they want.  However, the "In Progress" channel is showing up on more than one page.  I figured there has to be a simple setting to tell the channel how many entries on one page, sort of like Joomla, but can't seem to find it.

the site, if you want is www.newenglanddesign (.com).


texts: Is there a limit to Pages in Pages Module?

texts:
I've been working on moving a ton of content around on a large University site.  I'm suddenly encountering a problem where the Pages module gets zeroed out. Pages start breaking all over the site, and when I go to the Pages Module, there are no entries in the listing.

Is there a limit to the number of pages I can put in the pages module?  Could this be a different issue?

I also notice that the pages aren't nested properly (at least how I would think they would be nested) in the pages module.  Example:

+foo
++foo/bar
++superman

Or worse:

+superman
++foo
++foo/bar

When foo has nothing to do with Superman, at all.  Am I not reading the pages nested output right?  Is something other than URI segments driving that nesting?

EE 2.9.2 , Pages 2.2

Thanks!


texts: I've got a client with five installs on one server - all different sites and EE versions. Everything has been fine up to now, but every site has suddenly become very slow including the control panel. I've checked everything I can think of, but is there anyway to definitely tell if hosting is the problem rather than EE?


texts:
We recently moved over some of our templates to use the Query module to reduce the number of DB queries happening.

However I'm now experiencing an issue where some of the field data is being returned un-escaped and when I try and output the result using PHP's json_encode() function I'm getting a PHP error.

:  syntax error, unexpected 'flying' (T_STRING), expecting ')' in

Here's my question:

Should the Query Module escape strings?
If not why not and how should I overcome this?
I'm not able to use MySQL REPLACE(column, '"', ''') as this causes the QUERY module to throw and SQL error. Any other way I can escape the quotes?


texts: SafeCracker Entries Created With Status “Closed”

texts:
Here is how its setup.
The Channel: Personal Trainer Directory
Edit Group Assignments
Status Groups: Statuses
Edit Preferences
Default Status: Open
Member Group Settings
Channel Assignment
Can post and edit entries in Personal Trainer Directory: Yes
Module Access Privileges
Can access module SafeCracker: Yes
SafeCracker Module Settings
Personal Trainer Directory
Default Status: Open
SafeCracker tag
{exp:safecracker
channel="personal_trainer_directory"
return="/member/profile"
entry_id="{segment_3}"
status="open"
safecracker_head="no"
use_live_url="no"
url_title=""
}

The entries are being created fine, just dont understand why they are showing up as closed still.  Is there anything that I forgot?
Edit: I added the Member Group Settings section above, I forgot to add that initially so I'm still having the same issue


texts: HTML email support for member registration

texts:
Wondering how i can send a HTML email to a user upon registering, I am using Freemember which i believe uses the default EE Email Notification Templates.

Any suggestions?


texts: Solspace User - Register Form viewable to non superadmin

texts:
So it states that using admin_register="yes" allows a designated member group (not necessarily a Super Admin) to register a member and see the register form when logged in.

See "This parameter allows users of member groups that are allowed to administrate members to view the Register form, and submit new user registrations on behalf of others. Using this parameter naturally will prevent the auto-login feature after registration from working (so the admin doesn't become logged in as the member they just created)."

Under Edit Member Group in the EE CP I have "Can administrate members accounts" set tp yes. What else needs to be enabled?
Thanks


texts: Limit a FreeForm based on a maximum number of allowed entries?

texts:
I'm trying to create a form that will only allow a maximum of 40 users to complete. After the form hits 40 entries, I would like to hide the fields and show a message (ie. "This course has reached it's capacity and is now closed")

I've tried using FreeForms total_results in an {If} statement, but I can't seem to get it working.

Any Thoughts? Is it possible to do this? Thanks in advance!

{exp:freeform:entries
                    form_name="camp_registration"
                }

                    {if freeform:no_results}
                        {exp:freeform:form
                            form_name="camp_registration"
                            required="first_name|last_name|date_of_birth|email"
                            }
                            test

                                {freeform:label:email} {if freeform:error:email} - Required{/if}

                                {freeform:field:email attr:class="form-control"}

                                <button type="submit" class="btn btn-primary">Register</button>

                        {/exp:freeform:form}
                    {/if}

                    {if freeform:count == 1}

                        {if freeform:total_results < 40} /* I'm pretty sure this is where there's a problem */

                            {exp:freeform:form
                                form_name="camp_registration"
                                required="first_name|last_name|date_of_birth|email"
                             }

                                    {freeform:label:email} {if freeform:error:email} - Required{/if}

                                    {freeform:field:email attr:class="form-control"}

                                    <button type="submit" class="btn btn-primary">Register</button>

                            {/exp:freeform:form}

                        {/if}

                        {if freeform:total_results >= 40}

Sorry, maximum form entries allowed reached.

                        {/if}

                    {/if}

                {/exp:freeform:entries}


texts: How to enforce a language segment via htaccess in your uri?

texts:
we have a multilingual website and everything is based on the language segment in the uri.
eg.

/en/home
/fr/home
/nl/home

Now I want my 404 page for a uri without a language segment to redirect to one with a language segment, preferably based on the browser language. That way my 404 page will hava a language attached.

eg.
http://www.website.be/test should redirect to http://www.website.be/en/test (when EN is the browserlanguage)

At the moment this is my .htaccess file

            # Add www - only for production urls
    RewriteCond %{HTTPS} !=on
    RewriteCond %{HTTP_HOST} !^website\.localhost [NC]
    RewriteCond %{HTTP_HOST} !^192\..+$ [NC]
    RewriteCond %{HTTP_HOST} !^dev\..+$ [NC]
    RewriteCond %{HTTP_HOST} !^www\..+$ [NC]
    RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

    # REMOVE TRAILING SLASH
    # Make sure it's not a directory root
    RewriteCond %{REQUEST_FILENAME} !-d
    # Catch any+all characters and throw a slash in as the last character
    RewriteCond %{REQUEST_URI} ^(.+)/$
    # Redirect to same URI sans trailing slash (and use 301 for SEO goodness)
    RewriteRule ^(.+)/$  /$1 [R=301,L]

    # Removes index.php
    RewriteCond $1 !\.(gif|jpe?g|png)$ [NC]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ /index.php?$1 [L]

    # Redirect based on browser accept language FR
    RewriteCond %{HTTP:Accept-Language} ^fr [NC]
    RewriteCond %{QUERY_STRING} !^(ACT=.*)
    RewriteCond %{QUERY_STRING} !^(MOBILE_ACT=.*)
    RewriteRule ^$ /fr [L,R=301]

    # Redirect based on browser accept language EN
    RewriteCond %{HTTP:Accept-Language} ^en [NC]
    RewriteCond %{QUERY_STRING} !^(ACT=.*)
    RewriteCond %{QUERY_STRING} !^(MOBILE_ACT=.*)
    RewriteRule ^$ /en [L,R=301]

    #NO LANGUAGE FOUND - NL = DEFAULT
    RewriteCond %{QUERY_STRING} !^(ACT=.*)
    RewriteCond %{QUERY_STRING} !^(MOBILE_ACT=.*)
    RewriteRule ^$ /nl [L,R=301]


texts: Process to update an MSM site with Updater

texts:
I have a 2.5.2 MSM site that I want to bring up to 2.9.
I have already updated the addons to the latest versions, but I'm not sure at what stage to update the MSM version.
I've just installed Updater and can't see any reference to MSM.
Do I update MSM first?


texts:
Are you able to apply image manipulations to images that are already uploaded?

When does the image manipulation happen?

For instance you set a selection of manipulations, then you upload 50 images, then change the sizes in the manipulations, how do you have the 50 already uploaded images changed?


texts: Error when loading textarea fields in CP after upgrade Undefined index: field_fmt_options

texts:
Only happens on a couple textarea fields, not all.  I can still edit the fields but only after scrolling past all these error messages...

A PHP Error was encountered
Severity: Notice
Message: Undefined index: field_fmt_options
Filename: fieldtypes/EE_Fieldtype.php
Line Number: 562

A PHP Error was encountered
Severity: Warning
Message: Invalid argument supplied for foreach()
Filename: helpers/form_helper.php
Line Number: 324

A PHP Error was encountered
Severity: Notice
Message: Undefined index: field_fmt_options
Filename: fieldtypes/EE_Fieldtype.php
Line Number: 562

A PHP Error was encountered
Severity: Warning
Message: Invalid argument supplied for foreach()
Filename: helpers/form_helper.php
Line Number: 324

A PHP Error was encountered
Severity: Notice
Message: Undefined index: field_fmt_options
Filename: fieldtypes/EE_Fieldtype.php
Line Number: 562

A PHP Error was encountered
Severity: Warning
Message: Invalid argument supplied for foreach()
Filename: helpers/form_helper.php
Line Number: 324

A PHP Error was encountered
Severity: Notice
Message: Undefined index: field_fmt_options
Filename: fieldtypes/EE_Fieldtype.php
Line Number: 562

A PHP Error was encountered
Severity: Warning
Message: Invalid argument supplied for foreach()
Filename: helpers/form_helper.php
Line Number: 324

A PHP Error was encountered
Severity: Notice
Message: Undefined index: field_fmt_options
Filename: fieldtypes/EE_Fieldtype.php
Line Number: 562

A PHP Error was encountered
Severity: Warning
Message: Invalid argument supplied for foreach()
Filename: helpers/form_helper.php
Line Number: 324

A PHP Error was encountered
Severity: Notice
Message: Undefined index: field_fmt_options
Filename: fieldtypes/EE_Fieldtype.php
Line Number: 562

A PHP Error was encountered
Severity: Warning
Message: Invalid argument supplied for foreach()
Filename: helpers/form_helper.php
Line Number: 324

I have re-uploaded all the files for EE and Addons in use.  I am running EE 2.10.1 and all  the latest versions of FreeformPro, Playa, Matrix and Wygwam.


texts: title_permalink of related entry => firefox Content Encoding Error

texts:
I have a problem with Firefox (Mac version 21.0), Expression Engine (Core, version 2.6.1) Relationships, and getting the title_permalink of the related entry.

I have a channel 'Teasers' with a field teaser_event which is a relationship (single) to channels 'Other Event' and 'Random Event'.

The template (trimmed, but still exhibiting the bug) looks like this:

<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8" />
  <title>Test</title>
</head>
<body>
  {exp:channel:entries channel="teaser"}
    {teaser_event:title_permalink='site/event'}
  {/exp:channel:entries}
</body>
</html>

The error I get in firefox is 'Content Encoding Error - The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression.'

It works fine in Safari and Chrome.

If I remove the ='site/event' from the title_permalink tag, then it works in firefox as well.

This is running locally. Version info:

$ httpd -v
Server version: Apache/2.2.22 (Unix)
Server built:   Jul 12 2012 15:09:37
$ php --version
PHP 5.3.15 (cli) (built: Jul 31 2012 18:42:11)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
$ mysql --version
mysql  Ver 14.14 Distrib 5.5.10, for osx10.6 (i386) using readline 5.1


texts: Is it possible to import from a CSV into EE 2.7 Relationship fields?

texts:
Can Solspace Importer import from a CSV file into relationship fields of channel entries? I have a large number entries with relationships to set up and it would be great if it could be automated.

Examples (can be simple) of how I might do this would be greatly appreciated, including how the CSV file needs to be formatted.


texts: layout:contents not showing up in nested template

texts:
I have three templates, simplified here for your digestion:

First One:

{layout="giving/.giving_meta"}

Guide To Giving

Integer lacinia sollicitudin massa. Cras metus. Sed aliquet risus a tortor. Integer id quam. Morbi mi. Quisque nisl felis, venenatis tristique, dignissim in, ultrices sit amet, augue. Proin sodales libero eget ante. Nulla quam. Aenean laoreet. Vestibulum nisi lectus, commodo ac, facilisis ac, ultricies eu, pede. Ut orci risus, accumsan porttitor, cursus quis, aliquet eget, justo.

Greatest Needs

Integer lacinia sollicitudin massa. Cras metus. Sed aliquet risus a tortor. Integer id quam. Morbi mi. Quisque nisl felis, venenatis tristique, dignissim in, ultrices sit amet, augue. Proin sodales libero eget ante. Nulla quam. Aenean laoreet. Vestibulum nisi lectus, commodo ac, facilisis ac, ultricies eu, pede. Ut orci risus, accumsan porttitor, cursus quis, aliquet eget, justo.

Impact

Integer lacinia sollicitudin massa. Cras metus. Sed aliquet risus a tortor. Integer id quam. Morbi mi. Quisque nisl felis, venenatis tristique, dignissim in, ultrices sit amet, augue. Proin sodales libero eget ante. Nulla quam. Aenean laoreet. Vestibulum nisi lectus, commodo ac, facilisis ac, ultricies eu, pede. Ut orci risus, accumsan porttitor, cursus quis, aliquet eget, justo.

Onward, I have .giving_meta:

{layout="master_templates/.backpage}
     {layout:set name="title"}MyTitle{/layout:set}
        {layout:set name="department"}Department{/layout:set}

Finally my .backpage template (again, abridged for utility):

{layout:contents}
<more HTML and stuff, the end>

{layout:contents} is not making it to the third and final template.  It arrives just fine if I point the first template to .backpage directly, but otherwise it's a no show.  Any ideas?  I'm on EE 2.9.2.


texts:
I'm having trouble getting a condition to evaluate properly: http://goo.gl/wWkw4E.

Here's what I'm trying to achieve:

If an image has been uploaded, show image 1
If no image has been uploaded but the post is category 4, show image 2 (male)
If no image has been uploaded and the post is not category 4, show image 3 (female)

Your help is highly appreciated :)


texts: How do I find the full URL to an Structure managed entry via the regular channel loop?

texts:
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.google.com/schemas/sitemap/0.84">
    {exp:channel:entries channel="product" disable="member_data|categories|trackbacks|pagination|category_fields" rdf="off" dynamic="off" status="Open"}
     <url>
        <loc>{page_url} {title}</loc>
        <lastmod>{gmt_edit_date format="{DATE_W3C}"}</lastmod>
        <changefreq>weekly</changefreq>
        <priority>0.5</priority>
    </url>
    {/exp:channel:entries}
</urlset>


texts: MX Notify Control not sending to more than 1 email address

texts:
Using the latest EE 2.7.3 and MX Notify 2.4.6 (tested on a fresh install), setting up a notification for anything, eg. a new entry posted, and notifying a user group or mailing list (or combination) with more than 1 email address in the array only sends to the first email address the system processes.

I've played around with setting different email config settings, but to no avail.
The system can send via the communicate tab to more than 1 address, so it must be a problem with MX Notify.

The eec.ms forums don't allow registration, so I'm posting here in case someone can help.


texts:
I wonder if there is a way to add trailing slashes to the standard URLs generated by ExpressionEngine?

I'm not looking for some .htaccess rewrites but for a way to have slash appended in the first place.

Background is, that I'm migrating a site from EE1 (which had the default trailing slash, in case you remember) and there are thousands of entries with ten thousands of facebook-likes, google-plusses and whatnot that are to be preserved. So the URLs cannot change.


texts: Shipping methods not displaying on front end

texts:
Seen the posts about a similar issue with Fedex, though in this case there's not fedex api/plugin.

I have 2 shipping methods. Both enabled in the backend.

I have tried spitting them other a couple of ways,

{shipping_methods}
    <option value="{method_id}">{method_title}</option>
{/shipping_methods}

&

{shipping_method_options}

Also this doesn't display anything:

{error:shipping_method}

I'm within a store checkout tag:

{exp:store:checkout require="name|address1|state|country|postcode" return="/review-and-pay" form_class="form"}


texts: How to get NON - logged in users to the site to see the freeform:edit tag?

texts:
I am submitting a form and that form will email a client at the supplied email address. However, in the email that is sent to the client a URL is included to edit their response. On this page I am using the freeform:edit tag but they can not see it because they are not logged in.

Example URL:
sitegoeshere.com/refferal/mma/26/1-23456789

Segment 3 would be the freeform entry id but if they are not logged in the client can not see this.

So any ideas on how to make a non-logged in user edit an entry?

I know the security risk of anyone can see any entry but none of the data is worth anything to someone else.

Eric


texts: List {field2} of entries under a single {field1} when entries have the same {field1}, then move on

texts:
I'm using Low Alphabet to list songs - so there's a page for A, B, etc. Each page has on average dozens of songs.  The channel type has them broken down into separate fields, so for "Foo (Studio Version)" {song} is "Foo", {version} is "Studio Version", "Foo (Perfecto Mix)" has {song} == "Foo", {version} = "Perfecto Mix", etc. What I'd like to have displayed is (basically) something like:

Foo
* Studio Version
* Perfecto Mix
* Live at Somewhere

Bar
* Studio Version
* Wub Wub Remix

Where each {version} is displayed under the {song} when the contents of the {song} field match for those entries.

This seems like it should be a fairly straightforward loop for once the contents are sorted, but I'm not having luck. I'm more front-end than scripting, but what I'd be looking for would be something like this in pseudocode:

* while loop to sort by starting letter (low alphabet wrapper)
* once contents are sorted, iterate through them
* save {song} to a variable {songcheck}, print {version}.
* if next entries {song} == {songcheck} print {version}
* if next entries {song} != {songcheck} rewrite {songcheck} and skip to 3.


texts: Upgraded to EE 2.8.1 from 2.7.3... site broke.

texts:
All prior upgrades were smooth so I'm surprised to be getting errors.

These are the errors I've seen so far:

A PHP Error was encountered

Severity: Warning

Message: array_merge(): Argument #1 is not an array

Filename: libraries/Functions.php

Line Number: 2373

A PHP Error was encountered

Severity: Notice

Message: Undefined property: EE_Template::$layout_conditionals

Filename: libraries/Template.php

Line Number: 3375

A PHP Error was encountered

Severity: Warning

Message: array_merge(): Argument #4 is not an array

Filename: libraries/Template.php

Line Number: 3375

Other pages are broken, can't seem to determine any errors even with error logging on.

A plain template works fine, no errors. I'll use this space to share other errors and what I figure out if anything at all.

Won't have time to take templates apart tonight so will pick up tomorrow.


texts: What is the MySQL function for exp_members password column?

texts:
I forgot to save my password and am unable to get MAMP Pro's postfix working so I can't resend the password to myself from my local machine, unfortunately.

What is the MySQL function used to generate the encrypted string in the exp_members password column?

Is it either MD5 or SHA1 or a combination of something else all together?


texts:
Is there anything that already exists that allows an author to select a navigation that was built in NavEE?

In other words, if I have multiple navigational elements in NavEE and want to give the author an easy way to select which one they would like to include in the page, is there a fieldtype available to do that?


texts: ExpressionEngine Expresso Store Price Filter in DropDown Select Menu Dynamically Setting Values Question

texts:
We’re currently working on http://goo.gl/Cxk5Aw and the client would like to add a price min / max filter on the sidebar, but we’re having an issue with keeping the segments of the url clean. I was curious if it was possible to add the min / max into our drop-down menu and have the data stored in segment_3 like we have for the pagination entry display value & sort by?

Current Code:

Drop Down List

{exp:dynamo:form return="products/specials" search_id="{segment_3}" id="options_form"}

Show <select class="form_option" name="limit">
                                <option value="9" {if limit == 9} selected="selected"{/if}> 9 </option>
                                <option value="18" {if limit == 18} selected="selected"{/if}> 18 </option>
                                <option value="27" {if limit == 27} selected="selected"{/if}> 27 </option>
                                </select>
                                per page

Sort by <select class="form_option" name="orderby">
                                <option value="title" {if orderby == 'title'} selected="selected"{/if}> Name </option>
                                <option value="price" {if orderby == 'price'} selected="selected"{/if}> Price </option>
                                </select>

{/exp:dynamo:form}

JavaScript:

Store Code:

{exp:store:search channel="products" limit="9" dynamic="yes" orderby="date" sort="desc" dynamic_parameters="limit|orderby" search_id="{segment_3}" paginate="both" search:on_sale="yes"}
                    {exp:store:product entry_id="{entry_id}" form_class="form-horizontal" return="store/shopping-cart"}


texts:
Is it possible to notify a mailing list when a new entry is submitted?

I know if is fairly easy to notify a member group when a entry is submitted, but I need to notify a mailing list everytime an entry is submitted.


texts: Intelligent ways to force redirects before a session ends?

texts:
I was hoping to pick people's brains on a topic. I am developing a web app which sits on top of Expression Engine and this has worked really well so far.

I have one issue though and I have a quick solution but I was hoping to find a more elegant approach, perhaps using hooks or something of that nature.

Basically, our application is very heavily ajax-driven and as such our users can do quite a lot without ever really leaving the page. However, they need to be logged in to do this properly. So you can imagine a scenario whereby a user walks away from their computer for an extended period, comes back, sees the application still running and then attempts to work with it but finds that they either experience erratic behaviour or else nothing works.

Obviously I can set up a template somewhere which would return whether or not the user is logged in or if there is an active session, however this would then involve me either continuously checking that template via an ajax call or else checking the template before I process any other calls. So I'm just wondering if there is a way to kick the user out or redirect them to the login page when a session ends or something similar?

I want to avoid any unnecessary calls to templates, etc. so ideally there will be a more elegant approach out there, or even an existing module or extension. I have plenty of experience in developing third_party add-ons for EE so that's not an issue. Just looking for ideas really :)

Thanks in advance,
Conor


texts: Channel Images on Amazon S3 is not retrieving the pertinent images

texts:
Product (Add-On): Channel Images
Product (Add-On) Version: 5.4.9

ExpressionEngine Version: 2.7.2
MSM Install?: No

After updating Channel Images to 5.4.9 in order to mitigate a bug present in its implementation with Zenbu, I've run into a new issue. When uploading content with Channel Images, my images are able to be uploaded to their buckets, but the system is not seeing them on the other side. I just uploaded a bunch of images in a test entry, verified they existed on the correct bucket, but went to check on the control panel, and the system says it can't find the images! Any idea what's going on there? This is a definite blocker for me and my client right now.


texts:
Hoping this is possible.

I want to set my entry_id and member_id numbers higher.  Meaning when the next entry is entered or a member joins it goes to the new higher # I set.  Right now my entry ID is at 271, I would like to put that at 1001 for the next entry ID entered.  Also do the same for members, not so high but at least 100. I tried (ALTER TABLE exp_channel_data AUTO_INCREMENT = 1001) but if simply kept the next number in line 272.

So can it be done, right now I have no members, I am just testing, I have a complete backup of everything.

Is it safe, is it possible without sending EE into a crash? Thanks.


texts: Freeform only sends notifications with default template

texts:
I'm using Freeform 4.1.3 (free) and I can only get it to send notifications when I use the default notification template.

I've tried declaring the template using both the module's settings and the template tags that override those. Neither worked. I've also tried stripping down my form to just the example contact form. Still no-go. I can indeed send emails through EE's Communicate screen.

Ideas?


texts:
I updated ee to v2.10.1

I have an image with umlauts in the filename which I'm unable to remove.

The .jpg file is not present, but still in the filemanager
Synchronizing the upload folder doesn't remove it.
recreating a fake file with the same name does nothing.
Last idea is to delete the file by hand in the database with sequel pro.
Since the file is added in an entry I can no longer edit the entry because I can't get past the file error message (Nice error handling by the way).

I've never made anything by hand in the db. Where do I find the images in the database?

Any other ideas?


texts: Get (Solspace) calendar occurences sorted by date

texts:
I want to get all occurrences of a single calendar and sort them by the occurrence start date.
The reason why I want to do this is because I want to create an occurrence details page. To do that I need the occurrence ID, the calendar:cal tag does not seem to give me the occurrence id when printing out a single occurrence. I have tried the calendar:occurrences tag, but I cannot get that one to sort the occurrences by occurence_start date. I have tried using the default orderby and sort options to accomplish the sorting, but to no avail.

How can I do this? What are my options?


texts: Exp-resso store email template translation

texts:
I'm using Exp:presso store on a webshop. This webshop has multiple languages which I did with Publisher.

Now I want to send the customer emails in their native language. Or at least, the language they also used on the website when they ordered something.

Now using publisher phrases in the order confirmation email is working fine, the email is send with translations. This only doesn't work for the Subject, there it will put the phrase in: {phrase:email_subject} => {phrase:email_subject}

It also doesn't work for all other emails that are send. Probably because it doesn't know which language it should use.

Is there a way to do what I want? Send emails in the right language? Maybe with something like publisher? Or should I make a email template for each language? And how would I then trigger the right email template?


texts: How to get file upload paths that use Windows UNC format working

texts:
Anyone ever got images on an EE site working on a Windows server that uses UNC paths, e.g. //server/folder/?

I'm using imgSizer to resize images but am getting errors like:

  imgsizer.Error: /wwwroot/uploads/img/image.jpg image is not readable or does not exist

Support for the server says that it seems that EE is trying to serve images from a path with a single / at the front instead of the //


texts: Safecracker submitting form before finished

texts:
I have a relatively simple multipage safecracker form where users can upload an image on the first page, approve the image and add a description on the second, then add tags on the third.

All three fields are set as required in channel fields.

However today I noticed that from the moment the user uploads an image and presses 'submit' to proceed to adding the description the entry is already displaying on the website. No required field errors at all.

I'm a bit confused, any ideas how I can prevent this from happening?


texts: Using the new Relationships field for a conference site

texts:
I'm working with a client that uses EE to promote its annual conferences. Although I haven't used it yet, the Relationship field in EE 2.6.x seems like it would be perfect for what I have in mind, but I am hoping to get some advice on how to best set it up.

Each conference has a number of presentations, each of which has one or more presenters. I'm thinking the relationships would be organized like so:

Conferences

Presentations

Presenters

Assuming that each of these are the names of my channels, how should I create the relationships between them? One relationship that links them all? One for Conferences and Presentations and another for Presentations and Presenters?

Any pointers on how to set this up would be greatly appreciated--thank you!


texts: Database Error When I Delete a Channel in EE 2.9.0

texts:
Using EE 2.9.0 and Playa 4.5.1

I tried to delete a channel in ExpressionEngine and when I did I got this error. Please advise?

A Database Error Occurred
Error Number: 1146

Table 'mydb.exp_relationships' doesn't exist

DELETE FROM `exp_relationships` WHERE `parent_id` IN ('40')

Filename: models/channel_model.php

Line Number: 345


texts: Unable to post in forum module running on localhost

texts:
I have the same problem as this thread: Why can't I post topics on a Forum?

Disabling the htaccess file works, but then I have index.php back in all my urls. Any idea of the cause of this and a better fix?

Edit to add, I've pin-pointed the problem to the removal of trailing slashes using this htaccess code:

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} ^(.+)/$
RewriteRule ^(.+)/$ /$1 [R=301,L]

Removing that chunk makes it work ok, but it'd be nice to remove the trailing slashes on the forum urls.


texts: Comparing custom member field with current date

texts:
I have a member field [cb1_expire] that I am using to store the expiration date in the user profile.  The format that will be put into the field will always be "mm/dd/yyyy". (field type is text)
I want to compare this field with the current date to see if the current date is past the expiration date so that I can perform a specific action and inform the user that is access is expired.
So far I have not been able to render the custom field in a format that I can test with the current date.

Is this possible and if so how can I accomplish this?

Any help greatly appreciated.

Anthony Jaxon, Los Angeles, CA USA


texts:
I can't seem to figure out how to make an entry sticky using Solspace Calendar (particularly the exp:calendar:cal tag). Is this possible?

Thanks!


texts: Expresso Store SSL Error with Authorize.net

texts:
I have had an ExpressionEngine site with Store running well for a while now, then out of the blue customers started getting errors when trying to complete checkout and pay.

I looked into it and found the following error:

Fatal error: Uncaught exception 'Guzzle\Http\Exception\CurlException' with message '[curl] 60: SSL certificate problem: self signed certificate in certificate chain [url] https://secure.authorize.net/gateway/transact.dll' in /home/content/93/10773693/html/engine/expressionengine/third_party/store/vendor/guzzle/http/Guzzle/Http/Curl/CurlMulti.php:338 Stack trace: #0 /home/content/93/10773693/html/engine/expressionengine/third_party/store/vendor/guzzle/http/Guzzle/Http/Curl/CurlMulti.php(279): Guzzle\Http\Curl\CurlMulti->isCurlException(Object(Guzzle\Http\Message\EntityEnclosingRequest), Object(Guzzle\Http\Curl\CurlHandle), Array) #1 /home/content/93/10773693/html/engine/expressionengine/third_party/store/vendor/guzzle/http/Guzzle/Http/Curl/CurlMulti.php(244): Guzzle\Http\Curl\CurlMulti->processResponse(Object(Guzzle\Http\Message\EntityEnclosingRequest), Object(Guzzle\Http\Curl\CurlHandle), Array) #2 /home/content/93/10773693/html/engine/expressionengine/third_party/store/vendor/guzzle/http/Guzzle/Http/Curl/CurlMulti.php(22 in /home/content/93/10773693/html/engine/expressionengine/third_party/store/vendor/guzzle/http/Guzzle/Http/Curl/CurlMulti.php on line 338

EE version 2.11.3 with Store version 2.5.1. And I am using Authorize.net as the payment gateway.

I contacted Authorize.net and they said it may be due to a recent change they made and said "the website might not be automatically validating our current SSL certificate. Here is a link that will help you, or your developer make sure your using the most up to date certifications. https://community.developer.authorize.net/t5/News-and-Announcements/SSL-Certificate-Updates-for-Legacy-SDKs/m-p/62935".

How can I fix this and get Store working again? Thanks.


texts:
Today I updated my website to ExpressionEngine 4 without much trouble. However, there's one thing I cannot get fixed.

Apparently the Channel Images plugin is giving errors, but I really don't know what to do or how to fix this.

The error message:

Exception Caught
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'field_group' in 'field list':
SELECT `field_group` FROM (`exp_channels`) WHERE `channel_id` = '2'

ee/legacy/database/drivers/mysqli/mysqli_connection.php:116
Stack Trace: Please include when reporting this error

I already tried to manually add the field_group column, but if I do another exception pops up.

Any ideas on how to fix this?


texts:
I had to remove and reinstall Solspace tags to fix what I thought was a bug it was causing, and in the process lost all the associated data.

Luckily it was just on a dev server, but I want to add in the data from another mysql database.

Is there a way of importing the data and settings using something like Solspace Importer?


texts: FreeForm 4.0.10 - possible to have submit button download a file and submit form?

texts:
I need to set up a form where users submit information in order to download a file that should be downloaded as soon as they click the submit button (which is going to say "Download").

Is this possible? I know I can always have the form redirect to a page with the download link, but ideally clicking download would start the download and submit the form at the same time.


texts: Import image to Expression Engine from XML file

texts:
I have purchased the Solspace Importer plugin to import xml data (properties data) into one of my client's website.

It managed to grab the data from the REAXML file manually but I'm having trouble displaying the given image url from the XML file into the site.

This is the example file:
demo.slickdesign.com.au/rance-cms/mydesktop/residential_sample.xml

My question is, how do I grab the image url from the XML file and map it into Expression Engine field?

Any help is much appreciated.

Thanks
Vic


texts:
I want to create a base configuration of EE that have certain channels, templates, addons, etc. -- and then deploy that over and over again. It seems like NSM Site Generator was the solution I needed, but it's in alpha, doesn't work with the latest version of EE, and not being actively developed (due to time constraints, per the developer).

Are there alternatives?


texts: Channel Images and Matrix / Increment a variable/count within a matrix field?

texts:
Is there a possibility to increment a variable/count (something like "i++") within a matrix field so that the variable is incremented for each row with certain parameters?

The background is that I created a Matrix field to allow the user to reorder html elements. We use Channel Images to upload

I'm trying to achieve this in my template:

{my_matrix}

 {if cell_type == "image"}

   {exp:channel_images:images_static entry_id="{entry_id}"}

   {/exp:channel_images:images_static"}
 {/if}

 {if cell_type == "text"}
   {text_from_matrix_cell}
 {/if}

{/my_matrix}

The html code is supposed to be looking like this:

Text block 1…

Text block 2…

Text block 3…

I tried it with a switch:

{my_matrix}

 {if cell_type == "image"}
   {exp:channel_images:images_static entry_id="{entry_id}"}

   {/exp:channel_images:images_static"}
 {/if}

 …

{/my_matrix}

The switch statement is working between matrix rows. However, it's alternating between matrix rows whether the surrounding "if"-statement applies or not. So instead of the desired result posted above, my actual html looks like this:

Text block 1…

Text block 2…

Text block 3…

I couldn't think of a way to solve this with php either. Any ideas? Thanks!


texts: Specifying url paths for Tag related entries

texts:
I have an entries page where I want to show related entries from other channels using Solspace Tag's {exp:tag:related_entries} tag pair. Since they are from different channels I need to have the correct path to lead to the correct template. At the moment I have split this in to two related_entries tags, but I was wondering if there was a way of combining them in to one?

{exp:tag:related_entries url_title="{segment_3}" channel="channel_A" orderby="date" sort="desc" limit="5" paginate="bottom"}
{title}{/exp:tag:related_entries}

{exp:tag:related_entries url_title="{segment_3}" channel="channel_B" orderby="date" sort="desc" limit="5" paginate="bottom"}
{title}{/exp:tag:related_entries}


texts: Language Files Don't Appear To Be Loading

texts:
I've just installed Cartthrob 2.5 and it looks as though the language files aren't loading properly in the admin area. Specifically the "CartThrob Price - By Member Group" and "CartThrob Price - Quantity" field types:

The language files are definitely on the server, so I'm not sure what's going on. Anyone else noticed this??


texts: Why don't new registrations show up in members

texts:
I just can't get the Freemember registration form to work.
I'm using the default form from the docs:

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

        Email

        {field:email}

        {error:email}

        Password

        {field:password}

        {error:password}

        Confirm Password

        {field:password_confirm}

        {error:password_confirm}

        {field:accept_terms} Accept Terms

        {error:accept_terms}

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

{/exp:freemember:register}

The form sends but nothing happens. I'm not sure what to even do to get this to set up and work properly. Do I need certain settings I'm missing in member preferences? When I use the default EE member/registration form it works just fine.

EE 2.6.1
Freemember 2.2.2


texts: DevDemon Forms - On form submit, URL is stripping out the : from the http://

texts:
Using DevDemon forms. Have used before on other sites. When click submit, its stripping out the : from the http:// on the redirect.
Any ideas where this is stored as it seems to be taking a default value from somewhere. Have tried to override with return="/contact/thanks" but not recognising this.
Thanks in advance.
Steve


texts: Upload entire HTML project directory to EE2 possible?

texts:
Required to use ExpressionEngine 2.7.3 due to Hudson module (No API either).
We built our site locally in HTML/CSS/JS since that's what we're used to and before we start copying it over we wanted to check if there's a easier way or if it's possible to just upload our current directory to EE?


texts: How to use javascript "label" in channel entry loop?

texts:
I have code that looks like

that uses javascript to indicate the selected city. So when "Anchorage" for example is selected from a dropdown at the top of the page

displays "Anchorage". I need to use this selected city in a channel entry loop. I've tried doing this using Stash, as in the code below, but it is not working. Is there any way to save the city in a form that can be used by Expressionengine?

{exp:stash:set_list name="city2" parse_tags="yes" trim="yes"}
{stash:city3}{/stash:city3}
{/exp:stash:set_list}

{exp:stash:get_list name="city2" parse_tags="yes" trim="yes"}
{exp:stash:parse unprefix="nested"}
{exp:channel:entries channel="place" search:city="{city3}" dynamic="no"}
{title}

{if nested:no_results}
No results
{/if}
{/exp:channel:entries}
{/exp:stash:parse}
{/exp:stash:get_list}


texts: Freeform - make file_upload field required

texts:
I'm trying to create a form with Freeform Pro containing a File Upload field that is required. So the form should only submit when the user actually uploads a file.

Setting the field to required in template parameter seems to have no effect.

Bug or missing feature? Any workarounds?

{exp:freeform:form form_name="feedback" secure_action="yes" secure_return="yes" required="some_picture|email" form:id="some_form" admin_notification_template="feedback_notify" admin_notify="foobar@example.com" prevent_duplicate_on="email" inline_error_return="group/template" inline_errors="yes" return="group/feedback_thanx"}

 E-MAIL
{freeform:field:email id="fmail"}

Please upload!

{freeform:field:some_picture id="some_picture"}

<input type="submit" name="submit" value="Absenden" />
{/exp:freeform:form}


texts:
I am using this tag pair for a website form. Two issues I have:

How do I make certain fields required without using CSS3 or jQuery. Does EE have a native way of doing this?
How do I get validation to work on iOS?
Are there any better third party form add ons that someone can recommend?


texts:
I am unfamiliair with the Query module and I hope someone here could guide me.

In a Template I want to change the group_id of a chosen member (member_id in stash snippet) from 13 to 14. The template is only accessable for super-admins.

Reason for that is that I want an editor of that site to be able to do this, but I do not want them to access the full member-section in the CP. (Too complicated)

Is this possible?

Really thank you for helping me out!


texts: Comment form missing XID - Form submits but data doesn't save

texts:
As noted, the form submits but the data doesn't go into the db. Looking at the rendered HTML, I notice a missing XID. I think this is what is causing the problem - anyone know why this would happen?

{exp:comment:form channel="articles" entry_id="{embed:entry_id}"}

    {if logged_out}
            Name:<input type="text" name="name" value="{name}" size="50" />

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

    {/if}

    Comment:
    <textarea name="comment" cols="70" rows="10">{comment}</textarea>
    <input type="checkbox" name="save_info" value="yes" {save_info} /> Remember my personal information

    {if captcha}
            Please enter the word you see in the image below:

{captcha}<input type="text" name="captcha" value="{captcha_word}" maxlength="20" style="width: 200px; float: left;" />

    {/if}

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

{/exp:comment:form}

Source:

<form id="comment_form" method="post" action="http://domain.com/newsroom_article/core-to-corporate">

        <input type="hidden" name="ACT" value="29">
        <input type="hidden" name="RET" value="http://domain.com/newsroom_article/core-to-corporate">
        <input type="hidden" name="URI" value="newsroom_article/core-to-corporate">
        <input type="hidden" name="PRV" value="">
        <input type="hidden" name="XID" value="">
        <input type="hidden" name="entry_id" value="3327">
        <input type="hidden" name="site_id" value="1">

        Name:<input type="text" name="name" value="" size="50">

        Email: <input type="text" name="email" value="" size="50">

        Comment:
        <textarea name="comment" cols="70" rows="10"></textarea>
        <input type="checkbox" name="save_info" value="yes"> Remember my personal information

        Please enter the word you see in the image below:

<input type="text" name="captcha" value="" maxlength="20" style="width: 200px; float: left;">

        <input type="submit" name="submit" value="Submit">
        </form>


texts:
Is there a better way to write this?

{if logged_in_group_id == "1" || logged_in_group_id == "6" || logged_in_group_id == "7" || logged_in_group_id == "11"}
Hello Members...
{/if}

It seems very long.

Version 2.9.0


texts: FreeForm Express - receiving multiple emails

texts:
EE 5.2.5
FreeForm Express 1.7.6

I have a client with a working contact form that for every submission he receives two emails. I double checked the form admin settings and his email is only listed once.

Is there a way to stop the second email from being sent?


texts:
Site was moved to a different server. Trying to add/upload an image via the wygwam field but get the below error after selecting the image:

  File exceeds maximum dimensions and is not resizable.

Any help is appreciated.


texts: Channel entries tag not working on page using Page module

texts:
I've got a page that I've created using the Pages module, and inside the template for that page I'm trying to display a list of entries from 4 different channels on my site. But the {exp:channel:entries} tag returns nothing. Using the Template Debugging I can see that this tag is attempting to retrieve a list of entries, but then it says that 0 entries were returned?

What am I doing wrong?

Answer

The key is to use dynamic=no in the {exp:channel:entries} tag. So instead of:

{exp:channel:entries channel="channel1|channel2"}

Use

{exp:channel:entries dynamic="no" channel="channel1|channel2"}

Of course, if you're already using the

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

tag to access the page title, etc..., you can't embed another channel entries tag inside that tag, so you'll have to put your code into an embedded template.

So the end result would be something like:

{exp:channel:entries channel="pages"}
  <h1>{title}</h1>
 <!-- other page code stuff -->

   <!-- now embed your template that uses the channel entries with dynamic=no -->
   {embed="<yourtemplategroup>/<yourembeddedtemplate"}

{/exp:channel:entries}


texts: Where are EE's native Snippets saved, locationwise?

texts:
I just moved a site to another server and duh! forgot to copy over the Snippets manually. Don't ask.

I have a full backup though, ftp as well as sql. Now I am wondering where the native EE Snippets are being stored. I searched through all files and directories I could think of but I am unable to find any trace.

Also I couldn't really find anything in the sql dump.

Anybody know where they are being stored for sure?

Thanks and Cheers!


texts:
I would like to create a conditional based on the value of a date field compared to today's date.

In English it would be: if Expiration Date is less than today's date set class to "expired"

Here is how I tried it in EE:

{if "{business_expire_date}" < "{current_time}"}class="expired"{/if}

Unfortunately, it doesn't work as desired. What is the correct way to write this?

Thanks.


texts: How to add a drop-down menu driven search that is field-specific per drop-down?

texts:
I have an existing drop-down menu search in place at http://www.ncwildflower.org/index.php/plant_galleries/Quick_Plant_Mini-Search/

Or you can also see this on the main page centered at http://www.ncwildflower.org/index.php/ncnps

This site is still in version 1.6.8 because I had to change some code in the search regx file. It simply added two square brackets for the keyword entry, and concatenated the contents of any drop-downs that had content selected.

That was then - this is now!

I have no idea how to accomplish this feat in the Codeigniter-driven present-day EE 2.x.x!

Also,  the existing solution was/is crude. If you select “red” as a bloom color drop-down, it simply adds “red” to the overall search terms, but is not specific to the bloom-color field, so it makes mistakes!

I’d like to have such a thing, but be able to make searches for bloom color only look in the bloom-color fields, and keywords for plant-type only refer to the plant-type fields. I’m sure you get my drift.

Anyone have any suggestions how I might at least start tackling this one? It is the only thing holding us back from updating to EE 2.x.x, as this feature is a favorite one by our readership.

Thanks for thinking about it with me!

Terry


texts: Wygwam - automatically wrap media embed with custom html

texts:
I'm using Wygwam on a site, and I'm allowing content administrators to embed media (specifically, videos) within the main, body copy/content area.

Is there a way to automatically wrap the embedded content in some kind of custom HTML? It seems that the embeds are already automatically wrapped in a classless <div>, and I'd like to, at the very least, give that <div> some kind of class or ID, so that it'd be something like <div class="inline-media">.


texts:
Trying to just output entries that share the same tag but it's outputting duplicate entries.

{exp:channel:entries channel="{news_channel}" url_title="{segment_2}"}
    {exp:tagger:related entry_id="{entry_id}"}

        {if tagger:no_entries}

No related entries were found.

        {/if}

{news-heading}

            {news-content}

    {/exp:tagger:related}
{/exp:channel:entries}

Any ideas how to stop this?


texts: Fieldtype runs validate() multiple times?

texts:
I'm trying to create a custom fieldtype that's display_field() function produces a collection of <input> boxes. The problem I am having is that the validate() function in my ft.x_fieldtype.php file is getting run each time for each <input> it seems.

Can anyone see a way around this?


texts:
I'm having some trouble using FreeMember and Transcribe. It seems like the member register posts the action to the site url.

However, if the site url includes a language prefix the page seems to just refresh, doesn't register a new member and doesn't return to the allocated return page.

eg.. www.site.com/form/fr/ will fail. With transcribe (language prefix) disabled it does work.

Thanks for any help!


texts:
I'm seeing an issue where I login on the frontend and the URL becomes S=c3992270d168f3ec9ab1df5bc06afce3/test where test is the segment I'm passing from the return parameter.

I can't fathom where the first part is coming from though.

Logic in the template is pretty simple

{if logged_in}
hello steven
Log Out
{if:else}
{exp:member:login_form return="/{segment_1}/{segment_2}"}

    Username

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

    Password

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

<input type="submit" name="submit" value="Submit">

Forgot your password?

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

Session related? Structure bug (seen that before) or something else?


texts:
So I have 4 countries

Scotland,
England,
Wales,
& N. Ireland

I want my users when they choose Scotland to get the 32 regions in Scotland, similarly in England you would get the counties.

Is this possible?


texts: Blank page output when using Entry Status in nested Switchee statement

texts:
I am trying to use a nested Switchee statement to display an embedded template but the results are a blank page. Using default status group and EE 2.11.5. I feel like I am missing something basic here.

The logic is: If SEGMENT 2 is NOT BLANK then display correct embedded template based on the Entry Status.

PASS (shows _sometemplate_home): xyz.com/somegroup
FAIL (shows blank): xyz.com/somegroup/open-status-entry
FAIL (shows blank): xyz.com/somegroup/closed-status-entry

<!-- COMPLETE somegroup/index.html template -->

{exp:switchee variable="{segment_2}" parse="inward"}

{case value="''"}
    {embed="somegroup/_sometemplate-home"}
{/case}

{case value="#^P(\d+)$#"}
    {embed="somegroup/_sometemplate-home"}
{/case}

{case default="Yes"}
    {switchee variable="{status}" parse="inward"}

        {case value="open"}
            {embed="somegroup/_sometemplate-open"}
        {/case}

        {case value="closed"}
            {embed="somegroup/_sometemplate-closed"}
        {/case}

    {/switchee}
{/case}
{/exp:switchee}


texts: How to add products from front-end side in Expresso Store?

texts:
I want to add products from front-end side with single product or package of product in Expresso Store ?

It is possible to do this in Expresso Store?

Thanks


texts: How to select Low Reorder set from content of {segment_n}?

texts:
I have a set of categories within a single group that I apply to entries in a channel to differentiate different classes of document (FAQs, Case-Studies etc.).

I've set up a listing page that uses Low Segment2Cat to pull just the channel entries within a particular category into a list.  The channel tag looks like this:

{exp:channel:entries channel="resources" category="{segment_2_category_id}" dynamic="no" require_entry="no"}

This works just fine, but I would like to reorder the entries pulled by this request.  So I've created a Low Reorder set to do this for each category - so there is a reorder set called "faqs" that reorders the resource entries with category "faqs" - in total one Low Reorder set for each relevant category, each named the same as the category_url.

With all this set up, I had hoped that I could then use the {segment_2} value to select which Low Reorder set to pull list entries from - and so get them in the right order.  However, this tag-pair

{exp:low_reorder:entries set="{segment_2}"}

simply doesn't work - it produces no results at all.

Anyone got any ideas how I can get this tag-pair to work?

Thanks in advance for any help.


texts:
I'de like to show only entries that have gridfield:total_rows > 0

Is there a way to do this?


texts: White Screen Trying to Manage Multiple Site Manager After Upgrade

texts:
After upgrading a ExpressionEngine 2.1.0 site to ExpressionEngine 2.5.2 (ran into issues trying to upgrade to 2.7.3 and 2.5.2 was the oldest I had in my archives) I am running into a white screen when trying to access Edit Sites or any of the two sites under the Site Name menu in the ExpressionEngine CP.

I've enabled debugging output everywhere I can think of — in the CP, in index.php files, etc. — but still only see the white screen.

I am trying to do this with MSM 2.1.6.

Any thoughts on what to check for this? Configuration settings that might have been missed? Something in the database that might not have been updated properly between 2.1.0 and 2.5.2? That sort of thing.

UPDATE (2014/03/10)

I was able to uncover a couple more useful data points. When I try to load the Edit Sites screen in Chrome, I see this error message:

Fatal error: Class 'CP_Controller' not found in /Users/bseymore/Sites/backspaceink-252.loc/admin/expressionengine/controllers/cp/sites.php on line 25

For some reason that error message does not appear in Safari.

When I try to load the Edit Sites screen via Safari, I see this in the Developer Console:

Failed to load resource: the server responded with a status of 500 (Internal Server Error)
http://[SITE-NAME]/admin/index.php?S=e34bf993965b3c69ce41729920acdf886e3e4dba&D=cp&C=sites&M=manage_sites


texts: Show playa parents of child items listed via {exp:low_alphabet:entries} (not a single entry page)

texts:
Each discography entry has a playa field for each disc that contains all the songs that appear on that record, creating a tracklisting. What I'd like to do is create a reverse navigation system, so that people can browse songs and see all releases they appeared on (albums, singles, collections, etc).

It was straightforward to get Low Alphabet to ouput a page containing all songs starting with a letter, now I'd like to have all parent releases listed under them.

I imagine it's something where I'd need to write some custom PHP or use an embed or stash based on research I've been doing.

Relevant template code below - it just outputs a long list of entries (even for X, which has one song that is included on two discography items). Removing channel="discography" doesn't make any impact.

{exp:low_alphabet:entries
        channel="songs"
        alpha_ignore="the"
        numbers="before"
        group_numbers="yes"
        numbers_label="#"
        alpha_filter="{segment_3}"
        orderby="title"
        sort="asc"
        disable="categories|member_data|pagination"
        limit="250"
}
     {if low_alphabet_heading}

Songs that start with {low_alphabet_label}

     {/if}

{title}

            {if no_parents}{/if}

                {exp:playa:parents channel="discography"}

{title}

                {/exp:playa:parents}

        {if low_alphabet_footer}

    {/if}
{/exp:low_alphabet:entries}

The following works as expected

    {exp:channel:entries channel="lyrics" limit="50"}

{title}

                    {exp:playa:parents}

{title}

                    {/exp:playa:parents}

    {/exp:channel:entries}


texts: Exp:resso + MSM: Site parameter not available?

texts:
I don't see any reference to the site parameter in any of the docs, is this available in the current release? We have built a multi site enviro for a retailer that allows for one control panel (front facing) so the client does not need to access the actual EE cp, in order for this to work I need to use the store tags but specify the site
thanks


texts: Duplicating a site to a subdomain (for development)

texts:
Just a quick question with regards to what people think is the best way to handle this situation.

I have a site set-up. When also have a duplicate of the site at a subdomain.

Well.. it was a duplicate, but I haven't kept things synchronised and it's basically fallen behind the live site.

I want to start some substantial development.

I presume I can duplicate all the content from the live site, back to the development subdomain? (Preferably automated as I wouldn't want to go through all the control panel changes again.)

OR

Can anyone suggest a better way to carry out development?

I have only ever worked via files > updating > push to site via FTP, but would love a better development environment. Can anyone suggest a better way, or some reading that is specific to EE development.

(p.s - I've never used GIT before :)

Cheers!


texts:
Am using 3.0.4

Creating an filed of type file and in allowed file types I've chosen all. The filed is not accepting any file type other than image. Is there any place other than system/ee/legacy/config/mimes.php to block or white list file types?

Edit

I’ve tried mp4 file of size 1MB and txt, xml, docx of size below 50KB.


texts: Expression Engine RSS Feed PubDate doesnt validate

texts:
I'm running out of ideas, could you please tell me what am I doing wrong? When trying to validate my rss feed I get the error that pubDate is in incorrect format. Even though it looks the same as advised in specs (well to me at this stage). Can you spot the error?

{preload_replace:master_channel_name="blog_post"}
{exp:rss:feed channel="{master_channel_name}" debug="yes"}

<?xml version="1.0" encoding="{encoding}"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
    xmlns:admin="http://webns.net/mvcb/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:atom="http://www.w3.org/2005/Atom">

    <channel>
    <atom:link href="http://www.yourpeakstate.com" rel="self" type="application/rss+xml" />
    <atom:link href='http://pubsubhubbub.superfeedr.com/' rel='hub' />
    <title><![CDATA[{channel_name}]]></title>
    <link>{site_url}</link>
    <description>{channel_description}</description>
    <dc:language>{channel_language}</dc:language>
    <dc:creator>{email}</dc:creator>
    <dc:rights>Copyright {gmt_date format="%Y"}</dc:rights>
    <admin:generatorAgent rdf:resource="http://expressionengine.com/" />

{exp:channel:entries channel="blog_post" limit="10" dynamic_start="on" disable="member_data"}
     <item>
       <title>{exp:xml_encode}{title}{/exp:xml_encode}</title>
       <link>{page_url}</link>
       <dc:creator>{author_name}</dc:creator>
       <pubDate> {gmt_entry_date format="%D, %j %M %Y %H:%i:%s %Q"} </pubDate>
       <guid>{page_url}#When:{gmt_entry_date format="%H:%i:%sZ"}</guid>
       <description><![CDATA[<img src="{main_post_image}" alt="{post_title} - Your Peak State"> {blog_content_1} {blog_content_2}]]></description>
       <dc:subject>{exp:xml_encode}{categories backspace="1"}{category_name}, {/categories}{/exp:xml_encode}</dc:subject>
     </item>
{/exp:channel:entries}

    </channel>
</rss>

{/exp:rss:feed}

Here is validation error: https://validator.w3.org/feed/check.cgi?url=http%3A%2F%2Fwww.yourpeakstate.com%2Frss%2Farticle-feed

I might be blind though as I've been looking at this for the past 2 hours...

It Tells me this should be the output:

<pubDate>Wed, 02 Oct 2002 08:00:00 EST</pubDate>
<pubDate>Wed, 02 Oct 2002 13:00:00 GMT</pubDate>
<pubDate>Wed, 02 Oct 2002 15:00:00 +0200</pubDate>

But this is the output I get:

<pubDate>Thu, 06 Aug 2015 17:50:00 +00:00</pubDate>


texts: CartThrob: conditionally display info based on payment gateway on order confirmation page

texts:
I am trying to display different information on the order complete page, based on the used gateway. I have something like this at the moment:

{if authorized}

    {if {payment_gateway} == ct_offline_payments}

    Display this

    {/if}

    {if {payment_gateway} == paypal_express}

    Display that

    {/if}
{/if}

This however results in both blocks being displayed. I tried a lot of differnt syntax variations, some resulting in displaying nothing at all, some in displaying both and I just can't get it right.

Any ideas? Thanks and Cheers,

Marc

EDIT/UPDATE:
Thanks Alex, but unfortunately this isn't working for me.

I have this code right now:

{!-- set the page layout --}
{stash:embed:layouts:standard}

{exp:stash:set name="page-title" parse_tags="yes"}Bestellung abgeschlossen. Vielen Dank für Ihren Einkauf bei FOXGEAR!{/exp:stash:set}

{exp:stash:set name="body_id"}abgeschlossen{/exp:stash:set}

{!-- main page variables --}
{exp:stash:set name="maincontent" parse_tags="yes"}

{if no_results OR segment_4!=""}{redirect="404"}{/if}

                    {exp:cartthrob:submitted_order_info dec_point="," thousands_sep="."}

                    {order_payment_gateway}

                    {if order_payment_gateway == "ct_offline_payments"}
                        Offline
                    {if:elseif order_payment_gateway == "paypal_express"}
                        PayPal
                    {if:else}
                        Other
                    {/if}

                    {/exp:cartthrob:submitted_order_info}

{/exp:stash:set}

And the rendered page outputs this (in content div):

  {order_payment_gateway} Other

That's it. Nothing else (header and footer working fine). :(


texts: Matrix Multi-Upload does not populate Matrix rows

texts:
Just installed Matrix & Matrix Multi-Upload but cannot get it to work on my EE system.

Installed EE Version: 2.5.2

The fields have been created as instructed but the images dont seem to populate the rows of the Matrix field once uploaded.

Need some help... thanks Corey


texts: Updating ExpressionEngine 2.6 add-on variable PHP code for 2.11.6 compatibility

texts:
I'm having a little trouble updating a new client's pre-existing website from EE2.6 to 2.11.6. A now defunct add-on needs a few updates to work correctly with post 2.6 code formatting.

After some Googling I have replaced lines such as this one...

$this->EE->cp->set_variable('cp_page_title', lang('rsvp_email_attendees'));

with a 2.11.6 compatible equivalent, i.e.

$this->EE->view->cp_page_title =  lang('rsvp_email_attendees');

However, as a non add-on developer this particular part of the code has thrown me. Can you provide a suggestion as how I should format the following lines please.

$this->EE->cp->set_variable('cp_page_title', $data['event']['title']);
return $this->EE->load->view('event_details', $data, TRUE);

The "$data" part in the first line has thrown me, so I don't know how to format this correctly, and presumably it's being called in the second line.

Help greatly appreciated!


texts: CartThrob: Cannot access information in {exp:channel:entries channel="orders"} tag?

texts:
I am trying to display information in CartThrob's "orders" channel, but cannot seem to do so. I am able access other channels' information as expected with EE's channel:entries tag pair (including other CartThrob channels), but as soon as I enter "orders" as the desired channel, everything disappears. I'm not employing any crazy conditionals or anything. It's pretty straight-forward:

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

            #

            Buyer

            Deliver To

            Gift Message

            Options

            {title}

            {buyers_name}

            {recipients_name}

            {gift_message}

            <button>Print</button>

{/exp:channel:entries}

Can anyone help me understand why this is happening and how I can output this channel's information? I assume I'm missing some sort of setting somewhere, but a search through CartThrob's documentation hasn't unveiled anything.

Thank you!


texts:
i'd like to use devdemon channel images on amazon s3 hosts but i need to dynamically resizing images on http requests.

i need something very similar to the google cdn:

for example, adding the =s paramter to scale the image i get the needed image

http://lh6.ggpht.com/VMLEHAa3kSHEoRr7AchhQ6HEzHVTn1b7Mf-whpxmPlpdrRfPW216UhYdQy3pzIe4f8Q7PKXN79AD4eRqu1obC7I=s200

do you know if there's similar options on amazon s3? i've looked inside docs, support sites and forums but i was not lucky, too much informations and nothing clear for me (i'm not a expert developer).

or there's a way to use channel images with google cdn in a simply way like as s3?

please, if you know how to do it let me know, thank you
Valerio


texts: Matrix Pagination 'next' link links to empty page

texts:
Sorry, new code.

I have created a new channel - gallery. This channel has 4 custom fields - {gallery_page_heading}, {gallery_sub_heading}, {gallery_image} and {gallery_page_content}, {gallery_image} being my Matrix field. I also have a new template - gallery_page.

The code in my gallery_page template is as follows:

{embed="includes/site_header"}

{embed="includes/brand_and_nav"}

        {exp:channel:entries channel="gallery" limit="1" disable="categories|category_fields|member_data|pagination"}

{gallery_page_heading}

{gallery_sub_heading}

You are here: {exp:structure:breadcrumb inc_here="yes" here_as_title="yes" add_last_class="no"}

{title}

            {gallery_page_content}
        {/exp:channel:entries}

        {preload_replace:rows_per_page="3"}
        {exp:channel:entries channel="gallery" url_title="{segment_3}" dynamic="no"}
            {if gallery_image}

                    {gallery_image offset="{segment_4}" limit="{rows_per_page}"}

                    {/gallery_image}

                {if segment_4 > rows_per_page}

                    Prev

                {/if}

                {if "{gallery_image:total_rows}" > "{exp:simple_math calculate='{segment_4}+{rows_per_page}'}"}

                    Next

                {/if}
            {/if}
        {/exp:channel:entries}

        {embed="includes/site_sidebar"}

{embed="includes/site_footer"}

The images display on the page as they should, the 'next' pagination link displays when it should but it still links to an empty page. The gallery is currently held at www.example.com/development/nails/gallery-test/ and when the 'next' link is clicked the url changes to www.example.com/development/nails/gallery-test/3. This page doesn't exist though and doesn't show the remainder of the images.

Thanks again for your help!


texts:
A PHP Error was encountered
Severity: Notice
Message: Undefined index: config
Filename: wygwam/helper.php
Line Number: 535
A PHP Error was encountered
Severity: Notice
Message: Undefined index: config
Filename: wygwam/ft.wygwam.php
Line Number: 430

How can I resolve this?

I upgraded EE to 2.5.5 and Wygwam to 2.6.3. It is an MSM site.

The problem persists after visiting the settings page.


texts: Channel Entries API / Open API round or square brackets inconsistencies when accessing variables

texts:
I'm having a bit of trouble getting Open API to work with EE in conjunction with the Channel Entries API. It seems to be a similar problem to this question:

https://expressionengine.stackexchange.com/questions/10933/open-api-500-internal-server-error

So pulling data with GET is fine, but POSTing data returns 500 errors.

The trouble seems to stem from using square brackets or round brackets to access session data. Open API uses the following format:

$this->EE->session->userdata['group_id']

Whereas EE in the channel entries API uses this format with the round brackets:

$this->EE->session->userdata('group_id')

I went through and edited all references with round brackets in /libraries/api/Api_channel_entries to the square brackets and that fixed the issue with Open API. I was able to GET and POST just fine.

But it messed up everything else with publishing entries via the EE control panel or with Safecracker.

Does anyone have any insight into the difference between accessing data in these 2 ways and how it might be affecting things? I'm not sure whether its an EE problem or PHP issue.

I'm running a local install of EE 2.5.2 with PHP 5.3.15 and I've also tried a fresh install of 2.6.1 and had the same issue.


texts:
I just migrated a site from the development server on MediaTemple (gs) to the production server on EngineHosting (shared). The front-end of the site displays fine (except some random images aren't displaying), but I get white-screen of death after logging-in to the control panel. My system folder is above web root and I'm using Focus Lab Master Config. Here's what I've tried so far:

I cleared the cache before migrating.
I've enabled debugging in config.env.php, index.php, and admin.php, but no errors display.
I've cleared my .htaccess file.
I checked that my cache folder has 777 permissions.

Not sure what else to try at this point, though I suspect Master Config is the culprit. Suggestions?

EE 2.5.3

UPDATE: After suggestions from @Tyssen and @jackmcpickle, I removed Master Config, which revealed an extension error. So I disabled extensions via config.php and the Control Panel is displaying. But if I go to the extensions page, only the 1st party extensions show up, so I can't enable/disable 3rd party extensions one by one. What could be causing that?

UPDATE 2: The reason I couldn't see my 3rd party extensions is because my third_party_path config var was wrong. Unfortunately, once I fixed the path, I got WSoD in the CP again, even with extensions disabled. So we're back to square one again.


texts: Converting spaces in file_url with CE String

texts:
Using the Grid we've have a project where a large number of files have been uploaded with spaces in the file names. We want to encode the URLs so the files can be downloaded.

To try to solve this we used CE String and {exp:ce_str:ing urlencode}{file_url}{/exp:ce_str:ing} but it doesn't seem to fix the issue.

Allow PHP is set to Yes and Parsing Stage is Output.

Any suggestions or alternatives would be greatly appreciated.


texts:
Does anyone know if it's possible to batch print invoices from the Orders screen in the CP on Expresso Store? At present my client has to click on "Details" for every order and then click print. This is obviously time consuming when they receive 100s of orders.

I have searched for plugins that may do this but couldn't find any. Just wondering if I missed something in Store or if there is a plugin available?

They are using Store version 2.4.1


texts: ExpressionEngine - Zoo Visitor Plugin Questions

texts:
This is more of a question before I buy as I can't find any answers online and would like feedback from people who use it.

A client wants to create a member's only section where they can download files and also only access a secure "news" section that's just for members to view. Is this possible with this plugin?

I see that the documentation speaks about member profiles etc but I couldn't find any info about using it to create custom systems?

Thanks for any info/advice,
Andy


texts:
Assume there are 10 separate EE installations: each installation is on its own domain (possibly with its own hosting), its own database, etc. Assume further that they have a particular Channel that is identical across all 10 sites (e.g. a "Products" channel that has the following fields: name, description, category, price).

Is there a way to develop a separate site that can list all 10 sites' Products entries? And is there a way to allow a user of this new site to be able to search across the 10 sites (e.g. find all Products that are category "toy" order by price)?

Say MSM is not an option.


texts: Is it possible to access videos in a Vimeo pro or plus account that have been flagged as private/domain restricted?


texts: Updating Admin preferences and a 1054 Error

texts:
Here's what I get when I try and update anything in admin...

A Database Error Occurred
Error Number: 1054

Unknown column 'used' in 'where clause'

UPDATE `exp_security_hashes` SET `used` = 1 WHERE `used` = 0 AND `hash` = '746210f63c79d55cea1189dff211bcd41e498ccd' AND `session_id` = '34720b679f2886c6fd3e45071c2f9a20482f4a53' AND `date` > 1378217984

Filename: core/EE_Security.php

Line Number: 169

Just tried upgrading from 2.6.1 to 2.7


texts:
I found this EE Bootstrap unit:
https://github.com/blocka/ExpressionEngine-Bootstrap

It "bootstraps" the EE environment, so you use the EE "super object". However, I'm running into problems trying to use it with EE 2.5.2.

I have set my system_path as required. The script is trying to include Compat.php, which isn't  in 2.5.2, so I comment out that line. The script is also trying to include Base5.php, which also is not in 2.5.2, so I comment out that line.

Now, when running, I get an exception: "Class 'Controller' not found" at this line

class A extends Controller {

Any ideas how to fix this for 2.5.2?

Here's the source code that I have:

<?php
if (!isset($system_path)) {
    $system_path = './na_cms/';
}

$assign_to_config['enable_query_strings'] = TRUE;
$assign_to_config['subclass_prefix'] = 'EE_';

if (realpath($system_path) !== FALSE)
{
    $system_path = realpath($system_path).'/';
}

// ensure there's a trailing slash
$system_path = rtrim($system_path, '/').'/';

define('SELF', pathinfo(__FILE__, PATHINFO_BASENAME));
define('EXT', '.php');
define('APPPATH', $system_path.'expressionengine/');
define('FCPATH', str_replace(SELF, '', __FILE__));
define('SYSDIR', trim(strrchr(trim(str_replace("\\", "/", $system_path), '/'), '/'), '/'));
if(!defined('UTF8_ENABLED')) define('UTF8_ENABLED', false);
if(!defined('CI_VERSION')) define('CI_VERSION', '2.0.1');
//define('AJAX_REQUEST',false);
define('DEBUG',false);

require(BASEPATH.'core/Common'.EXT);
// require(BASEPATH.'core/Compat'.EXT);
require(APPPATH.'config/constants'.EXT);

$CFG =& load_class('Config', 'core');
$URI =& load_class('URI', 'core');
$IN =& load_class('Input', 'core');
$OUT =& load_class('Output', 'core');
$LANG =& load_class('Lang', 'core');
// require(BASEPATH.'core/Base5'.EXT);

$loader = load_class('Loader', 'core');

// Load the base controller class
require BASEPATH.'core/Controller'.EXT;

class A extends Controller {

}

$EE = new A;
$EE->core->_initialize_core();


texts: expression engine giving error - config file not formatted

texts:
I am new to expression engine. I have installed expression engine using my own created theme.

But when I am trying to install, it is giving error as "Your config file does not appear to be formatted correctly." http://bit.ly/1mtOlTC

What I did :-

I have installed fresh copy of expression engine at local and then created theme after that on server, I have again installed expression engine but copied the theme to site_themes folder ad then installed using the server host, db and username. But it is giving the error stated above.

Any help is really appreciated.


texts:
I'm using Solspace Calendar and this code for showing single events...

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

and it works find for showing events in the future, however for past events it's showing No Results.

The past entry status are Open and there is no expiration date.


texts: Converting standard file field to an Assets field with a remote source

texts:
I have about 250 blog entries, each with a standard EE file field that points to a file on the same local server EE is running on. I've installed the Assets add-on and set up an external source (an Amazon S3 bucket). I converted that standard file field to an Assets field pointing at that S3 bucket and it's working beautifully!

When creating a new blog post the file uploads to S3 without a hitch. Now onto the old posts:

What I need to do is to tell the Assets field to look for the image on S3 and not in the local filepath. I can manually move those images into place on S3, but I don't know what to do on the EE side to update the DB so Assets knows where to look.

Suggestions?


texts:
I have set up my site in ExpressionEngine and I am trying to create a sticky navigation menu which indicates the section of site the user is on. Click Here for example when the user click on about the site scrolls down to about and the about stays in its hover state. I have incorporated the following but it doesn't seen to be working.

home

about

roster

clients

contact


texts: Parent Relationship and Channel Category Archive

texts:
I am still not 100% familiar with the newer relationships method added in 2.6 and I am wondering if I can get the Channel Category Archive Tag {exp:channel:category_archive} working with a parent relationship. It's for the table of contents of a monthly magazine, and I want the category heading and the entries listed below. The parent being the issue number.

Something like:

Category

Article 1
Article 2

Category

Article 3
Article 4

I've been playing with various combinations and no luck:

{exp:channel:entries channel="print_editions" disable="pagination" limit="1"}

  {exp:channel:category_archive channel="articles" style="linear" show_empty="no" status="not closed"}
    {parents}

{parents:categories}{category_name}{/parents:categories}

        {parents:entry_titles}

{parents:title}

        {/parents:entry_titles}

    {/parents}
  {/exp:channel:category_archive}
{/exp:channel:entries}


texts: Passing an embed variable in a parameter of a tag

texts:
I don't think that the parse order would make this code below work

{exp:channel:entries
  entry_id="{embed='common/.get-entry-id-based-on-some-complex-logic'}"
}

Is there a way to make embed tag be parsed first before the {exp:channel:entries} is parsed?

If not, what are alternative ways to this(Snippets can't be used if in this case if I am not mistaken)?