texts: Alternative to Objective HTML Google Map plugin

texts:
I have a site that’s currently using Objective HTML’s Google Maps plugin to import entries and add geolocation. It looks like the plugin is no longer being actively developed or supported so I’m looking into alternative options.

There are some good Google Map alternatives on Devot-ee, but as far as I can tell, nothing I found can handle importing as well. I'm curious if anyone has an alternative solution for supporting this functionality.


texts: Get entries in fixed order with Stash/Playa

texts:
So I have the following snippets of code which contain a matrix field {people} with a nested playa field {section_people}

{!-- Get people sections --}
{exp:stash:set_list name="people_sections" parse_tags="yes"}
    {people}
        {stash:section_people}{section_people:child_ids}{/stash:section_people}
    {/people}
{/exp:stash:set_list}

{!-- Get related people: --}
{exp:stash:set_list name="people_list" parse_tags="yes" parse_depth="3" trim="yes"}
    {exp:channel:entries channel="people" dynamic="no" entry_id="{exp:playa:child_ids field='people'}" parse="inward" disable="{global:param_disable_default}"}
        {stash:entry_id}{entry_id}{/stash:entry_id}
        [other fields]
    {/exp:channel:entries}
{/exp:stash:set_list}

{!-- Display: --}
{exp:stash:get_list name="people_sections"}

{section_title}

    {exp:stash:get_list:nested name="people_list" match="#{section_people}#" against="entry_id"}

{entry_id}

    {/exp:stash:get_list:nested}

{/exp:stash:get_list}

What I'd like to accomplish is: keeping the playa entries in a fixed order: 640|643|639

However, when I get the entries using the stash get_list they are returned by entry date: 643|640|639

I see in the stash docs where I can sort by column, but is there a way to used a "fixed" sort order?


texts: CartThrob deprecated set_cookie() upon installation

texts:
I have a fresh ExpressionEngine 2.8.1 installation and a fresh CartThrob 2.5 installation. Without making any alterations, I've already received a developer log message:

  Deprecated function set_cookie() called in system/expressionengine/third_party/cartthrob/libraries/Cartthrob_session.php on line 195.
  Deprecated since 2.8. Use EE_Input::set_cookie() instead.

I've read that CartThrob 2.5 doesn't work completely with EE 2.8 yet, but I need to get this installation moving. Can anyone provide guidance on how to get these two to play together? Is it as simple as doing a find-and-replace "set_cookie()" to "EE_Input::set_cookie()" in that Carthrob_session.php file?


texts:
I'm trying to debug why SuperSearch isn't posting the query string into the URL segment.

I have a document library search area (domain.com/library) that has with a number filters: article type, language, author, date range etc. If I select any one or combination of these and hit submit the returned page is the same as the originating one. SuperSearch doesn't post the selection into the URL, eg domain.com/library/search&authors=conan-doyle. It simply returns domain.com/library/

If on the other hand I manually type or follow pre-compiled links such as domain.com/library/search&authors=conan-doyle then the correct entries are filtered.

It was working previously. Then during a server migration I hit on some git versioning issues that resulted in me having to rollback a number commits. Even though none of the lost commits had anything, seemingly to do, with the SuperSearch forms.

Only SuperSearch's form submit isn't working. Other forms on the site (FreeForm, Newsletter sign ups) all work.

I've scoured EE's debug=on log a number of times and dug around in Chrome's developer tool. But nothing is calling out at me "here's the problem".

Does anyone have any suggestions as to how I may go about debugging the issue?


texts: Matrix: Not able to add more than 50 rows

texts:
I am using EE v2.5.5 and Matrix v2.5.3.

In Matrix, I'm able to add up to 50 rows without problems. When I add more than 50 rows and click the Submit button, I am returned to the entry edit form again.

Is there a 50 row limit on Matrix fields?


texts: Conditional display of fields in CP entry screen, based on other fields' value/state

texts: Is it possible to show / hide certain form fields on an entry page depending on whether or not, say a checkbox is selected? Hoping for an add-in that can handle this.


texts: Unix time (%U) off by 24,400 seconds for Solspace Calendar date variables

texts:
SOLVED (see below)

I have a strange error that has cropped up recently. Outputting a Solspace Calendar event's start or end date (and probably the related variables) in Unix time results in a timestamp that is off by 6 hours, 46 minutes, 20 seconds (24,400 seconds). For example, for an event that starts at 8:30 a.m. PST on October 5 {event_start_date format="%U"}, we get 1475657000, which actually corresponds to 1:43:20 a.m. PST on Oct. 5. (We need the Unix time for creating an .ics file.)

However, outputting those dates with standard PHP date format flags DOES show the correct date/time. For example {event_start_date format="%F %j, %Y at %G:%i:%s"} outputs October 5, 2016 at 08:30:00. Also, the Unix time formatting (%U) works correctly for the built-in {entry_date}, etc. variables - just not for custom date variables.

Additionally, I have verified that the server time is correct and the dates/times are correct in the database.

The only thing I could think of was that maybe something has changed in PHP since the module was coded and that is causing an error? We did upgrade PHP a few months ago, and it's possible these dates in Unix format have been incorrect since then. (We are running PHP 5.6.21, EE 2.10.1, Calendar 1.8.14.)


texts: Using P&T Select Dropdown field without updating to EE 2.6

texts: I need to use the Select Dropdown included in Pixel&Tonic's FieldPack, but I can't install FieldPack without updating EE to 2.6, which I can't do now. Is there an older version I could use? I searched P&T's website, but older versions don't seem to be available there. I don't need the whole FieldPack, really, only the select dropdown.


texts: Freeform Pro - Email Recipient from Channel

texts:
I'm trying to have a Freeform Pro on my site that not only emails the site owner when it's submitted but an external email contact as well.

The external email is a field from a channel called company. I was hoping something like this could work:

{exp:channel:entries channel="companies" limit="1" site="default_site"}
{exp:freeform:form form_name="el_list_form" required="name|email|phone|company" return="/search" recipient1="{company_email}"}
...
{/exp:freeform:form}
{/exp:channel:entries}

At the moment it emails the admin_notify in the freeform settings just fine but will not email the company_email contact. I tried just sticking in my own email manually and it doesn't seem to like that either.

I tried to see if it was my mail in general that was the issue by sending out a site communication message but that sent just fine.

Any ideas?


texts: I'm getting a "Failed to parse time string" PHP error in Assets when trying to open the file information

texts:
I'm getting the following PHP error in the console when trying to open up the image information:

A PHP Error was encountered

Severity: Warning

Message: DateTime::__construct() [datetime.--construct]: Failed to parse time string (@1.376583824E+12) at position 11 (4): Unexpected character

Filename: libraries/Localize.php

Line Number: 290

This happens within an entry, in File Manager, on an existing image and a newly uploaded image.

Running EE 2.6.1 and Assets 2.1.4.

Any help would be appreciated.


texts:
Having a hard time getting a multilingual site to work ( not complete getting the htaccess syntax)
folder layout
root
 - /en
 - /ar

My htaccess is interfering with some of the system act links as far as i can see giving me 500 errors here and there . below I attached my current htaccess ( AR is a modification of the en so not included ) and index.php edits for the root , /en(/ar) folders.

I want the site to default to en/ jump to the en folder. But something is wrong in my htaccess(s) I think, as the system act-links sometimes return 500 errors, please have a look any suggestions is appreciated, Thanks.

The root htaccess and index.php :

The /en(ar) htaccess and index.php :


texts: Undefined Offset error in ExpressionEngine Parser.php line 52

texts:
Using EE 3.1.4

Everything worked fine, until I changed the relationship selection to a new one. When I did that, it gave me the error. Now, even if I select the previously related field, I get the errors.

The message I get is :

  Notice Undefined offset: 65

  ee/legacy/libraries/relationship_parser/Parser.php, line 52 show
  details

  Severity: E_NOTICE

  Warning Cannot modify header information -
  headers already sent by (output started at /system/ee/legacy/core/Exceptions.php:112)

  ee/EllisLab/ExpressionEngine/Boot/boot.common.php, line 459 show
  details

  Severity: E_WARNING

Nothing changed in the template code or the entries except for the relationship selection.

EDIT

I have narrowed it down to a parsing issue somewhere in regards to a stash list. (See the following)

Everything was working until I changed the relationship entry to another entry. Now, even when I change back, I get the errors.

I am using the following embed:

{stash:embed:data:content_variables
    stash:channel="home_page"
    stash:segment_data="home"
    stash:limit="1"
    stash:dynamic="no"
    stash:status=""
    stash:order_by=""
    stash:paginate=""
    stash:url_title=""
}

This pulls in data from an embed template here:

{exp:switchee parse="inward" variable="{stash:segment_data}"}
    {case value="home"}
        {exp:channel:entries
            channel="{stash:channel}"
            dynamic="{stash:dynamic}"
            limit="{stash:limit}"
            status="{stash:status}"
            order_by="{stash:order_by}"
            sort="{stash:sort}"
            paginate="{stash:paginate}"
        }
            {exp:stash:sv_title}{title}{/exp:stash:sv_title}
            {exp:stash:sv_url_title}{url_title}{/exp:stash:sv_url_title}
            {exp:stash:sv_entry_id}{entry_id}{/exp:stash:sv_entry_id}
            {exp:stash:sv_entry_date}{entry_date format="%Y %m %d"}{/exp:stash:sv_entry_date}
            {exp:stash:sv_edit_date}{edit_date format="%Y %m %d"}{/exp:stash:sv_edit_date}
            {exp:stash:set_list name="slideshow_images" parse_tags="yes"}
                {slideshow}
                    {slideshow:slider_images}
                        {stash:sv_slideshow_image}{image:url:slider-optimized}{/stash:sv_slideshow_image}
                        {stash:sv_slideshow_title}{image:title}{/stash:sv_slideshow_title}
                    {/slideshow:slider_images}
                {/slideshow}
            {/exp:stash:set_list}

I stopped it there because the slider images is where I am getting the problem. If I comment out the section:

{exp:stash:set_list name="slideshow_images" parse_tags="yes"}
    {slideshow}
        {slideshow:slider_images}
            {stash:sv_slideshow_image}{image:url:slider-optimized}{/stash:sv_slideshow_image}
            {stash:sv_slideshow_title}{image:title}{/stash:sv_slideshow_title}
        {/slideshow:slider_images}
    {/slideshow}
{/exp:stash:set_list}

it displays fine. But if I leave that set_list statement in, I get the following:

  Notice:

  Undefined offset: 65
  ee/legacy/libraries/relationship_parser/Parser.php, line 52 show
  details

  Severity: E_NOTICE

  Warning:

  Cannot modify header information - headers already sent by (output
  started at /system/ee/legacy/core/Exceptions.php:112)
  ee/EllisLab/ExpressionEngine/Boot/boot.common.php, line 459 show
  details

  Severity: E_WARNING

