texts: Is there a way to add logic operand to the search parameter?

texts:
I am looking for a way to isolate entries based on a  {event_time_start} and {event_time_end} custom field. For instance the first one contains 930 as a value and the second one 1200 meaning the event start at 9:30 and ends à 12:00.

I am trying to display which event is on right now by doing something like :

search:event_time_start="<930" search:event_time_end=">1200"

But this outputs sweet nothing. I had a look at this entry about the search param and I see there is no support for < and > but I was wondering if an extension / add-on / something would support add this feature.


texts: How can I create a link to display entries filtered by a channel field?

texts:
I need to create links to display job listings by 1) job type (a channel field) or 2) salary range (also a channel field). The salaries are single integers.

I also need to display the search above the results, for example, "Listings: Executive Jobs," or Listings: $75k to $85k Jobs."

I've struggled with this all day and can't find a solution. :(

Is this something that can be done natively within EE or do I need something like Low Search?

Any help would be greatly appreciated, thanks in advance.


texts: Stash: get_list do not show some entries

texts:
So, have a exp:stash:set_list chock full of entries, I'm using them all over the site and on this one I need to show a limit of 3 (simple), random (simple) BUT we need to not show some entries.

This would be how I'd go about it if stash worked like EE but I know it wont work, wondering what sort of regex would be required.

//I know this will fail
{exp:stash:get_list name="prod_list" limit="3" orderby="random" scope="site" match="not 32|244|2|66" against="entry_ids"}
… show the stuff
{/exp:stash:get_list}


texts:
I have a site that has failed PCI compliance due to an older version of PHP. I need to upgrade the PHP install but need to know if Expresso Store v2.5.1 is compatible with PHP 7?

Thanks for any help.


texts:
I have a site that's running EE 3.3 and I'm trying to change it to include the SSL certificate that's just been installed on the server.

I normally can change the config or the URL settings to include the https and then update the .htaccess to force https on all the urls. However when I try this the site just gets caught in a loop.

I've tried removing everything out of the .htaccess and then trying but it then redirects back to the http.

I've also set up a plain html test page outside EE and I can access that if I go to it but if I then visit the website and then go back to the test page it redirects back to the homepage.

Going round in circles so would appreciate any help.

Thanks in advance.


texts: Channel entries fields in a list of checkboxes, with Freeform (or any other solution)

texts:
I have a website running EE 2.5.2 with Freeform Pro 4.0.6. The website is about events people can subscribe to. Freeform is currently used to subscribe to one event. All events are (of course) entries in a channel field.

I’m looking for a way my users can use a select multiple events from a list of checkboxes and do a ‘multi-subscribe’.

In Freeform, I found the ‘checkbox group’ field with ‘load from channel field’ option. But it just displays a list of titles. I would like to (at least) also include a date and order the choices by date. Possibly I’d like to also include a category field.

Any help, ideas or examples are appreciated!


texts:
I have recently moved my site to EE5 and I am trying to setup memcached caching. My host has setup memcache and the php extension and its listed in php info.
My hosts has given me these details

 array(
'host' => '/tmp/memcached.sock',
'port' => 11211,
'weight' => 1,
)

and I  have added them to the config file like this

$config['memcached'] = array(
  array(
    'host' => 'tmp/memcached.sock',
    'port' => 11211,
    'weight' => 1,
  )
);

However, when I select 'Memcached' as my caching driver, EE displays the error message "Cannot connect to Memcached, using File driver instead".

I also saw in the EE docs that you add the server ip or local host to the host section but that didnt work either
memecached config overrides

What is the correct syntax for my config file to get this to work?


texts: Freeform (Pro) and Multiple Site Manager

texts:
I just dropped my Freeform (Pro) form code into a template in a second site running on Multiple Site Manager. It's not rendering, and a peek in the Control Panel for site #2 shows no fields or forms.

This form is a duplicate of one set up for the main site, so I'm happy to see the submissions reside there, and for it to follow the settings there.

Is it possible to leverage the default site's Freeform setup? Or do I need to reproduce this in site #2?


texts:
Do you know if it's possible to redirect to a specific 404 page when a template group isn't found rather than just show the 404 with the incorrect url?

For example,

If I go to example.com/nonexistant-templategroup/ I need it to redirect to example.com/404/ rather than stay as /nonexistant-templategroup/ showing the 404 template.

Cheers


texts: Expresso Store PHP Error when login into the CP

texts:
I'm using Expresso Store 2 with the latest download of 2.2.0 and using EE version of 2.7.2.

When log into the CP and then try and view the site I get a PHP Error page with the following lines:

A PHP Error was encountered
Severity: Warning
Message: include(/Users/grahamcopekoga/Documents/sites/vintageceramics/fukuoka/expressionengine/modules/member/mod.member_register.php): failed to open stream: No such file or directory
Filename: composer/ClassLoader.php
Line Number: 269

AND THIS:

A PHP Error was encountered
Severity: Warning
Message: include(): Failed opening '/Users/grahamcopekoga/Documents/sites/vintageceramics/fukuoka/expressionengine/modules/member/mod.member_register.php' for inclusion (include_path='.:/Applications/MAMP/bin/php/php5.4.10/lib/php')
Filename: composer/ClassLoader.php
Line Number: 269

AND THIS:

Fatal error: Class 'Member_register' not found in /Users/grahamcopekoga/Documents/sites/vintageceramics/fukuoka/expressionengine/third_party/store/src/Store/Service/MemberService.php on line 23

I'm on a test server running MAMP. When I log out of the CP I can view the site, so its a login in issue with Store.

Does anyone know why?

Many thanks in advance.


texts: EE.com downloads of old versions corrupted

texts:
I have an ancient site running EE 2.9.2. We're in the middle of a redesign, but it won't be ready before our host shuts off PHP 5.6 support. And PHP 7 support was added between 2.9.2 and 2.11.9.

I have two EE2 licenses on expressionengine.com, but when I download them, I get a 1 KB .zip file that doesn't open. Archive Utility chokes on it, BetterZip chokes on it, and I even downloaded WinZip for Mac, which says "End-of-central-directory signature not found." and then crashes.

Is this a known issue? Is there any way to get a working download of EE 2.11.9?


texts: Partially Displaying Checkbox Options Based on Tab

texts:
This is somewhat a follow on question to Grouping Channel Fields

Say I have a checkbox field that has 100 options. I'd like to show about 20 options only when in a certain tab, then the complete 100 when in a different tab. Basically, the 20 options are the most common choices. Having the 100 options fully displayed in another tab gives the user the option to select the not so common choices, if needed.

Any way to do this (or something like this)? It wont be good if I show 100 options -- especially since I have several checkbox fields like this.


texts: Expresso Store Product Tag returns empty - including all template HTML

texts:
Silly question here I'm sure -- created a new channel for products on a pre-existing EE/Expresso Store install. I'm using code that easily displays products for the old channels, but seems to be breaking on this new template. Here's the template's tags --

{exp:channel:entries channel="mounts" limit="1" dynamic="no"}
 {exp:store:product entry_id="{entry_id}" return="/ordnance/store-checkout"}

Any items placed in between the product tag and its closer is omitted from the resulting page. I was thinking that maybe there was a breakdown from the prior page sending the proper entry_id, but if I move the product tag down further in the code (to say, wrap only the "Buy Now" button), the proper product and associated fields are in fact displayed on the page.

So, essentially, the product tag is encountering an error and causing all wrapped content to not be displayed, as well as the modifiers included there.

A couple of notes that might help: 1) this is the first channel to be displayed on this site under a new template group. In other words, all other products/channels were displayed at

  xxxx.com/firearms/all-old-product-channels/product-page

And this new channel is being displayed at

  xxxx.com/ordnance/new-channel-/product-page

& 2) That's the reason I through the dynamic="no" into the entries tag.

Sorry for the poorly formed question, but it's my first here. Your help is greatly appreciated!


texts: upgrading vanilla EE from 2.5.3 to 2.6.0 Fatal error: Call to undefined function function_usable()

texts:
Help!

I upgraded to 2.6, with no issues during the upgrade process. I can see my site fine. When I try to login to the control panel, I am able to see and use the authentication (username and password), but then see this error:

Fatal error: Call to undefined function function_usable() in (path here)/system/codeigniter/system/libraries/Email.php on line 1761

Any ideas or suggestions to fix?

Warmly,

Bill


texts: CE String outputting global variable tag minus "{ }"

texts:
I've got a page behind a login that I have various member groups set up for.

Depending on the member group, I want the link in the Downloads section to go to a different page: e.g. Contractors member group will go to /downloads/contractors, Students member group will go to  /downloads/students etc.

When I use my global variable for {group_title} in my page, it outputs "Contractors".  Ideally it should output "contractors" in my link because if a member group has more than one word my URL isn't valid.

I tried wrapping {group_title} in CE String but it just outputs "group_title" into my HTML without the braces.

Here's my code:

{exp:ce_str:ing url_title}{group_title}{/exp:ce_str:ing}


texts: Spam Bot Member Registrations in ExpressoStore

texts:
I am running Expresso Store on the following site: https://peopleplacestraining.org

Everything seems to be working well, except for one thing…we're getting several spambot user registrations a day from the member registration portion of the checkout form.  They're not even going through the order process - they're somehow creating members through the backend.

I have Snaptcha enabled on our site, but because the form used by Expresso Store is not the kind of form Snaptcha seems to recognize, it doesn't work. It just gives the error message even though I'm testing the form as a legitimate user, and have verified that Javascript is enabled.

Next, I tried adding two hidden fields and using PHP to render an error message and a blank page (instead of the order confirmation screen) if those two fields are populated, but I couldn't get it to render the page correctly (it was either totally blank or showed both the error message AND the order confirmation page).

Can someone please explain to me how I'm supposed to prevent Spambots from registering as members on my site using your product?  Shouldn't this be a little more secure?


texts: Dynamic navigation on an MSM setup using {site_url}

texts:
I have an MSM setup where the primary site is the "main" site in EE and the subdomains are all sub-sites in EE. I have built out the primary navigation in the main site, but I don't know a good way to keep the primary domain as the first segment when needed.

So in all of my sub-domain sites, I use the following:

{embed="main_site:includes/.nav_main"}

And in that .nav_main, I have this:

Home

That reads different on each sub-domain because they are all a "site". Some of the sub-domains will have their own navigational elements so {site_url} works fine for them when/if I needed to use it.

It would be nice to be able to do something like:

{site_url:site_name} or {msm:site_name:site_url}

Is there a plug-in, add-on, or native functionality I am missing?


texts: How can I share templates files between sites in EE5?

