texts: What is the best way to start using hooks?

texts:
I've used EE for a while now but I'm new to creating extensions or modules. I want to add a functionality where a bunch of email addresses stored in a database get notified when an entry is submitted in a particular channel. I've scanned docs and other sources and determined a module was my best bet.

I've started my module following the official tutorial. I've also found pkg.io which is very useful to kickstart module development.

My issue is that I can't figure out how to use hooks the way I want to. It seems that the entry_submission_end hook is the one I'm looking for, but I'm missing where $this->extensions->call('entry_submission_end', $this->entry_id, $this->meta, $this->data); should be included.

I've searched for tutorial on modules or extensions development using hooks but didn't not find any reliable or clear source that could help me. Thanks!


texts:
I am looking for a little guidance with a new ExpressionEngine project. I have a channel called adventures that contains a group of channel fields. I also have members that can signup and login to the website and eventually purchase these adventures (Which will be done with a plugin). I am looking for a way to allow a user to customize some of the channel fields inside an adventure and then display it only to that user. Each user would be able to create and customize their own adventure based on the generic version I have created.

The user to be able to customize these within a website form interface.

Any guidance would be helpful and if I need to explore PHP over ExpressionEngine code to execute user specific channel field content.

Thanks


texts: Entry tags are lost when saving Stash set_list

texts:
I'm using the MVVC approach and all works well until I turn on fragment caching. This works, but of course does not offer any performance advantages.

`{exp:stash:set_list
        name="tutorials"
        parse_tags="yes"
        parse_conditionals="yes"
        parse_depth="2"
    }

        {exp:channel:entries
            channel="tutorials"
            dynamic="no"
            disable="member_data"
        }
            {stash:item-entry-id}{entry_id}{/stash:item-entry-id}
            {stash:entry-title}{title}{/stash:entry-title}
            {exp:stash:set_list:nested
                name="tags"
                context="{entry_id}"
                parse_tags="yes"
            }
                {exp:tagger:tags entry_id="{entry_id}"}
                    {stash:tag-url-name}{tagger:urlsafe_tagname}{/stash:tag-url-name}
                    {stash:tag-name}{tagger:tag_name}{/stash:tag-name}
                {/exp:tagger:tags}
        {/exp:channel:entries}
    {/exp:stash:set_list}`

If I set it to save using the following parameters, the tags are not shown anymore:

{exp:stash:set_list
        name="tutorials"
        parse_tags="yes"
        parse_conditionals="yes"
        parse_depth="2"
        save="yes"
        scope="site"
        refresh="5"
        replace="no"
    }

My layout template where I get the tags looks like this (other markup and stash data removed for clarity):

{exp:stash:get_list name="tutorials" paginate="bottom" limit="10"}

    {exp:stash:get_list:nested
        name="tags"
        context="{item-entry-id}"
        prefix="nested"
        backspace="2"}
        {nested:tag-name},
    {/exp:stash:get_list:nested}
{/exp:stash:get_list}

I suspect it is caching the first set_list data before it actually parses the nested list that gets the tag data. I did try to use:

{stash:embed:layouts:listing-text parse_stage="both"}

But that didn't work.

Maybe this approach (using a set_list) isn't the best way to do this. The page is a listing of entries and I want to be able to use pagination and switchee cases to allow for displaying filtered content by category and tag using regex with switchee.


texts: How To Retrieve & Preload Users Credit Card Details

texts:
Currently I am offering on-site payment with a credit card using PayU's Enterprise API for order checkout. What would be the best way to actually retrieve and preload the credit card fields for returning users?

It is recommended that the merchant website does NOT store the user's credit card details. Is there perhaps any other possible way to achieve this?


texts: Coppee Pastee Fatal error when trying to install fieldtype

texts:
I receive this error when trying to install Coppee Pastee in ExpressionEngine 2.8.0

  Fatal error: Call to undefined method EE_Fieldtype::EE_Fieldtype() in /System/expressionengine/third_party/copee_pastee/ft.copee_pastee.php on line 23


texts: How To Export channel entries with Grid information

texts:
We have Export Entries by code but We don't know format OF CSV how to store grid information in CSV FILE. also any one have idea for Export channel entries with grid information then let me know .

Thanks,
Zeal PD


texts: Removing index.php from url breaks member login form

texts:
I was just implementing a member login form that worked fine until I tried to remove the index.php from the url with the following .htaccess file:

<IfModule mod_rewrite.c>
        RewriteEngine On
        RewriteBase /

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

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

In the general configuration "Name of your site's index page" is blanked out.

This is the member login form:

{exp:member:login_form return="http://www.website.com/index.php/projects_client"}

Log in

                        &times;

                            Username:
                            <input type="username" maxlength="32" name="username" id="username" placeholder="Username" required>

                            Password:
                            <input maxlength="32" type="password" name="password" id="password" placeholder="Password" required>

                            <button type="submit" class="button primary">Continue</button>
                            {if auto_login}

                                <input type="checkbox" name="auto_login" value="1"> Remember me

                            {/if}

Forgot your password?

                {/exp:member:login_form}

The return url is temporary, I wan't it to be something like this: redirect="projects_client"

When the index.php is removed and I submit the form I'm just redirected to the homepage. I'm not logged in. When I put the index.php back (Comment the .htaccess file and put index.php back in the general configuration: "Name of your site's index page") It's working again.

Does anybody know what's going on?


texts:
I set up a brand new EE install of v2.8.1 along with the latest and greatest Matrix v2.5.10.

I added a Date Column Type to my matrix field and when I go to edit or publish an entry, when clicking the date column, the date picker defaults to Dec 1969. I assume something is broken somewhere but I have no idea where to begin to look.

Any ideas?

Also, is there a tag that can be used in my template that will simply output the last modified date of any matrix row so I don't have to use the date field at all?

Please advise.

Thanks

Mike


texts: How to create a button on the Entry Edit page?

texts:
Basically, what i'm attempting to do is create a [button] right next to the entry save/submit button that will grab the current entries entry_id and pass it to a page we control.

I'm staring at the channel_entry api, but that's not really what i need at the moment. https://ellislab.com/expressionengine/user-guide/development/api/api_channel_entries.html  am i looking at the wrong api?

Google search for "add button to entry edit page in expression engine" doesn't really give me any valuable results either.

Anyone know where i should start? or what files i should make changes to?


texts: Low Search, Multiple Criteria, and Matrix Field

texts:
This is my first time trying to use Low Search for anything other than a simple keyword search and something isn't clicking.

I have a search form within a directory of member firms.  There is a keyword field, as well as a drop down for states (US) and countries.

A few things worth noting:

The FIRMS channel has a matrix field ({cf_firm_location}) that has a VZ address column ("m_address").
If I search for a country (Ecuador => "EC") in the keywords, it comes up with the correct results.  So that tells me that the matrix field / VZ Address column are properly set for searching.
If I try to search using the dropdown field for country, it returns ALL entries in the FIRMS channel (not sure why?)

Here is my SEARCH FORM:

{exp:low_search:form result_page="directory/search"}

Keywords <input type="search" id="keywords" name="keywords" placeholder="Enter Search Phrase" size="18" maxlength="100" onblur="if (this.value=='') this.placeholder = 'Enter Search Phrase'" onfocus="if (this.placeholder=='Enter Search Phrase') this.value = ''" class="search-box rounded" />

    State
    <select name="search:cf_firm_location:m_address:region" id="search:cf_firm_location:m_address:region">
        <option value="">Please select....</option>
        <option value="AL">Alabama</option>
        <option value="AK">Alaska</option>
        <option value="AZ">Arizona</option>
        ......
    </select>

    Country
    <select name="search:cf_firm_location:m_address:country" id="search:cf_firm_location:m_address:country">
        <option value="">Please select....</option>
        <option value="AF">Afghanistan</option>
        <option value="AX">Aland Islands</option>
        <option value="AL">Albania</option>
        <option value="DZ">Algeria</option>
        ......
    </select>

<button type="submit" class="tiny radius button search-button">Search</button>

{/exp:low_search:form}

Here is my SEARCH RESULTS:

{exp:low_search:results query="{segment_3}" require_query="yes" collection="firms" status="not closed" limit="10" paginate="bottom" orderby="title" sort="asc"}

<........ content here ............>

{/exp:low_search:results}

As always, any tips would be greatly appreciated!


texts: Wygwam - Form & script tags being removed

texts:
I’m struggling with <form> and <script> tags being removed in WYGWAM.

When these tags are added via source in WYGWAM and saved they show up on the page but when you go back into edit the entry they do not show up in Source area.

I tried adding this suggested regex to the config file but it didn’t work:
https://getsatisfaction.com/pixelandtonic/topics/wygwam_deleting_javascript_tags_in_content.

Other Regex examples found on Google didn't work either.

How can I allow <form> and <script> tags in a WYGWAM field?


texts: Solspace Rating: how can I display the most recent ratings?

texts: I have Solspace Rating 3.2.4 installed; and while I'm seeing examples to show the most popular/highest ratings, I want to show the ten most recent ratings (that is, the ten most recent ratings that have received at least one vote.) The output and formatting in the linked example is fine; it's just the sorting of which ratings are displayed, that is different from what I want. Am I looking at the wrong tag, to generate a list of the ten most recent ratings?


texts:
We are running EE 2 and Stash, 2 DB's: 1 master, 1 slave. The master-slave relationship keeps breaking with the following error:

  CRITICAL - Slave sql is not running. Last error: Could not execute
  Delete_rows_v1 event on table co_site.exp_stash: Can't find record in
  'exp_stash', Error_code: 1032: handler error HA_ERR_KEY_NOT_FOUND: the
  event's master log mysql-master-db-binlog.000001, end_log_pos 55763226

My question is two-fold:
1. Should tables exp_stash and exp_stash_bundles be replicated?
2. If they should, has this issue come up before and is there a fix that will allow our replication working without these errors?

Many Thanks,

Studio1057


texts: Have a modal window with yes or no to set a persistent global determining access to template group

texts:
I suspect one of you brilliant folks in the EE community will be abel to help me. I need to add a disclaimer-style checkpoint prior to entering a given template group within an EE site. Specifically, it's a medical site with a before and after gallery and some photos in the gallery could be perceived as graphic in nature - and so I want a "visitor beware" kind of selection screen before the user gets into that section. So I'm looking for a way to have the following happen:

