Page 1 of 1

Little problems in Phoca Email

Posted: 25 May 2019, 20:34
by Kostelano
Good day! After component Phoca Download I got to Phoca Email ;). I started using it on my website and am very happy with the component.

I found some small problems.

1. There is no constant in the file "config.xml", and in the file "en-GB" is present | Screenshot
COM_PHOCAEMAIL_FIELD_PRIVACY_CHECKBOX_DESCRIPTION_DESC="Set privacy checkbox description"
2. There is no constant in the file "en-GB" | Screenshot
COM_PHOCAEMAIL_FIELD_DESC="Set access rights."
3. In the settings of the component there is a description parameter.
COM_PHOCAEMAIL_MAIN_DESCRIPTION_DESC="Set main description. Main description is displayed in Newsletter view. Plugins like Load Module can be used there, so e.g. subscribe form of Phoca Email Newsletter module can be loaded inside this description. Description is not displayed when: Subscribe, Activate, Unsubscribe, Readonline, etc. tasks are active."
The problem is that the subscription form is really hidden when the specified parameters are active. But the description is not hidden. This can be seen in the screenshot.

In this case, the screenshot viewing the letter online (Readonline).

4. The title of the component (menu item) should be placed in the center of the page | Screenshot
It will be even better if the title can be hidden if necessary.

5. You need to add the item "Send Newsletter" in the drop-down menu | Screenshot

Thanks for attention!

Re: Little problems in Phoca Email

Posted: 26 May 2019, 11:26
by christine
Hi,
Kostelano wrote:
25 May 2019, 20:34
4. The title of the component (menu item) should be placed in the center of the page | Screenshot
It will be even better if the title can be hidden if necessary.
Above belongs to normal Joomla! settings resp. CSS Styles of Template.

Code: Select all

#ph-newsletter-box h1 {
text-align:center;	
}
if it is h1.
To hide: Menu > Your menu > Show Page Heading > No.

Kind regards
Christine

Re: Little problems in Phoca Email

Posted: 26 May 2019, 13:46
by Kostelano
christine wrote:
26 May 2019, 11:26
To hide: Menu > Your menu > Show Page Heading > No.
Thank you, but there is another condition in the "components/com_phocaemail/views/newsletter/tmpl/default_form.php" file.

Code: Select all

if ( $this->p->get( 'show_page_heading' ) ) { 
	echo '<h1>'. $this->escape($this->p->get('page_heading')) . '</h1>';
} else {
	echo '<h1>'. JText::_('COM_PHOCAEMAIL_NEWSLETTER') . '</h1>';
}
It turns out that we can hide the title only if we use the "Page Heading" parameter (leave the line blank) and set the value to YES for the "Show Page Heading" parameter ( Screenshot )

In all other cases, the page title will be displayed.

Re: Little problems in Phoca Email

Posted: 26 May 2019, 14:44
by christine
Hi,

Check also: Menus > Options for global (if wanted/required).

Kind regards
Christine

Re: Little problems in Phoca Email

Posted: 27 May 2019, 20:17
by Kostelano
Hello! There was another question ;).
Is it possible to realize compact recaptcha? By analogy of the plugin Joomla.
The standard recaptcha is too big for the module.
Thank!

Re: Little problems in Phoca Email

Posted: 27 May 2019, 20:19
by Jan
Hi, thank you for the info,

I will take a look at the points for the next version of the component

Captcha format: added to feature request list.

Thank you,

Jan