What am I doing wrong here?

EDIT

Upon further testing, it appears to be an issue with ExpressionEngine since the following renders the exact same issue.   :(

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

    {slideshow}
        {slideshow:slider_images}
            {image:url:slider-optimized}
            {image:title}
        {/slideshow:slider_images}
    {/slideshow}

{/exp:channel:entries}


texts:
Is there any way to specify which template to redirect to after a user resets their password?

Currently, it takes them back to my reset password form, which is odd.


texts: Where can I find the sitemap.xml on ExpressionEngine?

texts:
Where can i find sitemap on ExpressionEngine v2.4.0 so i can input it on webmaster tools

If anyone knows where to find it, it would be very helpful

Many Thanks


texts: Lots of channels with small number of fields or one channel with lots of fields - efficient?

texts:
I am about to extend my site quite extensively. At the moment I have a new channel and a walks channel (I list dog walks!)

I am opening up to creating a directory of dog services and amenities, hotels etc and was wondering what the best way to do this would be.

So far I will be offering listing for several different types of businesses, but although some of them will share certain types of data (i.e. name of business, address, contact details etc, there will be quite a few differences as well.

I was wondering what would generally be considered best practise.

For example,

Option one
I have channels for:
Dog Walkers - this will include name, address, telephone, rates, logo, and description fields.
Dog Friendly Hotels - this will include name, address, telephone, logo, website link, gallery amenities and description fields.
Pet Shop - this will include name, address, logo, and opening times fields.

Option two
I create a single channel that includes all the above fields and they are just shown/not shown based on what type of business it is (defined by business type within the category)

My feeling is that its logical to break it down into seperate channels, however I do not really want to do this if its likely to have an adverse affect on performance.

I hope this question makes sense! Any thoughts, pros/cons appreciated.

**forgot to add that these entries will be added via a safecracker form, and not through the admin cp.


texts:
I am new to EE. Can someone guide me how to include paypal in payment type during checkout.
Currently we have visa,american express,Mastercard,discover


texts: Expresso: Store - 0 handling charges when selecting a particular shipping method

texts:
I have a webstore which has products that add a different handling charge to the shipping if the user selects 'registered mail' shipping.

How do I set the handling charges to 0 when a user selects a particular shipping method (Pick up at store)?

Regards,
Rin


texts: Is there a hook at the completion of a DataGrab import? I need to run a script after an import.


texts: How to show only one entree per author from a found list of authors

texts:
Situation: A channel tag gets feeded by an array of author ID's, thus outputting all entrees of the selected authors.

Problem: I must restrict these entrees to one per author.

Solution: Should we use a PHP script to hide or delete entrees?
Or are there other methodes we could use?

I found a simulair question here How to show recent entries restricted to one per author? but I do not know how to implement it.

My code is like this -where {exp:stash:AllLetterAuthor} produces a pipeline separated array of author_id-:

    {exp:stash:parse
process="end"
scope="local"
replace="yes"
save="no"
refresh="1"
}
    {exp:channel:entries
                                    channel="my_channel-1|my_channel-2"
                                    disable="pagination|category-fields|member-data"
                                    dynamic="no"
                                    author_id="{exp:stash:AllLetterAuthor}"
                                    parse="inward"
                                    }
                                    {my_field}
                {/exp:channel:entries}
{/exp:stash:parse}

The above code works, I get all the publications of the authors, but I want only one per author.

I hope someone can help me here, thank you very much!


texts:
I'm relatively new to ExpressionEngine so please bear with me on this.

I'm trying to add title attributes to the links in my Structure navigation, like this:

[page name]

But I'm not having much luck. Here is my {exp:structure:nav} tag:

{exp:structure:nav start_from="/" max_depth="1" include_ul="no" add_unique_ids="entry_id" current_class="font-bold"}

I tried adding in my own custom title parameter but that didn't seem to work either.

This could be a quick fix but I can't see it myself. Any help would be appreciated.

UPDATE: Since I couldn't see a way to add titles through the tag, I went in and edited line 717 in sql.structure.php:

$html .= '
' . $title_output .'';

I'm testing it now but it seems to work.

If anyone has a better alternative please feel free to add.


texts: Content Elements - Is there a Video add-on compatable with Vimeo?

texts: I'm trying to give a client the ability to add Vimeo videos in their entries in conjunction with Content Elements. There seems to be only one video fieldtype compatable with CE -  Embed video by krea but that only allows youtube uploads. Anyone else got this working or knows a workaround?


texts: Matrix & Radio Buttons - how to make radio button part of the same group?

texts:
I'm creating a Matrix to allow users to upload images. One of the fields I want to put is a radio button for "Set as default image". That means each row in the Matrix will have a radio button.

Problem: there can only be one default image selected from the list of images. So, if one radio is selected, the other radio needs to be unselected. Is there a way to do this without using a JS solution?


texts: Cookies appear to ignore subdomain restrictions? (EE1)

texts:
Ok, I've got my primary site running EE1 at www.example.com. I've set up a subdomain of static.example.com, from which I want to serve static assets; specifically, files that don't need cookies being attached to the requests.

My EE -> Admin -> SysPrefs -> Cookie Settings are:

Cookie Domain: .www.example.com
Cookie Path:        (ie. blank)
Cookie Prefix:        (also blank)

Once those settings are verified, I logout of the backend and use Firebug + FireCookie to remove all cookies for the current domain. Loading up, say, static.example.com/css/main.css shows that indeed, there are no cookies being transmitted with the static file request.

However, if I then load up the frontend of the EE site at www.example.com, I see a number of cookies being stored: a JW Player cookie and a few Facebook and Google Analytics cookies - all of which are expected, along with 3 EE cookies: exp_tracker, exp_last_visit, and exp_last_activity. All of those EE cookies have domains of .www.example.com - but somehow  ALL of them are also being transmitted when I request the aforementioned static.example.com/css/main.css file.

I'm no cookie expert, but I would have expected that by specifying the .www subdomain for the cookies in EE, they would have been restricted to requests that include that subdomain.

What am I doing wrong?


texts: EE Conditionals failing due to '' and ""

texts:
I have this conditional:

{if '{spieldaten_datum:first unit="month"}' == 'y'}
 Blabla whatever
{/if}

On my mamp environment with php 5.5.10 it all looks fine.

On my live Server with php 5.5.26 a part of the conditional is actually displayed like this:

I guess this has to do with the nesting of '' and "" But why is it working on one environment but not on the other. How do I need to write this?

The tag {spieldaten_datum:first unit="month"} is from the low events plugin.

ee version: 2.10.1


texts:
I'm working on a site where I utilise a custom field to store a pipe-delimited list of related entries, in order to sort Playa's reverse related entries. This looks something like this:

{exp:channel:entries
    channel='deals'
    limit='1'
}

{title}

    {exp:playa:parents
        channel='products'
        var_prefix='parent'
        fixed_order='{deal_text_product_order}'
    }

{parent:title}

    {/exp:playa:parents}

{/exp:channel:entries}

Now this works fine, my client can order their products (I'm doing this in Safecracker, with jQuery UI Sortable) "and all was well with the world". However, if they add a product after the order's been set, the product isn't shown because it's not in the list in the fixed_order parameter. Ideally I'd want any products not in the pipe-delimited list to be shown after the products that were in the list... Is there any way to achieve that?

So for example my client sorts the products as 3|1|4|2, and then publishes new products with ID 5 and 6, I'd like them to be appended after products 3, 1, 4 and 2, displaying the products in the order 3 1 4 2 5 6. Does that make sense?

Thanks!


texts: Checking registrants email address for a particlular domain?

texts:
I have a potential project coming up that will most likely use either Membrr or CT Subscriptions.

Users will have to register for a particular account depending on the level of access they require. For example one might be a 12 month subscription and another would be a month to month subscription which are both fine to setup.

However, the one unusual aspect is that they want to offer a free subscription account for healthcare users, where they would need to have an existing/live email address ending with .nhs.uk to be able to signup for the free account.

I'm looking for ideas as to the best way to tackle this healthcare user signup scenario?

Thanks in advance!


texts: What's the best, and fastest way, to remove large amounts of data from the database?

texts:
We need to remove large amounts of data (members, entries, etc) from the DB. What is the safest way to go about doing this? We're hoping we could run a delete query of sorts? Or that there is an extension that would help - but we've tried EE Support and searching around, with no real solution.
We have about 154807 members to remove; 1019974 entries to remove (for the entire channel); and 2143560 entries to remove from another (for the entire channel as well).
Unfortunately, we’ve been unable to remove these via the admin, it just freezes up and gives a time out error or memory limit error. Additionally, even trying to remove 500 at a time just for the channel entries (3163534 total entries) would mean having to do that over 6,000 times to get them all cleared out…
Essentially, this is a site that we had a cart system on for years, and need to remove all of that data, as they have migrated over to Magento for the cart, but are keeping the corporate site in EE.
UPDATE:
The current EE version is 5.4.1
The cart system we were using was CartThrob
We also used the User module by EE Harbor to manage the members.
Both CartThrob and User have been uninstalled.


texts:
I'd like to lowercase filename & extension on file upload with safecracker. Does someone know where to find the pre-uploading bit in the code?

I've played around with the core set_filename method, but that only seems to affect the temp_ filenames.

Thanks in advance!


texts: Template routing stopped working after server migration

texts:
We migrated a site we've been working on to a new server with the same host, the server spec is technically greater but from a software perspective it's running the same flavour of Apache, PHP and MySQL... however since migration template routing has stopped working.

The routes are still there in the ExpressionEngine Control Panel but they all appear to just resolve to the template you would expect if routing was not running.

Just putting this out there in case anyone else has run into it...? :/

We're running 2.8.1 on Apache 2.4.10 with PHP 5.4.30.


texts: Pages module error on channel form submission

texts:
I am getting this notice error while submitting channel entry form.

Notice
Undefined index: pages__pages_uri
ee/EllisLab/Addons/pages/tab.pages.php, line 155

Although, all entry data being saved with no "Pages URI".

I am using EE v5.3.2.


texts: I'd like to make a web page for content authors to clear cache, without giving their group access to Utilities in the CP. So I'll have to manually clear cache. Is it as easy as clearing what's in system/user/cache? Or would it be better to do this another way?


texts: Relationship tag: link to different channels

texts:
I have a relationship field which allows the editor to choose entries from different channels (channels about & news), and a few channels I have set up for Pages (with a Page URI). How can I make the template generate an appropriate URL for each entry? That is: how can I get it to link to /about/{url_title} for an about sub-page, /news/{url_title} for a news entry, and {pages_uri} for a page?

I think I can probably create a switchee scheme to create the link programmatically on the template depending on the case, but I wonder if there’s an EE tag for this.


texts: Moved EE 2.8.1 to new server cannot log-in

texts:
I guess that technically I am not moving to a new server, but rather a new installation to create a dev environment to work on before pushing to prod site. I have followed instructions here several times starting fresh each time:

http://ellislab.com/expressionengine/user-guide/operations/moving.html

The issue is that after moving the files and importing db to new install I am unable to log-in to the control panel. If I type in the wrong credentials, I get the "wrong username/password" error--which i don't get if i use the right credentials, but the right credentials just won't log me in.

I have:

double/triple checked the cp url in config.php/database.php
made sure permissions were set per instructions in the link above
cleared browser cookies/cache
even have had friends check from their computer (computer that had never visited the site before)

Still no solution. I found this question-- which seems to be what I am experiencing:

Moved EE1.7.1 site to new server and can't log into CP

This did has not solved my issue.

What could I be missing?


texts: email encode tag returning the tag as is in channel entries

texts:
I've just discovered that for some channel fields (from investigations so far, those that are marked for markdown formatting) {encode email="you@example.com" title="send me an email"} will that tag as is in the output.  Obviously the whole point of using encode was not to expose the raw email address, so how can I get the encoding to work again?

UPDATE: Let me clarify that even though I have an answer up here, I'm looking for a better answer, so that is why I haven't marked mine as accepted yet.

UPDATE 2 After some more poking around I've found that I have this issue in any fieldtype and any channel (as far as my testing has roamed) From discussions with others it doesn't seem to be the case that encode doesn't work in general anymore so it must be either something in my configuration, something in my environment, or something in my install.

I have checked through my config bootstrap and my config.php and see nothing that should be causing this, though I'm not aware of an option for disabling the encode tag, so I don't know what I'm looking for.

My server environment has not had any significant changes recently, I don't think this is likely to be it though I won't rule it out 100% if someone has an idea of an environment related cause that I should look into.

My install is potentially the cause.  I have some unreleased (session handling related) code from EllisLab that was necessary to address some security concerns raised by a security audit we performed.  This had a bug in it before which caused an issue with doing ajax queries in the control panel.  I don't think it is likely that there is a bug in that code causing this, but it is possible.  Any guidance on where in the EE codebase I should look for the code that should be doing the transform (the typography class?) I'll jump in and debug it.

The end result of this is that I don't have a good guess for what the cause of this issue is, and would like some help in figuring it out.

UPDATE 3 I can confirm that the code that handles email encoding seems to be in the typography class, but I'm having some difficulty figuring out why my {encode} tags are not working.  I'll put a bounty on this question to try out the bounty system, and to see if I can get an answer to this.  I'll be trying to find the answer first.  Feel free to beat me to it.

UPDATE 4 I found a partial answer and have posted it in the answers section of this question.  Now I'm looking for an answer about why convert_curly is on in my install and how to turn it off without changing a core file.


texts:
We are having a problem limiting entries correctly.  Our original code:

 {exp:channel:entries channel="daily-deals" search:monday-deal="not IS_EMPTY" parse="inward" orderby="random"}
    {if monday-deal}
    {exp:playa:children field="deal-owner" category="{segment_1_category_id}" status="Super Enhanced|Enhanced|Basic" parse="inward"}
    {exp:playa:parents channel="daily-deals"}{monday-deal}{/exp:playa:parents} - {title} - {city},{state-short}

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

The code above correctly returns the correct entry results (21 total entries) BUT we want to limit the number of results shown.

When we add limit="6" to the outer entry call as follows:

{exp:channel:entries channel="daily-deals" search:monday-deal="not IS_EMPTY" parse="inward" orderby="random" limit="6"}
{if monday-deal}
{exp:playa:children field="deal-owner" category="{segment_1_category_id}" status="Super Enhanced|Enhanced|Basic" parse="inward"}
{exp:playa:parents channel="daily-deals"}{if monday-deal}{monday-deal}{/if}{/exp:playa:parents} - {title} - {city},{state-short}

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

THIS code returns random number of results from 2-6.  I believe it is because when the outter call starts by limiting to 6 entries - not all of those 6 entries make it past the inner calls - thus a different number of results are displayed.

HOW do we return all 21 results, but only display 6 of the total results?


texts: Using entry_id parameter with Solspace Favorites

texts:
I'm making a filter functionality where the user can do a keyword search and sort by "Newest", "Most viewed" and "Most pinned". I'm using Low Search to do the search, Solspace Tracker for counting views, and Solspace Favorites to let the user pin content.

My approach to get the results is to first do the search with Low Search (if the user did a keyword search) and stash away the resulting id's. Then insert the id's into the entry_id parameter. This works great when I use {exp:channel:entries} and {exp:tracker:rank}, but not with {exp:favorites:rank}. Here's a stripped down example of my code:

{exp:favorites:rank
    entry_id="{exp:stash:get name='search_result_ids'}"
    show_unfavorited="yes"
    orderby="count"
    channel="article"
    limit="10"
    pagination="bottom"
    parse="inward"}

    entry_id = {entry_id}<br>

{/exp:favorites:rank}

Even if I harcode id's into the entry_id parameter, all entries are being returned. Is this a bug, or intended behavior? It says in the documentation that "Most of the parameters available in the Channel:Entries loop are available here", which really isn't much help. "Most of" could mean that entry_id isn't one of them, but who knows? :)


texts:
I'm setting up a search feature on a site and one of the channels that it's searching is downloads. Rather than link all download results to the downloads page using the {auto_path} tag and then expect the user to find the download they want, I'd like to create a link which will actually download the file from the search results page.

The issue is that when trying to do this, subsequent results seem to have incorrect links, as if the search module is getting confused?

Here's my code, any thoughts or alternative ways to achieve this are massively appreciated!

Thanks in advance,

Tom

{exp:search:search_results}

            {if channel == 'Downloads'}
                {if download_file != ''}
                    {title}
                {if:elseif download_link != ''}
                    {title}
                {/if}
            {if:else}
                {title}
            {/if}

{entry_date format="%j%S %F %Y"}

        {channel}

{excerpt}

        {if channel == 'Downloads'}
            {if download_file != ''}
                Download
            {if:elseif download_link != ''}
                Click to download
            {/if}
        {if:else}
            Read more
        {/if}

{/exp:search:search_results}


texts: Channel entry title updated with member email

texts:
I had developed an extension (hooked with zoo_visitor_register_end) using Channel Entry API which creates a new channel entry by setting the title of this entry with a custom field value of Zoo Visitors.

But faced a sudden strange problem. Now its updating the new channel entry's title with member's email.

Everything was working great since more than 5 months. The problem came after updating EE 2.5.5 (2 weeks ago). Site is MSM.

I am hitting my head since yesterday but couldn't find any pointer. I 'll highly appreciate your help.

 Edited *
Below is the code I am using to create new entry via channel entry API:

$this->EE->load->library('api');
$this->EE->api->instantiate('channel_entries');
$this->EE->api->instantiate('channel_fields');

$data = array(
        'title'         => $member_data['CUSTOM_FIELD'],
        'entry_date'    => $this->EE->localize->now,
        'author_id'     => $member_id,
        'status'    => 'new',
        'site_id'   => $this->EE->config->item('site_id'),
        'channel_id'    => 14
);

if ($this->EE->api_channel_entries->submit_new_entry(14, $data) === FALSE)
{
    $errors = $this->EE->api_channel_entries->errors ;
}
else
{
    $entry_id = $this->EE->api_channel_entries->entry_id;
}


texts:
Trying to access a google file on the server which is at http://www.norland.co.uk/googled096ea11cba5b121.html

This is an ExpressionEngine build.

My htaccess rules as follows:

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

RewriteCond %{HTTP_HOST} ^www\.norland\.co\.uk$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/college$
RewriteCond %{REQUEST_URI} !^/(college|agency|norlanders|consultancy)/(.*)$
RewriteRule ^(.*)$ /college/$1 [L,R=301]

RewriteCond %{HTTP_HOST} ^www\.norland\.co\.uk$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php/$1 [L]

I would have thought the RewriteCond %{REQUEST_FILENAME} !-d rule would exclude this but for some reason requesting this is redirecting to http://www.norland.co.uk/college/403.shtml

The 'college' redirection I can understand but not a clue why it is

redirecting to /403.html
why the source file cannot be found when I can see it on the server

Help!?


texts:
I am trying to get a php snippet working within a template with PHP enabled(output).

$uid does contain the {member_id} as expected but the php has not returned the correct result.

Update
I think this is parse order issue.

What is wrong here?

<?php
  $uid = "{member_id}";
?>


texts: Solspace Calendar Limit Occurrence Returned

texts: I have a list of upcoming events which I'm pulling by using {exp:calendar:cal}. Is there a way I can limit recurring events so only the first one displays? Using occurrence_count doesn't appear to work.


texts: Structure Nav, Non-Structure Listing Items, & MSM

texts:
I have a site that uses structure, and has a structure navigation.

On the homepage, it shows all my top level nav items, which is
correct.
On my /news-and-events/news page, which is a structure page
that draws from the news-and-events.group/news template, it shows the
top level pages and the news and events sub-pages in the nav, which
is correct.
On /news-and-events/news/{url_title}, the nav shows only
the top level items again, which is incorrect.

The individual news pages run off the same template as /news-and-events/news, just checks segment_3, and pull in content from a separate site within MSM, so they can't be a structure listing.  I need a way to get these individual news pages to show the same nav as the news listing page, either through manipulating the structure nav tag or tricking it into thinking I'm still on the news page.

Any suggestions?


texts: What's the best way to setup one-off pages in EE?

texts: Each section of this site uses single entries as pages. So in the ABOUT US section, each page under ABOUT US is an entry in the about-us channel. Same for other main sections of the site. The client also needs one-off pages that are not in any of these sections. I've never used the Pages module because I've heard it's crap since I started using EE so I'm not sure if that is an option or not. I've used Structure before, but this site is too far along to install that. What's the best way to set this up so it's easy to do for the client?


texts: Bring Matrix Data Editing to the Front-End using Channel Form

texts:
I am trying to create a form - FRONT END USER (channel form tag) - that uses a wizard (which is working) and in one panel it allows the user to fill in fields then duplicate the fieldset to add another set of criteria. I emailed Andris (P&T) and he sent me this link as a guide. I need some help, please.

<!MATRIX FIELDS-->
            <input class="new_row_id" type="hidden" name="fundraising_organization[row_order][]" value="row_new_0">

                    Fundraising Organization Name
                    <input type="text" name="fundraising_organization[row_new_0][10]" value="{fund_name}">

                    Address 1
                    <input type="text" name="fundraising_organization[row_new_0][11]" value="{fund_address_1}">

                    Address 2
                    <input type="text" name="fundraising_organization[row_new_0][12]" value="{fund_address_2}">

                    City
                    <input type="text" name="fundraising_organization[row_new_0][13]" value="{fund_city}">

                    State
                     <select>
                        {options:fund_state}
                        <option value="{option_value}"{selected}>{option_value}</option>
                        {/options:fund_state}
                    </select>

                    Postal Code
                    <input type="text" name="fundraising_organization[row_new_0][15]" value="{fund_postal_code}">

                    Website
                    <input type="text" name="fundraising_organization[row_new_0][16]" value="{fund_website}">

                    <input id="new" type="button" value="Add Another Organization">

Should look like this (can't get Field Pack option to show either in above code):


texts:
I'm trying to use the switch variable with Matrix with no success - nothing is output. This is on the latest Matrix and EE 2.5.5:

{panels}

{headline}

            panel_text here

        {if structure_page OR url}
            {cta}
        {/if}

{/panels}

Any suggestions where I'm going wrong?

Thanks


texts: Expresso-store: How do I show a button if the cart has items in?

texts:
I'm using this to check if there is anything in the cart, but it throws an error on the front end. Is there a different ay to do this?

{exp:store:cart}
{if items}Go to Order Form{/if}
{/exp:store:cart}

The error:
Message: Array to string conversion
Filename: libraries/Functions.php
Line Number: 2584


texts: PHP error on the Expresso Store inventory tab

texts:
Good day dear community. I have a problem when you install the store. at the entrance to the tab store -> inventory, gives me dosing errors. text Errors:

A PHP Error was encountered

Severity: Notice

Message: Undefined property: Addons_modules::$api

Filename: core/Model.php

Line Number: 50

Fatal error: Call to a member function instantiate() on a non-object in /home2/softsltn/public_html/pdq2/system/expressionengine/third_party/store/models/store_model.php on line 611

thank you in advance for your help


texts: As a practical matter—is it better/easier/more advisable to upgrade to Calendar 2 before upgrading to ExpressionEngine 3, or the reverse?


texts: I'm searching EE2 mod for portfolio with categories, images, descriptions and custom fields... Who know EE2 mod like this? I will need to create more categories with sub categories, with description, images, many custom fields (like url, type of work etc...)


texts: How can I redirect my contact form to a thank you page

texts:
Please accept my apologies if i'm not clear, I will try my best.

I have EE v 2.9.2 installed and I am using the built in email contact form.

However, I am trying to get it to re-direct to a thank you page rather than show the ajax message block.

Here is my code:

{exp:email:contact_form user_recipients="no" return="http://www.pixelsandcode.co.uk" recipients="pixelsandcode@me.com" charset="utf-8" form_class="form form--full d-showgrid"}

<fieldset class="controls controls--left">
    <label for="name" class="controls__label">What's your name?</label>
    <input type="hidden" name="message[]" value="--Name--" />
    <input class="controls__control" type="text" id="name" name="message[]" size="40" maxlength="35" value="" placeholder="Benjamin Franklin" />
</fieldset>

<input name="submit" type='submit' value='Submit Form' class="btn btn--primary" />

{/exp:email:contact_form}

This is actually a stripped back view, I have other fields but even like this I get no redirect.

Is there something really obvious that I am missing here?


texts: Any way to create a custom price modifier?

texts:
Here's what I want to do.  I have a store with a variety of products.  some of the products have price modifiers (like custom color, or "base price").

The products have a price per quantity.  But, the products also have a base price.  Additionally, if a customer selects a custom color, then there is a price modification.  But, I don't want the base price, or the custom color price modification to apply to every quantity of that product.  Just once per product in the cart.

example:
These are products that are typically purchased in quantity (think holiday cards).  Each product (the card type) has a minimum order quantity (25).  Even though there is a minimum quantity purchase of 25, I'm managing the pricing per unit (so the store will do all the price calculations, and so the customer can adjust quantity in the cart).  So, the per unit price is $5.  There is a price modifier for color.  There is Black (+$0), White (+$0), and Custom Color (+$30).

If the customer orders this card at a quantity of 50 in white, the price will be:
$250 ($5 x 50)

If the customer orders this card at a quantity of 50 in a custom color (they specify the color), the price will be:
$280 ($5 x 50 = $250 + $30)
(the custom color charge is a one-time charge.  Not a per unit charge).

The "base price" functionality (I'm calling it base price, but it's really a "set up cost for die cutting of certain versions of the cards) can function the same.

Example.  Card A has a per quantity cost of $5.  But, because this is a special type of printing, it requires a one-time setup cost of $50.  So, the price modification is the same as the custom colors above (only the customer doesn't get to choose whether this modifier is selected, it's automatically chosen).

I have a lot of different products, and the setup cost is different for each product type.  I could do the math and come up with some formula that allows me to include the setup cost in the per unit cost.  But, the set up cost may change over time, where the actual per unit cost will not.  Additionally, if a customer comes back and purchases more of one of the items that they already purchased, then they do not get charged that setup cost.  So, ideally, I'd like to keep it away from the per unit cost, and use it just like the custom color scenario... and in the templates I can just hide that modifier option and make it apply automatically.

Clearly, this isn't an option in the expresso store.  Is there a way to create a custom price modifier type/module/add-on that I could use?  Or, any other approach for managing this?  (my fall-back method is to find in the code where the price modifier math is being done and change it from a "multiply against every unit" to a simple "add once per product in the cart".  I realize that won't survive software updates...  But ALL products would operate this way.. So, I wouldn't have the need to have a standard price modifier function.)

Thoughts?


texts: P&T Matrix Required Col on VZ URL fieldtype not honored

texts: I have a matrix fieldtype with a column that has a VZ URL field in it. The column is set to required but you can leave it blank when submitting an entry. Anyone else have this issue or any insight?


texts:
I have the following blocks of code that I can't seem to to work correctly. The list sets and populates perfectly, but the switchee statement doesn't work. I konw that it has do do with parse order but I can't figure out what is going on. The debug value of for the switchee tag is this:

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

It seems as though switchee is running before stash is parsing list_count, is there any way to fix this?

{exp:stash:set_list name="buy_now_options" parse_depth="4" parse_tags="yes" trim="yes"}
    {exp:channel:entries entry_id="{lv_site_buy_now}" status="open|closed" order_by="entry_id" sort="asc" limit="3"}
        {stash:title}{title}{/stash:title}
        {stash:item_entry_id}{entry_id}{/stash:item_entry_id}
        {stash:url_title}{url_title}{/stash:url_title}
        {stash:logo}{partner_logo:url}{/stash:logo}
        {stash:base_url}{partner_base_purchase_url}{/stash:base_url}
        {exp:stash:set_list:nested name="purchase_urls" context="{entry_id}" parse_tags="yes"}
            {partner_retail_urls}
                {stash:product}{partner_retail_urls:product:title}{/stash:product}
                {stash:url}{partner_retail_urls:url}{/stash:url}
            {/partner_retail_urls}
        {/exp:stash:set_list:nested}
    {/exp:channel:entries}
{/exp:stash:set_list}

{exp:stash:get_list name="buy_now_options" parse_tags="yes" parse_conditionals="yes"}
    {exp:switchee variable="{exp:stash:list_count name='purchase_urls' context='{item_entry_id}'}" parse="inward" }
        {case value="0"}
            true

        {/case}
        {case default="yes"}
            false

        {/case}
    {/exp:switchee}
{/exp:stash:get_list}


texts: {no_results} doesn't work if channel:entries uses category="" as parameter

texts:
I have a very strange issue. When using the first EE channel:entries code my no_results tag works, but when using the exact same channel:entries tag together with the category="" parameter the no_results tag doesn't work. Any ideas?

The {last_segment_category_id} variable being empty, of course.

Works:

{exp:channel:entries channel="channel_name" dynamic="no" disable="pagination|member_data"}
{if no_results}
No results...
{/if}
{/exp:channel:entries}

Doesn't work:

{exp:channel:entries channel="channel_name" category="{last_segment_category_id}" dynamic="no" disable="pagination|member_data"}
{if no_results}
No results...
{/if}
{/exp:channel:entries}


texts: Changing channel assignments for one member group disables them for other member groups

texts:
Every time I try to create a new member group (or edit any member group that isn't Super Admin) and assign channels and module access to this new group it disables all channel assignments module access in other member groups. If I then go back to the original member group to fix the disabled channel assignments and module access, the new one gets disabled.

It should be noted that I have two add-ons that may be part of the problem. These two add-ons are Structure and Zoo Visitor.

Any idea why this might be happening??


texts: Limiting results returned by nested playa parents tags

texts:
I'm hoping someone can give me a pointer on narrowing my returned entries on the basis of nested playa parent relationships. Here's the scoop:

I have a 4 inter-related channels: companies, people, tasks and task statuses.  Companies are at the top of the food chain - a lot of the display of the entries in my channels is determine by the company.

People are assigned to companies.  When the user logs in, their parent company is stashed as a site variable (member_company_id).

Tasks are assigned to companies, and tasks may be shared with multiple companies since they are one central list of tasks.  Tasks therefore have a playa relationship field assigned to the companies channel. On the home screen, when the user logs in, they need to see the list of tasks assigned to their company.

So far, all of the above works nicely with playa parents.  Where I'm having trouble is the next layer.

My task statuses channel includes 2 playa fields - one for related company and one for related task.  The idea being that each company will be assigning a "status" to each task they have been assigned.  But because the task itself is not exclusive to the company, the task status must be an entry whose display is based on both relationship fields at the same time. I thought that the relationship to companies would cascade down through the nested parent chain, but I'm discovering that they are not.  Here's my template code:

{exp:stash:get_list name="member_details" limit="1"}
{exp:channel:entries channel="comp" limit="1" entry_id="{member_company_id}" orderby="date" sort="desc" disable="member_data|pagination" dynamic="no" cache="yes" refresh="720"}

{!-- FETCH TASKS ASSIGNED TO CURRENT LOGGED IN MEMBER COMPANY --}

{exp:playa:parents channel="tasks" field="cf_tasks_related_companies" var_prefix="tasks"}

{tasks:title}

{tasks:cf_tasks_description}

            {!-- FETCH STATUS OF EACH TASK --}

            {tasks:exp:playa:parents limit="1" channel="status" field="cf_status_related_task" var_prefix="status"}
                {if status:no_parents}Add Status{/if}

Status: {status:cf_status_current:label}

Target: {status:cf_status_target_date format="%M %d %Y"}

Update Status

            {/tasks:exp:playa:parents}

{/exp:playa:parents}

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

What I'm finding is that when I log in as a member of company XYZ, I correctly get the tasks assigned to that company.  However, the task statuses being returned by tasks:exp:playa:parents are not limited to the company and instead I'm getting all task statuses assigned to task A.

Is there a way to limit the returned entries in the fashion I am looking for with the nested parents tags, or am I going to need a custom query?


texts: Category Group id location in the control panel

texts: I cannot find the category group id number anywhere in the control panel since I upgraded to EE5. I am building a search based on cat group but I have no idea what the values are and cannot find them. Can some enlighten me to where they are listed


texts: Has anyone used Expression Engine with Open Saas to sync membership profiles to a cloud based CRM?

texts: I'm trying to sync new member registration and profile updates to a cloud based CRM.  Has anyone done this?  The CRM I'm using is Batchbook.  It uses Open Saas.


texts:
We have a custom third-party module called qo5. All of our controllers are in there.

I have a template that I need to pass a variable from a PHP function to.

{exp:qo5 action="deal/getDealCode"}
    Test: {default_combo_override}
{/exp:qo5}

The deal/getDealCode function looks like this:

public function getDealCode() {
        $deal_id = $this->EE->input->post('deal_id');
        $deal_code = $_SESSION['order']['coupons'][$deal_id]['code'];
        error_log("deal code: " . $deal_code);

        if($deal_code == 'GARLICPARM') {
                $data['default_combo_override'] = 'AT';
                error_log("Data");
                error_log(print_r($data, 1));
                return $this->EE->TMPL->parse_variables($this->EE->TMPL->tagdata, $data);
            }
    }

I know it's being called; the error log is executing and displaying the correct data. But the span value for default_combo_override is not being populated.

What am I missing here? We use similar functionality all over the place, and it works everywhere else.


texts: Can the FREEMEMBER module be used with the EE core package?

texts:
The login form from the docs works fine and so does the password reset.
However I have been unable to register a new member or show a logout link, this is the same issue I had whilst using the AUTHENTICATE module and came to the realisation that as CORE doesn't have the member module the logout and register wouldn't work (took me three days and I'd rather not spend the next three days trying to get this to work.


texts:
No matter how I format my entry_date, it throws an error:
{exp:channel:calendar switch="calendarToday|calendarCell" channel="workshop_events" show_future_entries="yes" show_expired="yes"}
{calendar_rows}
{if entries}
    {entries}
        {title}<br />
        {entry_date format="%g:%i%a"}
    {/entries}
{/if}
{/calendar_rows}
{/exp:channel:calendar}

PHP error on the entry_date is as follows:

Undefined index: entry_date format="%g:%i%a"
Filename: channel/mod.channel_calendar.php
Line Number: 472

thanks for any advice.


texts: Assets + multiple files + file manipulations: offset not working

texts:
I've got a grid field (slides) that contains 2 Data Types:

Text Input - field name: text
Assets (multiple selections allowed.) - field name: img

The Assets folder that has been selected has a image modification called 'sml'.

I can get all the default images outputted in my template in 2 different ways (based on 3 files being added):

Example file names: img_1.png, img_2.png, img_3.png

Example file folder: /content/

1:

{slides}
  {slides:img:url offset="0"},
  {slides:img:url offset="1"},
  {slides:img:url offset="2"},
{/slides}

2:

{slides}
  {slides:img}
    {slides:img:url},
  {/slides:img}
{/slides}

Both examples above output:

/content/img_1.png,
/content/img_2.png,
/content/img_3.png,

But using the same logic for the image manipulations, example 1 above only shows the first image?

{slides}
  {slides:img:url:sml offset="0"},
  {slides:img:url:sml offset="1"},
  {slides:img:url:sml offset="2"},
{/slides}

Outputs:

    /content/_sml/img_1.png,
/content/_sml/img_1.png,
/content/_sml/img_1.png,

{slides}
  {slides:img:}
    {slides:img:url:sml},
  {/slides:img}
{/slides}

Outputs:

/content/_sml/img_1.png,
/content/_sml/img_2.png,
/content/_sml/img_3.png,


texts: Expression Engine 3 pagination with page_uri

texts:
I have looked for a while for a solution to this, but have been unsuccessful so far. Not sure if it's me, or if there's a problem with the pagination functionality.

What I'm trying to do

When on a page within a certain channel, I want to have 'prev' and 'next' buttons to click through to the next article in the channel. These links must use the page_uri set for each page.

What I've tried

I have a channel full of pages. In the template, I have added:

{exp:channel:entries channel="project" dynamic="no" orderby="date" sort="desc" limit="1" paginate="bottom"}

              {paginate}
              {pagination_links}

                {previous_page}

Previous Page

                {/previous_page}

                {next_page}

Next Page

                {/next_page}

              {/pagination_links}
              {/paginate}

    {/exp:channel:entries}

This is adding the links to the bottom of the page, but when clicking on them the URLs are just loading the same URL you're currently on, then adding /P1 to the end.

I need it to use the page_uri added in the CMS so that it clicks through properly and doesn't affect SEO on the site.

Any help appreciated on this one, thanks


texts: Anyone know why orderby would not be working?

texts:
The orderby parameter seems to be giving some strange results on a site I'm building. It appears to be outputting 2, 3, 4 then 1. Any ideas why that would be?

Here's my code:

{exp:channel:entries channel="homepage_image_slider" orderby="slider_display_order" sort="asc"}

I've tried setting the field as text, number and integer and all give this strange result.

I'm running EE version 2.7.3

Any help is appreciated!


texts: when removing index.php slow down the site

texts:
I'm using the code from the EE user guide:

<IfModule mod_rewrite.c>
        RewriteEngine On
        RewriteBase /

        # 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>

It's working fine but the time loading pages is affected, with index.php the page loading is very fast < 1000ms , removing index.php it's slower (8000-10000ms).

The system folder of the site is one step above the root, the problem of slowness could be have a relation with : RewriteCond %{REQUEST_URI} !/system/.* [NC] ??
How to set the correct path, one step above the root of !/system/.

Thanks,

Stéphane


texts: Store/Google Analytics transactions discrepancy

texts: Is there any reason why Store might not be logging transactions with Google Analytics apart from JS being disabled/unavailable? We have some orders not showing up in GA and the client is keen on identifying the underlying cause.


texts: How can I include the status message in an email template after changing the status of an order using Store?

texts: In the back-end at order details you can add a message while changing the status of the order. I want to use this information in the email templates, but I can't find the appropriate tag for the message.


texts: Assets Images in Low Variables not showing across MSM sites

texts:
Having a small problem with images from an Assets fieldtype ... that is in a Matrix field ... that is in a Low Variable ... showing on a second MSM site.

All the other Matrix fields (basic text fields) list okay ... it's just that the Assets field that is not showing.

So on the second 'MSM' site I've got the following code:

{exp:low_variables:pair var="site_1:lv_sites"}

{image}

{description}

{/exp:low_variables:pair}

If I put the same code on "site_1" the {image} tag comes out fine. On "site_2" the {image} tag comes out blank.  I've tried using {image:server_path} and {image:url} and it's still coming out blank.

Running EE 2.5.5, Assets 2.1.3 and Low Variables 2.3.4.

Any thoughts are welcome!

Cheers.


texts: ee forum + Scaffold vs non-ee forum software

texts:
I am intending to have a separate section of a hugh(000's threads) discussion forum for my website but have a dilemma.  Either I purchase/free download a non-ee reputable forum software such as 'ip.board review'/'phpbb', or to purchase EE Discussion Forum v3.x and improve it with devot-ee's 'Scaffold'.

Option 1: I should be needing with most/all of the advanced features of non-ee software mentioned but I will loose the smooth integration my ee-developed website.  e.g. A member may have to logon to ee-developed website and forum separatly.  This is not what I want to see.

Option 2(preferred): Stick with ee + devot-ee solution, this is a full integration of website and forum.  But I worry the ee forum features will not be as competitive as a non-ee solution.

Please someone shine me some lights.

cheers
donnie


texts:
Hi
I'm trying to install Cartthrob
I have Extension enabled
But still carthrob is asking for extension to be installed

Is there anything else i need to check for this?

Thanks!

I'm testing this on ee 2.5.5


texts: Get {count} for a Relationships field within a Grid field

texts:
How do I get count for this scenario? Each row returns "1":

{grid_field}
  {grid_field:relationships_field}
    {grid_field:relationships_field:count}
      // incorrectly shows 1 for each row
  {/grid_field:relationships_field}
{/grid_field}

Count works fine for the grid field.

EE 2.10.1


texts: Are there any options for choosing and showing a Primary Category in EE3?

texts:
I am upgrading a site to EE3. I have a channel with 3 separate category groups, with 2-3 levels of categories in each group. Any particular entry could have 3-6 categories selected.

For breadcrumbs on an entry, I'd like to be able to select a primary category so that I only display on breadcrumb trail for the entry instead of a list of all the associated categories.

Is there a solution for how to do this in EE3. Solspace "Primary Category" is not EE3 compatible and is discontinued.


texts:
I need help figuring out how to organize the following. Within my main EE site, there will be a SECTION. Within that, multiple YEARS. Within each YEAR, multiple LOCATIONS. Within each LOCATION, multiple articles or pages. My brain is going in circles. I'm planning one style of page for the SECTION index, while all other pages will have the same style or structure.

Should it be:

Template Group = SECTION
SECTION = index, location 1, location 2, location 3 (templates with channels specific to each location) and then categories assigned to each article for the year?

or

Template Group = SECTION_YEAR
Template Group = SECTION_YEAR
Template Group = SECTION_YEAR

And then within each group: index, location 1, location 2, location 3, with one type of category to handle the content structure of each page?

I intend to sort the menu into:
YEAR DROPDOWN Location 1 Location 2 Location 3, with each article per location showing up under its location.

Any advice appreciated.


texts: ExpressionEngine mail form with attachments: how do it?

texts:
What is the best way to do it a mail form in expressionengine with a file attachment?
The objective is to construct a resumé sender mail form, where the user fill some fields and attach a PDF or DOC file.

I dont want to store this in the site, just attach and send in a e-mail recipient.

What solution to use? Code examples?


texts: Retrieving Matrix Row data via Playa Relationship

texts:
Apologies for the vagueness in the title.

I have two channels: Businesses & Events

I am trying to allow businesses to display special offers for any event. They choose the event in a Playa field and set the offer for that event in the same Matrix row. See the image for better clarity.

On the actual event page, I'd like all child entries to be able to display the {title} of the business and the {offer} they provided in the row that the relationship was made.

I've tussled over this for the better part of the day with some (but not much) luck.

How would you approach this scenario, if this even possible?


texts:
In channels you can define a default category to added entries, and I'd like to do something similar for added images.

This is a Safecracker File field (using Safecracker to upload).

Thanks for any help!


texts: Showing the amount of search results when using exp:low_search:popular

texts:
Can I show the amount of search results when using exp:low_search:popular?
And I would like to sort by the amount of search results if that is possible.


texts:
We use Wygwam for client to enter their content to EE. Client would like to enter order list type with A,B,C,D instead of 1,2,3,4. Can someone give me a hint how can I add option to client to choose  order list type on the icon bar?

Thanks,
Angela


texts: I sound like a newb, but is CKeditor supposed to be installed onto the root of EE so Wygwam can actually work?

texts:
ok so this sounds basic;

I've installed latest wygwam 3.3.3 and seemed to install fine.
ok so is CKeditor supposed to be installed onto EE on the root? Because between CKeditor's lack of answers for installation with EE and wygwam's lack of explaining how CKeditor is installed with its product, I'm lost.
any help is appreciated! thanks!


texts:
We have a multi-step checkout, with SagePay Europe Direct as the default payment gateway.

When it comes to inputting your card details on the site and submitting, you get redirected back to the enter payment details page. There are no errors coming up and the order isn't being processed in the CP either.

We have set up Sagepay test area and added our IP address for doing test transactions. Plus I've checked we are using the right SagePay test details.

We are using the update_cart_form for collecting billing and shipping details then using checkout_form on the final step for collecting payment details.

Some help would be great as we I have been stuck on this for days.


texts:
I have a jQuery collapsing menu feature that I want my client to easily be able to create. The only thing that needs to be done is adding two styles to their text. One is the header of the menu, the other is the collapsing content.

I'm using WYGWAM and here are my custom styles:

CKEDITOR.stylesSet.add( 'my_styles',
[
    // Block Styles
    { name: 'Heading 1', element: 'h1'},
    { name: 'Heading 4', element: 'h4'},
    { name: 'Default Copy', element: 'p'},
    { name: 'Accordion Header', element: 'div', attributes: {'class': 'accordion-header'}},
    { name: 'Accordion Content', element: 'div', attributes: {'class': 'accordion-content'}}
    ]);

The problem is any time I try and apply the accordion styles they wrap everything within them. In the instance of trying to add bullets as content...
It'll turn into:

Header Text

List item

List item

List item

List item

It just automatically adds p tags then applies my custom class to every element within. Ckeditor is being a pain. Any advice?


texts:
When I install Channel Images, all of my Wygwam text fields disappear on the publish entry pages. I can still see the channel field title for the Wygwam field, but the wysiwyg is gone. Has anyone else run into this issue? If so, how did you fix it?

EE version 2.5.5. Wygwam version 2.7. Channel Images version 5.4.2.


texts: How to Batch Update Channel Preferences?

texts:
I inherited a site with a zillion channels, and every channel has "Automatically Convert URLs to Links?" set to "yes".

Is there a query I can use to update the preferences for all of these channels to "no" at the same time?

EE 2.5.2


texts: Solspace Calendar: ICS import field mapping

texts:
Is there any way to import additional fields from ICS files via Solspace Calendar (v1.8.13 on EE v2.10.1).  There are the default Calendar: Events fields which typically get populated with imported data.  And I can add additional fields like for links and images to the field group, but is there a way to map imported data into these additional fields?

I didn't see anything in the documentation or in the Calendar module in the CP to address this.


texts: Conditional Check Issue || Is Entry in any of these Categories?

texts:
Scenario

The issue is that entries are in several categories and can be Featured (a FieldPack pill with yes/no options) but only want certain categories to show the entry.

So I have a featured_listing_category WB Category fieldtype setup.

I had this worked out but apparently still not working the way expected. I have the following code:

{if !'{exp:phpstringfun function="strpos" par1="{featured_listing_category}"}{segment_4_category_id}{/exp:phpstringfun}’}

With {featured_listing_category} outputting 399|400 and {segment_4_category_id} outputting 372

I'm trying to test whether {segment_4_category_id} is included with {featured_listing_category}.

If it helps here is my template snippet:

{exp:channel:entries
      channel="listing"
      dynamic="no"
      {if segment_5 ==''} category="{segment_2_category_id}&{segment_4_category_id}"{/if}
      {if segment_5} category="{segment_6_category_id}&{segment_4_category_id}"{/if}
      orderby="level_sort"
      sort="asc"
      search:featured_listing="yes"
      disable="categories|pagination|category_fields|member_data"
    }
{if !'{exp:phpstringfun function="strpos" par1="{segment_4_category_id}"}{featured_listing_category}{/exp:phpstringfun}'}

        {if main_image}
        {exp:ce_img:pair src="{main_image}" width="165" height="165" allow_scale_larger="yes" crop="yes|center|center" }{/exp:ce_img:pair}
        {/if}
        {if main_image ==''}

        {/if}

View Listing

            {exp:rating:stats collection="Book Reviews" entry_id="{entry_id}" precision="1"}

{stars_overall_avg}

              {if rating_no_results}
Rate This Listing
{/if}
            {/exp:rating:stats}

{title}

        {addresses limit="3"}

{if company_name}{company_name}
{/if}{if address1}{address1}{/if} {address2} {if city}
{city}, {/if} {if state}{state}{/if} {if phone}
Phone: {phone}{/if} {if website_url}
 {website_url}{/if}

        {if row_count == total_rows && total_rows > 1}

See More

        {/if}
        {/addresses}
        {if overview}

Overview

        {overview}
        {/if}

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


texts: How can I add a Playa relationship via SafeCracker

texts:
I have the following scenario:

2 Channels: events and users
{user_id} holds the {entry_id} to the currently logged in member since members are stored in a channel rather than using the native member module.
In the event list, I have an "add to my events" safecracker form which should inject the currently logged in {user_id} into the Playa field (cf_event_participants) on the events entry currently being edited.

I can read and write to the correct entry and can set the definite playa selection using the hidden field method like so:

<input type="hidden" name="cf_event_participants[selections][]" value="{user_id}">

The problem I am having is that the above cf_event_participants field is a multi selection field and the effect of the above is that all existing relationships already stored in that field are cleared upon submitting the safecracker form and replaced only with the submitted logged in {user_id}.

Is there any way to just add a new relationship to the field without disturbing the existing ones already stored inside the [selections] array?

One more caveat: Because multiple users might be "saving" an event into their list simultaneously the following work around will not work as by the time the user submits this form, another user might have already added themselves into the cf_event_participants[selections] array.

// loop through existing values of the relationship field and store as hidden
// fields with the entry_id as value.
{cf_event_participants}
    <input type="hidden" name="cf_event_participants[selections][]" value="{entry_id}">
{/cf_event_participants}

// add new member
<input type="hidden" name="cf_event_participants[selections][]" value="{user_id}">


texts: Translate categories in custom built multi language site

texts:
Anyone knows how translate category names using this method?

http://eeinsider.com/articles/multi-language-solutions-for-expressionengine


texts:
I'm trying to do a checkout with cartthrob and instantly creating a new member. This really works great so I have a member entry in the members table. But I use zoo visitor and also need a channel entry there.
It is described in the docs of cartthrob that it has to work: http://cartthrob.com/docs/tutorials/member-accounts/#addons-for-member-management

Does anybody has a working example for this scenario?

Regards


texts: nothing happens when i click upload files on channel files with channel form

texts:
Nothing happens when i click upload files on channel files with channel form

{exp:channel:form channel="news"}
{field:floor_plans}
{/exp:channel:form}


texts:
Does any one have an example of how to submit data to an outside site from the form submitted on signup using the Solspace User Module.

I have my cURL code nailed (calling from another page), but have not been able to send the form data to that CURL script after successful submit.  I need to include this to fire off: require_once("/base/cleintapps/mysubmit.php"); <- this is where I am sending data through CURL.

Thinking it's the user_register_end hook but have not been able to get it working.  No matter how many times I look at and try the EE docs, I don't get how to put a hook together.  I simply want to submit the info, including the custom fields.  Thanks!


texts: Does ExpressionEngine support child or sub themes (theme inheritance)?

texts:
I was wondering if ExpressionEngine support child / sub themes similar to the way other CMSs have implemented template / theme inheritance?

Wordpress - http://codex.wordpress.org/Child_Themes
Drupal - http://drupal.org/node/225125

thanks!


texts:
I need a complex query and have gone beyond my scope of understanding.

Here is the gist...

There is a section of the site in which users can select various values available in entries of a particular channel. Some are 'Categories', some are 'Grid Fields', Lastly, one is a range.

I pass the variables to a template displaying the results and get the values selected using Mo' Variables by Rob Sanchez.

So the URL will look something like this:

/find-your-home/search?city=edmond&sub-division=stonebriar&school-district=edmond-public-schools&Bedrooms=4&Bathrooms=2&min=90000&max=400000

I can get the variables like this:

{!-- Get the key values from the query string --}
{exp:stash:search_city}{get:city}{/exp:stash:search_city}
{exp:stash:search_sub-division}{get:sub-division}{/exp:stash:search_sub-division}
{exp:stash:search_school-district}{get:school-district}{/exp:stash:search_school-district}
{exp:stash:search_bedrooms}{get:Bedrooms}{/exp:stash:search_bedrooms}
{exp:stash:search_bathrooms}{get:Bathrooms}{/exp:stash:search_bathrooms}
{exp:stash:search_min}{get:min}{/exp:stash:search_min}
{exp:stash:search_max}{get:max}{/exp:stash:search_max}

So far, so good...

So the houses are in their own channel so I want to query that id: channel_id = '3' (In this case)

The following are categories: city, sub-division, and school-district

I then have a grid field for details which is listed as comma separated values. This is where the price, bedrooms, and bathrooms are kept.

So basically, in the table exp_channel_data:

entry_id, and field_id_23 seem to be the only fields I need.

field_id_23 looks like this: 349900|4|3|1|2|0|3|2557

In this instance, 349900 is the price that would need to fall between the min and max range passed.

Then the next two segments, 4 and 3 are the Bedrooms and Bathrooms respectively.

Then I will need the exp_category_posts table to get the categories for the entries. I should be able to join the two tables on the entry_id.

The category group I need to get is group 2. (If that matters)

The City category is a parent with an ID of '2'.
Under this are (currently 4) child categories of which Edmond has an ID of 9.

The Sub-Division category is a parent with an ID of '1'.
Under this are (currently 6) child categories of which Stonebriar has an ID of 8.

The School Districts category is a parent with an ID of '16'.
Under this are (currently 3) child categories of which Edmond Public Schools has an ID of 17.

I have tried to put this together, but I don't know the best way to get it all together. It would be nice to be able to pass it through a {exp:channel:entries} loop.

If I could get all of this filtered with the above and return a group of ids to run, I think it would work.

Something like this: SELECT GROUP_CONCAT(DISTINCT exp_channel_data.entry_id SEPARATOR '|') AS entry_ids FROM exp_channel_data WHERE channel_id = '3' only WITH the other query data filters applied as this one returns all the ids in that channel.

EDIT

I updated the drop downs to populate the categories with the category_id as the values to pass. This should simplify the category issue in the query.   :)

So the URL will look like this now:

/find-your-home/search?city=9&sub-division=8&school-district=any&Bedrooms=4&Bathrooms=3&min=90000&max=400000


texts: display members list using zoo visitor default members group

texts:
I am trying to display a members list using zoo visitor.

I cannot display the default members group.  It only displays new custome members group I have created.  How can I get this members list to display the default members group #5

{exp:zoo_visitor:members group_id="5"}
{visitor:member_lastname} {visitor:member_firstname}
{/exp:zoo_visitor:members}

{exp:zoo_visitor:memberlist group_id="5"
{title} {visitor:member_lastname} {visitor:member_firstname}
{/exp:zoo_visitor:memberlist}


texts: Add custom class when inserting images in Wygwam field

texts: I have some images uploaded with a post which I now want to inset in the body text. It is a Wygwam field so I can use the built in integration but is it possible to add a custom class to the images when I do this without having to look at the source? I want to add class="img-responsive".


texts: How to hide content if channel has no entries?

texts:
A found a few questions related to this one. However, the solution they provide is not compatible with my situation.

How do I hide a div when the channel entries tag it contains has no results?
Render HTML only if channel has entries

I have a set of tabs which act as filters for displaying content.

Approved

Pending

  {exp:channel:entries channel="thing" search:thing_status="approved"}
    ...
  {/exp:channel:entries}

...

How can I only display the tab if there are entries which match the search filter?


texts: Expresso store multiple product modifiers

texts:
The main issue I’m having, and this is a general issue, is because the products are part of a range.  In essentially the same way as an iPad where you have options of 16gb, 32gb or 64gb memory with wi-fi or wi-fi & mobile options our ranges work in a similar fashion, some with far more complex options.

As with the iPad, it can be said there are 6 different products reflecting the options, our products are similar and instead of showing, for example, 6 products that all look the same from the outside we’re promoting the product range and have an options panel so the end user can select their requirements and a product model is defined for them.

This is part of a complete redesign I am working on but the current site has this functionality working (My boss liked it so much he wanted me to add it before I developed the new site!!) and you can see it in the left hand panel here http://www.picotech.com/picoscope5000-flexibleresolution.html

It’s built on jQuery so is all client side and just passes a catalogue number to the cart.  The problem I’m having is I can’t seem to replicate that function.  There are some models that are set from 1 option that would work with a product modifier but there are many with more than 1 option and it is not (from what I can gather?!) possible to use multiple product modifiers.

Any solution would be greatly appreciated.

Further more, from what I’m noticing one entry is being rendered in the JavaScript code that’s generated, Is that what is used to send info to the cart??? If I was able to generated an array of all the models in the range then I'm hoping that would work but I'm unsure as to how to do that.

Much appreciated
Jon


texts:
I'm inside this loop:

{exp:channel:entries channel="people" disable="categories|member_data|pagination" status="open|closed" show_expired="yes" show_future_entries="yes" sort="asc" orderby="people_last_name" limit="999"}

Just about everything I'm displaying is working as expected.  At one point, I have:

{edit_date format="%m/%d/%y"} - {edit_date:relative}

{edit_date format="%m/%d/%y"} works fine.  {edit_date:relative} gets passed through as literal text.  So I get results like:

12/02/12 - {edit_date:relative}

Anyone know what I’m doing wrong, and how I can fix it?


texts:
Nuts nuts...

www.example.com works, but when accessing www.example.com/index.php/template_group, or any other pages, EE gives No input file specified-message and nothing therefore works.
Version 2.5.3 with Channel Images, likEE, Wygwam...

but what makes this very very odd, is that the site worked just fine 3 months ago when i was working on it. Now its dead end.

What might be the issue?

EDIT: Was a serverside issue, host made updates on server, so therefore stopped from working. I got email from them and check all later today, but did try fastlink to one i remember, and it worked as before - so i think they fixed their own hassle :)


texts: ExpressionEngine 5 -Maximum number of entries

texts: In previous versions of EE, there was a setting in the Channels called "Maximum number of entries". However, in EE5 I can't find this setting- is it still available?


texts: File directory doesn't parse correctly in Seg2Cat

texts:
I'm seeing an issue in Low Seg2Cat where the {last_segment_category_image} variable seems to not be parsing the file directory & is returning the following: {filedir_10}gaf-logo.png.
I am using {last_segment_category_description} just after it & it is displaying correctly.
Am I using the Category image tag incorrectly. or might there be something else going on here?  I'm on EE4.1.2

Thanks.
Russ


texts: Expresso Store Discounts page takes ages to load with DB with lots of entries

texts:
I’ve spotted an issue with the Expresso Store discounts detail page:

i.e. /cp/addons_modules/show_module_cp?module=store&sc=discounts&sm=edit&id=1

If you have ‘lots of entries’ (we have 124,114) then the discounts page take forever to load as it attempts to populate the ‘Match Entries’ multi select field with every single entry in the CMS!

Any thoughts on how we can fix/hack this so it’s usable?

:/


texts: Can I export Channel Images data to Grid?

texts:
I set up a site with Channel Images, but now the client wants more information to go with each image than is really possible with Channel Images, so I'm thinking of making it a Grid.

The question: is there any (easy) to export the data from my Channel Images field to Grid? I'm not really a MySQL person, by the way....


texts: Can I use custom map image tiles with Google Maps for ExpressionEngine?

texts:
I need to display a Google Map with markers generated from Channel Fields, using a custom map tile instead of Google's satellite imagery. If I know where corners/points of my image map to exact lat/long coordinates, is there a way to load in my image to be the map image?

(A nice elegant "use my image as the map" solution would be great if there is one, but I'd be equally open to a hacky "stick my image on top of the map" sort of solution as well...)


texts: Krea Helpdesk - attachments tag not working

texts:
Has anyone had trouble using the attachments tag in Krea Helpdesk?  I'm using Helpdesk 1.2.5 with EE 2.9, the form is working fine with the {attachments} tag left out, but as soon as I put it in, I get the following message:

Error

You have an invalid conditional in your template. Please review your conditionals for an unclosed string, invalid operators, a missing }, or a missing {/if}.

Parser State: Unexpected ‘maxFileSize’ (STRING); expected RD in on line 28.

There are no IF statements on the page and all tags are closed.

Edit: Form Code

 {exp:helpdesk:satf}
        <select name="topic">
            <option>Select Topic</option>
            <option>Option 1</option>
            <option>Option 2</option>
            <option>Option 3</option>
            <option>Option 4</option>
        </select>
        <input type="text" name="client_name" name="client_name" placeholder="Name" />
        <input type="text" name="client_email" name="client_email" placeholder="Email"/>
        <input type="text" name="client_phone" name="client_phone" placeholder="Phone"/>
        <input type="text" name="summary" name="summary" placeholder="Summary"/>
        <textarea name="issue"></textarea>
        <label>Attachments</label>
        {attachments}
        <input type="submit" type="submit" />
   {/exp:helpdesk:satf}


texts: Low Variable as email address for Freeform

texts:
I'm wanting to use a Freeform across multiple MSM sites, using a low variable to change the admin notifier for each site.

Currently the code is as follows:-

{exp:freeform:composer inline_errors="yes" admin_notify="{var_email}" form_name="contact" composer_template_name="acme" return="{page_uri}/thanks"}

However the template isn't parsing {var_email} in time on either "Early Parsing" or Normal.

Does anybody know if this is possible?

Cheers!


texts:
i have a very strange issue that the paypal redirect point to the wrong url in Safari and some versions of Chrome. The redirect url is correct and it work on some browsers.
But on other the redirect seems to be a wrong act url and i didn't find out how i could handle this? Any suggestions to that issue?

Best Peter


texts: Stash static caching not ignoring POSTs like I think it should

texts:
I am using Stash static caching (and it is AWESOME). I'm using Stash 2.4.5 and EE 2.7.2. I am also using Low Search 3.0.4.

So I have the {exp:stash:static} tag on my homepage, which is great. But if it's there (or, I should say, if my static_cache folder has a cached file for my homepage), my Low Search form doesn't work. When I submit a keyword search, it just loads the homepage.

The search works fine when I am logged in, presumably because I have Stash disabled for logged in users.

So, based on my .htaccess, I'd expect it to NOT load the homepage from the cache file because it's a POST.

Any idea what I'm doing wrong, or how to get this to work? I'd really like to keep my homepage static caching working.

In my .htaccess, I have

#################################################################################
# START MUSTASH STATIC CACHE RULES

# -------------------------------------------------------------------------------
# default_site
# -------------------------------------------------------------------------------

# Exclude image files
RewriteCond $1 !\.(gif|jpe?g|png|ico)$ [NC]

# We only want GET requests
RewriteCond %{REQUEST_METHOD} GET

# Exclude CSS/ACT EE URLs and 'preview'
RewriteCond %{QUERY_STRING} !^(css|ACT|URL|preview)

# Uncomment this if you want to disable static caching for logged-in users
RewriteCond %{HTTP_COOKIE} !exp_sessionid [NC]

# Remove index.php from conditions
RewriteCond $1 ^(index.php/)*(.*)(/*)$

# Check if cached index.html exists
RewriteCond /path/to/my/public_html/static_cache/1/$2/index.html (.*\.(.*))$
RewriteCond %1 -f

# Rewrite to the cached page
RewriteRule ^(index.php/*)*(.*)(/*) /static_cache/1/$2/index.%2 [L]

# END MUSTASH STATIC CACHE RULES
#################################################################################


texts: Freeform: Is it possible to have custom email recipients

texts:
I have a channel called Jobs. When admin posts a new entry, they are presented with a field called email_recipient in which they can type an email address of their choice.

Then...on the template which contains the Freeform code. I would like to use the data in the email_recipient field to be used in the admin_notify parameter on Freeform. However, so far I have had no joy and wondered if this was even possible or will Freeform not allow this

Can anyone help me out with this?

My code is

{exp:channel:entries
channel="jobs"
dynamic="on" status="Open"
disable="categories|category_fields|member_data|pagination"}

Job Application Form

{exp:freeform:form
form_name="job_application"
return="/contact/thanks"
form:class="form-horizontal contact-form"
form:id="job_application"
recipients="yes"
recipient1="{recipient_email}"}

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

Note that the above example is using recipients="yes" and reciepient1=. I have tried with admin_notify too with no difference


texts: Reset POST value of Objective HTML Channel Search on button click

texts:
Pretty much after what the title says.

Is there a way to reset/unset a POST value if it is currently set utilizing a button. The idea here, is the button would be a filter of sorts, so clicking would remove certain portions of the URL if currently set.

As an example:
Say we have a button, Remove filter 1 and upon clicking, it would do something along the lines of checking
{if '{exp:channel_search:is_set name="filter1"}' == 1} where if TRUE (as the statement is setup), do something like {exp:channel_search:reset name="filter1"}

It seems possible, as all the components needed are there, just not sure how to actually set this up?


texts: upgraded WYGWAM 3.3.3 - config icons not right

texts:
When I go into the toolbar config this icon http://d.pr/i/3UIj is used for inserting an image.

No console errors. When I look at the actual publish page, everything is as expected.

Tried clearing the cache to no avail.

Anyone seen similar?


texts: ExpressionEngine addon script conflicts in MSM sites

texts:
What is the best way to manage the ExpressionEngine themes folder with an MSM setup which includes multiple domains?

Currently, I am copying/mirroring the themes folder across all site folders contained in the MSM setup. This tends to work fairly well as long as I set the 'URL to your "themes" folder' and the 'Theme Folder Path' in the Admin section of the CP for each site accordingly, and remember to copy the update files across all domains each time one is added or updated.

My problem is getting a cross-domain access error with js if one of those steps is forgotten or fails. Is there a better way of managing fieldtypes, extensions, etc. where I could keep everything located near the system files and not get these errors when using MSM?


texts:
I have tested Expresso Store on an iPhone 4 (version 6.1.3) and it looks like add to cart is not working at all.

UPDATE:
I have tested Expresso Store on an iPhone 4 (version 7.0.3) and it works fine. Also tested on iPad 1 Gen (5.1.1) and OSX (10.6.8) os it looks like it is related to Safari from particular iOS version.

Any thoughts?

Thanks


texts: Correct syntax for inserting a channel entry with a playa field?

texts:
I've been experimenting with using SQL INSERTs and UPDATEs instead of using the Channel Entries API in my add-on. In one of my channels I am using a playa field which is simply connected to a separate channel (in this case, my contacts channel).

When using the Channel Entries API, I format the playa field like so:

$playa_field = Array('selections' => Array($entry_id));

This works perfectly every time. However, when you examine the output of this in the database, you get the following format:

[entry-id] [url-title] Full Name
e.g. [82] [joe-bloggs] Joe Bloggs

To create this format using the necessary variables I use the following code:

$formatted_contact = "[$entry_id] [".$meta['url_title']."] ".$e_data['contact_name'];

And embed it in the following query to insert a new item into my database:

$titleQ = $this->EE->db->query("INSERT INTO `exp_channel_titles` (`site_id`, `channel_id`, `author_id`, `title`, `url_title`, `status`, `entry_date`) VALUES ('1', '3', '".$meta['author_id']."', '".$touch_date.' '.$touch_type."', '".str_replace(' ', '-', $touch_date.' '.$touch_type)."', 'open', '$touch_date')");
$new_entry_id = $this->EE->db->insert_id();
echo 'new_entry_id is: '.$new_entry_id;
$entryQ = $this->EE->db->query("INSERT INTO `exp_channel_data` (`entry_id`, `site_id`, `channel_id`, `field_id_14`, `field_id_4`, `field_id_6`, `field_ft_6`, `field_id_48`, `field_id_49`, `field_id_53`, `field_id_52`) VALUES ('$new_entry_id', '1', '3', '$touch_date', '$touch_type', '$formatted_contact', 'none', '$touch_complete', '$touch_inactive', '$touch_comment', '$touch_source')");

All my code executes well enough from what I can see, however the playa field doesn't seem to get picked up along the way. If anyone can point out the potentially glaring formatting error it would be great! Please note, I am only looking at SQL as an alternative for the purposes of enhancing my system's speed and this will only be done in the background with little margin for error.

Cheers!


texts:
I'm facing another challenge with Solspace Calendar and relationships. I have the usual Events channel and a separate Organisations channel. Entries in the Events channel have a multiple relationships field that allows the event to be related to organisation(s).

As an example, a recurring 'Book Club Meeting' event might be associated with the 'Book Club' entry in the Organisations channel.

Each organisation has its own page on the website and I want to show a list of any upcoming events that are associated to that organisation.

I have tried the below but it shows all events and not just those that are related to the entry I'm looking at. This code doesn't look right to me but I'm not sure what else to try.

{exp:channel:entries channel="organisations" require_entry="yes"}
{parents field="event_organisations" channel="calendar_events" limit="5"}{if parents:count == '1'}

Upcoming Meetings &amp; Events

{/if}
      {exp:calendar:events date_range_start="today" show_months="1" pad_short_weeks="n" event_limit="5"}

{event_title}

        {if event_all_day}
        <time class="eventdate" datetime="{event_start_date format="%Y-%m-%d"}">{event_start_date format="%j%S %F %Y"}</time>
        {if:else}
        <time class="eventdate" datetime="{event_start_date format="%Y-%m-%dT%H:%iZ"}">{event_start_date format="%j%S %F %Y at %g:%i%a"}</time>
        {/if}

{/exp:calendar:events}
    {if parents:count == parents:total_results}

    See full diary of events

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

How can I extract information about events and occurrences based on parent relationships?


texts:
Does someone already used the AngularJS routing inside EE templates?

Inside common html template the AngularJS routing is working fine, but inside EE templates the routing is not working. What could be the problem?? An .htaccess setting??

thanks,

Stéphane


texts:
In Postmaster I have setup a parcel to send once an entry in the store orders channel (id="13") has been entered as a status of closed to replicate and abandoned cart notification. For some reason I don't get the notification. In the control panel log I can see: "parcel does not have a valid channel_id, which is '1'."

Also have another parcel to a post date and can see the email is scheduled to send "The email  been added to the queue and is set to be sent at 2015-11-25 12:08." but never receive the mail. A cron job has been setup to ping the URL. Testing the URL I get "Mandrill Service - Error: The requested URL returned error: 500"

Any suggestions on how to fix these errors?


texts: Output pages module 'nested pages' for navigation?

texts:
I have a number of sites using the plain vanilla native 'Pages' module in EE where I would like to output a simple 'child pages' list for pages with children (based on the page_uri).

In the Pages module itself pages are displayed with nesting so I'm guessing the data is there somewhere - but how to get at it?

I'm not adverse to writing a plug-in but could do with some guidance on ow the pages module knows what's a child of what?

Update: I think what I'm looking for is an EE2 version of Mark Huots plag-in for the original pages module - http://devot-ee.com/add-ons/pages-nested-menu

Update: Using the EE1.x > EE2.x upgrade instructions I've managed to get a version of this plug-in working for EE2.x. It's still a little rough around the edges but it's better than nothing!

https://github.com/ninefour/pages_nested_menu.pi.ee_addon


texts:
I have a list and nested stash list loading and displaying ok until I try to cache. Once cached they both display fine on first load, but upon reload the nested list disappears.

I'm not clear on how to cache and reload a nested list, could someone please provide an example or modify the code below?

Thanks!

Not Working (Caching)

{!-- Stash list of homes and communities (in nested list) they belong to. Communities are stored in a playa relation within a matrix field. --}
  {exp:stash:set_list
    name="home_results_{segment_2}"
    parse_tags="yes"
    parse_depth="2"
    parse_conditionals="yes"
    save="yes"
    refresh="1"
    scope="site"
    replace="no"
  }
    {exp:channel:entries
      channel="homes"
      dynamic="no"
      category="1"
      disable="member_data|pagination"
    }
    {stash:entry_id}{entry_id}{/stash:entry_id}
    {stash:entry_title}{title}{/stash:entry_title}
    {!-- Nested stuff. Stash the communties that this house is in.  --}
     {exp:stash:set_list:nested
        name="related_entries_{entry_id}"
        parse_tags="yes"
        save="yes"
        refresh="1"
        scope="site"
        replace="no"
      }
        {elevations} {!-- Matrix field --}
          {stash:incommunity}
              {elevation_community}{title} - {city_province}{/elevation_community} {!-- Playa field --}
        {/stash:incommunity}
        {/elevations}
      {/exp:stash:set_list:nested}
    {/exp:channel:entries}
  {/exp:stash:set_list}
{!-- End of Home results stash. --}

{!-- Load the nested stash list with communities into content --}
{exp:stash:append name="content"}
    {exp:stash:get_list name="home_results_{segment_2}"}

        {entry_title}

        {!-- Stash get the list of communities the home is built in --}
          {exp:stash:get_list:nested unique="yes" prefix="nested" name="related_entries_{entry_id}"}
           - {incommunity}

         {/exp:stash:get_list:nested}

    {/exp:stash:get_list}
{/exp:stash:append}


texts: set the order to a Select menu loaded from channel fields

texts:
I have a select menu where the values are loaded from a channel field.  Is it possible to set the sort order using Freeform Pro?  The code below does not work and I have not found any documentation.  Surely though there must be a way to sort the contents of a select menu loaded from a channel by something other than entry_id.

           {freeform:field:field_001
            attr:id="493"
            attr:class="form-control"
            attr:orderby="title"
            attr:sort="asc"}

I also tried this code below but obviously the data would not submit.

First Choice*

            <select name="field_001" class="form-control" id="dd_biology_reu_faculty_001">
                <option value="">Select</option>
                {exp:channel:entries channel="channel_name" orderby="title" sort="asc" dynamic="no"}
                    <option value="{entry_id}|~|{title}">{title}</option>
                {/exp:channel:entries}
            </select>

Thanks in advance.


texts:
I am trying to show a default avatar if the member hasnt uploaded a custom avatar.

Here is my code:

{exp:friends:mine reciprocal="y" orderby="screen_name" sort="asc" limit="5" member_group_id="6" member_id="{segment_3}" dynamic="no"}

  {if friends_avatar_url}

    {exp:ce_img:single src="{friends_avatar_url}" width="50" height="50" }
    {friends_screen_name}

  {if:else}

    {friends_screen_name}

  {/if}

{if friends_no_results}

No Volunteers

{/if}{/exp:friends:mine}

Is there a reason why the conditional wouldn't work?