1) Upon accessing a give template group path (domain.com/example) a modal window opens with a brief disclaimer allowing the user to choose yes or no to proceed.

2) If yes, the user continues to the template group, if no, they continue to a URL path I designate (probably a placeholder, wherein they would continue to browse the rest of the site and I also give them the ability to reverse their previous no to a yes)

3) the selection that they make in the modal is persistent for, let's say, a browser session.  They are still forced to make that same choice the next time they visit the site, even if on the same day, within the browser session.

4) In being a persistent value, the next time they browser to domain.com/example, the rule dictated by their previous selection or yes versus no is enforced. If they clicked yes, they simply access domain.com/example unfettered. If they clicked no, they are routed to the "alternative" landing page wherein they are presented the opportunity to change their mind and select yes.

So I'm guessing this is a javascript thing. I've done something like it, but not in a way that affected routing. It was merely a language selection that then determined whether they were accessing the site via the english or french URL. I've not tried something like there where the selection they make has some influence over what they see within a given template group. I suspect i could repurpose the javascript that was used to perform the language selection, but the behaviour after that was linked to different URLs in the site (domain.com/en/ and domain.com/fr/) whereas in this case, it's all one URL.

Anyone done this before? Advice on how to approach this?


texts:
When adding/deleting/editing a category in the CP,
I would like to send that data to Mailchimp (where I ultimately will have the same categories)

How can this be achieved? Using a Action or a Hook? And how?
I'm reading up on making Plugins, Hooks,... but I'm not sure wich Hook I can use and where to place it.

Thanks!


texts: Conditional to use date_range_start="today" instead of date_range_start="{segment_3}-{segment_4}-01" in {exp:calendar:cal} loop

texts:
I am trying to use date_range_start="today" instead of date_range_start="{segment_3}-{segment_4}-01" if the user is on the current month displayed. I have this working properly for all other months except the current month. The problem is that events that have already passed are still showing up for the current month. Is there a conditional that I could use to check if it is the current month and then use date_range_start="today" in that case? Below is the loop that I am using.

{exp:calendar:cal
    date_range_start="{segment_3}-{segment_4}-01"
    date_range_end="{segment_3}-{segment_4}-last"
    show_months="1"
    show_future_entries="yes"
    dynamic="no"
    event_limit="3"
    paginate="bottom"
    pad_short_weeks="n"}


texts: Outputting categories as checkboxes - exp:channel:form / safecracker

texts:
I want to output category groups as checkboxes, I've got them outputting correctly however when they are selected and the form is submitted they aren't actually being assigned to the chosen categories suggesting I haven't got them quite right.

here's the code:

{exp:channel:form channel="work" return="contribute/thanks"}

            Title
            <input type="text" name="title" id="title" value="{title}" size="50" maxlength="100" onkeyup="liveUrlTitle();">
            <input type="hidden" name="url_title" id="url_title" value="{url_title}" maxlength="75" size="50">

Formats

          {categories show_group="4"} {!-- formats --}
            {category_name}
            <input type="checkbox" id="{category_id}" name="{category_id}[]" value="{category_id}">

          {/categories}

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

{/exp:channel:form}

Any ideas on what i'm doing wrong?


texts: Best Solution for redirects if you have to move templates / URL structure

texts:
If you have to change your url-structure (and therefore in ee-templates) from let's say «opinion/detail/url_title» to «blog/article/url_title» — What's the best solution (EE-functionality, htaccess-stuff or something else) to redirect a visitor to the new url so users clicking on old links get redirected to the corresponding entry-template with the new tempalte-group/template structure?

for example:

domain.com/opinion/detail/My-Entry get's automaticly redirected to domain.com/blog/article/My-Entry?


texts:
I have followed the EE 2.8.1 docs to create user comments to be displayed against the relevant channel entry on a singular page, as suggested.

However, the comments from the whole channel overall are being displayed and not just the relating entry itself.

Below is my code if anyone can help?

Job Applications

  {exp:channel:entries channel="jobs" orderby="title" sort="asc|desc" limit="1"}

{vacancy}

    {exp:member:custom_profile_data}
    {if photo}

    {if:else}

    {/if}
  {/exp:member:custom_profile_data}

{vacancy} for {company}, {area}

  {/exp:channel:entries}

   {exp:comment:entries channel="jobs" orderby="name" sort="asc|desc" limit="2000" dynamic="no"}
   {if photo}

   {if:else}

   {/if}

{comment_date format="%d.%m.%Y"}, {name}

{comment}

   {/exp:comment:entries}

This is placed as an embed should that make any difference?

Thanks in advance
Scott


texts:
i'm hoping you guys can help with recommendations for the best user management module for my particular problem.

