texts: Need query to get custom fields from one entry into another entries loop on basis of shared category

texts:
This one is a beast of my own design, but I could use some expert EE help to get this more efficient. Here's the deal. EE categories are not as functional as I would like, particularly when it comes to custom fields. I have a large number of products to display by category, and at a category level, the site needs to have a description, multiple images, an meta description to jump up into the footer, etc. So I resorted to using an entry for this info - one entry per category. I'm basically using categories in the site only to provide the connection between the two AND to provide parent/child relationships at the category level that would otherwise not be easily achieved. I'm using GW Code Categories to provide concatenation of the category URLS (though not on the product page, which I may revise.)

Yeah, I know - expensive to process, but much more functional on the data side. On the upside, each product only has one category.

So now, when I'm viewing a product, I'm passing that product's assigned category into an embed, then using an entries loop to get the custom fields I need for the category to display within the product entry (the images at a category level, and some other custom field data, get displayed within an individual entry, rather than repeating that info at a product level within the product entry).

Right now, my URL structure is two fold:

catalog/category-name/subcategory-name (this is done within the index template in the catalog group, and once I hit the end of the tree, the list of all products in the category displays from the products channel, and I only ever go up to 2 deep)

catalog/view/product-id
It's within view this template that I need to grab the description and images of the category to which the product is assigned (which matches up with an entry in my "category intros" channel)

Can you EE experts out there envision using the query module to make this marriage of content in two channels more efficient to process?


texts: Is it possible, and how to search in date fields

texts:
When working with custom date fields, are there any solutions for searching dates? e.g. channel:entries search:datefield=""

The only thing that seems to work, if you search for the litteral unix timestamp e.g. 1394967600

Edit/clarfication
I'm searching for a way to use > and < for custom date ranges based on custom fields. The start_on and stop_before parameters only work on the entry_date.

