Portal Engine Questions on portal engine and web parts.
Version 7.x > Portal Engine > Newsletter subscription form View modes: 
User avatar
Member
Member
esolutions - 6/18/2013 2:20:16 PM
   
Newsletter subscription form
Hello!

I have put the newsletter subscription form (webpart) on the home page of my site. And it displays/works perfectly. However, I've noticed that when I open CMSDesk and then go back to the view the site within the same browser session, my form fields on my newsletter subscription form, dissapear.

In the source code, it just does not display the three table rows that the webpart uses to display the 3 fields:

<tr>
<td>
<label for="p_lt_ctl05_NewsletterSubscription_txtFirstName" id="p_lt_ctl05_NewsletterSubscription_lblFirstName">First Name:</label>
</td>
<td>
<input name="p$lt$ctl05$NewsletterSubscription$txtFirstName" type="text" maxlength="200" id="p_lt_ctl05_NewsletterSubscription_txtFirstName" class="SubscriptionTextbox" />
</td>
</tr>


<tr>
<td>
<label for="p_lt_ctl05_NewsletterSubscription_txtLastName" id="p_lt_ctl05_NewsletterSubscription_lblLastName">Last Name:</label>
</td>
<td>
<input name="p$lt$ctl05$NewsletterSubscription$txtLastName" type="text" maxlength="200" id="p_lt_ctl05_NewsletterSubscription_txtLastName" class="SubscriptionTextbox" />
</td>
</tr>


<tr>
<td>
<label for="p_lt_ctl05_NewsletterSubscription_txtEmail" id="p_lt_ctl05_NewsletterSubscription_lblEmail">E-mail:</label>
</td>
<td>
<input name="p$lt$ctl05$NewsletterSubscription$txtEmail" type="text" maxlength="400" id="p_lt_ctl05_NewsletterSubscription_txtEmail" class="SubscriptionTextbox" />
</td>
</tr>


Any idea where I'm going wrong?

Thanks in advance!

User avatar
Member
Member
esolutions - 6/18/2013 2:37:58 PM
   
RE:Newsletter subscription form
I should also note that, when I close that browser session, re-open it, the form is back displaying properly again. It only seems to disappear when I log into CMSDesk and then back out in the same session.

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 6/19/2013 5:57:09 AM
   
RE:Newsletter subscription form
Hi,

Just to be sure - is it really a web part? Isn't it possible that it is a editor or user widget? Could you please describe exact steps and also post some screen shots of the setup?

Best regards,
Juraj Ondrus

User avatar
Member
Member
esolutions - 6/26/2013 3:39:57 PM
   
RE:Newsletter subscription form
I have a "Newsletter subscription" webpart that is in a zone in my master page. It is definitely not an editor or widget.

The webpart displays the First Name, Last Name and Email address fields. However, when you log into cmsdesk and then log back out to view the site through the browser, the fields dissapear as per this screenshot.

Missing Fields

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 6/27/2013 1:35:21 AM
   
RE:Newsletter subscription form
Hi,

Are you signing out or using the Live site button? When I sign out, the fields are displayed just fine. If I am still logged in and on the live site, only the button is displayed - this is because the web part is set "Allow user subscribers" to true - this means that the logged in user just needs to click the button - she does not have to fill out the information that is already available with the user account and that's why the fields are not displayed.

Best regards,
Juraj Ondrus

User avatar
Member
Member
esolutions - 6/27/2013 7:34:01 AM
   
RE:Newsletter subscription form
Perfect, that did it.

Thank you, yet again, for all of your help!