texts:
We used to have a template path setting for sites with MSM.
Now that setting seems to be gone, how can we share a single set of templates used by two or more sites ?


texts: Channel Preferences : Email Address of notification recipients

texts:
Is there a way I can set this dynamically?

I have users submitting channel entries from the front end via a Channel Form. I would like to route the notification email to a recipient the user chooses from one of the form fields.


texts:
Im trying use some form of source control with EE.

I cannot clearly see a way to decouple the database from the templates and other structures, as would be the case in a most CMSes. Creating channels and any specific entities seem to 100% tied to the database.

Has anyone been able to fully source control an ExpressionEngine installation and all of the application entities?


texts: How Do I Integrate a Datepicker On a Custom Field Within a Channel Form?

texts:
I've been searching high and low and have been unable to find a basic guide for including the EE datepicker on a custom field in a Channel Form.

What code do I need to add to the following to add a datepicker to the input field?

    {exp:channel:form channel="event_public" return="/" datepicker="yes" }
...
      Date*

      <input type="text" name="event_date" id="event_date" value="{event_date}" maxlength="23" size="25">

...
    {/exp:channel:form}

Thanks!

Randy


texts: ip_to_nation not working with ip_address

texts:
I've set up ip_to_nation like the user guide says to do it:

{exp:ip_to_nation:world_flags image_url="http://example.com/images/world_flags/"}
    {ip_address}
{/exp:ip_to_nation:world_flags}

But this won't output anything. However, if I hard code the IP address in there, it'll work:

{exp:ip_to_nation:world_flags image_url="http://example.com/images/world_flags/"}
    66.85.128.185
{/exp:ip_to_nation:world_flags}

Any ideas why this might be?


texts:
I have a client that I am implementing Exp:resso Store for. The client does not keep the items for in stock but rather orders them directly from the supplier once an order is placed and the supplier ships directly to the customer. Does anyone know if Exp:resso Store has such a capability to send order confirmations to the supplier once the customer has placed the order and payment is confirmed? This capability would also need to be able to bundle all items from an order to a single supplier if it so happens as client wouldn't want the supplier to get multiple requests for the same order.

Thanks


texts: How can we post Same content on each site in Expression engine

texts:
1
down vote
favorite

I am using Expression engine Multiple site management system I have developed three site using this are :-

1)www.exampleone.com
2)www.exampletwo.com
3)www.examplthree.com

Now I want to post data of www.exampleone.com to another two website listed above,everything is ready i am able to post data on theses three website separately but I want to post data of first site to other two. Channels and channel fields of three sites are same.

Thanks in advance.


texts: Exp:resso Store not returning to correct URL from PayPal

texts:
EE 2.5.3 and Store 1.6.1

I have an issue where it looks like PayPal is not returning the customer to the correct specific Exp:resso Store order confirmation page after successful PayPal Express payment.  This is odd as I tested this installation with no problem, it seems to have just recently started occurring.  It happens with either PayPal account payment or credit/debit card.  The page where it returns the customer to is (wrongly) http://www.example.com/about . The PayPal account 'Auto Return' setting is 'off' as I suspect the return URL should be passed to PayPal by Store.

Here is the EE template code for the final /checkout3 page before transfer to PayPal:

{exp:store:checkout
    form_class="form-horizontal"
    return="music/order/ORDER_HASH"
    error_handling="inline"
    payment_method="paypal_express"
    error_delimiters='|'}...

Here is the code generated:

<form action="http://www.example.com/music/checkout3"; method="post" id="" name="" class="form-horizontal" data-order-total="10" >

<input type="hidden" name="return_url" value="music/order/ORDER_HASH" />
<input type="hidden" name="payment_method" value="paypal_express" />
<input type="hidden" name="ACT" value="20" />
<input type="hidden" name="RET" value="music/checkout3" /> ...

Thanks a million for any help!


texts: Showing information based on an entries category

texts:
I'm trying to display some information based on the category an entry is in, however I can't get my head around it… If the entry is in more than 1 category it'll still show the information, how do I make it work so if category_id is selected at all it'll not show the information? Here's my current code:

{exp:channel:entries channel="courses" category="2"}
  {categories show_group="2"}
    {if category_id != "2"}
       {course_start-date format='%d %M %Y'}
    {/if}
 {/categories}
{/exp:channel:entries}


texts: Advanced conditional & Low Variable parse order

texts:
I need to use an advanced conditional with Low Variables and am having trouble getting it to work. I believe it's a parse order thing but am not sure how to get around it.

I am checking the current date/time against 2 Low Variables to see if the current date/time is in between 2 variables.

{if '{current_time format="%F %d - %g:%i %a"}' >= '{date_start}' AND '{current_time format="%F %d - %g:%i %a"}' <= '{date_end}'}
Show some content
{/if}

date_start & date_end are the Low Variables & I have both of them set to parse early.

Any help is appreciated.


texts: Problem calling a specific channel entry using segment_1 and page module

texts:
Ive looked at many Switchee questions here, but can't find out why my channel entry id's aren't being called in an embedded template. Switchee is working (with text for test), but Im obviously making a mistake with how Im calling the channel entries.

{exp:switchee variable="{segment_1}" parse="inward"}
{case value="page-one"}
{exp:channel entries channel="assorted_content" disable="member_data|trackbacks|pagination|categories" limit="1" entry_id="49"}
page one body content...
{/exp:channel:entries}
{/case}
{case value="page-two"}
{exp:channel entries channel="assorted_content" disable="member_data|trackbacks|pagination|categories" limit="1" entry_id="42"}
page two body content...
{/exp:channel:entries}
{/case}
{/exp:switchee}

I dont see why the entries aren't being parsed. Ive tried with all the content in one page (without using an embedded template) and it works. What's wrong?


texts: Wygwam, channel entry form, and HTML character entities

texts:
I think it started about the time I updated to EE 2.8, but I'm not sure. It could have been a Wygwam update too.  In any event, my channel entry form featuring a Wygwam field has stopped working when certain characters are used. Here's one that reliably causes the problem:

& # 3 9 ;