Answer compilation:
- Query module (however, you won't be able to use other channel:entries parameters)
- SolSpace Date Field Filter (ads parameters to channel:entries tag)
- Low-Search (allows ranges on custom fields)


texts: CartThrob Price Modifier - Hide form if no options available

texts:
I have a channel to create an event. I also have a CartThrob Price Modifier field to add tickets if they are available.

On the single entry page, I only wish to show the exp:cartthrob:multi_add_to_cart_form if the single entry has available tickets.

I'm using the following code;

{if event_tickets:total_results}

Buy Tickets

        {exp:cartthrob:multi_add_to_cart_form
            return="shop/basket"
        }
        <fieldset>

                        Ticket
                        Qty

                    {event_tickets}

                        {option_name} {exp:cartthrob:view_formatted_number number="{price:plus_tax}" prefix="£" decimals="2"}
                        <input type="text" name="quantity[{row_id}]" value="" class="tiny" />
                        <input type="hidden" name="item_options[{row_id}][event_tickets]" value="{option_value}" />
                        <input type="hidden" name="entry_id[{row_id}]" value="{entry_id}" />

                    {/event_tickets}

        </fieldset>
        <input type="submit" value="Buy Tickets">
    {/exp:cartthrob:multi_add_to_cart_form}

{/if}

This works fine for an event that has tickets. However, if an event doesn't have any tickets then the page just goes to a 404. I was wondering if someone might be able to help figure this out?

Thanks,
Neil


texts: Low search - searching multiple children

texts:
We currently perform searches and filters and we need to ALWAYS match results to a parent entry (lets assume entry ID 19826 - variable obviously).

We are using the native relationship field in EE 2.8.1 and low search 4.4.2

We need to use low search so that we can filter by category AND match keywords where the parent entry is 19826 (variable obviously).

An example query would be:

http://example.com/sandbox?child:related_field=19826

What we would like to do is search ALL channels for related child entries, is this possible, what would the typical query pattern for this be, can we combine multiples, for example:

http://example.com/sandbox?child:related_field=19826&child:another_related_field=19826

OR is there a way to simply search all entries that match our parent ID:

http://example.com/sandbox?child=19826

We've also tried multiple params as hidden fields in the form:

{exp:low_search:form result_page="/sandbox"}
    <input type="hidden" name="child:related_field" value="19826">
    <input type="hidden" name="child:another_related_field" value="19826">
    <button type="submit">Go</button>
{/exp:low_search:form}

But no luck, this works if we ONLY have a single hidden field.


texts: How to get filename of uploaded Safecracker File image?

texts:
I'm using Zoo Visitor which advocates the Safecracker File field type for user uploaded avatars.

Safecracker File stores the image reference as {filedir_x}filename.

I'm wanting to use EE's image manipulation to crop and resize the uploaded image so I need to be able to output src attributes of the form…

/path/to/images/avatars/uploads/_subfolder/filename

How can I get hold of the filename in my tag output? Do I have to resort to custom PHP or is there an easier way?


texts:
How can I add the multi-step forms using channels and uploading the data to database?
And then perform searching on the same data.
Also please suggest me that how booking process works for expression-engine ?

Thanks.


texts:
I'm having issues with the Structure module. When I reorder pages from backend, it gives me error in console.

  {"success":false,"errors":"Reordering Failed\n\nYour Structure Tree
  appears to be out of date.\n\nSomeone else may be editing or you may
  have another tab with a newer Structure tree.\n\nPlease refresh and
  try reordering again."}

Here is the screenshots:

Normal pages at structure backend:

Alert error message by Structure module:

Console error of the plugin:

Please help me out with this. My EE version is 3.5.6 and Structure version is 4.1.12


texts: Appending textarea fields with line breaks using Safecracker

texts:
Another perplexing "is probably an easy fix" question:

I have an EE site, and am using Safecracker to maintain a customer data channel. Each week, the customer receives a notice about an upcoming grocery delivery. When they do, they have the opportunity to submit a note about it – for example, "I don't want beets."

I have a another textarea field that collects all of these notes.

I was using a hidden Safecracker field to populate the textarea:

<input type="hidden" name="customer_bin_notes" id="customer_bin_notes" value="{customer_bin_notes}\n{customer_bin_recent_note}">

I can't get the line break to work. I also tried  and \l but those didn't work either.

I'm sure I'm overlooking something simple here.

Suggestions?


texts: Using Channel Images version 5.4.10 on Exp Eng 2.7 we have we lost all image sizes

texts: We just moved to a new server and upgraded Exp Eng to version 2.7. I also installed version 5.4.10a of Channel Images on the server. Now when I go to the channel fields setup all of the previously defined image sizes are gone. Saving/updating the custom field deletes them entirely. Also, clicking on the Add new size button does nothing. Something appears broken somewhere. Also, when I click the test file upload location it gives me an error about Cloud settings. We aren't using a cloud service, the files are on the localhost. Any ideas/suggestions?


texts: DevDemon Forms - form:error:required_error

texts: When setting fields to Required and testing the form submission, I noticed the text form:error:required_field shows up. Is there a way to change the text to something else? I want it to just say Required Field or Value is Required. Thanks!


texts: Display categories belonging to Expresso Store entries

texts:
It's easy to display categories in ExpressionEngine where entries are assigned using:

{exp:channel:categories channel="products|book_library" category_group="13" style="linear" parent_only="yes" show_empty="no"}

{category_name}

{/exp:channel:categories}

However we're using Expresso Store and wish to display only the categories for which a store entry exists (i.e. entries with prices set in the Store publish tab).

The reasoning being that we use two channels for products, a specific shop products channel (products) and then another (book_library) where some entries will be available to buy, others will not.

Is there some way to do this without having to resort to some serious hackery?


texts: File field tag within relationship tag not working

texts:
Recently, I upgraded an EE2 website to EE5.1.2. Before EE upgrade, I imported Playa into Relationships field. Everything working perfectly except file tag within relationship isn't outputting correct file/image path. Code example is as below:

{exp:channel:entries channel="CHANNEL_NAME" limit="1" disable="member_data|pagination" status="open" require_entry="yes"}
{relationship_field}
<img src="{relationship_field:thumb_image}" alt="{relationship_field:title}" />
{/relationship_field}
{/exp:channel:entries}

It might work nicely but not working :(


texts:
First time using Better Workflow and it's been really great for the client.

However, we have a weird issue with previewing images. We're using the approach of having content images inside a Matrix and then placing image slugs within the content and using NSM Transplant to replace the slugs with CE Image.

When we look at the page preview in BW, the src for the image is empty. However, when we publish the page and look at it on the front-end, the images are output as we'd expect.

{exp:channel:entries {gv_param_disable_default}}
{!-- resolves a weird BW issue with Playa field --}
      <!--
{cf_content_related_documents:total_children}
{cf_content_related_content:total_children}
{cf_content_contact:total_children}
{cf_content_cta:total_children}
 -->

      <h1>{title}</h1>

      {exp:ce_img:single src="{cf_content_hero_image}" allow_scale_larger="yes" width="1067"}

      {cf_content_intro}

     {cf_content_body_images}
    {exp:nsm_transplant:content id="image_{row_count}"}
        {exp:ce_img:single src="{image}" width="{width}" class="{align}" alt="{alt}"}
    {/exp:nsm_transplant:content}
{/cf_content_body_images}

{exp:nsm_transplant:body}
{cf_content_body}
{/exp:nsm_transplant:body}

      {/exp:channel:entries}


texts:
I am taking over a project built with EE. I am completely new to EE, I was trying to figure out how the routing works and I came across documentation about the Template Route Manager. When I login to the admin however I do not see the Route Manager anywhere.

Any idea why this may be?

How do I access the routes for pages that exist?


texts: {exp:number_format} not working on some pages

texts:
I have a snippet

{exp:number_format number="{price}" decimals="2"  dec_point="." thousands_sep=","}
I use this snippet in two pages.

The weird thing about this is that in one page, it outputs correctly while in the other one does not.

For example, I passed 19000.00 in both of them.

In one page, I get 19000.00 but in the other one I got 0.00

UPDATE:

Ok I noticed that in the problem page, I am using Switchee while in the working page, I don't.

I tried changing the problem page to not use Switchee and it worked.

Does this mean that this is somewhat a parse order problem?

UPDATE 2:

Here is the sample code

{exp:switchee variable="{segment_2}" parse="inward"}
        {case value="#some regex expressions here#"}
            {exp:low_search:results
            limit="10"
            channel="foo"
            paginate="bottom"
            status="open"
            parse="inward"}
        {/case}
        {case default="Yes"}
            {exp:low_search:results
            query="{segment_2}"
            limit="10"
            channel="foo"
            paginate="bottom"
            status="open"
            parse="inward"}
        {/case}
    {/exp:switchee}
        ........
        <h2>{snippet.that.contains.the.number.format.code}</h2>
        ........
{/exp:low_search:results}

Here is the snippet code

${exp:number_format number="{price}" decimals="2"  dec_point="." thousands_sep=","}

UPDATE 3:

I tried changing

 ${exp:number_format number="{price}" decimals="2"  dec_point="." thousands_sep=","}

to

${exp:number_format decimals="2"  dec_point="." thousands_sep="," parse="inward"}{price}{/exp:number_format}

in hopes of solving the problem. Unfortunately, it didn't work.

P.S.

For all intents and purposes, {exp:low_search:results} is functionally the same as {exp:channel:entries}


texts: Can you apply shipping prior to promo codes in expresso store 2 carts?

texts:
I have a scenario where a client wants to give free shipping of orders over $50. They also give out promo codes of 50% off at times. The current workflow is:

Someone adds $60 to their cart - free shipping triggers. They use their promo code and the price of the cart is reduced to $30, but they still have free shipping since it was triggered already.

Is there any way of re-adding the shipping cost to an order total once the promo code has been applied?


texts:
I am using EE v2.10.1  licence & need to add the forum addon but did not get any option as default.
I also have EE v3.0.4.

Pleas advise.

Thanks


texts: conditional based on what channel the entry selected in a playa field is in?

texts:
I have a matrix field that has 1 column, which is a playa field.

The playa field is set up to allow the user to choose any open entry within 2 different channels. I need to display code in the template that has a conditional the chooses 2 options based on what channel the selected entry (chosen in the playa field) is from.

In other words: user selects an entry in the playa field. That entry can be from either channel A or channel B. I need conditional code that displays one thing if the selected entry is from channel A, and something different if the selected entry is from channel B.

How do I do that? Thanks!!!

here is my template: Note that I can't get ANY type of conditional statement to work where indicated in the comment, but the 2 conditionals outside the EE channel tag DO work.

{exp:channel:entries channel="home_page" disable="categories|category_fields|member_data|pagination" limit="1" dynamic="off" show_future_entries="yes"}

            {homepage_news_4items}
                    {!-- start playa field within the matrix --}
                    {hp_news_promo}

                        {entry_date format="%M. %j, %Y"}

                            {exp:word_limit total="7"}{news_long_title}{/exp:word_limit}

                    {/hp_news_promo}
                    {!-- end playa field within the matrix --}
            {/homepage_news_4items}

{/exp:channel:entries}

{if username == 'rory'}Hi Rory!{/if}

{if segment_2 == 'march14test'}this is the test template{if:else}wrong URL{/if}

----- END TEMPLATE

Here's what I want to insert as a conditional on the line indicated (to replace the whole line):

{if channel_short_name == "industry_news"}{if:else}{/if}{exp:word_limit total="7"}{news_long_title}{/exp:word_limit}

Well, I have concluded that there is no way to use a conditional inside the matrix/playa code, which is a big disappointment. I even tried the trick with the variable prefix, and it didn't work.


texts:
Hopefully a simple answer, but at the moment, I can't figure it out.

I'm using an Assets field in a channel entry. When the client clicks on the "Add file" button, it defaults to the "Recent Uploads" smart source.

The client only has one place they can upload files to, and it's set in the channel field settings (only upload folder checked off).

Is there a way to default to the upload folder vs. the "recent uploads" area?


texts: What is wrong with this IF/ELSE conditional?

texts:
On events pages that meet the first conditional statement (first segment is 'events' and second segment is 'not empty') the image parses as expected. However, when the first segment is 'member-directory' and the second segment is NOT '', the last conditional (if:else) is parsed.

I've tried stripping out tags and replacing them with (A,B,C) and can confirm that it is parsing the (last) if:else when second conditional seemingly should be met.

{exp:ifelse parse="inward"}
{if segment_1 == 'events' AND segment_2 != ''}
    {exp:ce_img:pair src="{event_masthead}" height="270" min_width="1600" max_width="1600" fallback_src="{lv_fallback_banner}" crop="yes" allow_scale_larger="yes" filter="brightness,-80|grayscale|colorize,80,39,9,10"}style="background:url('{made}') no-repeat 50% 0; height: 270px;"
    {/exp:ce_img:pair}
{if:elseif segment_1 == 'member-directory' AND segment_2 != ''}
    {member_photo_gallery limit="1"}
        {exp:ce_img:pair src="{url}" height="270" min_width="1600" max_width="1600" crop="yes" fallback_src="{lv_fallback_banner}" allow_scale_larger="yes" filter="brightness,-80|grayscale|colorize,80,39,9,10"}style="background:url('{made}') no-repeat 50% 0; height: 270px width: 1600px;"
        {/exp:ce_img:pair}
    {/member_photo_gallery}
{if:else}
    {exp:ce_img:pair src="{masthead}" height="270" min_width="1600" max_width="1600" fallback_src="{lv_fallback_banner}" crop="yes" allow_scale_larger="yes" filter="brightness,-80|grayscale|colorize,80,39,9,10"}style="background:url('{made}') no-repeat 50% 0; height: 270px;"
    {/exp:ce_img:pair}
{/if}
{/exp:ifelse}

Here is my fallback test that is showing that the second conditional is not being met.

{exp:ifelse parse="inward"}
{if segment_1 == 'events' AND segment_2 != ''}
        A
{if:elseif segment_1 == 'member-directory' AND segment_2 != ''}
        B
{if:else}
        C
{/if}
{/exp:ifelse}

This works. I am wondering why Croxtons doesn't. I am using the latest version.

{if segment_1 == 'member-directory' AND segment_2 != ''}
    {member_photo_gallery limit="1"}
        {exp:ce_img:pair src="{url}" height="270" min_width="1600" max_width="1600" crop="yes" fallback_src="{lv_fallback_banner}" allow_scale_larger="yes" filter="brightness,-80|grayscale|colorize,80,39,9,10"}style="background:url('{made}') no-repeat 50% 0; height: 270px; width: 1600px;"
        {/exp:ce_img:pair}
    {/member_photo_gallery}
{/if}

The snippet is used like so:

{!-- Masthead --}
{exp:stash:set name="masthead" parse_tags="yes"}
{snippet:masthead_background_image}
{/exp:stash:set}
{!-- /Masthead --}


texts: Low cost options for displaying location maps

texts:
EE2.8.1

We have a charity run website that currently uses the 'Google Maps for ExpressionEngine' module on some pages and the Javascript gmaps API on some other pages for displaying location maps.

The site makes around 100,000 calls per month to google maps, the problem is, being a charity, the cost (around £100 pm) has become too high for this approach to continue.

The locations that need mapping are limited to a county.

I've looked into other solutions:
Reinos gmaps (which was previously used and is installed, but was discarded by the previous dev) has several options for location maps; Openstreetmap, mapquest, TomTom, bing_maps, plus caching.

Will changing back to this module and setting up caching reduce their mapping costs? What option within this plugin would be better for us?

Or is there a better option to using this plugin, can I utilise caching to reduce calls?


texts: Using stash:get_list as plugin parameter value

texts:
Can't seem to get this to work.
See comments: https://gist.github.com/timkelty/6996339

{exp:gwcode_categories
  group_id="2"
  style="linear"
  show_empty="no"
  parse="inward"
  entry_id='{exp:stash:get_list name="resource" backspace="1"}{entry_id}|{/exp:stash:get_list}'
}
  {stash:cat_name}{cat_name}{/stash:cat_name}
  {stash:cat_id}{cat_id}{/stash:cat_id}
{/exp:gwcode_categories}


texts:
I am trying to display a series of entries ordered by subcategories using a category segment

{exp:gwcode_categories cat_id="{last_segment_category_id}" last_only="yes" style="linear"}
<h2>{cat_name}</h2>
{exp:channel:entries dynamic="yes" channel="work" status="not Closed" sort="asc" category="{cat_id}"}
{title}
{/exp:channel:entries}
{/exp:gwcode_categories}

But I can only get the cat_names to appear, I cannot get the entries to appear.


texts:
I am running into an odd error with a new EE site I am coding. I tried to turn on the template caching. When I load the page on the front-end website it works the first time but becomes blank on reload. e.g. First Load (http://cl.ly/image/1l27232q1V04) vs Second Load (http://cl.ly/image/0e452626213g). Here is the homepage (http://cl.ly/code/2g1p3f0i3z04) and wrapper (http://cl.ly/code/0V2f2C1f0W3J) template code. Any ideas why I am getting a blank load when trying to use template caching?

I am using EE Core 2.6.0. The main plugins I am using are stash, switchee, ifelse, structure, wygwam, matrix, playa, calendar, freebie, imageSizer & assetLinker.


texts:
I have a blog listing set up with Structure, Zoo Triggers, AB Pagination, & CE Cache. Here's an abridged version of the template:

    {exp:ce_cache:it}
        {embed='_embeds/document_head'}

        {snippet:header}

        {exp:channel:entries
            channel='blog'
            dynamic='no'
            disable='member_data'
            limit='10'
            {triggers:entries}
        }
            {if count == 1}

        {/if}

            {!-- Entry Data --}

        {if count == total_results}

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

      {snippet:footer}

      {exp:minimee:js}
        {snippet:global_scripts}
      {/exp:minimee:js}

        {snippet:document_foot}

    {/exp:ce_cache:it}

And the pagination snippet:

{paginate}

      {if abp_has_previous}

          &laquo;

      {/if}
      {abp_pages}

          {abp_num}

      {/abp_pages}
      {if abp_has_next}

          &raquo;

      {/if}

Page {abp_current_page_num_liber} of {abp_total_pages}

{/paginate}

So occasionally when you advance to the next page in the listing using pagination, the URL looks like this: /blog/?feed=rss2/P10 and breaks pagination.

Clearing/disabling CE Cache fixes the problem, but I'm not sure if it's a CE Cache problem or AB Pagination or what. There is a link to an RSS feed on the page, but its url is feeds/blog, not a query string.

EE 2.5.5
Structure 3.3.8
CE Cache 1.9.2
Zoo Triggers 1.1.13
AB Pagination 1.6


texts: Only show entries with no pending approval

texts:
I'm using publisher, and was wondering if it's possible to filter entries by approval status. We only want to show published entries with no pending approvals.

I'm getting a lot of incomplete entries.


texts:
Has anyone set up CartThrob or Expresso or Brilliant Retail to collect payments of invoices with an e-check? I checked all three sites, it doesn't look like they do but thought it best to confirm.

I also searched Devotee and didn't see anything that would support e-checks (or ACH)

thanks.


texts:
I have upgraded the the ee with latest license version & getting following error on the  template page where I am using external database

this the code:

$DB1 = $this->EE->load->database('XXXX', TRUE);

$query_str = 'SELECT * FROM `company` ';
$query = $DB1->query($query_str);

Error:

Notice
Undefined property: EE_Functions::$EE

ee/legacy/libraries/Functions.php(679) : eval()'d code, line 131 show details

Severity: E_NOTICE

Please reply as soon as possible

Thanks


texts: Charge shipping on free item in Cart Throb

texts:
Our client gives 'free' samples but having tried seemingly endless combinations, I don't think Cart Throb will charge a shipping rate on a free item.

I've tried to manually set the shipping rate through a hidden field, which gets added to the main data array, but it doesn't carry a value to add to the subtotal.

Does anyone know if this is case with CT? Is there a way around it?

I could reverse the charge (apply the shipping rate to the product and set free shipping), but then they can't really promote the 'free' samples, so would rather try and get the free product with shipping if possible.


texts:
Is it possible to use dynamic urls in {segment_1}. I prefer not to use a plugin and might opt for a mod_rewrite solution but I am curious if this is possible out of the box.

For example... http://domain.com/url-title

To further elaborate, I want a url structure that will allow me to do this type of url structure.

http://domain.com/dynmic-url/
http://domain.com/dynmic-url/admin
http://domain.com/dynmic-url/admin/events
http://domain.com/dynmic-url/admin/communicate

I have looked into freebie, and it would work perfect for my needs. If there is a workaround for segment_1 removal with Freebie it would be nice to hear.

I also found a great schematic/flowchart for EE urls. might be helpful to others looking into this issue.  EE Url Schematic


texts: Expresso Store: Routinely import inventory from third party source

texts:
I have a question that pertains to Expresso.

We have a client that wants e-commerce and a new website. We'e already sold them on the importance of a CMS for the job they want done and naturally we also recommended Expresso. But it gets a bit complicated from this point..

They have an AS400 Mainframe that they use to keep all of their pertinent data, like inventory. They have the know how and expertise to expose this data to us, but the big question is "how do we get it into Expresso?"

There's the data import plugin here: http://devot-ee.com/add-ons/data-import

But I'm not sure it can specifically meet our needs. Does anyone have a recommendation for how to achieve this?

tdlr; takeaway:

Inventory data from AS400 mainframe must be injected into Expresso.
Client have resources on hand to expose data in whatever way we want (xml file, sql, whatever).
How do we get it into Expresso?


texts:
When I use channel form File Upload field, it come together with the "Select an existing file" select box. Possible to take it away?

1 of the way is javascript to hide it.
but any better way to not generate the select box?


texts:
I'm trying to parse a global variable inside a snippet that represents my page footer, and I want to perform a string function on the content of that variable.
The snippet is being called into a template with PHP parsing ON and set to OUTPUT.
This is the code I'm having trouble with:

<?php echo trim(str_replace(array("\r\n","\n","\r"), ', ', "{address}")); ?>

The value of the variable is (for example):

Big Company
Main Street
Big Town

And I want it to be:

Big Company, Main Street, Big Town

But PHP is trying to modify the string "{address}" not the actual value of the address variable, so I just end up with the original content (address with line breaks) when the EE parses the result of that function which is {address} in the template.

What am I doing wrong?

EE 2.6.1


texts:
I've attached a screenshot of the code I'm using to link to the CSS files on my server. Am I using the wrong path??

The site I'm working on is http://www.bookslibrarianslove.com/index.php/Pages

Many Thanks!


texts: Simple Commerce Still Not Recording Purchases

texts:
Okay, so I have rarely used Simple Commerce and I’m starting to see why. But the client’s needs are minimal so I don’t want to upgrade to a 3rd party addon.

I have setup Simple Commerce as specified including IPN. I have provided PayPal my public key, got my code, and also placed their provided cert, my public and private key in a directory above root accessible to EE. The temp folder for encrypted files, also above root, has read/write access. I have turned on Payment encryption in both Simple Commerce and in the PayPal account. I have providing PayPal the IPN URL from the CP.

Everything appears to work. The buttons are encrypted, the purchases are completed through PayPal no prob. I have debugging on and it shows the IPN notifications coming back in an email. I also used PayPal’s tester to test the IPN URL. I am buying as a logged in user. I have done everything the (limited) documentation says and yet, the purchases STILL won’t record in the db and fire off the appropriate emails.

Anyone have any insight?? Thanks!


texts: Is it ok to create a member manually in the database?

texts:
I am using a payment gateway that is not supported by any of the existing modules/plugins. They can provide a script that I an modify to write directly to the data.

I tested by:
Logging in via phpmyadmin and adding a new row to the member table. I entered username, screenname, password (selected sha1), group, language, time zone and hit go.

It created the member, and when I logged in first time a SALT value was added.

Unique_id remained blank, and crypt_key has a NULL value.

I have httpd authentication enabled in EE. I am able to log in to the templates successfully using the new login.

Will not having the unique and crypt key screw things up and this is a bad idea?

Thanks for your advice!


texts: How can I conditionally require a Freeform field?

texts: I'm using EE5 5.3.2 and FreeForm Pro 1.8.3. I have a field where somebody selects a radio button option, then the next field is required or not based on that selection. What is the best way to do this?


texts: PHP Errors When Upgrading Freeform & Tag From v3 to v4

texts:
When trying to upgrade Solspace Freeform and Solspace Tag, I'm getting PHP errors.

For Freeform, I'm trying to update from 3.1.0 to 4.0.12. When I go to the Freeform module page, I get this PHP error:

  A Database Error Occurred Error Number: 1146

  Table 'db_production.exp_freeform_multipage_hashes' doesn't exist

  TRUNCATE exp_freeform_multipage_hashes

  Filename: third_party/freeform/upd.freeform.php

  Line Number: 472

For Tag, I'm trying to update from 3.0.5 to 4.2.3, and I'm getting these errors when I try to access the module:

  A PHP Error was encountered

  Severity: Warning

  Message:
  file_get_contents(/path/to/my/system/expressionengine/third_party/tag/tag.sql) [function.file-get-contents]: failed to open stream: No such file or
  directory

  Filename: tag/upd.tag.php

  Line Number: 817

  A PHP Error was encountered

  Severity: Warning

  Message: Cannot modify header information - headers already sent by
  (output started at
  /path/to/my/system/codeigniter/system/core/Exceptions.php:170)

  Filename: core/Common.php

  Line Number: 412

  A Database Error Occurred The query you submitted is not valid.

  Filename: third_party/tag/upd.tag.php

  Line Number: 828

I've already tried completely re-uploading the files from scratch, making sure that the old files are gone from the system, but I still get these errors.

EE 2.6.1


texts: Auto insert a numerical value that increases by 1 to channel form field

texts:
I would like to be able to have members create codes, these codes are made of text based on drop down and should contain a numerical value that must be unique (with Channel Forms Grid (safecracker)) and increment by one with each new entry. Does any one know of a way to do this, the initial entry needs be to be dynamically generated and written to the DB entry field as static entry on save.
Many thanks for any advise.

Dan


texts:
I have a template which channel's custom fields do not use neither Matrix nor Playa, but the template debugger shows about 60-70 times:

  Calling Extension Matrix_ext/channel_entries_tagdata Calling Extension
  Class/Method: Playa_ext/channel_entries_tagdata

Why is that?


texts:
I'm using Low Variables. This specific variable is of the type 'Grid'.
What I'm having in my template is this:

<select name="country" id="country" class="form-control">
  {exp:low_variables:pair var="var_eleads_country"}
     <option value="{var_eleads_country:code}">{var_eleads_country:label}</option>
  {/exp:low_variables:pair}
</select>

In my actual template though, it doesn't work. I'm only seeing one option, with {var_eleads_country:code} as value and {var_eleads_country:label} as text.

What should I do?

EDIT: This is happening inside of a Freeform. Also, I'm using Croxton's Stash. This is the stash_template, but the Form itself is wrappen in a {stash:nocache}.


texts: How to display contents of checkboxes field

texts:
Hello i'am using ExpressionEngine v3.3.4 for a short time.

I have field group with field 'shop_item_product_sizes'. (attachment) Is it possible to dynamically print only selected checkboxes as select to my template? http://imgur.com/kBMmhH4

expected result (based on attachment)

<select>
    <option>Select size</option>
    <option>M</option>
    <option>XL</option>
</select>

Thanks in advance.


texts: How to prevent repeat entries that have multiple categories

texts:
I have a sidebar on my website that lists categories and should list the most recent entry under that category, and this is working great. My issue is that I have entries that use multiple categories, and when this is the case, the loop I created will spit out that entry for each category. So what I am asking is - is there a way to prevent this from happening. Maybe something that checks if that entry has been used in the loop before?

Here is the code I am using

{exp:channel:categories channel="columns" category_group="2" orderby="asc"}

    {exp:channel:entries channel="columns" category="{category_id}" limit="1"}

{category_name}

{column-teaser}

    {/exp:channel:entries}

{/exp:channel:categories}


texts: Issue with sticky option change not saving

texts:
I have a weird situation I've never seen before where turning the sticky option off in an entry and hitting save results in a 404 page in the CP. The change never saves. Here's a video of the issue: https://d.pr/v/NLgN2A

This is EE 4.3.8.

Not sure how to even begin troubleshooting.


texts: Slow input for Pixel and Tonic's Matrix with Playa cell

texts:
in my expressionengine backend I use matrix to create an agenda for events. The fields are:
day, time, title, description, file and speaker (using playa field).

Filling this matrix field with e.g. 24 rows slows down the backend. Clicking in a normal input field to fill it out takes ages. Do you have any suggestions how to solve this problem?

Regards


texts: Multisite Manager and Assets Duplication Problem

texts:
We added MSM to a site where Assets is used to manage the images on the default site.

When creating a new site and duplicating the channel info etc. everything is duplicating apart from the Assets data.

Is this due to Assets being a custom fieldtype?

Many thanks
Jonny


texts: Exporting/importing Structure entries within the same site

texts:
I've got a channel that will need to be copied, and it's part of the Structure add-on/hierarchy.

Is it possible to copy/migrate the Structure data along with other custom field data to a new channel using DataGrab or Solspace Importer?

P.S. Here's a possible solution: migrating content from EE1 to EE2 with Structure and Datagrab


texts: Unable to open entries after creating Playa field

texts:
I have just installed Playa but after I created a Playa field I can't edit or publish any entries in the admin panel anymore. When I try to publish or create an entry I get a spinner until it ends with an error "Fatal error: Maximum execution time of 300 seconds exceeded in /home/hospl/public_html/system/codeigniter/system/core/Loader.php on line 341". As soon as I remove the just created playa field I can publish or edit an entry again.

I have EE 2.9.2 running on PHP 5.4.45, Apache2.2.31 and MySQL 5.5.47.

After some further investigation I noticed that when I am in the edit playa field window and I select a single channel with only a few entries I can publish or edit an entry again from the admin panel. As soon as I select a channel in the edit playa field window with a lot of entries (around 30k) the error message comes up again when publishing or editing an entry in the admin panel.

So the issue seems to be triggered by the number of entries in the selected channel of the playa field.

Not sure what to do next, is there a limit to the number of entries in a channel for Playa to work or are there other options I can consider like adding indexes or caching to improve performance and thereby make it work? I am not sure what to do next so any help would be great!

Regards,
Tammo


texts: Not able to Edit Channel Fields or Templates. Gives Error: disallowed key character

texts:
Suddenly, We are not able to edit and Channel Fields.
We are using: EE v2.8.1 - Build Date: 20140314

If we go to: Admin > Channel Administration > Channel Fields > Example Group > Slider Image
and not even change any values but simply hit "Update" button

its giving error saying: disallowed key character

We did some google and we tried all different solutions: clearing Cookies, Cookie Prefix
but nothing is helping

any help or pointers to solve this issue will be of great help.
Also same error comes up if we edit any template and if that template has a word like name="fullname"

see screenshot attached for the page we are hitting update that gives us error.


texts: Importing content from EE1 into an existing EE2 website

texts:
We have a use case where we need to import content from an EE1 website to an EE2 website (with existing content). I'm guessing it has to be a custom scripting job, but asking here in case someone knows a smart way of doing this.

One idea I guess is to use DataGrab for the import, but we'd still need to do an export from EE1 in XML (or another format which can be read by DataGrab).


texts: How to pass variables and then display the results?

texts:
Is there a plugin, technique, or combination of plugins/techniques that will allow me to do the following?

My channels are like this:

Parent: Product

Children: Colour, Size, Style, etc.

A search form with user-selectable fields such as these (or indeed hard-coded navigation menu links) - some of the fields are relationship fields:

Product

Colour

Size

Style

Min Price

Max Price

Stock status

..which would presumably result in a string such as ?size=M&min-price=100&stock-status=Y (or perhaps /medium/100/Y)

And then a results page with logic such as this:

{if

product="product" AND product_colour="colour" AND product_size="size" etc.

}

{/if}

Also, apparently I would need the conditional to parse early, as I'm displaying the resultant data in a grid that depends on a Switch tag to add closing divs to rows.

Would be v grateful for any pointers, however general they may be.


texts:
ExpressionEngine v2.9.2

I'm logged in as a Super Admin and I'm trying to turn on 'Display Output Profiler' in the admin control panel, but it will not save the change.

I suspect that this is because the config file does not have the permission set to allow writing, but I can't find which file to change permissions on, or is it something else?


texts: Hooks when a member is moved to another member group

texts: Is there a hook in ExpressionEngine that triggers when any one member is moved from group to another?


texts: cursor not at beginning of commentform field

texts:
Is this a feature or a bug? When I place my cursor somewhere in the new and empty commentform field, it does not appear at the beginning of that field, as expected, but at some lines under the top, and quite a few characters insert.
It is possible to replace the cursor at the beginning, though.

But 'something' makes that the cursor does not start directly there.

Is there someone maybe that has a clue?

Many thanks....!


texts: What to do with deprecated encrypt_input and decrypt_input in Profile:Edit

texts:
Working on a site where we're using Profile:Edit to register users using the {exp:profile:register}. In this particular case, we're using the parameter 'group_id' to register a user into a particular member group, which can be done by an admin on the front end through a restricted access dashboard.

Running into an error:

Fatal error: Call to undefined method Channel_form_lib::encrypt_input() in
/path/to/system/third_party/profile/mod.profile.php on line 880

A quick bit of research tells me that that method was deprecated as of EE v2.6, and we have just upgraded to EE v2.8.1/2.9 (and soon to v2.9). This also goes hand-in-hand with the Channel_form_lib::decrypt_input() method that is also being user in mod.profile.php

Can any EE developer/programmers point me in the right direction of a simple change to the method I can move to?


texts: How to keep EE from rendering invalid urls as valid pages?

texts:
Google's Webmaster Tools tells me I have a bunch of pages without titles. Upon examining the URLs listed, it would appear these are a mix of faulty links, deleted posts, changed titles. Somewhere, they must still be referenced (probably not on my site), and because the url structure is essentially correct, EE outputs a page with everything but an entry on, so of course it lacks a title.

What are the options for dealing with something like this? I may be somewhat limited by the fact that I use some non-standard rewrites to compensate for how the site was initially setup. I'll include an example below:

RewriteRule ^/?((About|Contact|Copyright|Privacy_Policy|Search)(/.*)?)$ /index.php/Westeros/$1 [NC,L]
RewriteRule ^/?((Digest|Links|Store|Updates)(/.*)?)$ /index.php/$1 [NC,L]
RewriteRule ^/?Citadel/((Editions|Spoilers)(/.*)?)$ /Citadel/index.php/Citadel/$1 [NC,L]
RewriteRule ^/?Citadel/((Articles|Concordance|FAQ|Gallery|Heraldry|Prophecies|SSM)(/.*)?)$ /Citadel/index.php/$1 [NC,L]

The first rule is of course an iffy one, since it breaks the rule of not taking out template groups. The second is just a variant on the typical index.php removal.

The third and fourth rules exemplify the same thing except for one of the subsites which reside in an actual subdirectory and use their own index.php (but the same .htaccess).

Given that setup, is there anything I can do to keep EE from treating incorrect urls following /Entry/ as valid pages?


texts:
I want to setup a zoo visitor form where users can select which member type (member group) they want to be part of. I've setup as described in the documentation
setting the allowed member groups (5|8) and the select input.

However, when I test it and activate the account, it always sets them to member group 5, despite selecting 8?


texts: Grid field type with 'row_id' variables is not working properly in channel tag

texts:
I am using grid type field for express engine channel and i want to show result based to row_id and it was working when i have entered row_ids but it is not working when row_id  are not there.

for eg. I have created a channel named as 'XYZ'  and having following channel fields there :

1) user_type : text

2) profile : grid

       a) first_name : text

       b) last_name :  text

       c) user_name : text

       d) age : text