i want to be able to have two levels of user - site admins and members. site admins would be able to view / add / remove members from their designated 'location' only (so I guess a field to identify where they're based would be required). this should all happen on the front end of the site, outside of the EE admin.

i also want to be able to view / filter all users by specific custom fields (for example their location) and if possible export all users to CSV (appreciate this may need to happen outside of the module though...)

There seems to be lots of modules available so before I take the plunge I'm just trying to work out which one is the best fit for me.

Cheers
Matt


texts: Purchasing ExpressionEngine and add-on licenses for a client?

texts:
Is it acceptable for me to purchase ExpressionEngine and the required add-on licenses on behalf of my clients?

For some of my clients the process of getting them to purchase the right add-ons would certainly be a tedious process.


texts: Customize look of map with Google Maps for ExpressionEngine

texts:
Is there a way to customize map colors using Google Maps for ExpressionEngine?

I know it can be done with Google Maps but since the plugin is generating the map code, I'm not sure how to add the code that controls map colors.

Thanks for any help.


texts: What is the limit of Matrix? Getting redirected to 404 error on entry with large number of Matrix rows

texts:
The entry I'm having problems has a Matrix field with over 100 rows, on 8 columns of data (7 simple text fields, 1 dropdown with 2 options). When attempting to add just one more row and hitting the submit button, the server seems to be choking and coming up with a the default 404 page set for the website...no error messages or anything to tell what's actually going on. Checking the PHP error logs also shows nothing up.

I've attempted to up the 'memory_limit' to 2048M and the 'max_execution_time' to 300, but neither of these makes any difference.

Running EE v2.5.5 and Matrix v2.5.10, there's are also another Matrix field, and Assets field and a WYGWAM field on this entry.

A strange thing is that I can update this entry on my local MAMP setup, but not the Production server.


texts:
I get this error message on submit of my form. Does anyone know what it means?

Invalid form id(s) submitted.


texts: Using Solspace User extension, can I pass the email address of the user to the 'return' page?

texts: In Expression Engine, I have 'Require Member Account Activation?' set to 'Manual activation by administrator', but I would like to send them an email on registration.  I'm using Solspace User for registration ( exp:user:register ), and I was thinking the simplest solution would be to just send an email from the 'return' page.  But they aren't logged in at that point, so I don't have their email address.  Any ideas on a way to get the users email address on the Thank You return page?


texts: Anyone experiencing intermittent Submit fail and redirect to CP dashboard/home? (ee 2.7.2)

texts:
On several different installs I'm finding that when I finish editing an entry and hit Submit, the submission sometimes completely fails and I am redirected to the Control Panel home page.

I'd like to stress that in all cases I remain in a logged in state so it seems to be a different issue than the OP was raising in the EllisLab forum thread at How to stop CP timeouts completely – although I note that some of the commenters in that thread are citing the same behaviour as I am describing here.

I have 3 different installs where this is happening, each with a different mix of add-ons from lots and lots to effectively none.

At first I thought it was to do with the security warning interjecting on a 2.6.1 install, but now that is updated and yet it's still happening.

And just now, it's happened to me while working on a local 2.7.2 install in which the only add-on installed is Wygwam. But Wygwam is currently not being used on any fields, so the active number of add-ons on the entry that just failed to submit is zero.

That said, as I'm concluding that I probably don't need Wygwam at all on that install I shall disable it and see if this weirdness happens again.

Anyone else got this kind of thing going on? Because it's not good and it's understandably bugging my clients on the live installs.


texts:
I am pretty new to exsprexxion engine and want to ask a quistion i want to do this:

 ITEM 1

 ITEM 2

 ITEM 3

 ITEM 4

ENZ....

When I try it I only get all the entries in the upper part of the
 (so they all come in the place of "ITEM 1"). Is there a way to count and display only the od ones and for the bottom
 the od ones?

It would be nice if you can help me out.
Leon

Ok this is the code:

                {exp:channel:entries channel="track_record" dynamic="off"}
                {if count==1}

{title}

                    {exp:ce_img:single img src="{track_record_picture}" alt="{title}" width="230" height="132" crop="y" allow_scale_larger="yes"}

{track_record_description}

                {if count==2}

{title}

                    {exp:ce_img:single img src="{track_record_picture}" alt="{title}" width="230" height="132" crop="y" allow_scale_larger="yes"}

{track_record_description}

                    {/exp:channel:entries}

                {/if}


texts: how to do search between two dates from date and to date using low search in expressionengine

texts:
I'm not getting the expected results with low search range.
Here is my search form

{exp:low_search:form collection="press_releases" required="keywords" result_page="/communications/result"}
<fieldset>
Keywords
<input type="text" name="keywords" id="keywords" />
<input name="range-from:entry_date" value="2014-01-01">
<input name="range-to:entry_date" value="2014-01-24">
<button type="submit">Search</button>
</fieldset>
{/exp:low_search:form}

Search Result Code:

{exp:low_search:results status="not closed" query="{segment_3}" disable="member_data|category_fields"}
{if count ==  1}
{/if}

{title}

{if count == total_results}
{/if}
{if no_results}No search results{/if}
{/exp:low_search:results}

How i can handle this with low search using range?

Thanks in advance.


texts: Expresso Store and Freemember Autopopulation not working

texts:
i have tried to pre-populate the memeber data in checkout template.
but prepouplation of any of the custom member field is not working.

{exp:store:checkout register_member="yes" next="shop/payment"
             error_delimiters='|'
            require="first_name|address1|city|country|order_email"}

            {if no_items}
                {redirect="shop"}
            {/if}
                    First Name

                        <input type="text" name="billing_first_name" value="{if billing_first_name}{billing_first_name}{if:elseif logged_in}{billing_first_name}{/if}">
                        {error:billing_first_name}

                    Last Name

                        <input type="text" name="billing_last_name" value="{if billing_last_name}{billing_first_name}{if:elseif logged_in}{billing_last_name}{/if}">
                        {error:billing_last_name}

            {/exp:store:checkout}

Could you pleas help me finding out,what i am doing wrong here?

Update:
For old user ids its not prepopulating but for the new user id s its doing the job.
dont know why? is there any solution to fix this or my understanding is wrong?

Here is an another update:

Trick is there in the cart data clearing - time set in CP.

Once i empty the cart, and update the cart again then new updated profile value is prepopulating.

Thnaks,
sus


texts: SSL Certificate Breaking the Site Style Sheets - Looking for a fix

texts:
I've inherited an old version of an expression engine website using version 2.10.1. The site is not displaying on https:// and when I am testing the stylesheets are broken. I've been informed that the agency who designed the site a few years tried to fix it and was unable to ( which blew my mind.

So, can anyone advise me how to get the https://www.mysite.com version working please.

Thank you in advance...
Naomi


texts: Getting SuperSearch and GWCode to play together nicely

texts:
Using Solspace SuperSearch I want to search by category (and keyword), and have the categories list on the result page remember which checkboxes I selected.

It works great when I am looping through the channel entries tag like so:

{exp:channel:categories parent_only="yes"}
{exp:super_search:variables}

        {category_name}
        <input
            type="checkbox"
            value="{category_url_title}"
            name="category[]"
            {if super_search_category_{category_url_title}} checked="checked"{/if} />

{/exp:super_search:variables}
{/exp:channel:categories}

I would like to use GWCcode Categories to have greater control however. When I do, I run into parse order issues and the checked="checked" does not render:

{exp:gwcode_categories depth="0" max_depth="1" style="linear"}
{exp:super_search:variables}

        {cat_name}
        <input
            type="checkbox"
            value="{cat_url_title}"
            name="category[]"
            {if super_search_category_{cat_url_title}} checked="checked"{/if} />

{/exp:super_search:variables}
{/exp:gwcode_categories}

Has anyone had the same problem and gotten these two addons to work together? Any alternative methods come to mind that give me this functionality?

EDIT: minor syntax error in code, see comments


texts: Channel forms - Is it possible that channel form with assets field downloads lots of data?

texts:
We've set up a blogging solution for a client that uses channel forms with all the necessary fields, including an Assets field for image upload. Nothing out of the ordinary. The template is as light as you can get it, only a form and form fields. But with an Assets field as well. The client says that the solution downloads 7-11MB while it's uploading 2-3MB. Thus, making it too expensive for them to use. So they insist of using the poorly functional moblog feature instead.

I find it hard to believe that the channel form would download that much data, even more than what is uploaded! I have made data traffic measurements myself, and it shows only 1MB downloaded while 3MB was uploaded. Which is what you would assume. These measurements are pretty consistant. This particular image was taken from an iPhone, with no extra compression. I made that measurement while being on 3G as well.

In any case, what could be causing huge amounts of download traffic? The channel form is just a plain form, while the Assets do have small thumbnails showing, but that wouldn't produce that much data traffic?


texts:
I'm new in Expression Engine, but have a good knowledge of codeigniter framework.

Idea is to store custom value in user session: geolocation data (City name) and put this value to input.

I wrote some javascript code, but it fires every time, when user loading page. I want to do it once and then retrieve location from user session.

I'm not sure that I need modify EE core modules.
Is there any standart EE module, which handle user session globally at whole site?


texts: Why my Expression Engine default menus don't load?

texts:
I was running 2.6.1 and I logged in today (hadn’t logged in since june 2013), none of the EE menus are working.  All the menus and buttons at the top do not work anymore.  I upgraded to the latest version flawlessly but yet still none of the buttons or menus are working.  It’s like the AJAX/jquery or whatever they use to show the menus isn't being loaded.

The sidebar will not expand either.  The menus at the bottom of the control panel EE Info, Learning EE, News and Stats, & quick tips wont expand either.

When I edit an Entry none of the buttons work there either, ie: publish, date, ping, pages, revisions, etc.

They all load but there is no effect when I click on them.  Yes I have tried uploading it all again.  I even uploaded it and tried it as fresh install (as a new site) and they still didn't work. I have tried it on IE, Chrome, Firefox, Safari. None of the menus works.  It doesn't make any sense to me really.


texts:
I was having a heck of a time trying to get the solspace user module to submit my form via ajax.  I was trying to use the default EE method found here: https://docs.expressionengine.com/latest/channel/channel_form/examples.html#ajax-driven-entry-form

It just seemed the user module was ignoring the json="yes" and any jquery that I wrote.


texts: Is it possible to make the screen name first name and last initial instead of last name? I want the member list and public profile pages to just have last initial.


texts: Call to Action Buttons - force Bootstrap col display around EE looping content

texts:
I created a conditional in EE6 using Bootstrap 5 to determine display call to action buttons to show side by side when even number and full width stacked when odd. Used output total grid rows to determine if even or odd. All is working fine except the even numbers are not respecting the col-6 tag which should align side by side, they're stacking as half width on even numbers (odd numbers stack full width across as expected).
So I want the first and second buttons to be side by side on one row and the third and fourth buttons to be side by side on a second row.
ref: https://snipboard.io/Di908h.jpg
{cta}

{if cta:total_rows % 2 != 0}

               {cta:cta_label}

{/if}
{if cta:total_rows % 2 == 0}

               {cta:cta_label}

{/if}

{/cta}


texts: Problem with External S3 Source in Assets 2.1.3 and EE 2.5.5

texts:
I get the following error when attempting to save an external source using Assets 2.1.3 in EE 2.5.5:

Fatal error: Call to undefined method stdClass::result_array() in
/home/active/public_html/administrate-am/codeigniter/system/libraries/Javascript.php
on line 765

Anyone have any idea how to fix this? It looks like it's an issue with generating JSON, but I don't know how to fix it and it's kind of urgent.

PHP 5.3.x, in case it matters.


texts: Playa - Related Entries search post call fails

texts:
In the related entries field, after typing a search term, a post call is made to return back a list of related entries that fit the search term. However, it is failing for us as you can see in the screen shot. I don't even get a 404 or 500. it just shows up as canceled. I have tested this on multiple machines and browsers and get the same result every time. Anyone have any ideas?

Link to screenshot => http://cl.ly/image/330V450W0j1h

~ C


texts: Cartthob and channel entries. Tag {title}

texts:
EE v2.5.5

On the cart page i need to get image title based on its id.
Instead tag {title} shows the title of cart item.
So high level variable rewrite low level.

{exp:cartthrob:cart_items_info}<br>
   {title} // shows cart item title, for example "Product 1"

   {exp:channel:entries channel="images" entry_id="{item_options:image_id}" limit="1"}

      {title} //should show image title, for example - "Image 1", but shows "Product 1"
   {/exp:channel:entries}

{/exp:cartthrob:cart_items_info}

How can i solve this?


texts: Check playa:child_ids against entry_id || Execute a Matric Column only if XYZ in the first

texts:
I have a Matrix field as a Low-Variable. It contains two columns, each Playa-Fields.

First Playa-Field: All my sites Pages from my "Page"-Channel.
Second Playa-Field: Every Sidebar-Block from my "Sidebar"-Channel.

I want to control all my Sidebars from one place with this structure. It allows me to create Sidebar-Groups through rows and even re-use Sidebar-Groups for two sites.

The problem: How can I check my {entry_id} (of the Page) against the {entry_id} of the first playa-field to check if I should execute this sidebar row?

I want something like below, but obviously it doesn't work. Who knows a work-around?

{exp:low_variables:parse var="lv_sidebar_pages" var_prefix="matrix"}

        {if {matrix:cell_pages:child_ids} CONTAINS {embed:page_id}}
                    {matrix:cell_sidebars}
                    {!-- Sidebar-Code --}
                    {/matrix:cell_sidebars}
        {/if}
{/exp:low_variables:parse}

I also thought about a possibility to check normally in the first Playa-Field and then skip aka. break this loop of the Matrix-Field:

    {exp:low_variables:parse var="lv_sidebar_pages" var_prefix="matrix"}

        {matrix:cell_pages}
            {if {embed:page_id} != {entry_id}}
                BREAK THIS MATRIX LOOP.. and jump to the next row..
            {/if}
        {matrix:cell_pages}

        {matrix:cell_sidebars}
            ..so this code isn't executed
        {/matrix:cell_sidebars}
{/exp:low_variables:parse}

Thanks for the help.


texts: Freeform Pro and Whitelisting with Office 365

texts:
We have a client in which we've set up Freeform Pro and have several forms. We've got the forms working properly, but all emails are getting directed to their Spam folder.

The client is using Outlook, as part of the Office 365 package, and have whitelisted the email address that is sending the emails.

Is there any way to change the email address that Freeform is using to send these emails, or be able to mark the emails generated by Freeform not spam?

EE Version: 2.5.3
Freeform: 4.0.7

Thanks in advance!


texts: Playa or Assets issues with php 5.3.20 and above

texts:
Cannot render an Assets tag pair inside a Playa field on a live server using php 5.4.13 EE just cannot recognize from the Playa tag pairs inwards. Using a single tag it works like always.

just to be more clear:
* this doesn't work with php 5.4.10 and above *

{prodotti_correlati_manutenzione dynamic="no"}

                                                                {exp:ce_img:single src="{img_prodotto}" width="200" height="200" crop="yes"}

                                                                {title}

                                                {/prodotti_correlati_manutenzione}

* this doesn't work with php 5.3.20 and above *

{prodotti_correlati_manutenzione dynamic="no"}

                                                            {img_prodotto}

                                                                    {exp:ce_img:single src="{url}" width="200" height="200" crop="yes"}

                                                            {/img_prodotto}

                                                            {title}

                                            {/prodotti_correlati_manutenzione}

EE 2.7.3
Playa 4.4.5
Assets 2.2.4
Structure 3.3.14
Transcribe 1.6

bye
Thanks


texts: User upload of multiple image files to channel entry via channel form

texts:
I'm trying to set up a front-end file upload form, in which the user uploads (max 2) image files to a channel entry.

I've seen reference to DevDemon's Channel Images as being the likely candidate to enable this functionality, but I can't find any reference material on the DevDemon site or anywhere that indicates how to accomplish this within EE Channel Form.

Does anyone have something they can point me at? Or know where I can find a tutorial / reference file or something?

Thanks in advance.


texts: I'm trying to teach myself the best tech related to EE4. Now I'm on forms. Before going straight to FreeForm Pro, I'd like to get any opinions on form solutions. Currently looking into Channel Form and deciding whether to even mess with it (already bought FreeForm Pro).


texts: How automatically be logged in to both the Control Panel and front-end at the same time?

texts:
If user logged in to front-end, is it possible to auto logged in to Control Panel ?

How automatically be logged in to both the Control Panel and front-end at the same time ?

Thanks


texts: Api_channel_fields - cannot add group id

texts:
I'm trying to add a new field to a group using the API but it doesn't work (according to the docs it is supposed to be a key).

I have tried running the example code but the 'group_id' field is ignored when I add it to the field object sent to the update_field method:

        ee()->load->library('api');
        ee()->legacy_api->instantiate('channel_fields');
        $field_data = array(
            'site_id' => 1,
            'group_id' => 1,
            'field_name' => 'aaaa',
            'field_label' => 'AAAA',
            'field_type' => 'text',
            'field_order' => 10,
            'field_required' => 'y',
            'field_search' => 'y',
            'field_is_hidden' => 'n',
            'field_instructions' => '',
            'field_maxl' => 128,
            'text_field_fmt' => 'none',
            'text_field_show_fmt' => 'n',
            'text_field_text_direction' => 'ltr',
            'text_field_content_type' => 'all',
            'text_field_show_smileys' => 'n',
            'text_field_show_glossary' => 'n',
            'text_field_show_spellcheck' => 'n',
            'text_field_show_file_selector' => 'n',
        );

        ee()->api_channel_fields->update_field($field_data);

So I added a call to field_edit_vars prior to the update_field call as stated in the docs:

    $vars = ee()->api_channel_fields->field_edit_vars(1, FALSE);
    ee()->load->view('admin/field_edit', $vars, TRUE);

But I get 'Call to undefined method Api_channel_fields::field_edit_vars()'

I've also tried using the return value from the 'update_field' method, which according to the docs should be the new field id but it returns nothing.

How do I add the new field to a group?


texts: Has anyone used the Channel Videos add-on with https? I have tried rewriting all of the URLs in the add-on with https and also tried rewriting the URLs to just //, without a protocol. Both of those methods still produce insecure content on the site. I would appreciate any feedback the community has to offer. I love this add-on, and I really want to use it on this site.


texts: entry submission error logged in as client user - "You are not authorized to perform this action"

texts:
Anyone seen this issue?

I'm logged in as the client who is under the member's group (I believe I have set all the required permissions, can't see anything obvious that would restrict this).

When I try and re-submit an entry in the client's account where the Author is the Super Admin, I get this error:

http://i.imgur.com/k0M2IZa.jpg


texts: Membrr: accept donations on top of subscription cost

texts:
I'm integration Membrr for non-profit organisation.

They want to let people purchase membership and make donation at same time (ex. the user can only purchase membership for $100, or membership ($100) plus donation ($50 or other amount)

Basically this is "pay as much as you want" model, but with minumum set and recurrent billing.

Is there a way in Membrr to add amount to subscription cost?

I know I could use EE Donations module separately, but perhaps there is way to let users pay all they want in one step?


texts: Stash embed not working in EE3 after update

texts:
Have edited this question in light of further information subsequent to the initial question being posted...

Have Stash 3.0.4 running on EE 3.4.6.

Have migrated an EE2 site that is working fine, to EE3.

Several of the templates are simply a one-line {stash:embed} tag which redirects to one of several shared templates.  The redirect templates look like this:

{stash:embed:_resources-cat-index process="start"}

This redirection approach works fine in EE2, but in EE3 the embeds are failing: rather than running the template defined in the embed, an error is displayed of this form:

  The following errors were encountered

  Stash: the file "/var/sites/e/ee3.2gc.org/system/expressionengine/templates/default_site/stash_templates.group/_wwd-index.html" was not found.

Because the error occurs before a template is loaded, there is no debugging information showing beyond this error message.

I have tried removing all the one other extension that uses the template_fetch_template method but it makes no difference.

Any ideas what might be a solution?


texts:
This is most likely another Stash parse order issue, but I'm not sure.

I'm trying to stay DRY and use Stash inside of Cartthrob notification emails.

I have my templates set up like so:

default_site/
- emails.group/
-- low-inventory.html
- stash/
-- layouts/
--- email.html

I've set up Cartthrob to use low-inventory.html as the email notification.
I'm intending to use email.html as the wrapper layout/view file.

emails.group/low-inventory.html looks something like this:

{stash:embed:layouts:email}

{exp:stash:set name="title"}Low Stock Notification{/exp:stash:set}

{exp:stash:set name="content" parse_tags="yes"}
  {exp:channel:entries entry_id="{entry_id}"}
    Product ({title}) has a low inventory ({inventory}).
  {/exp:channel:entries}
{/exp:stash:set}

stash/layouts/email.html looks something like this:

{exp:stash:set name="img_url" type="snippet"}{site_url}images/site/{/exp:stash:set}

            {exp:stash:title}

            {exp:stash:content}

The email I receive in my inbox ends up looking like this:

{f9577b1c0aa0d3ee98693cf99f47a0e01185658551}

I know something like that means something hasn't been parsed properly.
Although, I'm not sure where I've gone wrong or what to change.
Or, if you know that this isn't possible with Cartthrob notifications, let me know.

Any suggestions would be appreciated.
Thanks!


texts: Setting up UK VAT for European Union countrires

texts:
For UK Value Added Tax, we need to charge 20% on goods shipped to countries in the EU, 0% on others. TO achieve that it looks like I need to add a rule for each EU country, rather than one rule for multiple countries.

Is that correct?


texts:
I want to build a page of links that will let me login to edit a specific MSM (Multi Site Manager) site. Instead, EE opens the site I was editing last. This has often resulted in adding templates to the wrong site and then having to move them. Or editing content on the wrong site. Making changes and not seeing them on the site. Or being very confused when trying to edit content because I can't find it.

We're using ExpressionEngine 2.7.3 with Multi Site Manager 2.1.6 - and we've renamed admin.php for security purposes.

What I've Tried

I looked at:
Creating Custom CP Links to Other Site Channels in MSM with Zoo Flexible Admin
which discusses the commented-out base64 page parameter. Since I'm not interested in loading a specific page, I'm not terribly worried about that functionality. But the question seems to indicate that I can build a link with C=sites&site_id=1 to switch to site 1. This doesn't quite work for me.

So next, I examined the msm_sites links. This revealed that the link to switch to a site is constructed as described in the question above, but with additional parameters. Here's all of them, with some bogus values:

S=QSBsb25nIHRpbWUgYWdvLCBpbiBhIGdhbGF4eSBmYXIsIGZhciBhd2F5
D=cp
C=sites
site_id=1
page=TGl2ZSBsb25nIGFuZCBwcm9zcGVy

Exploration reveals that the S ("session" I'm guessing) parameter is probably the value of {cp_session_id}. I can't include that in my link, because it will only be good during the current session. I'm guessing the D param is for "destination" or something. And D=cp looks good to me. The C ("controller" maybe?) and site_id parameters look promising, so I include those. And since I don't care about which page I end up on, I leave out the page parameter as well, leaving me with an HREF that looks like:

http://ee.example.com/notadmin.php?D=cp&C=sites&site_id=1

However, when I load this URL and log in, I end up at the control panel for the site I was editing last. Much sadness. Very growl. My best guess is that EE is discarding my request to switch sites because I don't provide the S parameter. I don't know how to get around this.

My partial solution is creating an accessory that color codes the control panel background to improve the chances that I'll notice I'm working in the wrong site. But I'd really like to be able to use my handy page-full-of-links method. Any suggestions?


texts: Deprecated Error shows up in header on website running 4.0.3

texts:
Running 4.0.3

After entering a new "News" item this is displayed on the site. It remains even though I deleted the News item.
ttps://prnt.sc/pe2ppt

Deprecated The each () function is deprecated. This message will be suppressed on further calls.
Severity: E_Deprecated
Warning
Cannot modify header information - headers already sent by (output started atee/legacy/core/Exceptions.php:111)

It also said there is a newer version but when I upgrade I get this Message
https://prnt.sc/pe2r05

Thank you for your help.


texts: Channel Form file uploads in Matrix/Grid field not working for guest users

texts:
I have created a Channel Form that is intended for guest users (not logged in) to submit information including up to two image files. The form uses a Matrix or Grid field (I've tried both) for the image files. The form works great except that the image files are not uploaded. If I login as a Super Admin and submit the form, the files ARE uploaded, which leads me to believe it is some sort of permissions issue on the upload directory.

I set /images/uploads and /images/uploads/habitats to 777 to try that, and it is still not working.

FORM CODE:

{exp:channel:form channel="Habitats" return="/habitats/thank-you"
logged_out_member_id="6"
rules:habitat_story="max_length[500]"
rules:habitat_comments="max_length[500]"
rules:habitat_management_practices="max_length[500]"
rules:habitat_category_other="max_length[50]"
rules:habitat_program_other="max_length[128]"
}

...

<fieldset>
    <label for="habitat_photos">{label:habitat_photos}</label>
    {instructions:habitat_photos}
    {field:habitat_photos}
</fieldset>

...

{/exp:channel:form}

Can anyone offer a solution or advice to fix my problem? Thanks!


texts: Displaying Entries by Category name not working

texts:
I'm using Low Seg2Cat and I'm trying to display a list of entries by their Category Name.

if I use the category id I can pull the entries, however using the Category name is a no go.

{exp:channel:entries channel="channel_name" dynamic="off" category="
{segment_3_category_name}" status="open"}
{title}
{/exp:channel:entries}

this is the URL I'm using.

www.site.com/index.php/group/template_name/category_name

I've the latest version of seg2cat and set the extension to "search all sites."

Thanks in advance!


texts:
I moved my system folder above the root and was updating the database.php file and was confused about the correct path for one of the settings.

Should it be:

$db['expressionengine']['cachedir'] = '/nfs/c10/h06/mnt/143832/domains/website.org/html/system/expressionengine/cache/db_cache/';

or

$db['expressionengine']['cachedir'] = '/nfs/c10/h06/mnt/143832/domains/website.org/system/expressionengine/cache/db_cache/';

Thanks!


texts: htaccess - Best practice-version for EE5?

texts:
My htaccess is very big, because I upgraded, changed, optimized … it from EE1 to EE5.
I am not sure what could be trashed. E.g. I have a rule somewhere to remove index.php, probably I don't need this anymore.

What is a best example for a htaccess for a standard-EE-install in EE5?
Thanks!


texts: Can I preserve my mediumtext fields when upgrading from 2 to 3?

texts:
I have had to edit a few fields in my EE install from TEXT to MEDIUMTEXT so that all the content for the entries in the relevant channels will fit.

On a prior upgrade within EE 2.x, there was a database change that meant all the fields were reset to TEXT.

My questions are:

1) Does anyone know if the same will happen when upgrading from 2 to 3?

2) If so, is there anything I can do to prevent these particular fields from being changed?


texts:
I am currently using

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

to remove trailing slashes in my urls, however for some reason it does not work with the multi language module - I'm using Expression Engine 2.9.0 and Multi Language 2.0.1

Example:

domain.co.uk/link/ > domain.co.uk/link (trailing slash is removed)
domain.co.uk/cy/link/ > domain.co.uk/cy/link/ (trailing slash is NOT removed)

I realise this is legacy software but I'm just trying to maintain this site.


texts: Can Solspace calendar have multiple times each day for an event?

texts:
Can Solspace calendar be setup to have multiple times a day per event?  I am looking at using it for movie listings where each movie will be shown for a different number of days and each day the movie might be shown a different number of times and at different times of the day from day to day.

Does anyone know if Solspace calendar can be setup to do this?


texts: Namespacing for a relationship loop breaks scope?

texts:
I have a "videos" channel that has a one-to-one relationship with a "person" and a one-to-many relationship with other videos in the same channel. I am trying to display the information about the person and the related videos with a template like this.

<Videos>
    {exp:channel:entries channel="videos"}
    <Video>
        <Subject>{person:title}</Subject>
        <Affiliation>{person:affiliation}</Affiliation>
        <RelatedVideos>
            {related}
            <VideoId>{related:person:title}</VideoId>
            {/related}
        </RelatedVideos>
    </Video>
    {/exp:channel:entries}
</Videos>

This results in:

<Videos>
    <Video>
        <Subject/>
        <Affiliation/>
        <RelatedVideos>
            <VideoId>title 1</VideoId>
            <VideoId>title 1</VideoId>
            <VideoId>title 1</VideoId>
        </RelatedVideos>
    </Video>
</Videos>

Note the empty <Subject/> and <Affiliation/>.

However if I change the template to exclude the related video person:

<Videos>
    {exp:channel:entries channel="videos"}
    <Video>
        <Subject>{person:title}</Subject>
        <Affiliation>{person:affiliation}</Affiliation>
        <RelatedVideos>
            {related}
            {!-- <VideoId>{related:person:title}</VideoId> --}
            {/related}
        </RelatedVideos>
    </Video>
    {/exp:channel:entries}
</Videos>

I get this:

<Videos>
    <Video>
        <Subject>title 1</Subject>
        <Affiliation>affiliation 1</Affiliation>
        <RelatedVideos></RelatedVideos>
    </Video>
</Videos>

It seems I can get either the person related to my entry, or the person related to the other entries related to this entry. How can I get both?


texts: How to stop EE from converting straight quotes to html entities in  tags in an entry

texts:
I'm trying to embed an instance of jwplayer in an entry.  The embed code for that looks something like this:

I was just wondering if there is anyway to keep the formatting set to XHTML and still have it not convert the straight quotes between the initial set of parenthesis into entities.  Here is a snippet of the problem area:


texts: How to list all Playa choices for a given entry in a multi-entry listing

texts:
I want to create an XML file that can list multiple entries - straightforward enough. But for each entry, I also want to list all of the sibling entries chosen in the Playa field for that entry. That's where things get tricky.

Putting the Playa content directly into the XML field gets no listing of the Playa choices at all, but when I tried embedding a template...I only see something that looks like (but isn't) the closing XML tag, not the beginning XML tag nor any of the expected Playa children (related titles).

What am I doing wrong?

The code for the primary XML-generation template is:

<root>{exp:channel:entries channel="spc-content" category="5" orderby="title" status="Migrated" sort="asc" limit="100"}
  <entry>
      <title>{title}</title>
      <related>{embed="group/embed-xml-related" the_id="{entry_id}"}</related>
  </entry>
{/exp:channel:entries}
</root>

The code for that embedded template is

{exp:playa:children field="playa" entry_id="{embed:entry_id}" limit="15" status="open|Featured|Created|Migrated"}
{title}
{/exp:playa:children}

The output is:

<root>
<entry>
<title>TKB Trading’s Blush Beige</title>
<related/>
</entry>
<entry>
<title>TKB Trading’s Bolera</title>
<related/>
</entry>
<entry>
<title>TKB Trading’s Brilliant Gold</title>
<related/>
</entry>
...
(and so on, until it lists 100 entries)
...
</root>


texts:
For some reason i can't figure this one out. We have deals on our site that are set to expire on certain dates. These deals are sent out via email, so someone could click on a link after the deal has expired. If this happens, we would like to redirect them to the main deals page. My thought was to do this one of two ways:

If the entry is "closed" redirect to {segment_2}. The problem is that expired entries don't automatically change to "closed" status. How would i do this?
Use a conditional statement to either show page or redirect based on expiration date.. something like this:

{exp:channel:entries
    status="open|featured|homepage|hidden"
    dynamic="no"
    limit="1"
    disable="member_data|trackbacks|categories"}

    {if expiration_date < current_time}
        SHOW DEAL
    {/if}

    {if expiration_date > current_time}
        REDIRECT TO {segment_2}
    {/if}
{/exp:channel:entries}

This isn't working either. I did a test with it to just show text based on the condition and both expired pages and live pages showed "SHOW DEAL". Obviously missing something here.

Please let me know if you have any suggestions. Thanks!


texts: Can anyone recommend the file I need to hack in order to increase the username limit?  I believe it is 25 characters and I need it increased.


texts:
I am using Low Events and Solspace search and need a way of searching through Events by month and/or year.
Where do i begin when searching through my low events field?

I realise i can use low search and will have to if there is no way, but i am already using solspace search so ideally would like to know if its possible.

My form currently has the following fields:

Keywords
Month
Year
Category


texts: How to create module tag output 'sub-loop'

texts:
I'm trying to do something like the following:

{exp:my_tag my-param2="1" my-param2="2"}

{title}

    {my_fields}

{field_label}: {field_value}

    {/my_fields}

{/exp:my_tag}

Is it possible to do it with a simple TMPL->parse_variables() or should I put in place something more complex?


texts: what must I do to make a AJAX popup window for logging in and out using freemember?

texts:
I am looking for an answer how must I code a link to a AJAX popup window for users to login.
I have my login link in a menu that is on all my pages.
Also logout.
I tried to read about this AJAX but I get very confused.

Thanks a lot! for helping me out with a simple answer.


texts: Using Low Replace with {site_url} not working

texts:
I'm having a problem making this Low Replace statement work. Basically I'm trying to use Low Replace to change any local URLs for images to use our CDN URL. I am using the {site_url} EE variable and a global variable I created called {cdn}. So when I ran the following code, the replacement didn't happen.

{exp:low_replace find="{site_url}images/" replace="{cdn}/images/"}
     <img src="http://www.domain.com/images/test.png" />
{/exp:low_replace}

If I try and just put in the actual site URL in the find parameter, then it does work. But I don't want to do that since it makes switching between environments with different URLs a hassle.

Any ideas what I can do?


texts:
I'm looking to build a site in EE5 and was wondering if I could get some text editor recommendations?

I've used WYGWAM with EE2 and enjoyed it.

The rich text editor with EE5 actually seems good, except I can't find a way to upload a file and make a link to it. Would I make my users first upload a file from File Manager, then link to it?


texts: Exp:resso Store and Minimum Order Quantity

texts:
I have a number of products which have a minimum quantity set as follows:

<input class="span1" type="text" name="item_qty" value="{min_order_qty}" placeholder="Quantity">
<button class="btn btn-primary"><i class="icon-shopping-cart"></i> Add To Cart</button>

However, if the client were to change the value to something less than the {min_order_qty} and try adding to cart, it simply posts the form and goes to the value set in my return="" param without erroring.

Whilst it doesn't trigger any kind of error, it also doesn't add the item to the cart, it just seems to fail quietly.

I would have expected it to trigger some kind of error message if I try adding quantity less then the minimum, rather than just failing silently, which is what it's doing.

Anyone able to offer advice on this?


texts: Exp:resso Store - Change checkout button from input to href

texts:
I am using a custom button which uses a href and I was wondering if it is possible to change the input submit checkout button from using an input to using a href?

So from something like this

<input type="submit" name="submit" value="Add to Cart" class="btn btn-primary" />

to

Add to Cart

?


texts: Matrix 2.4 not adding rows when plus is clicked

texts:
Running Matrix 2.4 on EE 2.5

When the plus / + button on a Matrix custom field is clicked, no row is added

Nothing happens

Any ideas?

Thanks!


texts: exp:resso store paypal 'ReturnURL is invalid'

texts:
I'm getting invalid ReturnURL error when trying to use PayPal Express. And I'm not seeing any options for setting the return url in the Store settings page.

I've tried setting the return parameter in the checkout-tag, but it doesn't seem to help

{exp:store:checkout return="https://www.example.no"}
{exp:store:checkout return="store/order/ORDER_HASH"}

None of the above works (the second one is the same as in the example template)

Any suggestions?

Edit: I think I found the problem. We use config-bootstrap in our EE, and there I've set up the site_url as

define('NSM_SERVER_NAME', $_SERVER['SERVER_NAME']);
define('NSM_SITE_URL', '//' . NSM_SERVER_NAME);

This is to make plugins like minimee work when we're on https and http. So the site url wil be spit out like //www.example.com, and this is the reason PayPal is getting angry at me.

I found a way around it, though, but I'm not happy about it. In merchant_paypal_express.php in the system/ee/third_party/-folder, I changed the _build_authorize_or_purchase() method a bit:

$request['RETURNURL'] = 'https:' . $this->param('return_url');
$request['CANCELURL'] = 'https:' . $this->param('cancel_url');

As you see, I added https hardcoded to the url. But now it works.


texts: Grid - Is there a way to filter out an empty value field?

texts:
Let's say I have Grid foo.

Grid foo has three fields, a,b,c

The way to get all of them would be

{exp:channel:entries channel="some_channel" ...}
  {foo}
       {a},{b},{c}
  {/foo}
{/exp:channel:entries}

My question is, how do I use the search param for grids to filter out those fields where grid field a is empty?

I tried {foo search:="=not "} but it did not work.

Any ideas?


texts: Simple conditional to compare expiration and entry date failing to evaluate

texts:
I'm trying to code more readable dates on posts which have been entered.

It will read "12 - 17 Jan" but if the month is across two months it will read "12 Jan - 2 Feb"

Spitting out my dates like so

{entry_date format="%d %M"} -
{expiration_date format="%d %M"}

Shows the dates are not evaluating to the same month... for instance the first entry is "21 JAN - 17 JUL"

If I run a conditional on this exact same entry...

{if {entry_date format="%M"}=={expiration_date format="%M"}}
SAME MONTH
{/if}

It's returning "SAME MONTH" am I overlooking something here? does the parse order mess with the conditional (I can't imagine it is in this instance) it may be worth mentioning that if I say "!=" does not equal... nothing is returned.

Any help would be appreciated.
Thanks
Chris


texts: Does Expresso Store 2.5.1 work with PHP7?

texts: I see another question like this was asked but really no answer was given for the 2.5.1 version.  Will it work with PHP 7?  I know there is a new Store 3 version, but I can't upgrade to EE3 due to several other missing add-ons for v3 compatibility.


texts: Deep content structure. Entries at each level (Categories, Relationships or Playa?)

texts:
If you had this structure

Main - Channel + Entry + Related/categories Entries

Main Sub - Entry + Related/categories Entries

Sub - Entry + Related/categories Entries

Article Entry

Where each category from depth 1-3 contained entry data and lists of entries how would you approach it?

My first thought was to create a channel for each depth (fixed) , and associate entries at the article level with them (or associate articles with the parent)... but I wonder if native categories might be better, using segments to trigger channel information?

Thoughts?


texts:
I hate to complain about a freebie add-on - EE Debug Toolbar from mitra62 - but unfortunately installing EE Debug Toolbar has just caused me major problems.

The good news is that my site is still up.

The bad news is that I can't login as a superadmin at all.

The story is:

My EE site uses the latest version of EE and of MSM.

I just downloaded version 1.0 (RC1) of EE Debug Toolbar from Devot-ee.com

I followed the instructions on GitHub (just before it's current DDOS attack) including turning on the EE debugging reporting. I uploaded all the files that came with the download in the usual sections.

I went to Extensions and activated EE Debug. There was a list of things to activate, I believe I started with the first one on the list because it seemed the most general. I'm sorry but this is all I can recall about this step.

I got this error message:

Fatal error: Class 'XMLWriter' not found in /var/www/html/system/expressionengine/third_party/ee_debug_toolbar/libraries/xml_writer.php on line 35

My superadmin access to the site stalled there.

I went back to GitHub to look for help.

GitHub is experiencing a DD0S attack and is down.

I tried to log onto my super admin account from another browser and got the error message.

I got impatient and deleted all the EE Debug addons from the system and themes folder.

Now I just get a white screen when I try to log on to my superadmin account.

How do I get back in as superadmin now?

Thanks for any help you can provide.

Jeanne


texts: Matrix file uploads, only first file being uploaded

texts:
I am trying to customise a matrix field, for safecracker use, to customise the look of file (image) uploads.

I  have the following code http://jsfiddle.net/sanxL/ in my safecracker form, and it seems to produce the rows correctly, however when i send the form, only the first field has the attached file (photos in this case)

Anything obvious wrong here?


texts: Rendering entry titles in dropdown using Stash

texts:
I'm trying to render a list of entry titles into a drop menu using Stash. However, I get no results. I modeled my solution using another thread here, but no go.  Any help will be appreciated.

{exp:stash:set_product_list name="product_list_name" parse_tags="yes"}
   {exp:channel:entries channel="product_profiles"}
        {stash:product_title} {title} {/stash:product_title}
        {stash:product_entry_id} {entry_id} {/stash:product_entry_id}
   {/exp:channel:entries}
{/exp:stash:set_product_list}

<!--initial display field is blank-->
     <option value="" selected></option>

<!--values show in dropdown--->
     {exp:stash:get_product_list name="product_list_name" unique="yes"}
        <option value="{product_entry_id}">{product_title}</option>
     {/exp:stash:get_product_list}


texts:
Is there a good way to determine which page template was loaded for a given URI? I'd like to be able to use this information from an add-on.

For example, if my root template group is home and the user visits /, I want to see that home/index is being used. If the user visits /foo, does EE expose information about whether it has loaded home/foo or foo/index or something else?

When using Structure, I can check for a global variable named structure:page:template_id, and if that exists, I can easily query for that template. But if Structure isn't in use, I can't find a good way to determine which template is used.


texts:
SEE: http://ellislab.com/forums/viewthread/224965/

I need to display something to the user only once. How do I do this in the templates? My idea is to store a value in session and use it to decide whether to output this something or not. Any ideas what I should do in EE?


texts: {member_group} not working in conditional

texts:
I have the following code:

{exp:member:custom_profile_data}
        <div class="profile">
            {member_group}
            {if member_group == "Super Admins"}You are a Super Admin{/if}
        </div>
{/exp:member:custom_profile_data}

Member group is being displayed correctly, but it doesn't work in conditional. I would appreciate if anyone can explain what I'm doing wrong or how else to add a member group specific content.


texts:
I'd like to allow anyone to comment through my EE site, but it seems that the standard comment module only allows a logged in user to comment.

Is there a way to:

allow any one to comment
assume that any logged in user is a member of X member group
assign non-logged in visitors to the site a temporary membership - for example as part of the guest group?

Any pointers much appreciated!

----- EDIT in response to Jerome and Tidy's questions -------

My comments form code is below. If I am logged in to EE the form appears, if I am not logged in then the form does not appear at all.

I have double checked both that 'can post comments' is set to yes for the 'guest' account and that, on my channel, 'Require membership in order to post comments?' is set to 'no' plus 'Allow comments in this channel' is set to 'yes'.

{exp:comment:form channel="shop_products" entry_id="{entry_id}" rating:enabled="yes"}
        {if rating:already_rated} You have already rated this entry{/if}

        {if rating:not_rated}
            Rating
            <select name="rating[default]">
                <option value="1">1</option>
                <option value="2">2</option>
                <option value="3">3</option>
                <option value="4">4</option>
                <option value="5">5</option>
            </select>

        {/if}

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

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

        {/if}

        Review:

        <textarea name="comment" cols="70" rows="10">{comment}</textarea>

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

    {/exp:comment:form}


texts: ExpressionEngine code being used with JQuery

texts:
I have been working with ExpressionEngine for awhile, but I am fairly new to Jquery.

I have a photo slideshow that works well if I hard code all the data in the template, but when I try to use ExpressionEngine variables to pull the data from the channel field it breaks the JQuery because there is extra code.

ExpressionEngine Code

    {photos}
{if "{gallery_site}" == "Facebook"}
    {
    name:'{gallery_nav_title}',
    url:'{gallery_site_url}',
    selected:{default_gallery}
    },
    {/if}
    {/photos}

Results

{
name:'Spring Jubilee 2016',
url:'https://www.facebook.com/media/set/?set=a.10153370870941895.1073741883.26942986894&type=3',
selected:true
},

This works perfectly.

Jquery Single Entry Code

$("#photomax").photomax({

  facebook_album_photos:[

{
name:'{gallery_nav_title}',
url:'{gallery_site_url}',
selected:{default_gallery}
},
  ],
});

This code works perfectly

Jquery IF Statement Code Added

$("#photomax").photomax({

facebook_album_photos:[

    {if "{gallery_site}" == "Facebook"}
    {
    name:'{gallery_nav_title}',
    url:'{gallery_site_url}',
    selected:{default_gallery}
    },
    {/if}

Results

$("#photomax").photomax({

facebook_album_photos:[

    {if "{gallery_site}" == "Facebook"}
{
name:'Spring Jubilee 2016',
url:'https://www.facebook.com/media/set/?set=a.10153370870941895.1073741883.26942986894&type=3',
selected:true
},
    {/if}

When I place the IF statement into the code it breaks the code.

I need the If statement because I have a Matrix setup up to add Multiple galleries. The Galleries can come from Facebook or Instagram and I have different code depending on where it is coming.

Here is code showing multiple galleries working WITHOUT the IF Statement and ExpressionEngine code.

$("#photomax").photomax({

  instagram_user_tagged_photos:[
    {
      name:"Instagram User Tag",
      url:"https://instagram.com/muradosmann",
      hashtag:"#followme",
      selected:false
    },
  ],

  facebook_album_photos:[
    {
      name:"Facebook Album Photos",
      url:"https://www.facebook.com/media/set/?set=a.10153495891665541.1073741843.76810820540&type=3",
      selected:true
    },
  ],

});


texts:
I am wanting to have a predefined tablelike fieldtype for ecommerce products. I am talking about data that needs to be entered for every product like SKU, EAN, lenght, weight, height, color and so on.

I have looked at this thread and I am using Content Elements but I am missing the possibility to predefine the tables first row.

Anybody having an idea about this?

Thanks!


texts: Reverted back to 2.7.3 from 2.8.1, finding severe issues with addonbuilder

texts:
I get this error when trying to do anything with modules or extensions. I'm currently deleting each ones presence from the db and filesystem, but i really don't want to drop freeform_pro.

Any ideas on what i can do besides delete files?

A PHP Error was encountered

Severity: Notice

Message: Undefined index: C

Filename: addons/Addons_installer.php

Line Number: 501


texts:
Client has a podcast feed that up until now has been a manually edited XML file on their server.

I'm looking to move this into EE so that they don't need to touch the server directly.

Because this was a manual XML edit, the file was at /media/podcast.xml

Converting to EE /media/podcast works just grand, however, for those still looking at /media/podcast.xml - they get a 404.

What's the best way to route those users to the /media/podcast url ?


texts: Assigning a Value From One channel:entries Call To Be Used In Another

texts:
In my template I'd like to capture the entry_id of my main channel:entries loop, because I have subsequent loops where I may want to avoid that entry in one case, and invoke it again in another. So I'm looking for some way to create a variable that will allow me to do this. But the only user-defined variables I've found so far are the preload_replace ones, which happen before the channel:entries are run, so no good for my purposes.

Are there other user-defined variables I may have missed? How would you do this?

Thanks.


texts:
This is the first time that I'm using the new Realationships field and I can't seem to get it to work with Channel Videos.

I am trying to display all videos from my relationship field "{related_entries}" from the channel "videos".

Here is my template code:

{exp:channel:entries channel="video_courses" disable="categories|category-fields|member-data|pagination"}
{related_videos}
{exp:channel_videos:videos prefix="cv"}

{title}

{/exp:channel_videos:videos}

{/related_videos}
{/exp:channel:entries}

However it is not outputting anything. Any thoughts appreciated...


texts: Cartthrob Sagepay (offsite) 3037 notification URL error for MSM sites

texts:
I've taken on two ee cartthrob sites running off an msm installation. I just moved them to a Nexcess server and updated EE from 2.2.1 to 2.7.2 (and CT from 2.051 to 2.4). Everything is working fine until I try to post data through to sagepay (using the europe offsite option, so no ssl). Every single time I try to proceed to payment, I get this error on the payment confirmation page (without going out to sagepay):

  Failed: sage_invalid3037 : The NotificationURL is too long.

I've investigated this thoroughly and have found that some people have solved it by correctly configuring a file called 'extload.php' that handles external payment gateways. However, I've edited this file with correct absolute server paths and msm site id's in both theme folders and I'm still getting the error. I can't get a call scheduled with the cartthrob guys for another two days (and that's the paid for option!) so I'm hoping there may be someone else in the community that has experienced and fixed this issue...?

I'm using cloudflare as a CDN, I don't know if this will have any implications?

I've also tried watching the http headers as I click the 'proceed to payment' button, but can't see anything interesting in there (except Cloudflare giving me a Temporary 302 on the confirmation page that delivers the error).


texts: Pagination does not working properly with structure

texts:
I have using structure, but in my listing page pagination does not working properly. pagination links are changed but records are display at it is. means every time same records display.

I have using structure, freebie, zoo triggers and stash.

My script is given below:

{embed="_layouts/index"}

{exp:stash:set name="meta"}
{exp:seo_lite use_last_segment="yes"}
{/exp:stash:set}

{exp:stash:set name="content"}

                    {embed='home/breadcumb'}

                    {exp:channel:entries channel="pages" dynamic="yes" disable="categories|category_fields|member_data|pagination|trackbacks"}

{title}

                        {page_content}
                    {/exp:channel:entries}

                    {exp:channel:entries channel="parliamentarian" parse="inward" dynamic="no" paginate="bottom" limit="10" disable="categories|category_fields|member_data|trackbacks"}

                                {member_image}

                                {/member_image}

{title}

                            Read More

                        {paginate}
                          {pagination_links}

                                Page({current_page}):
                                  {first_page}
                                          First
                                  {/first_page}

                                  {previous_page}
                                          Prev
                                  {/previous_page}
                                  {page}
                                          {pagination_page_number}
                                  {/page}
                                  {next_page}
                                          Next
                                  {/next_page}

                                  {last_page}
                                          Last
                                  {/last_page}

                          {/pagination_links}
                        {/paginate}
                    {/exp:channel:entries}

                {embed='pages/right-side'}

{/exp:stash:set}

Please help me how to solve it ?

Thanks


texts:
I am trying to wrangle an events management system using Carthrob. The system will have to manage different events so in order to streamline the process as much as possible I have created a product channel called events with two price modifier fields called 'booking_options' and 'registration_details'.

Booking options allow the user to select the correct type of booking for the event (ie. day pass, full board etc) which they can do on the product details page.

'Registration_details' is set to request the relevant booking information for each event attendee (ie. name, email etc)

I have multiple items showing separately in the cart and want to add the registration_details price modifier to the cart but I can't seem to output the two modifiers separately so that the booking options show as a select dropdown and the registration details appear as text inputs for each item.

I have read through all the documentation but I am still stuck!


texts: Stylesheet link renders with very wrong path

texts:
I'm working on a site using EE 2.8.1. I have links for CSS files using EE stylesheet links, like this:

<link rel="stylesheet" href="{stylesheet=global/main.css}">

Never had an issue with this approach before, but when pages are served up it's coming out as:

<link rel="stylesheet" href="http://domain.dev///////////////////?css=global/main.css">

What could be the cause of this? Any tips greatly appreciated!

(Site is also using Structure, and .htaccess rewrite to remove index.php from URLs -- also a combination I've used before with stylesheet links with no problems.)


texts: Freeform - Duplicates on Entry by Member

texts:
So we have site that allows logged in members to view job postings and send a form to apply to the job view Freeform. The issue we are looking at resolving is preventing duplicate submissions to the same job by a logged in member.

If we use "prevent_duplicates_on", then it will not allow the user to apply to other jobs since they all use the same form. Freeform would look in the system and find that this person (based on the members email) has already sent a submission. But, the system doesn't see that the member sent a submission to a different job.

Any way around this?

Thanks!
Dan


texts:
I'm using Low Search on my site and it's not displaying all results. I've rebuilt the index and lexicon. I'm testing this with one product. If I go to the products page I see product but if I try and search for it, no result for the title. Here is the code for the results page.

{exp:low_search:results
                    query="{segment_3}"
                    channel="products"
                    limit="15"
                    name="range:tags"
                    dynamic="off"
                    orderby="release_date"
                    sort="desc"
                }

                  {if count == 1}

                    Searched for {low_search_keywords}.
                    Search results: {absolute_results}

            {/if}

                {if count==1}
{/if}
                    {switch="
||"}

                    {if product_thumbnail}

                    {if:else}

                    {/if}

{title}

                {switch="||
"}
                    {if count==total_results}
{/if}
                    {paginate}

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

                     {if previous_page}
        Previous Page &nbsp;
    {/if}
    {if next_page}
        Next Page
    {/if}
                    {/paginate}

                    {if no_results}

Sorry, nothing found.

                    {/if}
                {/exp:low_search:results}

Any idea what I'm doing wrong?


texts: Registering for different events, with each event having its own registration questions

texts:
I'm attempting to map out and build a fundraising website that would allow for an organisation to set up multiple events during the year. Users would be able to register for these events and get notifications relating to the specific event.

Each event, however, is to have custom questions relating only to that event. For instance, one fun-run type event might ask the user whether they wish to complete the short run or the long run, while another event may ask whether they user is over eighteen years of age.

The way I was originally thinking of creating it was to have a registrants channel (using an add-on like Zoo Visitor or Profile:Edit), an events channel and a third channel that would link the two (with one field relating to the registrant channel and one relating to the events channel). This third channel is required to record the registrant's fundraising for that specific event.

I thought that perhaps I could then add a custom field in this channel for every question possible to be asked, then hide the ones that weren't relevant to the event chosen (through Javascript).

Am I just going about this in the completely wrong way? Is there something simpler that I've missed or perhaps I'm trying to stretch too far with one install of EE. Perhaps I need to move towards having one install for each event (or investigate MSM).

Any help, suggestions or guidance would be appreciated!


texts:
So I have a product listing page with each product displaying having an add to cart button.

This is done like so:

{exp:cartthrob:add_to_cart_form entry_id="{entry_id}"}
    <input type="submit" value="Add to basket">
{/exp:cartthrob:add_to_cart_form}

All very well and good for a regular listing page. However this page also has a search feature, where search parameters are GET variables in the URL. Not having a return url strips the search so that is not the way forward.

So I decided to use the Mo' Variables {current_url} tag to push in the full URL. The problem I'm having now is when I have a search query like this:

http://emc.dev/publications?keywords=media&category:formats=9

The problem here is that when CartThrob comes back it gives the message Disallowed Key Characters. and the url is now:

http://emc.dev/publications?keywords=media&category;:formats=9

Why is CartThrob adding a semi-colon before my colon?

Thanks in advance

Edit: I have already checked in the hidden fields in the add_to_cart_form and the return url is set properly:

<input type="hidden" name="return" value="/publications?keyword=media&amp;category:format=9">


texts: Assets plugin has no files in Multiple Site Manager 2nd site

texts:
When I choose to copy everything with MSM in order to create a new site, the Assets plugin file meta-data is not copied over. I was hoping that the images in the Assets plugin would be available for all sites, or at a bare minimum, when copying a site, the ones from the original site would be copied in the DB so that the new site would not have all images broken.

Has anyone done anything more elegant than fixing them one by one?
I figured someone has run into this and has an update statement that could get me started to duplicate all the meta data associated with each file in the DB.

Oddities of note:  I am setting the $config['upload_preferences'] array in my config file and have not followed the MSM documentation on creating separate vhosts and folder trees for additional sites, choosing instead to set the specific values MSM requires in index.php and admin.php conditionally on $_SERVER['SERVER_NAME'].  I also have all of my assets in a symlink folder so all the sites can use the same path.  Hopefully none of those implementation details are a factor.


texts: document management solution for EE with folder tree upload drag n drop

texts:
I'm looking for a solution that would enable site admins to upload folders and files á la an FTP client or dropbox via a drag and drop interface. I've had a look at assets but it doesn't seem to handle folder and subfolder uploads: http://devot-ee.com/add-ons/assets

Once uploaded a site member would be able to browse and drill down these folders and see the appropriate files. Site admins would have control over which site members have access to which folders.

Is this even possible with EE or should I be looking at another solution?

Thanks


texts: WYGWAM Increase Indent Not Working on Paragraphs

texts:
Since updating to WYGWAM 3.3 the ability to increase indent on text stopped functioning on standard paragraphs (ol and ul does work). Worse anything I had indented using this way has lost the styling for indents. I've looked at the configuration area but can't find anything that would cause this.

Any help would be greatly appreciated.


texts:
I currently have this code for our social share buttons. The twitter seems to work although doesn't seem to post the image but not the others. But if I do it from my mobile it does work.

    Share:


texts:
I have an assets field type in a matrix cell. To place this on my page I am using

which gives the full url

That is great but is going to ping up as an insecure element on https pages. How would I get this on my page with a relative path to avoid that issue? I know I can use filename but hardcoding the path in the template isnt really an option.


texts: CartThrob checkout form returning wrong subdomain

texts:
I just upgraded a site from CartThrob 2.1.3 to 2.5 (along with updating EE to 2.7.3). Everything seems to be fine, but I'm having a glitch during the checkout process. It may very well not have anything directly to do with CT, but I'm stumped as to what's going on. Any suggestions would be really appreciated. Here's the situation:

I have set up a subdomain for the upgraded site, for example, beta.testsite.com (the regular site url is formatted like www.testsite.com). During the checkout process, I have an initial https page where the customer enters their name, as well as choosing a shipping option and entering a shipping address. When submitted, that page is supposed to return the second checkout page, where credit card information gets input.

What's happening, though, is that instead of returning https://beta.testsite.com/cart/checkout2, it's returning https://www.testsite.com/cart/checkout2 instead. (www instead of beta)

I've checked the template for the first checkout page, the cart scripts file that gets embedded, and the htaccess file -- none are explicitly calling the www version of the domain.

Any suggestions on what might be the culprit?

(I realize this is a somewhat vague issue with lots of potential variables, but I'm stumped. Thanks in advance.)


texts: Blank retrieve password page after 2.5.5 > 2.7.2 update

texts:
When i click on the link to reset the password, I get a blank page. How can I debug this?

The reset link is something like that:  http://mysite.com/?ACT=14&id=Rr2Z8OrG

thank you


texts:
Possible Duplicate:
  Displaying all products on sale with exp:resso store?

I want to have a page on our store that displays only items that are on sale. What's the most efficient way to write this query?


texts: CartThrob: Pass custom field through checkout to be email recipient

texts:
My client wants to set email notifications based on product. So Product A would be mailed to bob@blah.com, and Product B would be mailed to john@blah.com. They would enter the recipient in the product entry.

At first I tried passing this data through the cart as a hidden input:

<input type="hidden" name="custom_data[notification_email_recipients]" value="{notification_email_recipients}" />

Then created an email notification within CartThrob's notifications panel with this as the To Email:

{custom_data:notification_email_recipients}

But CartThrob sends out an email notification to:

 {notification_email_recipients)@blah.com

Which is kicked back by the email servers as undeliverable (obviously).

My question is: How can I pass a custom entry field through the shopping cart and then let CartThrob pull that field to send an email notification?

My second question is: Is there an easier way to accomplish this without passing hidden variables?


texts:
Is there a well-supported, 2.7.x+ compatible add-on to save Snippets as files like what we can do to templates in Expression Engine?

I think there are a lot of options out there but I just want something that is well supported and stable.


texts: I have news items and want to limit the body to 100 characters. Is there a built-in function to create text excerpts?


texts:
I updated from 4.3 to 4.4, I followed the update guide, and in the step "Go to Add-Ons → Fieldtypes → Playa to trigger Playa’s update script."

I do not see any button to do that, of it is done automatically?


texts:
Does the inclusion of index.php in the URL negatively affect the page rank of each page within an expressionengine site?

Example:

www.domain.com/index.php/about-us  vs  www.domain.com/about-us
www.domain.com/index.php/contact  vs  www.domain.com/contact
www.domain.com/index.php/services  vs  www.domain.com/services

Do search engines see index.php as the only page?


texts: Using Cartthrob with Stripe - form being submitted even with errors

texts:
I'm using the Stripe payment gateway with Cartthrob which appeared to be working properly. On further inspection it appears that the form is being submitted to Stripe when the submit button is clicked even if there are errors.

Trying to disable the form submission isn't working either. This results in failed attempts in the Stripe logs.

Has anyone got Stripe working properly with Cartthrob? How are you preventing this?


texts: Migrating from one server to another - linebreaks in HTML

texts:
I'm migrating an EE (2.10.1) installation from one server to another. The CP seems ok, but all of the templates show linebreaks as \n, effectively breaking the site. The SQL import / export appeared to work fine. I guess this is some kind of character set issue, but I'm not sure how to resolve it. I can manually copy template contents from the old site and paste it into the new (does seem to work), but will there be other symptoms caused by the issue that I haven't seen?

What I see in e.g. the offline template:

\n\n\n\n\n\n\n\n\n\n\n
\n\n
System Offline

\n\n
This site is currently offline

\n\n
\n\n\n\n

Migrating from:

Database server

Server: Localhost via UNIX socket
Server type: MySQL
Server version: 5.5.52-cll-lve - MySQL Community Server (GPL) by Atomicorp
Protocol version: 10
User: loft_user@localhost
Server charset: UTF-8 Unicode (utf8)

Web server

 nginx/1.9.2
Database client version: libmysql - mysqlnd 5.0.11-dev - 20120503 - $Id: 3c688b6bbc30d36af3ac34fdd4b7b5b787fe5555 $
PHP extension: mysqliDocumentation curlDocumentation mbstringDocumentation
PHP version: 5.6.14

phpMyAdmin

Version information: 4.6.5.1

Migrating to:

Database server

Server: Localhost via UNIX socket
Server type: MySQL
Server version: 5.5.53 - MySQL Community Server (GPL)
Protocol version: 10
User: cl31-intoloft@10.0.44.138
Server charset: UTF-8 Unicode (utf8)

Web server

Apache/2.4.23 (Unix)
Database client version: libmysql - mysqlnd 5.0.8-dev - 20102224 - $Id: 731e5b87ba42146a687c29995d2dfd8b4e40b325 $
PHP extension: mysqli Documentation

phpMyAdmin

Version information: 4.0.10.18


texts: Solspace Freeform File Upload links in CP

texts:
Looking at the File Field Uploads screen in Freeform, there are three links to the file, File Name (opens a modal), a Download button, and Front End Link.
Only the Front End Link works for me. If I click on File Name the modal says:

The requested content cannot be loaded.
Please try again later.

If I click on the Download button I get an EE error screen saying:

An Error Was Encountered
File filename.jpg does not exist.

My directory isn't above webroot or anything like that - any reason why these other links to the file aren't working?
It's Freeform 4.2.2 on EE 2.10.1


texts: EE v2.9.0 Relationship Need to display like entries

texts:
I have a couple of channels...

SUCCESS STORY
SERVICES

...and I am displaying single entries in the SUCCESS STORIES by {url_title}. At the bottom of the entry being viewed, I would like to display related SUCCESS STORY entries. In other words, SUCCESS STORY entries that share common SERVICES. I have a relationship field (multiple) named SERVICES USED that points to SERVICES. I am in the single entry with the following tag pair:

{exp:channel:entries
    channel='success_story'
    limit='1'
    url_title='{segment_3}'
    disable='categories|member_data|pagination'
}
    ...
{/exp:channel:entries}

Inside the tag pair, I am displaying information regarding the services used like so:

{services_used}
    {services_used:service_copy}

{if "{services_used:service_copy:headline}" != ""}{services_used:service_copy:headline}{if:else}{services_used:title}{/if}

            {exp:eehive_hacksaw
                words='25'
                allow='
'
                append='...'
            }
                {services_used:service_copy:copy}
            {/exp:eehive_hacksaw}

                Tell me more

    {/services_used:service_copy}
{/services_used}

Inside that tag pair is where I would like to display other SUCCESS STORY entries sharing the same SERVICES listed from the SERVICES USED loop there.

* EDIT *

I have also tried the Accessing Siblings like in the docs here: https://ellislab.com/expressionengine/user-guide/add-ons/channel/relationships.html#accessing-siblings

Using the relationship field loop since I am already in the "parent channel". Something like this:

{relationship_field}
    {relationship_field:siblings field="relationship_field"}
        {relationship_field:siblings:title}
    {/relationship_field:siblings}
{/relationship_field}

Which translated to something like this:

RELATED SUCCESS STORIES

{services_used}
    {services_used:siblings field="services_used"}
        {services_used:siblings:title}
    {/services_used:siblings}
{/services_used}

But since I already looped through the relationship field above this, I just get the tag output like an error on the screen:

RELATED SUCCESS STORIES
{services_used:siblings field="services_used"} {services_used:siblings:title}

{/services_used:siblings} {services_used:siblings field="services_used"} {services_used:siblings:title}

{/services_used:siblings} {services_used:siblings field="services_used"} {services_used:siblings:title}

{/services_used:siblings}


texts:
On the overview it mentions you can batch create low variables:

  You can clone variables, batch-create them and duplicate whole
  groups

How is this done exactly? I'm having trouble finding any documentation.

Many thanks!


texts:
I have two select boxes and a submit button.On click of this submit button,I redirect the user to a page which is populated by data feeded from an admin panel.

Yes,I have created an admin panel which populates these select boxes and also has some data related to every single selectboxes(images,reviews etc) which will be displayed on click of submit on the redirected page.Hope I am clear.

I have done this thing with conventional way of using php,javascript.But I am trying exp engine for the first time just for learning.

I have created the admin panel and feeded quite a lot of data.

MyQuestion:Its the integration that I have no clue about.

1.I want to assign all the value belonging to a certain column in my table to the select boxes.

2.On click of submit button,want to populate a page with data related to both select boxes.

I dont have any clue about how to integrate my code with a template that I have using Expression Engine.

Hope I am not Misunderstood.

Please correct the tagging.I am new to this stack exchange network.


texts: Relationships: Show other fields in list for Relationship field when creating an entry

texts:
When creating entries, is there any way to configure a Relationship field, so that in the list displayed on the entry form, you see more than just the data from the Title field? Could I have it include data from other fields, especially custom fields?

Background:
I have a channel called "Portfolios" which has a Relationship field called "Site Projects." My site works such that a client can enter a bunch of entries in the Projects channel, then create Portfolio entries where they can pick multiple Projects in the Relationship field (Site Projects) to be displayed in a list on the main website.

The problem is that the client entered all the data and there are TONS of entries in the Projects channel. So many that it's hard to tell much about them merely from their titles. They asked if I could set EE up so that when they are entering Portfolio entries, the list for the Relationship field of Site Projects would show data from another custom field or two, as well (like "Project ID" and or "Launch Date") so they know exactly what they are selecting.


texts: Javascript error EE 2.8: Uncaught TypeError: Object 132 has no method 'replace'

texts:
I just upgraded to EE 2.8. I know it's brand new, but I'm already having an issue that I can't seem to fix.

On the publish page, and when adding a field to a field group, I see the following error in the developer log:

  "Uncaught TypeError: Object 132 has no method 'replace'"

JS features don't seem to work on the publish pages, and when I try to add a custom field to a field group, I can't customize any fields. No matther which field I choose, I just get the name and description options, but no ability to customize the actual field properties. For instance, if I choose relationship field type, I don't get the ability to customize the relationship settings. It just doesn't even show up.

I'm wondering if an installed module is conflicting, but I'm not quite sure how to find it. Anyone else having an issue with 2.8 like this?