(Spaces added because it was converting to the ' character when posted.)

Basically, I submit the form and it just works and works and works, and eventually just loads a blank white page with no content and the entry isn't added.

There are no problems when adding an entry through the admin, however.

Any ideas?


texts: Noticed this particular issue with a site. I am currently using EE 2.7.3 and whenever I try doing a search under the "EDIT" section in the search field, I get a spinning wheel of death. Nothing happens.


texts: Extending Exp:resso Store for member categories: Right ideas? Which hooks?

texts:
The site I will be building soon will require permissions for various parts of the site, documents, videos, etc. I am planning on using Zoo Visitor & Categories to simulate multiple member groups. I'm planning to use Exp:resso Store to somehow be the means of purchasing products and applying categories of the products to the member, too, upon purchase.

Has anything like this been done? If not, what hooks would I use to check a product's category/categories so I might apply it to a member?

Also the price of a product may be dependent on permissions/products the member already has, so say if they have Product A, they can get Product B at a discounted price, or if they have any number of the following products they automatically get Product X. To accomplish this and other types of discounts I'm thinking of using another Channel (e.g. a "Price Modifier Channel") that links products together via Playa fields and a field with the discount type/value. At some point a custom add-on will go through all related entries of a product to see if any discounts are applicable, if so, apply them (price modifiers can be made up on the fly, right?).

I just wanted to see if I've got the right idea to proceed with, regardless, I'm open to suggestions.

Also it's not very clear which of Store's hooks I'd be using to do any of these things. I guess since the template is in charge of presenting the product along with price modifier it could just be in the custom add-on itself via a module, no need for hook?

Sorry I couldn't be any more brief/specific, not my forte. Thanks.


texts: Fatal error EE::clean() - Discussion Forum

texts:
Fatal error: Call to undefined method EE::clean() in /system/expressionengine/modules/forum/mod.forum_core.php on line 6427

$temp['answer'] = ee('Security/XSS')->clean($val);

Any pointers?

Using:
Discussion Forum v3.1.22
EE v2.11.9


texts:
I have a Channel Form set up which is working fine and inserting entries into a Channel with the default status.

Now there is a requirement to allow the status to be changed when creating the entry via the Channel Form but for the life of me I can't get it to work.

I have tried using the Channel Form {status} tags and also tried hardcoding the select drop down but no matter what I do the default status is applied.

Here's the EE tag version

<select id="status" name="status">
{statuses}
    <option value="{status}"{selected}>{status}</option>
{/statuses}
</select>

And here's the HTML

<select name="status">
    <option value="Pending">Pending</option>
    <option value="Approved">Approved</option>
    <option value="Declined">Declined</option>
</select>

The only thing I can think of is that I'm trying to set a custom status and not the normal "open" or "closed". Even using standard "open" and "closed" (via the EE generated drop down) doesn't work.

The site is using EE 2.9.0.

Has anyone run into this problem?


texts: How do I implement EE security best practice with vhost dedicated server

texts:
I was attempting the implement the additional security steps highlighted in the post installation documentation here on a dedicated server.  I came to realize after talking with a Rackspace, my hosting provider, that this document and setup is intended for shared hosting as my vhosted dedicated server is not laid out in the manner described in the tutorial.

Anyone ever accomplished this? Google searches keep turning up dedicated hosting solutions. Rackspace offered a solution of creating an additional folder inside my current folder housing everything and than redirect to this nested folder allowing me to place admin files at the same level, they were not aware of how this would affect EE though.


texts:
I've come across this problems enough times now that I'm curious if anyone has sort of a best practice for it that might be helpful.

I have a channel form page that needs to know if the user has already started the application, and there for allow them to edit it, or if if they haven't create a new one.

A simple enough problem it would seem but one I'm constantly tripped up on

Using Stash I've come up with something that "kindof" works but not really

Basically at the top of the page i look for an existing application by that author, something like this

{exp:stash:set name="app_id" parse_tags="yes" type = "snippet"}
{exp:channel:entries channel="applications" author_id="{logged_in_member_id}" limit="1" status="not Closed"}
   {entry_id}
{/exp:channel:entries}
{/exp:stash:set}

Which will get the entry id of an application if there is one, and return nothing if there isnt.

then for the application itself do something like this

{if {exp:stash:not_empty name="app_id"}}
 {exp:channel:form channel="applications" entry_id="{app_id}" return="step2" }
...
  {/exp:channel:form}
{if:else}
   {exp:channel:form channel="applications" return="step2" }
    ...
   {/exp:channel:form}
{/if}

Currently there are two issues:

i can get the app_id to render in the page but parse order seems to be an issue as the  channel form tag is parsing first and gets an "invalid entry" error, even if its a simple conditional, its always returning false?

{if {exp:stash:not_empty name="app_id"}}{/if}
This method means i have to maintain two copies of the form and just feels messy?

Is there an easier way to do this?


texts: Can one low variable be used across multiple sites (using MSM)

texts: Can 1 low variable be created and used across multiple sites. Or would you have to copy the instance for each site?


texts: Pagination not working for structure pages

texts:
I have my pages setup in Structure in a channel called Products (screenshot).

I'm viewing the listing of products at a URL that looks like:
domain.com/nl/rental-shop/producten/

If I click 'next page' the pagination active link changes, P10, P20 etc get appended to URL but the entries don't change.

Here's my template code:

    {exp:channel:entries channel="product" entry_id="{structure:child_ids}" fixed_order="{structure:child_ids}" disable="categories|category_fields|member_data|trackbacks" paginate_base="/{segment_1}/{segment_2}/" paginate="bottom" cache="yes" refresh="60" dynamic="yes" limit="10"}

{title}

    {paginate}

Page {current_page} of {total_pages} pages {pagination_links}

    {/paginate}

    {/exp:channel:entries}

Any idea why this might not be working?


texts: P&T Dropdown - how to display in Safecracker?

texts:
I have a Matrix that contains a P&T Dropdown field. I'm trying to control the markup generated by the Matrix, so I am trying to follow breaking up a matrix field for use in safe cracker form.
Though the example has a <select> (I'm assuming it represents a P&T Dropdown), it doesn't show how to loop through its list of options. Is there a way to do this?


texts: Help! Unable to save Assets entries in Grid

texts:
Unable to save Assets entries in GridI'm using Assets 2.6 on EE 2.10.2 running with Publisher 1.6.8

I'm able to define Assets fields within Grid fields.

The resulting Asset Fields work insofar as they open Assets and allow the selection of items. However upon saving the selected items are not stored in the Grid field.

Other fields within the Grid work fine, and there are no apparent problems with the rest of the site. Assets entries stored in Matrix fields are fully accessible / work OK: but need to move to Grid as Matrix not being updated to EE3... :(

Editing a Grid with Assets entries previously saved within (created by external importer) results in the entry being deleted (or not saved).

Is this something that has happened elsewhere? Any ideas what I can do about it?

Thx


texts: Does Assets fields work in Calendar (solspace)

texts:
I have an assets field being used inside a {exp:calendar:events entry and the field is not parsing.

is notparsed at all

is parsed as

but is missing the full path.

Is there somethign within Calendar that is not allowing me to use :url:thumb??


texts: Matrix outputting cell names not content and only one row

texts:
Matrix 2.5.6
EE 2.6.1

I've got a matrix field that is behaving strangely. It only outputs one row despite having multiple rows added and then only outputs the cell names.

I've copied and pasted the field name and cell names to the template so that there is no chance of typos, but still it doesn't work as expected. I've also created a duplicate matrix field and inserted content into an entry and it behaves the same. There is however another matrix in the same entry with different content that works as expected.

My template code is below

          {near_hotels}

{hotel}

          {near_hotels}

I've attached a screenshot of the cell settings


texts: is there a way to put javascript and css in the wigwam editor in expression engine?

texts:
I'm trying to put this slider (scroll halfway down the page) into my site, which is built on expression engine using the wigwam editor.

i have the javascript saved here http://whitewashed.richiesiegel.com/slider.js but when i link to it under "source" in the editor the javascript doesn't load.

this is how i am linking it:

<script src="{path="http://whitewashed.richiesiegel.com/slider.js"}" type="text/javascript"></script>

and here is the Javascript (which works fine on non-ee sites)

$(document).ready(function(){
    $("header.image").hide();
    $("header.image").find("img").load(function(){
        $(this).closest("header.image").show(5000);
    });
});

any ideas?


texts:
I am a newbie to EE. I went through the features and looks cool. I am planning to use it for my new project. But I want to know, whether its possible to create a custom page or function in control panel. Say I want to show the list of all users who booked an appointed.
And I want to list them in a new page.
    Also buttons against each list item for specific function. Is it possible, can someone suggest some reference links to do such kind off stuff ?


texts: Limit events in calendar:cal and disable occurrences

texts:
How do i limit the event to like 3 and how do i disable the occurrences? I just want to list main events rather than listing one event with multiple occurrences.

{exp:calendar:cal date_range_start="today" pad_short_weeks="n" dynamic="off" date_range_start="today" date_range_end="+5 days" show_recurrences="no"}
                   {display_each_day}

                {events}

                            {event_title}

{if event_summary  != ""} {exp:ce_str:ing truncate="100"}{event_summary}{/exp:ce_str:ing}{/if}

                            {event_calendar_title} |

                {/events}

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


texts:
Good afternoon,

I have a bit of a noob question here.  I'm learning swift, and I'd like to write an application to access (read only at first) data from my EE3 site.  All the good data I'm hoping to access is locked behind logins for members.

I've read a number of terms, but I was hoping someone might be able to point me in the right direction on what I should study up on first?

REST?  JSON?  AJAX?  XID_CODE?

I understand I'll probably using a swift NSURLSession call along with some authentication.

Really appreciate anyone's thoughts here.

Cheers!


texts:
I'm building a shoe store using Expresso Store. Each product will use product modifiers to specify the sizes and colors that are available for that product. The user needs to be able to search/filter products by these modifiers (e.g. I want a pair of black shoes in a size 12).

Low Search is my go-to search module and looks like it is compatible with Store, but it doesn't appear to support the searching of modifiers.  Likewise, Store's native Search tag doesn't seem to allow searching of modifiers.

Does anyone have any suggestions for how this might be achieved? It seems like the kind of functionality a lot of stores would require - I'm surprised it's not possible.

Thanks for your help.


texts: Conditionally display a relationships field if not empty (native relationships field)

texts:
I am not sure if anyone can help me!

I'm using the following code to display a list of articles and it works, however there are two issues.

The first is the date of each article is the same for each list item, when it should be different.

The second issue is that if the relationships field is empty, I want to NOT display any code, including the H4 tag.

So if there are NO related papers, nothing in the HTMl will show.

I have tried a number of things, maybe I need to use entry id?

Best wishes.

Graham

Related Papers

{exp:channel:entries channel="policy_papers" status="open" limit="10"}
{pp_related_papers}
{if pp_related_papers:count == "1"}

{/if}

{pp_related_papers:title}

by {pp_related_papers:pp_author_one} {if pp_related_papers:pp_author_two != ""}and {pp_related_papers:pp_author_two}{/if} | <time datetime="{entry_date format="%Y-%m-%dT%H:%i"}" pubdate>{date_heading}{entry_date format="%d %F %Y"}{/date_heading}</time>

{if pp_related_papers:count == pp_related_papers:total_results}

{/if}
{if pp_related_papers:no_results}No related entries{/if}
{/pp_related_papers}
{/exp:channel:entries}


texts:
I'm looking for the best multilingual 'tag' approach.

Currently I'm exploring the Tagger addon from DevDemon.
I was thinking about splitting up the tags in different 'language'-groups,
but that doesn't seem like a good solution. Because, when adding/editing an entry...
you would have to add each tag in all the different languages, wich will result in a huge (inconvenient) list.

Has anyone done this before & what was your approach?
Pros & cons?


texts: Javascript error when using Exp:resso Store in a Safecracker entry form

texts:
EE 2.5.5,
Exp:resso Store 1.6.3

The Store Product Details field works fine in the Control Panel, but when using it in a SafeCracker form, I get the following javascript error (from themes/thirdparty/store/cp.min.js):

Uncaught TypeError: Object [object Object] has no method 'sortable'

Here's the template code I'm using:

{exp:safecracker channel="signups" entry_id="18" return="foobar" }
    {field:product_details}
{/exp:safecracker}

Is there anything else I should be doing to get Store to work with SafeCracker?


texts: How can I get the template name in the template?

texts:
I am trying to pass the template name in my  tag and wanted to do something like this:

<html id="template-{template_name}">

Any idea how to get the name of the template? Thinking aloud it'd be cool to also maybe suffix the template group as well. So a template embeds/_foo would return "embeds-_foo" ideally?


texts: How to relate 2 channels / parent relationship fields HELP

texts:
can someone help me get my head around a relationship field / parent? I have 2 channels. Clinic and People. The people channel has a relationship field to the clinic they work at.
When I am displaying the clinic channel I want to display the people that work there. This is not working:

Channel: Clinic Field: Title

Channel: People Field: {member_clinic} relationship field to Clinic

{ exp:channel:entries channel="clinic" limit="1" dynamic="yes"}
Clinic Name: { title }
People at this clinic: {parents channel="people" field="member_clinic"}

                                        {parents:title}

{parents:member_lastname}

{parents:member_firstname}

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


texts: Stash and List Pagination - custom links?

texts:
In considering using a Stash list in order to get custom ordering of Previous/Next entries, I see that the docs provide only limited tags to use in the pagination function:

    {previous_page}

Previous Page

    {/previous_page}

Are the other list variables available here as well? Previous entry title? etc..


texts: What's the limit on entry views tracking?

texts: Does entry views tracking allow you for 4 instances all together or 4 instances per channel?


texts: Stash variable changes inside of Playa tag

texts:
I have a stash variable set to the value of a transcribe variable at the top of my template:

{exp:stash:set name="where_to_buy_translation" parse_tags="yes"}
    {exp:transcribe:uri path='/where-to-buy'}
{/exp:stash:set}

Farther down in the template, I have a {exp:playa:parents} tag:

{exp:playa:parents field="accessory_parent_product" var_prefix="app" entry_id="{entry_id}"}
    Where to Buy
{/exp:playa:parents}

If I display the stash variable before the playa tag, it outputs correctly:

http://domain.com/en/where-to-buy

But inside the playa tag, it displays seemingly random text.  This text is different depending on the channel entry being displayed, but is never the string I'm expecting.  Is the value of that stash variable changing, or am I missing something here?

Note: I've tried using both the stash variable and a preload_replace, and while the output is different inside the playa tag it is always incorrect, whereas before the playa tag it is correct.


texts: Subscriptions register_member during subscribing doesn't work

texts:
I'm setting up Subscriptions for a client; I've implemented the Subscriptions page, and it works for people who already have an account in EE, but it fails if you aren't logged in, despite register_member="yes" being set.

The error returned is:

CARD_CREATE: Email is required.

I verified that the email address is indeed in the form, and in fact, I get this error even with the Templates that come with Subscriptions.  This makes the product unusable for my client.

If it matters, I also am using SolSpace User, and I have it set up to use email addresses as usernames on the site.


texts: How to dynamically fill out a form value field based on a link clicked on another page?

texts:
So I am brand new to ExpressionEngine....

I am on an expression engine entry page with a few hyperlinks...Based on which hyperlink I click, I want to navigate to another expression engine page with a contact form and dynamically set the value of the subject field based on which hyperlink was clicked on the previous page......How do I go about doing this?  FYI - I'm not new to web programming - other frameworks I've worked in let you set a parameter in the hyperlink so it becomes part of the web request to the next page where you can then grab the parameterized value for setting the subject.

If you could even point me in the right direction, that would be helpful.


texts: Is it possible to split the frontend from the backend and host them on separate servers, for expressionengine?


texts: Plugin Development - using template params in a function

texts:
I'm querying an external timetable database, and I need to get the start and end points of the journey to use in a hidden field.

My template code looks like this:

{exp:get_piers:departure_pier cruise_id="{cruise_id}"}

and

{exp:get_piers:arrival_pier cruise_id="{cruise_id}"}

{cruise_id} is simply a numeric value that is set in the EE channel, but relates to the external database.

So I've created a plugin that looks like this:

class Get_piers {

    public $return_data;
    public $cruise_id;

    /**
     * Constructor
     */
    public function __construct()
    {
    $this->EE =& get_instance();
    //get cruise id from template tag
    $this->cruise_id = $this->EE->TMPL->fetch_param('cruise_id');
    //connect to external db
    $this->bookings_db = $this->EE->load->database('timetable', TRUE);
    }

// ----------------------------------------------------------------

/**
 * Departure Point
 */
function departure_pier() {
    $piers = $this->bookings_db->select('depPier')
            ->from('tbl_cruises')
            ->where('cruiseID', $this->cruise_id)
            ->get();
    return $piers->row('depPier');
    }

function arrival_pier() {
    $piers = $this->bookings_db->select('arrPier')
            ->from('tbl_cruises')
            ->where('cruiseID', $this->cruise_id)
            ->get();
    return $piers->row('arrPier');
}

The problem is that the value for $this->cruise_id is showing in the query as '0', but if I try to return just the value for $this->cruise_id (outside the sql), I get the correct number passed through from the template.

What am I missing? I'm guessing its something to do with visibility inside/outside the function, but having tried lots of alternatives, it just ain't working for me.

Can anyone offer any pointers?


texts: I'm new to postmaster. I've been using MX Notify to do some basic notifications. However, I'm looking to to send a "reminder email" that will trigger a CRON timer of +3 days after a initial email is sent. Is this possible with Postmaster? I haven't wrapped my head around how hooks, parcels, etc should be aligned yet. Thoughts?


texts: Blank page of death with pagination and blog article link

texts:
Getting the blank page of death with pagination links and full article links.

Here's the page I'm working on:

Here's the code I'm using:

{embed="inc/.header.doc-open"}
{embed="inc/.header.nav-blog"}

{exp:channel:entries channel="blog_entry|blog_link|blog_photo|blog_quote|blog_video" limit="2" paginate="bottom" orderby="date"}
    {paginate}

Page {current_page} of {total_pages} pages {pagination_links}

    {/paginate}
  {if channel_short_name == 'blog_link'}

{title}

{blog_link_description}

      Posted on {entry_date format="%F %j, %Y"}&nbsp;&nbsp;|&nbsp;&nbsp;Permalink

  {if:elseif channel_short_name == 'blog_quote'}

{title}

{blog_quote}

      {blog_quote_source}

{blog_quote_description}

      Posted on {entry_date format="%F %j, %Y"}&nbsp;&nbsp;|&nbsp;&nbsp;Permalink

  {if:elseif channel_short_name == 'blog_entry'}

{title}

      Written by {author}

{blog_entry_summary} Read&nbsp;More&hellip;

      Posted on {entry_date format="%F %j, %Y"}&nbsp;&nbsp;|&nbsp;&nbsp;Permalink

  {if:elseif channel_short_name == 'blog_photo'}

{title}

{blog_photo_description}

      Posted on {entry_date format="%F %j, %Y"}&nbsp;&nbsp;|&nbsp;&nbsp;Permalink

  {if:elseif channel_short_name == 'blog_video'}

{title}

          {blog_video_embed}

{blog_video_description}

      Posted on {entry_date format="%F %j, %Y"}&nbsp;&nbsp;|&nbsp;&nbsp;Permalink

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

{embed="inc/.footer.doc-close"}

Any thoughts? I'm sure I'm making a very basic mistake... I've never attacked this type of functionality with an EECMS site.


texts: Low Search with LOW_options mix channel field with category

texts:
I do not know how to put it, there seem to be confusion.

  {exp:low_options:material_content}
    {options}

<input id="{option:label}" type="checkbox" name="search:material_content[]" value="{option:value}"
        {if low_search_search:material_content ~ '/(^|\|)'.option:value.'(\||$)/'} checked{/if}>{option:label}

    {/options}
  {/exp:low_options:material_content}
  <button type="submit">sök material</button>

show, in my form, checkboxes corresponding to field content (as expected) but also content from a category group!. As checkbox, yes.
The form does not give any result either.

I can provide screenshots but do not know how to attach them to this question.

Any help highly appreciated, because itäs just confusion here.. Thanks.


texts: Simple search form shows entries with closed status

texts:
I use the following simple search tag:

{exp:search:simple_form channel="content|symposium|whos_who|nieuws" results="9" search_in="entries" where="all" result_page="zoeken/index" no_result_page="zoeken/no-result" status="not closed"}

But weirdly enough, it displays entries when the search is done which are closed. It doesn't matter what I put the status parameter on. How can this happen?


texts: How can I access Low Variables I've used on a previous site without having to input them all in again?

texts: I want to use a common set of Low Variables I've used on another EE build but don't want to have to go through the configuration again. How can I do it?


texts: XID created for every page load and many non-form items increasing size exp_security_hashes table. Bug with 2.7.1?

texts:
Here's the setup:

secure forms turned on
empty template (there are no forms, nothing at    all in the
template)
EE 2.7.1
logged in/out (makes no difference)
empty exp_security_hashes table

Every time I refresh/load the empty template in my browser an extra hash is created in the exp_security_hashes table.

From reading the docs I understood the XID was only created for forms. Am I missing something?

Creating a new XID for every page load on the front end doesn't seem right! Maybe 'secure forms' should be renamed 'secure site'.

Edit: And this template creates two XIDs, one for the form and the other for the (page??). Each XID is different but sames session_id.

{exp:user:edit return="myprofile/success" form:id="form_2" screen_name_password_required="no" dynamic="off" }
<input type="text" name="username" value="{username}"/>
<input type="submit" name="submit">
{/exp:user:edit}

The XID for the page is never set to 'used' so is never cleared.

And it looks like the XIDs dont get cleared until ee()->security->garbage_collect_xids() is called once every 7 days.

I've raised this as a bug and await EE response, which Ill post here.


texts: Custom Fieldtype: How to check save($data)

texts:
Developing a custom fieldtype and having trouble getting the entry data to save to the exp_channel_data table. I know that the data passed must be a string and I am trying to catch the data at the public function save($data) point so I can properly construct it and pass it on.

My issue is that I can't seem to stop and see anything at that point. No var_dump(), echo(), print_r(), exit(), etc are having any effect.

How can I view the $data being sent to that method?


texts: Custom statuses not displayed for playa within a matrix field

texts:
I'm having an issue with displaying custom statuses in my playa-within-matrix field.

I'm looking at an entry (on the front end) that has 4 matrix rows with a related entry in each. 3 of the related entries have a "Paid" status and one is "open".

Using this code, I only see the one entry with the open status:

{matrix_field}
  {playa_field}
    {title}
  {/playa_field}
{/matrix_field}

Which is fair enough, but if I add the status parameter I still see no entries, even if it's just status="open". ie both of these show no entries:

{matrix_field}
  {playa_field status="open"}
    {title}
  {/playa_field}
{/matrix_field}

{matrix_field}
  {playa_field status="open|Paid"}
    {title}
  {/playa_field}
{/matrix_field}

I'm on EE 2.4.0 with Matrix 2.5 and Playa 4.3.3.


texts: Error when trying to access member profile page

texts:
When trying to access a member profile page using the trigger url (e.g. mysite.com/profile) I get the following error:

The member profile you requested is currently not available

I've checked all the things I can think of. I have seen it once before on a site but given that the normal EE sites I build have very limited membership features (i.e. just the site admins) and I normally turn off member profiles/obfuscate the url I'm at a loss to work out why this is happening.

Has anyone encountered this problem before and found a fix?


texts:
I have joined a charity and am responsible for updating their website. I have never used Expression Engine before only Wordpress sites for blogs, and I don't know how to post a youtube video on one of the web pages. Please help! Also if there is an Expression Engine guide I can get my hands on somehow that would be really useful.

Thanks,
Michelle


texts: Channel form categories {category_parent} returns ID instead of name?

texts:
The the EE docs here: http://ellislab.com/expressionengine/user-guide/modules/channel/channel_form/index.html#categories

It says the {category_parent} tag should show: "The name of the category parent if it exists, indented according to the category depth."

In fact, it outputs the parent's ID, not the name.

Is this an error in the docs, or a bug in EE?


texts: Dynamically filter Playa field based on children of current selection in another Playa field

texts:
I want to publish a channel entry that enables members to select entries that are related through a Playa relations. For example I have a channel that members will use to create a entry (let's call this a REPORT). In that entry, I'm using Playa so members to select related entries from another channel (let's call this DEPARTMENTS). This all works fined. I can create a REPORT and relate to it specific DEPARTMENTS.

I also have another channel (let's call this EMPLOYEES) that is also Playa related to DEPARTMENTS.

Is it possible through Playa to select specific EMPLOYEES from the DEPARTMENTS selected.

So I'm trying to relate specific EMPLOYEES to my REPORT.


texts: .superfish() and .supersubs() hover intent CP navigation issue

texts:
I'm trying to use the Superfish jQuery plugin to add hover intent functionality to the main navigation menu in the EE control panel. Whenever I hover over one of the main menu items like "Design" or "Admin", all of the sub-menus are being displayed rather than just the first child. Has anyone been able to get this to work?

<link rel="stylesheet" media="screen" href="<?php echo URL_THIRD_THEMES ?>md_addon/css/superfish.css">
<script type="text/javascript" src="<?php echo URL_THIRD_THEMES ?>md_addon/js/hoverIntent.js"></script>
<script type="text/javascript" src="<?php echo URL_THIRD_THEMES ?>md_addon/js/superfish.js"></script>
<script type="text/javascript" src="<?php echo URL_THIRD_THEMES ?>md_addon/js/supersubs.js"></script>
<script type="text/javascript" >

$(document).ready(function() {

    $('ul#navigationTabs').supersubs().superfish({
        hoverClass:  'active',
        delay:       1000,
        animation:   {opacity:'show',height:'show'},
        speed:       'fast',
        speedOut:    'fast',
        autoArrows:  false
    });

});

</script>


texts:
Is there a way to detect if a URL contains a Super Search query?

I have a template that displays super search results, but analytics are also showing a bunch of non-existent URLs showing up in the same template group and I'd like to be able to detect if a URL contains a search query and if it doesn't, redirect to the 404 template.

Examples:

site.com/tours/made-up – bad
site.com/tours/search&keywords=island – good

I'm also having trouble with URLs that contain super search queries and gclid querystrings and pagination. There's a stable of sites that are very similar. On one site, this works fine:

<IfModule mod_rewrite.c>

  RewriteEngine On
  RewriteBase /

# Redirect index.php Requests
  RewriteCond %{THE_REQUEST} ^[^/]*/index\.php [NC]
  RewriteCond %{THE_REQUEST} ^GET
  RewriteRule ^index\.php(.+) $1 [R=301,L]

# Force the www
  RewriteCond %{HTTP_HOST} !^www\.
  RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L]

# HTTPS Redirects
  RewriteCond %{SERVER_PORT} 80
  RewriteRule ^(.*)$ https://www.site.com/$1 [R=301,L]

# Add a trailing slash to paths without an extension
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_URI} !(\.[a-zA-Z0-9]{1,5}|/|#(.*))$
  RewriteRule ^(.*)$ /$1/ [R=301,L]

# Standard ExpressionEngine Rewrite
  RewriteCond %{REQUEST_URI} ^/
  RewriteCond %{QUERY_STRING} ^(gclid=.*)
  RewriteRule ^(.+) /index.php?/ [L,PT]
  RewriteCond $1 !\.(css|js|gif|jpe?g|png) [NC]

  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond  $1 !^(themes|index\.php|admin\.php|favicon\.ico|index\.php|path\.php|php\.ini) [NC]
  RewriteRule ^(.*)$ /index.php?/$1 [L]

</IfModule>

i.e., when you click on a pagination link, it removes the gclid querystring and adds PXX to the URL and you get the updated results.

But on other sites with the exact same rules in place, the PXX just gets added after the gclid querystring and you still get the same first page of results.

Anyone know why that might be? Or have a foolproof method for this scenario?


texts: Difference between assign_to_config and config (and or env_config)

texts:
I'm using EE Master Config along with Stash.

I know in Master Config that all the configs have been changed from $config[''] to $env_config['']

I noticed with Stash that Mark is using this format: $assign_to_config['']

You can see what I mean here in the dev branch of 2.3.6

I guess I'm wondering what is the different between $config and $assign_to_config

I usually just convert that over to the EE Master Config format though, now that I think of it, I've never really known what was the proper format or why the assign_to_config format exist in the first place.


texts:
I've been trying to figure out how to set three specific CP settings via my config file and can't find a reference for the necessary variables. Maybe somebody can point me in the right direction. I'm trying to find config variables for the following:

Apply rank denial to user-submitted links (CP > Admin > General
configuration)
Deny Access if No IP Address is Present (CP > Admin > Security & Privacy > Throttling Prefs)
Require Member Account Activation (CP > Members > Preferences)

With the last one I already know that the variable is $config['req_mbr_activation'] but I don't know what the various acceptable values are.

Can anyone advise? Thanks.


texts: parse_variables multidimentional empty array?

texts:
I have a template tag that uses $this->EE->TMPL->parse_variables() to create a single item with an array of [items].

Array
(
    ...
    [accessRole] => reader
    [items] => Array
        (
        )
    ...
)

What should the parsed variables look like if it's empty and what should be it's corresponding template tag if I want to do something different when there are no [items]?

An empty array doesn't seem to work (as shown above) when do {if items} or {if "{items}" == ""}.

Thoughts?


texts:
Possible Duplicate:
  Assets not showing the correct upload directory

I'm running EE 2.5.1 and updating from Assets 1.2.2 to 2.0.1.

I've followed instructions from the Pixel & Tonic docs.

Immediately after running the Assets 2 update, I receive a page filled with the following errors.  It seems like there is an error for every existing assets image.

A PHP Error was encountered

Severity: Notice

Message: Undefined index: 10:Series

Filename: assets/upd.assets.php

Line Number: 712

I'm currently setting my upload paths in the EE config.php file:

$config['upload_preferences'] = array(
    1 => array(
        'name'        => 'Main Upload Directory',
        'server_path' => $base_path . '/images/uploads/',
        'url'         => $base_url . '/images/uploads/'
    )
);

$base_path is a dynamic variable that returns the absolute server path.

I checked the exp_upload_prefs table and the server_path entries do not reflect the upload paths in the config.php file.  Is it possible the Assets 2 updater doesn't recognize these paths either, thus causing the error?


texts: Having issues with $config['debug'] = "1" and environments

texts:
I currently have environment variables in my config.php file to deal with databases but on the last couple of project I've had to turn on debug on more than one occasion. I added $config['debug'] = "1"; to my db environment variables in config.php but it doesn't seem to work as I had expected (i.e. switching debug = 0 to 1 in index.php, which does work by the way). I would love to have debug turned on for all my development and staging environments but off for the live site. Any suggestions? Should I comment out the debug in index.php? Any other areas that might overwrite this variable in config.php?

Current Environment variables for the database and debug values:

/* Environmental Variables
-------------------------------------------------------------------*/
switch ( $_SERVER['HTTP_HOST'] ) {

    // local
    case 'site.dev' :
    $db['expressionengine']['hostname'] = "";
    $db['expressionengine']['username'] = "";
    $db['expressionengine']['password'] = "";
    $db['expressionengine']['database'] = "";
    $config['debug'] = "1";
    break;

    //staging
    case 'staging.site.dev' :
    $db['expressionengine']['hostname'] = "";
    $db['expressionengine']['username'] = "";
    $db['expressionengine']['password'] = "";
    $db['expressionengine']['database'] = "";
    $config['debug'] = "1";
    break;

    // production
    case 'site.com' :
    $db['expressionengine']['hostname'] = "";
    $db['expressionengine']['username'] = "";
    $db['expressionengine']['password'] = "";
    $db['expressionengine']['database'] = "";
    $config['debug'] = "0";
    break;
}


texts: Display selected country option from solspace freeform - country select field in email notification template

texts:
I have a contact form which uses the freeforms country select field. I also have a email notification template which I use to notify the admin. In this email notification template I display the selected country using {country} tag. The value displayed for the {country} tag is a short form of the selected country name. For example if 'United States' is selected, I get 'us' displayed in the email, but I want the full country name 'United States' to be displayed in my email. How do I do that? Please help.

Thanks.


texts: I need to add a flat-rate summer shipping surcharge on all orders. What is the best way to do this?


texts:
I'm using Shine PDF for on the fly pdf creation for ExpressionEngine. Documentation is a dead link. My questions:

Does anyone know where I can get the documentation?
OR
has any one tried and tested another PDF generator? (a free one please)

Help appreciated.


texts: Error on module page for Solspace's Importer

texts:
I am running into a problem with Solspace's Importer module. I haven't used it for a while and now that I went to load it up, I get the following error message just going to the module page:

Fatal error: Uncaught exception 'Exception' with message 'DateTimeZone::__construct() [datetimezone.--construct]: Unknown or bad timezone ()' in /XXX/expressionengine/third_party/importer/addon_builder/addon_builder.php:4097 Stack trace: #0 /XXX/expressionengine/third_party/importer/addon_builder/addon_builder.php(4097): DateTimeZone->__construct('') #1 /XXX/expressionengine/third_party/importer/act.importer.php(65): Addon_builder_importer->timezone_offset() #2 /XXX/expressionengine/third_party/importer/addon_builder/addon_builder.php(702): Importer_actions->__construct() #3 /XXX/expressionengine/third_party/importer/mcp.importer.php(139): Addon_builder_importer->actions() #4 /ho in /XXX/expressionengine/third_party/importer/addon_builder/addon_builder.php on line 4097

I haven't made any changes to the installation since I last used it, though I can't swear to whether the host has changed anything about php since then.


texts:
I am trying to add a Google Site Map for my site but am having a few issues. I get the following errors from Google (see attached).

I guess it is to do with:

{gmt_edit_date format="%Y-%m-%d;T;%H:%i:%s%Q"}

but I am not an expert. I was just following a screen cast. Any help would be appreciated.


texts: Low Search - Search in Title and/or Grid Field

texts:
New to the lovely Low Search, so apologies for likely dumb question.

I've a single Input search form, that I'd like to use to search both entry titles (in one channel/collection) as well as one specific Grid field.

So far I seem to be able to get Entry Title results with:

{exp:low_search:form result_page="root/search_results" }
  <fieldset>
    Keywords
    <input type="search" name="keywords" id="keywords" />
    <button type="submit">Search</button>
  </fieldset>
{/exp:low_search:form}

Or, results from the custom Grid field with:

{exp:low_search:form result_page="root/search_results" }
  <fieldset>
    Keywords
    <input type="search" name="search:downloads:reference" id="reference" />
    <button type="submit">Search</button>
  </fieldset>
{/exp:low_search:form}

I don't seem to be able to get an either/or type result going on.  On a basic level, I'd only really want the entry_title / url_title.  I'm likely missing a key fundamental of the setup somewhere along the line so all help hugely appreciated even if it involves calling me dense ;)

Ta!

EE 2.8.1 / Low-Search 3.1.6


texts:
I'm trying to create a class in EE, but for some reason it just won't work for me.
I've even went as far as making it as easy as possible, but I always get:

The following tag has a syntax error:

{exp:my_class_name:testfunction}

Please correct the syntax in your template.

Here's the simple class:

class My_class_name {

    public $return_data;

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

    public static function usage(){
        ob_start();
        ?>
        Coming Soon, this is just filler for now.
        <?php
        $buffer = ob_get_contents();
        ob_end_clean();
        return $buffer;
    }

    public function testfunction(){
        $this->return_data = ee()->TMPL->tagdata;
    }

}

and usage:

    {exp:my_class_name:testfunction}
    hey
    {/exp:my_class_name:testfunction}


texts:
Is there a way where i can create a function that only displays expired entries? I have a page set up that displays, up and coming and pervious events click here when the user clicks on the pervious button it displays all past events.

{exp:channel:entries
            channel="events"
            disable="member_data|pagination|trackbacks"
            dynamic="no"
            sort="asc"
            start_on="{current_time format='%Y-%m-%d %H:%i'}"
            show_future_entries="no"
        }

i current have the tags above to display the events i have used the tag start_on to displays dates etc on the page. What tag(s) do i need to apply in order for my pervious template to display past events only?


texts:
We are looking to integrate FreeForm with the new Google Recaptcha (https://www.google.com/recaptcha), but are unsure where to begin. I was wondering whether anyone had any experience of doing this and can kindly point us in the right direction.

Any help greatly appreciated

Jonathan


texts:
We're running EE2, going to have a responsive desktop site...but rather than going with a "mobile first" design, which is kind of bland, we'd like to have both a responsive (for desktop/laptop/tablet, with a few extra tools and some extra "decoration") and a dedicated mobile (for mobile, and for tablet users who prefer something leaner.) But I just know that one of the requirements is going to be, "preserve the SEO of the URL structure."

Has anyone done this? Is it possible to have a dedicated mobile site and keep the same, or nearly the same, URL/template group structure (for SEO purposes)? I've found the tutorials that tell people how to set up dedicated mobile sites on their EE, but couldn't find anything definitive about using such a setup with multiple template groups.

EDIT: we will eventually be replicating this solution across at least four, likely five sites - so keeping the cost low is a factor here. (And when we redesign a site, we start with a clean install/clean database, so putting multiple sites on an MSM isn't necessarily the best option either.)

EDIT the SECOND: we will be creating a subdomain for this mobile-only site. This may be important in how people answer - apologies, I left that detail out.


texts: Upgrade to 2.7.2 got this error "An Error Was Encountered Non-existent class: Addons"

texts:
Anyone else seen this error during an EE 2.7.2 upgrade?

  "An Error Was Encountered Non-existent class: Addons"

If I remove installer, the CP error says:

  Your ExpressionEngine installation’s version (2.7.1) is not consistent with the reported version (2.7.2). Please update your installation of ExpressionEngine again.

I updated all the modules to latest versions cannot find anything similar in forums.


texts: Only show if there are related entries (EE 2.6)

texts:
I have a list of related entries on a single entry page. I only want to show surrounding code if there are related entries. I know related entries has been changed recently so I'm stuck.

I would expect the following conditional to work but it doesn't.

{if cf_article_related}

Further Reading

        {cf_article_related}
 {cf_article_related:title}

{/cf_article_related}

{/if}

I'm sure it'll be something obvious but I would love to know how to do this!

Cheers,
Mike


texts: Should i buy expression engine? or is dead project?

texts:
Hello guys first of all sorry for my bad english , never i use expression engine, i was reading in his web and looks amazing, but in a lot of blogs and forums, i saw about is a little abandoned , and the support suck , what u think guys? i am a little company trying to find solutions , with a strong plataform and good support , if ee is dead , you have other alternative? processwire? yesterday i founded statamic looks cool is no database and they claim can handle complex and big sites (and is cheap) .

Thanks guys for you time and answers.


texts:
I cannot get style sheets, template type CSS, to display.
All I get is a 404 error when I attempt to view a CSS file, js works fine.

http://mydomain.com/?css=style/mycss

Displays a 404 error

Running under Apache2, error log appears to be no help.
I was thinking this looks like a permission error, but no seeing that js works.

ExpressionEngine v2.9.0 - Build Date: 20140715

Has anyone seen this before?


texts:
Does anyone know if Freeform's prevent_duplicate_on="ip_address" bug has been fixed?
It's still not working for me, though I'm using 4.0.12.

Has v.4.1.3 fixed this issue?

Thanks!

Peter T


texts: Update Wizard 2.8.1 to 2.9.0 hangs and doesn’t complete

texts:
I have been trying to upgrade EE 2.8.1 to 2.9.0 but the Update Wizard just loads for a very very long time and then gives a 404 error.

After trying this a couple of times I removed the “installer” directory. CP now says “2.9.0” at the bottom, but it also gives this warning:

  Your ExpressionEngine installation’s version (2.8.1) is not consistent with the reported version (2.9.0). Please update your installation of ExpressionEngine again.

Has anyone else experienced this? How can I get the Update Wizard to finish completely or find out why it hangs?


texts: Save one form data in two different channel

texts:
I have a form in one page which need to save in two different channel how it can be possible?
using channel form


texts: EE If conditional inside a exp:query tag within  tags not being parsed

texts:
I have some javascript in a template that has some values set via the output of a query tag, I've stripped the template right back to contain just the following:

<script>

$(function() {
    $( "#weight-slider-range" ).slider({
        range: true,
        {exp:query sql="SELECT field_id_88 FROM exp_channel_data
                            INNER JOIN exp_store_stock using(entry_id)
                                GROUP BY field_id_88 ORDER BY field_id_88 ASC"}
        {if count == 1} min: {count},
        {if:elseif count == total_results} max: {count},
        {/if}
        {/exp:query}
    });
});

</script>

But the 'if' conditional is being written to the html page, why isn't it being evaluated?

This is what's being written to the browser:

<script>

$(function() {
    $( "#weight-slider-range" ).slider({
        range: true,

        {if "1" == 1} min: 1,
        {if:elseif "1" == "241"} max: 1,
        {/if}

    });
});

</script>

It seems that EE is not parsing the 'if' statement as it believes it's a js command maybe?


texts:
I was wondering if anyone could point me in the right direction.

We've got a custom plugin that we use with ExpressionEngine that connections to a 3rd party CMS system and grabs all relevant content from it and then inserts it into ExpressionEngine. I have need to expand the plugin to identify relating content and set the relationships inside ExpressionEngine.

From what I can gather, I would simply get the field_id from the exp_channel_fields for the relevant relationship channel field that has been created inside EE CP. I would then insert both the pieces of content (the main piece of content and the relating content) into exp_channel_data as usual, then get the entry_id's for both pieces of content.

Once I have the entry_id's, I can create a entry in exp_relationships, get the ID for the entry and then update exp_channel_data using the main piece of contents entry_id and setting the field_id_X, where X is the field ID I got at the beginning and the value being the relationship ID.

Assuming I have this all correct, the only thing I need to figure out is what rel_data in the exp_relationships table needs to be set to. It seems like some serialized object. I was wondering if there are classes that I could use to handle this for me?

Any help or pointers to the correct documentation would greatly be appreciated.

EDIT Did some digging, I think the function I am looking for is 'compile_relationship' inside the Functions class.

EDIT 2 It seems this function is being called when the following code is being run:

$this->EE->api_channel_entries->submit_new_entry($channel_id, $insert_data);

I'm guessing I need to format $insert_data with the correct fields in order to trigger the relationship insert. Will do some more digging.


texts:
I'm building a church site, and I want to create a "media" channel with a list of all the messages.  On the media index page there would be a list of images, some associated with a sermon series, others with just an individual message.  When you click on one of the images for a sermon series, it would go to a list page of all the sermons within that series.  I'm unsure of how to code the template and the channel entry fields to make this happen?

My initial thought was just put a field in the entry where they would enter the sermon series name, but that means they'd have to enter it in the same way each time for that series, otherwise the sermon wouldn't show up under the list of sermons.  Then I thought maybe there could be a drop down menu with the sermon series name in it, and the admin would just select that.  Then I imagined 5 years down the road when there are hundreds of items in a drop-down menu...that's obviously not ideal.

Does anyone have any ideas on an effective way to do this?  Any input you can provide would be greatly appreciated.


texts:
I'm using the exp:calendar:events tag with Solspace Calendar. Is there a convenient way to output a year header, similar to exp:channel:entries in my events output?

Thanks!


texts: CartThrob cart_total to a php php variable

texts:
I Am new in working with CartThrob and EE2. How i can assign {exp:cartthrob:cart_total} value to a php variable.Please let me know how to do that.

Thanks in advance.


texts: upgrading EE1 to EE2 but seeing new installation message

texts:
Just come across ExpressionEngine Answers, and am hoping you can set my mind at rest.

I'm just starting to upgrade an EE1.7.3 site to EE2.7.2  I've done the backup aand stages 1 to 6 of the Ellislabs procedure.

I've just run the admin.php [I have updated the system directory name] and it comes back with a 'click here to install a brand new copy of ExpressionEngine'

Is this the message I should expect, given I'm doing an update and not a brand new installation!

As you can imagine I really really don't want to go wrong at this stage!

BTW I've just spotted this question- sadly no solution there either :-(


texts:
Besides cartthrob is there any other alternative?
After expresso store have been discontinued I’m looking for options for my next project


texts:
I want to output the width of the window in a tag. So for example:

{exp:resolution:width}
    {width}
{/exp:resolution:width}

Where {width} would display the width from my jQuery.

$(window).resize(function() {
var width = $(window).width();
$(".test").text(width);
});

The problem I have, is I can't figure out how to get my jQuery output into the tag.

This is what I have currently:

        $this->load->library('javascript');

    $width = $this->EE->javascript->output(array(
        '$(window).resize(function() {
            var width = $(window).width();
            $(".test").text(width);
         });'
    ));

    $tagdata = $this->EE->TMPL->tagdata;

    /* Create Tags*/
    $data = array(
        "test" => $width,
    );

    $variables = array();
    $variables[] = $data;

    /* Output Tags */
    return $this->EE->TMPL->parse_variables($tagdata, $variables);

Also, is there a way to have the tag updated every time the window is resized?

Thanks


texts: P&T switch in with lightbox integration issue

texts:
I'm sure i have selected the perfect title for this however, if someone can come up with a better title, feel free to edit.

Anyway, I am having a slight issue integrating a combination of functions using P&T switch. I am currently using the Jquery plugin fancybox for my gallery [Click here][2] when you click on the image it meant to open a pop window.

I am using P&T switch as the gallery will feature both images and videos, In the expression control panel have created variables that look like the following This will enable the user to select a video or image, The video will navigate to the template {'pop/video'} and the images will navigate to {'pop/video-pop'}.

In order for me to a achieve this i have attempted to apply the following code to my gallery, however it's not working

        {exp:low_reorder:entries set="gallery_set" channel="gallery" disable="pagination|member_data|trackbacks"}

        {/exp:low_reorder:entries}

Can someone please guide me in the right direction..?


texts: Multiple language setup with consolidated config file

texts:
I'm developing a multi-language site and wish to use the site root level ISO language code folder structure method. But it's not working – I get a blank page when visiting site.com/en/ or site.com/it/. I reckon that my 'fairly intense' consolidated config.php file is not playing ball.

In each of the site root level language code directories I've added the relative language's custom index.php with the usual parameters, eg:

$system_path = '../../sys';

$assign_to_config['global_vars'] = array(
    "country_code" => "en",
    "language" => "English"
);
$assign_to_config['site_url'] = getenv('HTTP_HOST') . "/en/";

Yes, my system folder is above the webroot.

My 'intense' config file instead relies on an initial set of $base_path and $base_url environment agnostic statements that then get reused throughout the config file:

$protocol               = (isset($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] == "on") ? "https://" : "http://";
$base_url               = $protocol . $_SERVER['HTTP_HOST'];
$base_path              = $_SERVER['DOCUMENT_ROOT'];
$system_folder          = "sys";
$uploads_folder         = "images/uploads";
$uploads_path           = $base_path . "/" . $uploads_folder;
$uploads_url            = $base_url . "/" . $uploads_folder;
$images_folder          = "images";
$images_path            = $base_path . "/" . $images_folder;
$images_url             = $base_url . "/" . $images_folder;
...
$config['base_url']     = $base_url . "/";
$config['base_path']    = $base_path . "/";
$config['index_page']   = "";
$config['site_index']   = "";
$config['site_url']     = $config['base_url'];
$config['site_path']    = $config['base_path'];
$config['server_path']  = $_SERVER['DOCUMENT_ROOT'];
... and so forth

Wherever a base_path or base_url is required by a config setting I simply call on $config['base_path'] and $config['base_url'] in the setting's declaration.

How should I go about assigning the ['global_vars'] set in /en/index.php to my config file? Clearly, I think, the initial two $base_url and $base_path need to wake up that there's an extra /en/ or /it/ segment to deal with in the whole equation.


texts:
I try to setup a simple discount with a existing plugin (Amount off) per product.

I want to apply the discount only to one product.

I setup a All store discount with the channel "Store - discount" this is working. But this is not what I want since it not all product that are in discount.

I add a custom field Discount in my "products" channel field groups I put the type "Cartthrob Discount settings". The configuration for the discount in the product entry are there I can choose the discount type. But nothing happen in my cart. Did I miss something? Did is supposed to work?

Thank in advance

AK


texts: Cannot find grid fieldtype data in database

texts: I have a grid fieldtype which has a Relationship field "Select one" allowing the user to select a channel in the grid, however although the correct value is shown in the cp (shown below) I cannot find the value in the corresponding MySQL table for the grid (the other values are in the table. Any ideas?


texts: Save Templates as Files and Google Analytics

texts:
I am saving templates as files and now just recently I noticed that when I open a template in my Code Editor via FTP the then open template gets displayed in Google Analytics "Realtime" report, like this:

url/public_html/assets/templates/default_site/template.group/index.html

I find this to be quite confusing and I am wondering why this is happening and if there is anything I can do to prevent this behaviour.

Thanks and Cheers!

Marc

Additional Info

Two more things to consider: I am using Config Master and Stash with this particular site. I set the Analytics code like this: $env_global['global:google_analytics'] = 'UA-XXXXXXX-X'; and get it like this  {global:google_analytics} in my Stash wrapper template later on.


texts: Carttrhob update not working, version_compare incorrectly returns true for older version

texts:
Does anyone know how to update Cartthrob from version 2.3x to 2.4? It's not working for us. The system thinks our version is less than 2.02x.

Therefore older version database scripts seem to be run, removing necessary database columns such as member_id in cartthrob_sessions table and giving database errors. So this completely messed up our update on a live site, deleting required columns.


texts: How to customize front-end exp:email:contact_form error

texts:
I would like to know how to customize the displayed screen when the user didn't insert all the required inputs in a exp:email:contact_form.

"The default screen could show the next message:

The following errors were encountered

Email Message is Required
Return to Previous Page"

Many thanks


texts: How can I dynamically filter Low Search results?

texts:
I am getting the results I want from my Low Search Form tag but would like to filter with checkboxes in my Low Search Filter tag.  Could someone please help me with this?   Thanks

My Low Search Filter tag uses Low Options, Low List and Solspace Tag:

{exp:low_search:filters query="{segment_3}"}
    {exp:low_options:project}
        {options}
        <label>
            <input type="checkbox" name="search:project[]" value="{option:value}"
            {if "{option:value}" ~ '/(^|\|)'.low_search_search:project.'($|\|)/'}checked="checked"{/if}/>
            {option:label}
        </label>
        {/options}
    {/exp:low_options:project}

    {exp:low_list:each items="0|100:0 to 100;200|300:200 to 300;400|600:400 to 600" sep=";"}
    <label>
        <input type="checkbox" name="range:cost[]" value="{key}" {if key == low_search_range:cost} checked{/if}>
        {val}
    </label>
    {/exp:low_list:each}

    {exp:tag:cloud}
    <label>
        <input type="checkbox" name="tag_id[]" value="{tag_id}"{if low_search_tag_id ~ '/\b'.tag_id.'\b/'} checked{/if}>
        {tag}
    </label>
    {/exp:tag:cloud}
{/exp:low_search:filters}


texts: CartThrob customer email notification not sending unless logged in to CP

texts:
This one is confusing me and I'm wondering if any CartThrob experts out there have experienced this and have a solution.

My custom email notification and admin email notifications, both triggered by the "successful transaction" event, are identical to one another, except that the "to" line for the admin email is a static email address, while the "to" line for the custom email uses the {customer_email} global variable.

If I am logged into the CP and visit my order form in another tab to run a test transaction, the transaction is completed correctly and both the admin and custom emails are received (and admin email to the static email address and the customer email to the dynamic user-entered email address).

However, if I log out of the CP and visit the form, submitting a test transaction, only the admin email notification is received.  Is there some reason that I'm missing that would cause this?  A setting somewhere in CartThrob that I have missed?  I have "User Must Be Logged In?" set to "no" and I do have a member ID for an "anonymous" user set for the "Logged Out Member ID" setting.


texts: Restrict access to Member Preferences & Member Fields

texts:
What is the best method to restrict a custom Member Group's access to Member Preferences and Member Fields?

I've created a Group that needs to be able to manage member data, but not have access to the other "settings" areas.


texts: "Send to Member Groups" not listing all Member Groups

texts:
I have created a couple of custom Member Groups. Now, I want to test sending an email to them. However, when I go to Tools -> Communicate, I do not see my custom Member Groups listed under the "Send to Member Groups" section. I only see Super Admins and Members.

How do I add my custom Member Groups to the "Send to Member Groups" section?


texts: FreeForm: Can I make my own template for a user to approve a pending record?

texts: As much as I'd like my user to use the FreeForm Pro Control Panel to approve pending records, I don't want to grant this user access to all of my forms' results. (AFAIK you can't grant access to selected forms--it's either all or none.) So I'm seeing if I can create a template to do this, but I haven't found anything yet in FreeForm's tags. Any ideas on how to do this?


texts: getting data into ExpressionEngine via Channel Entries API

texts:
So I'm building a site just now that isn't EE, however, I thought this would be a good time to learn how to get data into EE using the Channel Entries API when I'm under no pressure to get the job done.

In this scenario, I'm looking to sync data from the SoundCloud API into Channel Entries.

Can anyone point me in the direction of resources to pour over that could help give me a starter for 10?

I'm looking to sync playlists from SoundCloud that contains:

Title
ID
Secret URL
Enabled (boolean)
Private (boolean)
Tracks (Grid/Matrix)

Track ID
Track title
Track duration
Secret token
Stream URL
Image URL
Private track (boolean)
More info URL
iTunes URL
Amazon URL

Any guidance gratefully received.


texts:
I'm using Transcribe to create multiple language sites and also using relationship fields on some of my channels.

The problem is that the relationship field on the publish screen shows all entries from the related channel, regardless of which language site it belongs too.

This isn't ideal as on the publish page there is no way to tell what language those entries belong too, and you could accidentally relate entries that belong to another language site.

Anyone any ideas on a solution to this?

Cheers
Darren


texts:
I have been given an expressionengine site to work on. This is my first time using expressionengine.

I am trying to make some changes to a template file. I have uploaded the file to the webserver. I then go in to desgin > templates > synchronize templates.

The template file that I edited shows a different "File edit date" to the date that I just edited the file.

I ran the synchronizaton on this file anyway to see if it would work and it didn't do anything.

How can I synchronize changes to template files back to the live site/cms?


texts: $_POST to EE template not working as expected

texts:
Using this form to post to itself is not working as expected.

But why?

    <form method='POST' action='gen_req'>
      <input id='input' name='uid' placeholder='uid' />
      <button class='btn'>Go</button>
    </form>

    {exp:member:custom_profile_data member_id="<? echo $_POST['uid']; ?>"}

{email}

    {/exp:member:custom_profile_data}

UPDATED

I have corrected to add the XID line and use the ee() for the post. But still not returning any data.

This is what i have updated to:

<form method='POST' action='test2'>
  <input type="hidden" name="XID" value="{XID_HASH}" />
  <input id='input' name='uid' placeholder='uid' />
  <button class='btn'>Go</button>
</form>

{exp:member:custom_profile_data member_id="<? echo ee()->input->post('uid', TRUE); ?>"}

{email}

{/exp:member:custom_profile_data}


texts: Is there a character limit on passwords for Expression Engine?

texts:
I've run into an issue I've never seen before regarding a password that appears to be too long. Is there a character limit to passwords?

The client has been using a simple password generator that creates passwords like 'RoadFrame21Bubbles', however a recent password seems to be causing issues, it's 33 characters long and not really different from the format above apart from it's length.

I've tried a shorter password and it works.

The client is reluctant to change this password for their user as they have sent out letters showing the password/user name already.

Any help is appreciated on this.


texts: Entries appear to have vanished yet still show on the front end (sorta)?

texts:
I'm still using EE version 1.6.9 for one of my sites. On this page (http://www.logogala.com/designer/details/phil-heroux/) you can see a list of entries which are associated with this "designer" using the reverse_related_entries tag. There are three entries (global change leaders, red/blue barber shop, and blue atala) that still appear on this page yet when clicked, they take you to a 404 page. I've looked in my EE admin area and tried to find these entries and they are gone. No trace of these entries yet they still appear on this page using that reverse_related_entries tag. So... I'm at a loss; no idea what's going on or why these entries would have just vanished from the database yet still appear to show on this "designer profile page."

Any ideas?


texts:
I have a form that will help a user build up a quote for fees to move house. The first page of the form will ask the user to select their nearest location from a drop down list, they will then enter the value of the house they wish to buy into a text field.

What I need to happen on the next page is to display the selected location from the drop down list and also the value they entered for the house, but also to display an estimated fee for purchasing the house.

The Fee is calculated by a series of ranges for each location, for example;

Location A
House Price | Fee
Up to 80000 | 100
80000 - 100000 | 200
Over 100000 | 300

Location B
House Price | Fee
Up to 80000 | 150
80000 - 100000 | 250
Over 100000 | 350

I have looked at various Form modules, but none of them do any kind of calculations. So I was wondering if anyone has done anything like this before with forms and calculations?


texts: Column Width not working in EE3 Grid field when editing entry

texts: Has anyone worked out how to get the Grid field in EE3 to follow the 'column width' parameters?  I have a Grid 'row' that has a WYSIWYG field and I can't work out how to keep it from collapsing down - see attached image.  Thanks in advance!


texts: Freeform - how can I make the recipients select field required?

texts:
I have a freeform form with a select field allowing the user to select from 5 possible recipients. I do not want to have any of the recipients selected by default - the user must select one. I would like the recipient select field to be a required field.  So, if the user does not select a recipient, an error message will be displayed.

I've seen that other people have done it the way I have, so I'm assuming I've used the right method, but for some reason it doesn't work. If I leave the select field empty, the form will still submit (but obviously not get sent anywhere because a recipient has not been selected).

My code is below. Any ideas?

{exp:freeform:form
  form_id="1"
  required="recipient_email|name|email|message"
  inline_errors="yes"
  form:id="enquiry-form"
  return="contact/success"
  recipients="yes"
  recipients_limit="5"
  recipient_template="enquiry_email"
  recipient1="Option 1|name@example.com"
  recipient2="Option 2|name@example.com"
  recipient3="Option 3|name@example.com"
  recipient4="Option 4|name@example.com"
  recipient5="Option 5|name@example.com"
}
  {if freeform:general_errors}

There were some error(s) with your submission:

      {freeform:general_errors}

{freeform:error_message}

      {/freeform:general_errors}

  {/if}

      I have an enquiry about... *
      <select class="form-control" name="recipient_email" id="recipient_email">
        <option value=""></option>
        {freeform:recipients}
          <option value="{freeform:recipient_value}">{freeform:recipient_name}</option>
        {/freeform:recipients}
      </select>
      {if freeform:error:recipient_email}
        Please specify the nature of your enquiry
      {/if}

      {freeform:label:name} *
      {freeform:field:name attr:class="form-control" attr:id="name"}
      {if freeform:error:name}
        Please enter your name
      {/if}

      {freeform:label:email} *
      {freeform:field:email attr:class="form-control" attr:id="email"}
      {if freeform:error:email}
        Please enter your email address
      {/if}

      {freeform:label:phone}
      {freeform:field:phone attr:class="form-control" attr:id="phone"}

        {freeform:label:message} *
        {freeform:field:message attr:class="form-control" attr:rows="6" attr:id="message"}
        {if freeform:error:message}
          Please enter a message
        {/if}

      {freeform:submit attr:class="btn btn-green" attr:value="Send"}

{/exp:freeform:form}


texts: 404 error when editing or posting a new article

texts:
I'm having an issue with a 404 error that appears after creating a new article entry, or editing a template.
I recently upgraded my website to the latest version of ExpressionEngine, following the official guide step by step. Before the upgrade this problem was still present but instead of getting a permission denied or a 404 I got a message pop-up about disallowed characters. Except after the upgrade, the problem has changed.
I have a large article write-up I have spent some time on, and when I went to submit the article the article I used to get a disallowed character alert, despite not using any disallowed characters (as far as I was aware). After my upgrade to the latest ExpressionEngine, I now receive a 404 error (I disabled CloudFlare to get a better error).
Similarly, there have been a few changes to my template, introducing some new items and changes to the CSS theme. However, when I edit a template or even just save it without making changes, I'm redirected to my website 404 page.

Excluding the update the only change I have made of significance is a change to my .htaccess file to redirect any visitors without a subdomain to the www subdomain.
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /

    # Replaces all non-subdomain connections with a www subdomain.
    RewriteCond %{HTTP_HOST} ^bowl-of-soup\.co.uk$ [NC]
    RewriteRule ^(.*)$ http://www.bowl-of-soup.co.uk/$1 [R=301,L]

    # Removes index.php from ExpressionEngine URLs
    RewriteCond %{THE_REQUEST} ^GET.*index\.php [NC]
    RewriteCond %{REQUEST_URI} !/system/.* [NC]
    RewriteRule (.*?)index\.php/*(.*) /$1$2 [R=301,NE,L]

    # Directs all EE web requests through the site index file
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ /index.php/$1 [L]
</IfModule>

Long story short I am getting 404 errors when I edit my template or my articles, and before that I was getting disallowed keys error. Does anyone know what could be causing this problem?
Edit (6/12/2014)
I opened up my normalize.css file and without changing anything submitted it and it triggered a 404. However, I ran the CSS through a CSS clean-up tool and saved it again, this time it passed through, and any saves and changes made are accepted by the system.
I've been trying to insert characters that were unique to the CSS before I cleaned it up, but none of them seem to trigger the 404. I'm not sure this is a .htaccess issue any more, as I was getting Disallowed key characters before. Is there a page associated with this error? I suspect during the upgrade whatever code displays that error has been corrupted. Otherwise, the disallowed key characters is causing my issues.
For reference:
Adding this unminified CSS (normalize github) will trigger a 404 (possible disallowed key characters)
I removed the comments and this version (my website cleaned version) was accepted by my system.


texts: Trying to build a makeshift gift card function

texts:
Edit
When adding more than one of the same product to the cart, the qty obviously increases, but it is possible to treat one or more products separately. Ie, if i add product A twice, it shows up as two separate products in the cart?
// end edit

I have done the following.

1) Included order_custom1 and 2 on checkout. I use 1 to generate a random string which serves as the gift card number. I use 2 to save the value of the gift card (the item sub total)

2) Since the custom fields are inside the {items} tag pair, they are duplicated for each product (gift card) in the cart. However I'm beginning to think that it's not possible to submit more than one of each custom field, and that they are really supposed to be outside the {items} pair, is this correct?

The reason I ask is because when I output the custom fields in the order overview, I am only able to get the values saved within the last custom field (1 and 2). This is despite outputting them inside the {items} pair.

edit

If i can only submit this once per checkout, is there a way to only allow one product from a specific channel to be in the cart per order? In other words, can i force the user to only be allowed one "gift card" per order?


texts:
We have created a template called /site/404. The site is working correctly as far as pulling articles, and content properly for all of our different URLs.

When we go to either a template that does not exist, or a URL segment that is beyond the scope of an entry, our 404 page is showing up. However, also appended to it is the home page at the bottom. When logged in either as an "Super Admin" or when debugging is enabled, we get a PHP error below the 404 page, then the home page is appended.

In the admin, we've updated our Global Template preferences as the following:

We are using Rob Sanchez's Resource Router (https://github.com/rsanchez/resource_router) to allow multiple URLs to use the same template without resorting to EE's pages module. I've gone through and disabled that, as well as all of the modules to see if that would fix the issue, and it hasn't.

I'm on EE2.9, but upgraded from 2.8. Again, things are working well with everything but our 404 page. We were having the same issue on 2.8 as well.

Here is our .HTACCESS file, just so that we can alleviate that. Its been copied form Ellis Lab's official support page. https://ellislab.com/expressionengine/user-guide/urls/remove_index.php.html

ErrorDocument 404 /site/404

RewriteCond $1 !\.(css|js|gif|jpe?g|png|pdf|ttf|woff) [NC]

# Removes index.php from ExpressionEngine URLs
RewriteCond %{THE_REQUEST} ^GET.*index\.php [NC]
RewriteCond %{REQUEST_URI} !/system/.* [NC]
RewriteRule (.*?)index\.php/*(.*) /$1$2 [R=301,NE,L]

# Directs all EE web requests through the site index file
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php/$1 [L]

If we remove all of our code in the home page template, our PHP error stays, but obviously the appended home page goes away. We also then don't have a home page.

Similarly, if we remove all of the code in our 404 template, the 404 page goes away, but the PHP error stays at the top and the home page content is shown.

Our 404 template is as follows:

{embed="_includes/header" entry_title="Page Not Found" body_class=""}

                    <hgroup>

Page Not Found

                    </hgroup>

Sorry, we couldn't find the page you were looking for.

The page could have been moved, or you may have entered the address or link incorrectly.

GO TO OUR HOME PAGE

{embed="_includes/footer"}

Any suggestions in this area would be appreciated.


texts: Pagination no longer works in Super Search after EE 2.8 upgrade

texts:
Here's an error I am receiving on search results after updating to EE 2.8.1:

Fatal error: Call to undefined method Pagination_object::get_template()
in /Users/username/Documents/Projects/myproject/system/expressionengine/third_party/super_search/mod.super_search.php
on line 1161

I realize Solspace hasn't confirmed compatibility yet, but if anyone has any workarounds for now that would be great!


texts: I'm going from hosting my site on Media Temple to hosting with Go Daddy. Everything should be 100% working, but it's just loading a blank page. They said the hosting and PHP index file are working on their end, that "there must be something in the code" that needs to be updated to tell it to display. Before, I went in and changed the database name and login info to match what I setup with Go Daddy, but do I need to update any reference lines or redirect anything? Please help! Thank you!


texts: Can you override decimal places for Expresso Store price variables in the templates?

texts:
Expresso Store lets you determine your price decimal places globally. So even if you generally price things as whole dollars ($125.00), it's likely you'll need to set your display to 2 decimal places, since things like percent-based sales, shipping, and sales tax will require displaying the decimal places.

Is there any way, besides PHP, to override the decimal place setting right in the templates? I'm imagining something like {price decimals="0"} or maybe a more elaborate {price format="something"} where something apes PHP's money_format() syntax.


texts:
For some reason forms have stopped submitting on a site we manage. I have created a test form with the below code and it also does not submit. I don't see any errors. EE 2.9 and FF 4.1.7. Any ideas what to check?

{exp:freeform:form form_id="2" return="contact/thank_you" notify="redacted"}

        {freeform:label:name}
          {freeform:field:name}

          {freeform:submit}

{/exp:freeform:form}


texts: 500 error when attempting to upload images using pixel and tonic assets module on localhost

texts:
I have set up a vhost in mamp (http://az-cms:8887/) - and installed expression engine as well as the assets module. I have a directory set up on my local hard drive within the expression engine uploads directory, with all permissions set to read / write. I can successfully upload files via the file manager, but if I attempt to use "assets", I get the attached errors.

Anyone know what the problem is? I've looked in the exp_assets_files_folder table of my DB and it's empty, as is the exp_assets_files directory.