Now i want to show user listing for a entry and  i am getting row_id for grid from custom query in code.
i have used following code :

.............

//here we are getting row_ids from custom query as

// if condition here
<?php  $rowsId="10|11|12"; ?>

// else condition  (set $rowsId value as -1  in case when we are not getting row_id from custom query)

<?php $rowsId = "-1" ; ?>

..............

{exp:channel:entries channel="xyz" entry_id=1}
    {profile row_id="<?php echo $rowsId; ?>"}
        {profile:first_name}

        {profile:last_name}

        {profile:user_name}

        {profile:age}

    {/profile}
{/exp:channel:entries}

But the code

{profile row_id="<?php echo $rowsId; ?>"}

it is working in case of   <?php  $rowsId="10|11|12"; ?>

but it is not working in case of  <?php $rowsId = "-1"; ?>

It should not give us  result set in that case (should be empty) but It shows one row in result set and i have also tried '$rowsId' value as 0 instead of -1 but it is also not working.

Please help me what is missing/wrong here or give me a solution for the same.


texts: How can I call a method from my add-on via a JS file?

texts:
I'm working on updating a fieldtype add-on to work with EE3. This add-on calls one of its own functions from a javascript file to make some DB updates without reloading the page.

In EE2, the javascript called the function using $.get and a URL formatted like this:

