Little problems in Phoca Email

Phoca Email (Newsletter) - sending emails and managing newsletters in Joomla! CMS
User avatar
Kostelano
Phoca Member
Phoca Member
Posts: 45
Joined: 23 May 2019, 20:47

Little problems in Phoca Email

Post 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!

Tags:
christine
Phoca Hero
Phoca Hero
Posts: 2819
Joined: 28 Nov 2010, 17:20

Re: Little problems in Phoca Email

Post 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
User avatar
Kostelano
Phoca Member
Phoca Member
Posts: 45
Joined: 23 May 2019, 20:47

Re: Little problems in Phoca Email

Post 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.
christine
Phoca Hero
Phoca Hero
Posts: 2819
Joined: 28 Nov 2010, 17:20

Re: Little problems in Phoca Email

Post by christine »

Hi,

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

Kind regards
Christine
User avatar
Kostelano
Phoca Member
Phoca Member
Posts: 45
Joined: 23 May 2019, 20:47

Re: Little problems in Phoca Email

Post 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!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Little problems in Phoca Email

Post 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
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Little problems in Phoca Email

Post by Jan »

Hi,

1 OK
2 OK
3 OK
4 OK - changed the condition so if show page heading is set to NO, no heading is displayed
5 OK
6 OK - reCaptcha datasize: normal, compact

in version 3.1.0.

See: https://www.phoca.cz/news/1088-phoca-em ... 0-released

Jan
If you find Phoca extensions useful, please support the project
Post Reply