http://www.mysite.com/admin.php?S=0&D=cp&S=0&C=addons_modules&M=show_module_cp&module=module_name&method=method_name&param1=param1value&param2=param2value

This style of URL is not working for me in EE3 - I am getting a 404 not found error in the console when the $.get runs.

What format do I need to use for the URL in EE3 to access a function of my module (and pass in parameters)?

I thought I might be able to use an ACT to accomplish this, but I need the module to work on multiple installations so I can't hardcode the ACT id into my javascript file (and I'm not aware of any way to pull the ACT id from the database via javascript).

I really appreciate your help!


texts:
Before upgrading my company's instance of EE to v3 I used Crumbly, which works extremely well for breadcrumb generation.

However it isn't compatible with v3 and I've been unable to find a replacement. How can I go about getting this functionality back, whether through an addon or programatically?


texts: Plugin that controls Grid or Matrix layout when entering data in backend

texts: I have a field that can use either Grid or Matrix. It has 10 Asset file uploads and 2 text input fields. The layout in the backend gets a little messy and hard to read when a user is entering data. Is there a plugin out there that allows you to handle the layout of either Grid or Matrix in the backend when a user is entering the data or are we stuck with the horizontal scroll?


texts:
I'm trying to build a database of K-12 schools for a directory site and wanted to organize them nicely as well as make it easy to enter information in without re-entering the same info in too much.

I came up with this solution that involves 4 channels and playa fields:

Channel: States - has only Title field (50 entries)
Channel: Counties - has a Title field and a Playa field: state (58 entries in this channel for the state of CA alone)
Channel: School Districts - has a Title field and a Playa field: county (100's of entries in this channel for the state of CA alone)
Channel: Schools - has a Title field, a Playa field: district, as well as a number of other fields that pertain to the school.

I figured by having the prior relationships I can traverse up and get all the info I need without having to enter in the same info in each school all the time.

Main question is: Is my structure overkill?

My end goal is to use the module Reefine to use for filtering. This way users can use the filter menu to select their state, county and school district to find their school.

I have already entered some of the data in (all the states and counties for the state of CA, as well as about 150 school districts so far.

Any help/guidance for making this easier/more streamlined would be great. Thanks!


texts: Adding conditional to Store "Hurry! Only x items left!!"

texts:
I'm setting up an online apparel store and would like to set up a conditional that will check the item count in a particular sku number and output something like this "Hurry, only 9 left!!" when the count is equal or less than say 10.

I tried

{if store_product_stock <= 10}

Hurry, only  left!

{/if}

But that doesn't work. Any help would be great!


texts:
When I go to my homepage of my site (which is a sub domain for testing: example.testcre8.co.uk) it gives me a blank white page instead of displaying my homepage.

Is there something I am missing?

Thank you


texts:
I am trying to show a list of items (as bookmarked).
However, the list only displays one item.

{exp:shortlist:view}
    {if count != ""}

My Bookmarked Items ({total_results})

{title} (Remove)

    {/if}

{if no_results}Your list is empty{/if}

{/exp:shortlist:view}

There are two items in the list, when seen from the backend. However, only one is getting listed.


texts: Solspace Calendar - output day-by-day list of occurrence start dates

texts:
I am really struggling to get the Solspace Calendar Module to do something that seems to me would be a fairly common requirement.

Use Case

I have a travel site which is centered around package tours, and I've created calendar events for each tour's departure schedule.
Tour departure events are multi-day, and have repeat rules to determine when the subsequent 'occurrences' will be scheduled.
Typically a given tour could have a range of departures that starts in say, January, and ends in December.

I need to output the following

day-by-day calendar template
listing tour departures ('occurrences') for each day, for the next month or so.
I do not want to show multi-day occurrences that already started as this is not useful information for someone who wants to join a tour at the point of departure.
I would prefer not to use in-template conditionals to filter out occurrences that already started, because I'm dealing with a lot of data - over 300 tours with 5-50 occurrences for each - and this will be resource intensive, as well as pretty clumsy.

What I've tried

{exp:calendar:cal} template tag (and all other template tags) - eg:

  {exp:calendar:cal
      date_range_start="tomorrow"
      pad_short_weeks="n"
      date_range_end="1 month"
      first_day_of_week="1"}

{display_each_day} output occurrence start dates here {/display_each_day}

  {/exp:calendar:cal}

Fails because it kicks out all occurrences that are in progress on the day specified, rather than just the occurrences that start on the day specified. So I'm seeing events that started before the date range, but are still in progress. Some tours are as long as 56 days, so results will be way out for a daily departure listing.

Custom Query - I was sure this would solve it, but no joy so far.

  SELECT
              exp_channel_titles.title AS t_title,
              exp_channel_data.entry_id AS d_entry_id
            FROM exp_calendar_events_occurrences
              LEFT JOIN exp_calendar_events ON exp_calendar_events_occurrences.event_id =
  exp_calendar_events.event_id
              LEFT JOIN exp_channel_titles  ON exp_calendar_events_occurrences.entry_id = exp_channel_titles.entry_id
              LEFT JOIN exp_channel_data    ON exp_channel_titles.entry_id              = exp_channel_data.entry_id
            WHERE exp_calendar_events_occurrences.start_date   = '{date format="%Y%m%d"}'
              AND exp_calendar_events_occurrences.calendar_id = '887'

this fails because the exp_calendar_events_occurrences table does not appear to actually contain all occurrences. I'm guessing event rules are used by the module to output repeat occurrences that do not appear with this approach.


texts:
I looked at the documentation and it seemed to me that the way comments tag do pagination is the same as channel entries tag.

{exp:comment:entries
    entry_id="{embed:entry_id}"
    {if embed:limit}limit="{embed:limit}"{/if}
    paginate="hidden"
    {if embed:sort}sort="{embed:sort}"{/if}
}
...
{/exp:comment:entries}

So I tried accessing the page that displays the comments

http://domain.com/foo/750/abc/P10

segment 2 = entry_id
segment 3 = title
segment 4 = pagination item

However, I see this error

Fatal error: Call to undefined method EE_Functions::remove_double_slashes() in .../system/expressionengine/modules/comment/mod.comment.php on line 3324

Any idea why this is happening?


texts: Output Code Once if Conditional is True for One or More Entries in a Group

texts:
I'm displaying a list of categories, and I want to add a little "new" icon next to the category name if one or more entries in that category have been created in the last day. But I can't figure out how to display code just once if multiple entries return true. I got this far using GWCode Categories and MX Calculator:

{exp:gwcode_categories
    cat_id='4'
    depth='2'
    show_empty='no'
    style='linear'
    variable_prefix='gw:'
    parse='inward'
}

            {gw:cat_name}

            {!-- If an entry in this category has been added in the last day, add the "new" icon --}
            {exp:channel:entries
                channel='{sp_channels}'
                dynamic='no'
                category='{gw:cat_id}'
                disable='categories|pagination|member_data|custom_fields'
            }
                {exp:mx_calc expression="{current_time} - 86400"}
                    {if {entry_date} > {calc_result}}
                         New
                    {/if}
                {/exp:mx_calc}
            {/exp:channel:entries}

{/exp:gwcode_categories}

But that outputs the "new" tag once for every entry that passes the conditional.

How do I get the code to output just once if any entries return true?


texts: Help with sequential numbering in a Entries loop?

texts:
I'm trying to get my head around EE so please bear with me on something probably simple:

How do you loop through a EE entries chunk and append a number? Like a id="blogitem-1", id="blogitem-2", id="blogitem-3"... there may be no end to the numbering.

I have a blog section that requires each hidden ID be sequential. I got the jquery popover working using {entry_id} but I need to go forwards and backwards and the pager doesn't work. I cheated a little using {switch="1|2|3|4"}... but that's really ugly and it has a fixed end.

Here's the code snippet:

{exp:channel:entries
    channel="blog"
    disable="category_fields|member_data|pagination|trackbacks"
    status="Open"
    dynamic="no"
    paginate="bottom"
}

{title}

{subtitle}

    {body}

&larr; Previous

Next &rarr;

{/exp:channel:entries}

This shows what could be entry #3, with the pager linking to the previous id (#2) and the next (#4). While "{entry_id}" lets me pop-up the post, I can't navigate.

I also don't want to expose PHP to the template (not understanding PHP too much I don't want to open up something that can bite me later). I can't seem to generate a simple progressive 1, 2, 3... for the id.

I'm learning EE and a bit of jQuery, so sorry if this is elementary


texts: Freemember Login No Errors or login - Solved

texts:
I'm lost, this should be easy but for some reason it's not.

If I use the default EE login tags it's fine, replace with Freemember Tags and BAM the whole shebang fails to work, no errors, no nothing :(

I could've sworn it worked originally, I styled the error tags and everything. 64 Char encryption key…

Running EE2.4

Freemember 2.2.2

Structure 3.2.3

{exp:freemember:login return="members-area"
          form_class="login"
          error_handling="inline"
          error_delimiters='|'}

        Username
            {field:username}
            {error:username}

        Password
            {field:password}
            {error:password}

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

     {/exp:freemember:login}

This page is controlled by Structure which shouldnt matter as it works for the native EE login tag :(

Any pointers ?


texts: How do I disable modules / add-ons manually?

texts:
I migrated the site over to a new server and a new domain. Now I'm getting a blank page on the Modules page.

How do I disable each one individually until I identify the culprit?

I tried enabled error reporting but I get nothing.

Edit: I'm on EE 1.6


texts:
I have a issue with my language switcher when i'm in a entry page.

In this page, i rewrite the last-segment url witch is my product name with this script :

    <?php
    $outvar = "";
    $langvar = "{transcribe:language_abbreviation}";

    if ($langvar == "fr") {
    $outvar = $outvar . 'search:url-title-fr="{transcribe:last_segment}" ';
    }

    if ($langvar == "nl") {
    $outvar = $outvar . 'search:url-title-nl="{transcribe:last_segment}" ';
    }
    ?>

    {exp:channel:entries channel="products" <?php echo $outvar ?>}

The url become this :

FR : /fr/detail/MYPRODUCTNAMEINFRENCH
NL : /nl/detail/MYPRODUCTNAMEINDUTCH

Suppose my website is in French, when i click on my language switch (to show dutch version) i made with transcribe, i have :

/nl/detail/MYPRODUCTNAMEINFRENCH

the last segment stay in French.

Can you help to change this last segment when i switch language ?

Thanks

Jérôme


texts: How to multi select relationship field on a channel form

texts:
Just trying to get my head around something.

Lets say I have two channels, one is salespeople and one is courses.

How would I create a multiple selection to courses for one salesperson?

I have the relevant fields setup in EE but I just cant figure out how to get this onto a form. I can see all of the salespeople and assign and remove them from one or main courses in the back end, so I know that the relationship is working correctly.

Everything I have tried doesn't work......

more than happy to purchase an add-on.

Any help would be much appreciated it.


texts: How can you disable entry deletion when member account removed?

texts: My client deleted an admin (not super admin) account and it deleted all their posts. Is there a plugin or setting to stop this from happening and allows entries to be reassigned to another user account?


texts:
If I set include_jquery="no" parameter I still appear to be getting JS code injected into my page as one of my fields is a date field.

Not including it is throwing two JS errors:

jQuery not defined and $ not defined.

If I include jQuery the errors go away but then the date field throws a weird value:

2014-05-22un22efine22

Questions:

If I have a field that EE recognizes as requiring a jQuery UI element will it always throw in the JS? Is there a way to override this?
If I do include jQuery how do I fix the weird date value?


texts: How template synchronization works in Expression engine

texts:
I want to use template synchronization for subscription addon testing but when i clicked on template synchronization its not showing anything. i have copied two templates to template folder as you can see in documentation here

Things I have done for this in Global preference are :-

Save Template Revisions: Yes
Maximum Number of Revisions to Keep: 10
Save Template Revisions: Yes
Server path to site's templates: example.com/system/expressionengine/templates

Please tell me if anything else wrong or required.


texts: ExpressionEngine and generating PDF issue

texts:
I have used PDF Press to generate PDFs from data but somehow generated output is rendered ad text/html not PDF which looks like

  %PDF-1.3 1 0 obj << /Type /Catalog /Outlines 2 0 R /Pages 3 0 R >>
  endobj 2 0 obj << /Type /Outlines /Count 0 >> endobj 3 0 obj << /Type
  /Pages /Kids [6 0 R ] /Count 1 /Resources << /ProcSet 4 0 R /Font <<
  /F1 8 0 R >> >> /MediaBox [0.000 0.000 612.000 792.000] >> endobj 4 0
  obj [/PDF /Text ] endobj 5 0 obj << /Creator (DOMPDF) /CreationDate
  (D:20140206173022-05'00') /ModDate (D:20140206173022-05'00') >> endobj
  6 0 obj << /Type /Page /Parent 3 0 R /Contents 7 0 R >> endobj 7 0 obj
  << /Length 74 >> stream 0.000 0.000 0.000 rg BT 34.016 746.579 Td /F1
  12.0 Tf [(test 123)] TJ ET endstream endobj 8 0 obj << /Type /Font /Subtype /Type1 /Name /F1 /BaseFont /Times-Roman /Encoding
  /WinAnsiEncoding >> endobj xref 0 9 0000000000 65535 f 0000000008
  00000 n 0000000073 00000 n 0000000119 00000 n 0000000273 00000 n
  0000000302 00000 n 0000000416 00000 n 0000000479 00000 n 0000000603
  00000 n trailer << /Size 9 /Root 1 0 R /Info 5 0 R >> startxref 712
  %%EOF

I have try to use that plugin http://devot-ee.com/add-ons/http-header but I'm getting same result.

With another test I have run from same hosting simple PHP code to generate PDF using FPDF and I'm able to render PDF.

I don't think this is a Virtuamin or Apache issue - neither would be forcing the HTTP header. More likely the header is being set twice in the script, perhaps once to the default of text/html and then again by add-on to application/pdf and EE force to use text/html

Any clue what can be wrong?

Thanks


texts: Why am I getting a "duplicate page uri" error when leaving the field blank?

texts: Running EE on windows server and I get the "duplicate page uri" error when editing any entry. I don't want these as pages, but I can't save without creating a unique page url for them...


texts: What is the maximum number of custom fields you can use in an installation?

texts: I have a fairly large-scale site to build? How many custom fields can I use without running into MySQL database limitations?


texts: Set Session Timeout on Front End of site

texts:
I'm currently working on a site with a small members only section. My client would like to limit session length to 15 minutes. The time limit is for the front end of the site NOT the cp.

Is this possible and if so how?


texts:
I'm using ProForm and just upgraded from 1.64 to 1.73. (Running EE 2.10.1.) Since the ProForm upgrade, none of my (visible) form fields show up. The labels for them appear, but absolutely no HTML for the fields themselves.

The hidden fields (including some custom ones) show up fine in the source.

We're using the simple form tag, so it shouldn't be a template issue.

Any ideas on what's going on?


texts:
I've got an EE5 site which was upgraded 3 months ago from EE2 and is now having trouble with new images being added.

I turned on debugging and am seeing this issue:

 CE Image debug: Source image is not readable or does not exist: '/uploads/general/Biden%20Holiday%20Card/biden-card-smaller.JPG'.

I've changed the upload folder permissions to 755 and then 777 and still no change with new image uploads.

FWIW the relevant template code is:

    {exp:ce_img:bulk add_dims="no" attributes="class='img-responsive'"}
        {blog_copy}
    {/exp:ce_img:bulk}


texts: Categories not editable from channel entry screen

texts:
I'm using ee v2.8.1 and when I try and click the red link next to 'edit categories' in the entry screen the link disappears and nothing happens? I can edit the categories if I go through the drop down under admin and then channel administration.

Any thoughts? Thanks


texts: Expresso Store connect guest orders to member

texts: In Expresso Store, is it possible to connect orders placed by a guest to a member account with the same email address? The scenario is that a guest places an order, then later wants to create a member account on the site. It would be great to be able to then connect all their previous guest orders to that new member account.


texts: How do you "hide" sites from search engines during development?

texts:
I'm in the process of tweaking my base install and was wondering how you hide sites from search engines when deployed to a publicly accessible DEV or STAGING server?

I currently:

Add a robot.txt file to disallow crawling (not sure how much that really helps though)
Use global vars to hide GA code from all but PROD servers
On occasion set the site to "offline" and force people to login

How do you do it? Do you simply keep the site "offline" and make the clients/stakeholders login? Or is there another fancy way of keeping the site "open" to those who know the URL but don't want to log in?


texts:
After performing a upgrade from Wygwam 2.7.1 to Wygwam 3.0.2 the wygwam-field doesn't appear anymore. For a brief moment it shows the html-code inside the field, but when the editor should appear nothing happends.

Tried it in IE en Firefox, cleared cache.

Does anyone know where to look?

With kind regards,

Jeroen van Dijk


texts:
I have a error on the back-end of my clients site relating with assets which I urgently need to resolve somehow. It is using Assets 2.4 and EE 2.7.1

  Strict Standards: Static function
  Assets_base_source::get_settings_field_list() should not be abstract
  in ..../assets/third_party/assets/sources/base_source.php on line 197

Can you please advice me what can be done ?


texts:
I finally set up my first EE site with SSL.  Everything seems to be working ok, but I discovered that some of the pages are "delivering unencrypted elements".  What I've found so far:

Images added through WYSIWYG are being called via http and not https
I am using EE_Twitter, and any images through there are also being delivered via http and not https

If I have a page without either of those, then I get a thumbs-up from the browser.

I am utilizing a master config file, and my .htaccess file looks like this:

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

RewriteCond %{HTTPS} on!
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php/$1 [L]

Any suggestions would be greatly appreciated!


texts: Calendar Entries posted between 11:00pm and 11:59pm show on next day's

texts:
I've got a channel of events. The main exp:channel:calendar tag displays the entry on the appropriate grid day. When I follow to the date's detail template (/calendar/2013/11/22) the entry that was previously in the grid does not show, and instead shows on the next day (/calendar/2013/11/23).

This only happens if the entry's date/time is posted between 11:00pm and 11:59pm. If I change it to 10:59pm it posts on the correct day just fine.

I know it sounds like a DST type issue. It also could be a server offset issue. I'm still looking into it, but would appreciate any feedback.

Thanks!


texts: Image Editing Fieldtype (Matrix/Grid compatible)

texts:
I'm looking for a fieldtype that would open a basic image editor with option to Scale + Crop (maintaining proportions as option).

I've reviewed Channel Images which would be OK, but I can't use it in tandem with Playa/Relationships so lose a level of complexity and depth that is very handy for big content sites. I also love how sturdy Matrix is and how quick it is for clients to understand/use.

Is there one knocking about that works inside the control panel, as I'm keen not to have to persuade them that we'll automate it using a tool like CE:img.

Cheers.


texts:
So I'm not sure what is going on with EE 2.7.0 but the File Sync seems to be a bit whacky. I have 15 files uploaded to my remote server:

Then when I go to File Upload Preferences and click Synchronize I get the appropriate count and EE appears to sync the images:

But when I go to File Manager to view the files I only get 10 images:

Has anyone else seen this? It WORKED ONCE before but not anymore. My permissions for the "uploads" folder is 755 and the individual images are set to 644. So I'm not sure what else could be causing this.

Any ideas? I will probably submit this to Ellis Lab too but wanted to make sure I wasn't missing something.


texts: make thumbnail view the default with native file manager

texts:
My client has complained that when they want to choose an image for a channel with an image filed they are given the list of file names by default.

They would find it more intuitive to show the thumbnail view by default rather than need to change the dropdown.


texts:
I installed EE 2.11.1 on Mac with AMPPS, and am trying to set up the Master Config from FocusLabs. Following the directions from here everything works fine until I copy/paste the contents of system/expressionengine/config/database.php into my corresponding database.php file. When I do that, I get the white screen of death on both the front end and the control panel.

A few things I've tried:

Turning on debug isn't giving me any info...still just the white screen.
I added an exit('here'); to the top of the config.local.php file...it is pulling in the file.
I uploaded to the "dev" and "production" servers and it worked fine, so seems to just be isolated to my local environment.
The database connection is working fine since I was using the same credentials when I installed EE, but before attempting to set up Master Config.

Any suggestions for further troubleshooting?


texts:
I have a url like this www.example.com/home/ and I cannot get rid of the home folder from the URL. The best I can do results in which causes the page to crash.

I've been working with the htaccess file and tried numerous variations. Seems like it should be a simple fix but I'm having no luck.

I'm open to non-htaccess based solutions.

You can view a copy of the htaccess at http://www.spikewebdesign.com.au/htaccess-example.html

Thank you.


texts:
How would i go about introducing some sort of 'like post' feature in EE's discussion forum.

Something similar to Solspace's 'Rating' module would be great, is it possible to use this with discussion forum.


texts:
I've just inherited a site from a previous developer that is using CartThrob to power the eCommerce and strip/offline payments for the payment gateway.

Recently some customers have not been seeing the success notification template on submitting payment via stripe resulting in double payment submissions. One customer did not see the second payment go through and sent an email saying they would submit payment via check. However all payments are successfully received via stripe.

Is there a setting/template code that I need to work on to fix this issue? Any advice is appreciated.

EE 2.7.2
CT  Pro 2.5


texts: Caching embedded templates with variables

texts: If you embed a template A into template B, using embed variables, and you switch on template caching on template A. Does template A get cached multiple times according to the embed variables? Or is the template cached once, thus losing the ability to deliver content dynamically according to the embed variables?


texts: 404 Redirect when there are too many segments

texts:
Having some issues forcing a 404 redirect when there are too many segments. Here is the page I am working on http://syntropy.highimpact.com/case-studies/aurora-flight-sciences/

I'm using the following code on the "case-studies" template:

{if segment_3 != ''}
  {redirect="404"}
{/if}

I thought doing this would force a redirect for any segments after segment 2. For instance, http://syntropy.highimpact.com/case-studies/aurora-flight-sciences/another-segment/ should be forcing a redirect, but instead it seems to be trying to load a page.

All of the other 404 redirect conditions are working fine. Any help would be much appreciated. Thanks.


texts: Error Number: 1054, Expression Engine 2.7.3

texts:
This happens after I submit a channel form:

Database Error Occurred

Error Number: 1054
Unknown column 'field_id_0' in 'field list'
SELECT `field_id_0` FROM (`exp_channel_data`) WHERE `channel_id` = '0'
Filename: fieldtypes/select/ft.select.php
Line Number: 156

I did not make any updates, just changed some fields.


texts: EE Members Group + Expresso Store and CP "Store" button issue

texts:
I have created new Members Group with following privileges:

- Can access the control panel
- Can access CONTENT section
- Can access CONTENT: Publish
- Can access CONTENT: Edit
- Can access CONTENT: File Manager
- Can access ADD-ONS: Modules
- Can post and edit entries in: Products
- Can access module: Store

but I'm not able to see "Store" button in the control panel

I'm running EE 2.7.3 and Store 2.2

Thanks


texts: dubbel EE installations , top root and sub folder

texts:
On the root there is an EE install with a .htaccess to remove the index.php
Now there is a new installation in the www.root.be/test/newEE

in the newEE there is a new EE installation for testing

But because of the htacess of the root, whatever url's i type they keep redirecting to something totally different than the goal or how standard EE should be.

for example i have a template called "home" with a page in it called "form"
Trying to find a way to correctly put the url and view the page but that is not working out i tried several options
www.site.com/test/newEE/{template name}/{specific page}
www.site.com/test/newEE/index.php/{template name}/{specific page}
www.site.com/test/newEE/{specific page}

but nothing seems to work how can i fix this please?

this is the htacess:

# Enable Rewrite Engine
#—————————————————————————————————————
RewriteEngine On

RewriteBase /

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

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

# Redirect to www
#—————————————————————————————————————
RewriteCond %{HTTP_HOST} ^siteurl.be [NC]
RewriteRule ^(.*)$ http://www.siteurl.be/$1 [L,R=301]

AddType font/ttf .ttf
AddType font/eot .eot
AddType font/otf .otf
AddType font/woff .woff

AddType audio/mp3 .mp3
AddType video/ogg .ogv
AddType video/mp4 .mp4
AddType video/webm .webm
SetEnvIfNoCase Request_URI \.(og[gv]|mp4|m4v|webm)$ no-gzip dont-vary

<FilesMatch "\.(ttf|otf|woff)$">
    <IfModule mod_headers.c>
        Header set Access-Control-Allow-Origin "*"
    </IfModule>
</FilesMatch>

<IfModule mod_expires.c>
    ExpiresActive on

    ExpiresDefault                          "access plus 1 month"
    ExpiresByType text/css                  "access plus 2 months"
    ExpiresByType application/javascript    "access plus 2 months"
    ExpiresByType text/javascript           "access plus 2 months"

    <IfModule mod_headers.c>
        Header append Cache-Control "public"
    </IfModule>

</IfModule>


texts:
i'm working on a project (EE3) and i need to have a TOP-10 section which is the most read (articles) entries. I had Solspace Tracker on my mind but i saw they will not upgrade it to EE3.

Does anyone know any other add-on or tool or some alternative method to track each entry and then to show the 10 most read entries?

Thank you for your time


texts: Can I (a) rename sticky to something like member, or recreate sticky functionality with a channel field?

texts:
I want a checkbox called members and when a lodging is searched for, I want members to display first and the rest to be alphabetized underneath. I know I can do this via the sticky function, but the wording of it is confusing to the client. Is there a plugin that will let me rename it or a method to do what I want to do?

Currently, using low search, if I order it ascending, which i need for alphabetization, my members are added to the bottom of the list, but if I go descending then everything is reverse alphabetized.

{exp:low_search:results
    query="{segment_3}"
    limit="10"
    paginate="bottom"
    dynamic="no"
    orderby="lodging_swita_member|title"
    sort="asc"
}


texts: Expresso Store FedEx Shipping plugin throwing error and not adding shipping methods to checkout

texts:
I've set up a working store using Expresso Store for my client that has been live for a few months now. (see http://shoptipsy.com/shop)

I'm trying to extend the functionality of their store using the Fedex shipping plugin Expresso offers. I've installed the Fedex Store plugin according to their instructions, enabled it and added the "test" credentials supplied by FedEx for their FedEx account.

Right now, the additional shipping options that are supposed to be added to my {field:shipping_method} template tag are not being added -- only the other shipping options I've already set up in the Store add-on are appearing. I'm seeing this behavior both on my local and staging servers.

Also, when I attempt to choose one of my existing shipping methods ("In-store pickup" for example), I get the following error and can't progress in the checkout:

Fatal error: Uncaught exception 'Store\Exception\ShippingException' with message 'Authentication Failed' in /storage/av01061/www/staging_html/tipsymin/expressionengine/third_party/store_fedex/ext.store_fedex.php:200 Stack trace: #0 /storage/av01061/www/staging_html/tipsymin/expressionengine/third_party/store_fedex/ext.store_fedex.php(132): Store_fedex_ext->parse_response(Object(Guzzle\Http\Message\Response)) #1 [internal function]: Store_fedex_ext->shipping_methods(Object(Store\Model\Order), Array) #2 /storage/av01061/www/staging_html/tipsymin/expressionengine/libraries/Extensions.php(262): call_user_func_array(Array, Array) #3 [internal function]: EE_Extensions->universal_call('store_order_shi...', Object(Store\Model\Order), Array) #4 /storage/av01061/www/staging_html/tipsymin/expressionengine/libraries/Extensions.php(119): call_user_func_array(Array, Array) #5 /storage/av01061/www/staging_html/tipsymin/expressionengine/third_party/store/src/Store/Service/OrdersService.php(491): EE_Extensions->call('store_order_shi...', in /storage/av01061/www/staging_html/tipsymin/expressionengine/third_party/store_fedex/ext.store_fedex.php on line 200

So it appears that the FedEx extension is doing something, but I'm not sure why I can't even see the options it is supposed to include in my auto-generated shipping methods dropdown.

To give some more info, my checkout process is broken into four screens:

View the cart and confirm the contents
Enter billing and shipping address and choose shipping method
Enter payment details
Order confirmation

Any help/suggestions are greatly appreciated. Thanks!

I'm running Store 2.0.4 and Store Fedex Shipping 1.0.2


texts:
I've got some images that are not square (portrait and landscape format), but I want them cropped square with CE Image.

I've tried various parameters from the documentation, but the results are stretched unnaturally. I'd prefer to have the image cropped to center and not scaled.

{exp:ce_img:single src="{image}" filter="grayscale" filename_suffix="-OFF" unique="none" class="fadein" max="192" crop="yes|center,center|0,0|no"}


texts: Channel Form: Is there a bug with the control panel link included in emails?

texts:
Morning all,

I've developed a site on dev.domain.com and have since transferred to www.domain.com. I've updated all URL's in the new site to use www rather than dev but when someone completes the channel entry form on the site the notification email generated by EE (3.5.4) still shows a link to dev rather than www to view the new entry.

I've checked the control panel and all URL's look to be using www. I've also searched the database and can't see the dev domain anywhere.

Any ideas what could be going on would be massively appreciated.

Thanks in advance,

Tom


texts: Creating different email notifications on CartThrob for different products

texts: Is it possible to create different notifications for different products on CartThrob? I have products I'm selling in a products channel and services which are also offered that's within another channel. I would like the successful transaction of the products to shoot a different email notification than the service purchase, but I can't differentiate the two different orders because there's only "successful transaction" as the trigger. Any help on this would be greatly appreciated! Thanks!


texts: SafeCracker and embedding templates - channel data lost?

texts:
I have a SafeCracker form. In order to maximize code reused, I have broken the form into embeddable fieldsets, with each fieldset containing embedded fields. (Basically, I can just embed fields as I need them throughout the various forms I need.)

When I display the form, however, I don't think it has access to the Channel data. For example, here's my template for my gender field:

        {options:gender}

                <input type="radio" name="gender" value="{option_value}" id="{option_value}">
                {option_value}

        {/options:gender}

The output is exactly the above. The {options*} stuff did not get parsed. Is embedding not allowed?


texts: jquery:script_tag is breaking responsive layout

texts:
I have used {exp:jquery:script_tag} in my code but it looks like is breaking responsive layout (after it goes to "mobile friendly" layout and then re-size it back to the desktop size background and all CSS elements are missing)

Header code:

<!doctype html>
<html lang="en">
<head>
    <meta charset="utf-8">
    {exp:seo_lite use_last_segment="yes"}

    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
    <script type="text/javascript" src="js/main.js"></script>

    <link href="http://netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet">
    <link href='http://fonts.googleapis.com/css?family=Lato:400,700' rel='stylesheet' type='text/css'>
    <link href="css/normalize.css" rel="stylesheet" />
    <link href="{stylesheet='styles/main'}" rel="stylesheet" />
    {exp:jquery:script_tag}

</head>
<body>

Any clue what is going on?


texts: Is it possible to have multiple database connections for ExpressionEngine?

texts: When setting up the database settings of a project I know that there is the default active group "expressionengine" found in the database.php file and you can add more than one group, I was just wondering if there is a way that I could load at most 2 database connections at the same time.


texts: How to use Stash to avoid embedded templates

texts:
I'm excited about being able to use Stash to avoid having to use series of embedded templates, but can't figure out how to make it work. The code below generates the variable 'course' and uses it in the second loop. The variable, {exp:stash:course} and {exp:stash:get name="course"}, work fine by themselves, outside of the second loop, but using the search parameter within the loop there is nothing. I should be able to view {exp:stash:cats}, which is in the embedded template.

I've tried using various parameters to fix the problem such as 'save', 'cache',
'trim', 'parse tags', and others. I think this must be a parse order issue.

Thanks,

Geoff

{embed="site/test1"}

{exp:stash:set name="course" parse_tags="yes" trim="yes"}
    {exp:channel:entries channel="topic" url_title="{segment_2}"}
    {url_title}
    {/exp:channel:entries}
{/exp:stash:set}

{exp:stash:set name="cats" trim="yes"}
{exp:channel:entries channel="explore" search:coursename="{exp:stash:course}"}
{title}

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

Wow, that was complicated and a waste of time but I figured it out through a lot of research and trial and error. I don't know if it's going to be worth continuing if such simple tasks are so complex. Anyway, here's the working code:

{embed="site/test1"}

{exp:channel:entries channel="topic" dynamic="no"  limit="1" url_title="spirituality"}
  {exp:stash:set name="my_test" parse_tags="yes"}{title}{/exp:stash:set}
{/exp:channel:entries}

{exp:stash:set name="cats"}
  {exp:stash:parse process="end"}
      {exp:channel:entries channel="explore" dynamic="no" parse="inward" search:coursename="{stash:my_test}"}
      {title}

      {/exp:channel:entries}
  {/exp:stash:parse}
{/exp:stash:set}


texts:
In preparation for taking a MSM site offline, I have added redirects from this site to the default site, however these do not seem to be working.
A couple of simple examples (the 'from' site is of the form https://www.ourdomain.com/de/)
/       https://www.ourdomain.com/en/       NULL    NULL    301 2
blog    https://www.ourdomain.com/en/blog   NULL    NULL    301 2


texts:
What's the syntax for excluding phrases from segments in template routes?

For example, let's say I have a template group called "fruit."

I have a template A with the template route: "/fruit/{fruit:alpha-dash}" and that route matches:

/fruit/apples
/fruit/oranges
/fruit/tomatoes

But I'd like to exclude just tomatoes from using template A so that it can match template B which is the next sequential template.

What would the regex look like to exclude tomatoes?


texts: Does this replace the need for the Escort add-on? I also use Subscriptions by DevDemon, so I may need both, not sure if the two play nicely together or Postmaster simply replaces the need for the Escort module.


texts:
I want to use freeform pro entries tag to list all attendees. But seems to be a problem to combine freeform:paginate together with a table. I need to loop around the 'TR' tag.
It shows the paginate links well, but both top and bottom links are above my table. I tried the variable pair {freeform:all_form_fields} but this doesn't work

Anyone who nows a solution here?
Thank you.
Pixelman.

                    Name
                    Forum Account
                    Company
                    Job title
                    Country
                    Type
                    Show

{exp:freeform:entries form_name="regtest" sort="asc" orderby="last_name" limit="100" paginate="top" search:listings="not Don't share my details" search:confirmed="y"}

                    {freeform:field:first_name} {freeform:field:last_name}
                    {freeform:field:mibusouser}
                    {freeform:field:company}
                    {freeform:field:jobtitle}
                    {freeform:field:country}
                    {freeform:field:registrartype}
                    {freeform:field:listings}

                  {freeform:paginate}

                    Page {freeform:current_page} of {freeform:total_pages} pages &nbsp; {freeform:pagination_links}

                  {/freeform:paginate}
{/exp:freeform:entries}


texts: Random matrix image on homepage and interior pages

texts:
I have a Matrix channel field to display sponsor images in a sidebar. I want to output 1 random image on page load and give user the option to only show specific sponsors on the homepage with Switch Field Type (these are essentially our client's featured sponsors that appear on homepage in addition to interior pages).

For some reason I can't get this code to work properly. Any help is much appreciated...

{exp:channel:entries}
    {sponsors sort="random" limit="1"}
        {if segment_1 == ""}
            {if "{home_button}" == "y"}

            {/if}
        {if:else}

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

UPDATED ANSWER:
Found this to work...which gives me the ability to keep in "pages" channel without giving images their own channel.

                    {if segment_1 == ""}
                        {exp:channel:entries channel="pages"}
                                {!-- Load a random matrix row that has home button set to y --}
                                {sponsors sort="random" limit="1" search:home_button="y"}

                                {/sponsors}
                        {/exp:channel:entries}
                    {if:else}
                        {exp:channel:entries channel="pages" dynamic="off"}
                                {!-- Load a random matrix row that has home button set to y --}
                                {sponsors sort="random" limit="1"}

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


texts: I got the following error after using the grid fieldtype. I started over and it went away. However, it happened again the next day when I went in and add ed another row. Again, I starred over again and its working now. Any ideas on how to fix it? Running 2.8.1


texts:
Quick question - can the FreeMember register tag login the user automatically? Apologies if I've missed anything in the docs.

Thanks


texts: Can you add +$ for gifts in dev demon subscriptions?

texts:
Conditionals - This allows customer information to increase or decrease the price of your subscription. For example the customer is in Canada and you are shipping a product to the customer each month. This would allow for an additional conditional charge if the customer chooses Canada in their customer information.

This seems limited to certain customer fields, like country or state, but is there any way to have a field 'tick to add this as a gift' +$ as part of a subscription?


texts: In the search results, is there a way to show which custom field a search term was found in?


texts: How do I get all 'relatives' of a Playa entry?

texts:
I have Playa field in a channel that is related to the same channel. So each entry in that channel can be related to another one in that channel. The problem is that to show all related entries for each entry, you have to check for children, parents, coparents and siblings and then filter out all duplicates...

Is there an easier way to achieve this?

Thanks


texts:
Having difficulties pulling back the correct image for related entries. It's pulling back the same image as the main entry and not the related entries image.

{exp:channel:entries
channel="{news_channel}"
dynamic="no"
limit="3"
url_title="{segment_2}"
parse="inward"
}

{exp:tagger:related entry_id="{tagger:entry:id}" url_title="{segment_2}" custom_fields="news-heading|news-summary"}

{tagger:news-heading}

    {tagger:news-summary}{/exp:trunchtml}

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

Tried using {tagger:news-thumbnail:medium} also but still no luck.


texts:
I'm having some difficulties having clients adding/editing categories within entries.

As the Super Admin, I can simply open an entry, click Categories and can add/edit categories without any troubles. When I log in as an Admin account type however, I am unable to add categories. When I click the link, I get two JS errors, one being a 500 Internal Server error, the other, "Uncaught ReferenceError: $loading is not defined."

Any ideas as to why this is not affecting Super Admins, but only the Admins?

We're using EE 2.5.3. Any help would be greatly appreciated!


texts: Freeform Pro: List form values for lists

texts:
So I want to be able to display a Freeform Field's value of the picklist on a freeform entries list. I created a field with a list using the "Value/Label Pair list" choice. I can show the label, the field response chosen but not the value I assigned that choice.

These 2 attempts just output the label for the item being selected, not the numerical value I assigned.

{freeform:value:will_this_request_be_useful_to_other_hmis_users}
{freeform:field:will_this_request_be_useful_to_other_hmis_users default_value=""}

I want to be able to see: LABEL Of Choice: Value Chosen (number). Not the Label of the question, the choice chosen and not the numerical value.


texts: I recently ran into this issue on two installs. Both latest EE3. I create a member group called Editors who manage site content. Assign all File upload rights to them, yet they can't upload files. The error is "File could not be written to disk". Sometimes they can upload one file, and then no more after that. Is there a limit on size relative to time period?


texts: Error in Zoo Visitor entries after installing Field Pack, remains after uninstall

texts:
I installed Pixel & Tonic's Field Pack v2.1.1 for better checkboxes. I only installed the checkbox field type. Immediately after, when I try to edit a channel entry within my Zoo Visitor channel, I get a white screen with the following error:

A Database Error Occurred
Error Number: 1054
Unknown column 'field_id_0' in 'field list'
SELECT `field_id_0` FROM (`exp_channel_data`) WHERE `channel_id` = '0'
Filename: fieldtypes/checkboxes/ft.checkboxes.php
Line Number: 312

When I uninstall Field Pack checkboxes and delete all the Field Pack files, the error still appears.

It looks to me that the error is within the native EE checkboxes fieldtype file, but the last modification date on that file is long before I installed Field Pack, so I don't think the addon modified the file and broke something.

I'm at a loss. Thanks for any help!


texts: Need to move several hundred Structure entries to a new template/template_id

texts:
A component of a site I am building has changed and as a result I need to move the entries over to a new template. It looks like this template data is stored in exp_sites > site_pages.

How would you approach this? Not looking to manually update 300+ entries.


texts:
Am i right in thinking

loose_ends="right"

Takes no notice of anything to the right of what you searched for?

Here is the matrix field i am searching.

Basically this would be an example search.

What i was hoping is that the [loose_ends="right"] would take no notice of the "HE" and return the entry with "LL28 3" in one of the rows but it doesnt at the moment.

In order for it to work i need to type "LL28 3" and submit the search. It will then return the entry.. is there a way that i can get it to work with the "HE" or whatever else letters is added after?

This is my code i have at the moment.

SEARCH:

 {exp:low_search:form result_page="search/results" form_id="postcodesearch"}
                <fieldset>
                    Enter your postcode:
                    <input type="search" name="keywords" placeholder="Enter your postcode here" class="postcode-entry" />
                    <button type="submit" class="white-button postcode-button">Search your postcode</button>
                </fieldset>
  {/exp:low_search:form}

RESULTS:

{exp:low_search:results query="{segment_3}" limit="1" collection="franchise" loose_ends="right" channel="franchise"}

    {if count ==  1}
{/if}

{title}

    {if count == total_results}
{/if}
    {if no_results}No search results{/if}

{/exp:low_search:results}

Thanks


texts:
I just upgraded from ee 1.6.7 to ee 2.5.5.  The original site used geofinder and so I installed the latest version of geofinder and the relevant page does not load.  It could be unrelated, but is there any change in the syntax  I should know about?  This is an except from the template:

{exp:geofinder:location_results channel="results_groups" status="open" limit="10" geoquery="{segment_6}" radius="100"  latitude="{latitude}" longitude="{longitude}" google_maps_api_key="" distance_mode="miles" disable="member_data|category_fields|trackbacks"  orderby="state|title" sort="asc|asc"}


texts: What are the difference between the Bloqs addon and the EE Fluid fields?

texts:
I have a question about the difference between the native EE Fluid fields and the Bloqs addon.

Both manage a collection of fields, but what are the advantages of Bloqs versus the native EE Fluid fields?


texts: Content element gallery messing up everything

texts:
We are using content element module version(1.6.4) along with EE Version(2.9.2),and when using gallery tag in the template the output is simply showing other tags instead of information, please check the output

And we used the expression in template like this

{exp:channel:entries channel="nieuws"}
      {title}
      {nieuws_description}
            {editor}
                {value}
            {/editor}
            {gallery}
            {if images}
                {images}
                    Thumbnail:

                    Original:

                    Image type: {extension}

                    Image size: {size}

                    Caption: {caption}

                {/images}
            {/if}
        {/gallery}
        {/nieuws_description}
{/exp:channel:entries}

So basically there is a something wrong in gallery tag because if we remove it from template it works fine.

Please help!

Regards
Nisar


texts:
I need to get the IDs of particular segments in the URL, shown in bold (i.e. segments 2, 3 and 4):

  /grid/strategic/corporate/uk/jim/tweets

They could also look like this (i.e. no category has been set):

  /grid/-/-/-/jim/tweets

I'm assuming I would need a regex pattern match to do this and then use the {segment_category_ids} tag to pull them out in a list such as 37&342.

Not entirely sure how I should go about writing that for the settings though. I tried this:

^/[a-z-_0-9]*/[a-z-_0-9]*/[a-z-_0-9]*/[a-z-_0-9]*

Which works OK in a regexp checker but the I find that the tag {segment_category_ids} doesn't get rendered in the template.

How should I be providing this in the settings?


texts: Is there a way to validate statuses when using channel forms?

texts:
I'm trying to prevent users from changing statuses via the {exp:channel:form} tag, but there does not seem to be a built-in way to actually validate the status on form submission.

I have tried using the status parameter like so:

{exp:channel:form channel="my_channel" author_only="yes" status="Pending Approval"}

I have also tried using the validation rules parameter, like so:

{exp:channel:form channel="my_channel" author_only="yes" rules:status="matches[Pending Approval]"}

I have also tried the above while explicitly passing the status in an html input tag, like so:

{exp:channel:form channel="my_channel" author_only="yes" rules:status="matches[Pending Approval]"}
     <input type="hidden" name="status" value="Pending Approval">
     <input type="submit" value="submit">
{/exp:channel:form}

In none of these cases is the status protected, and users can always change the status with a simple browser edit. I am aware that I can prevent member groups from accessing certain statuses via the control panel, however I do actually want the member group to be able to select the status but only at a certain point in time and not before the entry has been approved by an administrator. Am I overlooking something with respect to a native EE way to validate statuses on channel form submission?

If there is no native way to protect a status when using channel:form, I am thinking there may be a 3rd-party extension that would use one of the form hooks and actually do status validation? If one does not exist, could advice be given as to which channel form hook would be most appropriate to use?


texts: Expresso Store - Register as a member during checkout errors

texts:
I am having problems registering a member during checkout.

My checkout works fine as long as the user does try to register as a member, the payment is approved, the order appears in the system with the default status applied and the user is correctly returned to the order confirmation screen as specified in the return parameter of the exp:store:checkout tag.

If the user tries to register as a member as they checkout the following happens.

1) The user is returned to the second of our 3 step checkout process - the billing / shipping address screen.  This is the page where the 'become member' checkbox and form is.

2) The site shows that they are now logged in. Additionally - The Basket still has their items in. Basket cookies haven't cleared.

2) Checking in the admin, the member has been created

4) The order has been received - marked as 'paid' BUT no status has been applied (and no email sent) & the members account hasn't been assigned to the order.

I originally had my order fields mapping to member fields, but have removed the mapping and the problems remain.

I am using the latest version of Store 1.6.3 and expression engine 2.5.5.

I'm a bit stuck how to debug this as no error codes are appearing on any of the pages.

Thanks in advance for your help!