Captcha stuff in one row

Phoca Guestbook - creating guestbooks in Joomla! CMS
slycrespo
Phoca Member
Phoca Member
Posts: 30
Joined: 10 Sep 2013, 16:13

Captcha stuff in one row

Post by slycrespo »

Hello!
I am using Joomla! 3.9.13 and Phoca guestbook 3.0.11. In my guestbook, I want to have all 3 things (look at the attached picture) in one row.. How do I do that? Please help!

Image

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

Re: Captcha stuff in one row

Post by christine »

Hi,

you could try it with an Override. https://docs.joomla.org/How_to_override ... omla!_core

Possible files:
components\com_phocaguestbook\views\guestbook\tmpl\default_form.php
or
components\com_phocaguestbook\views\guestbook\tmpl\default_form_classic.php

Kind regards
Christine
slycrespo
Phoca Member
Phoca Member
Posts: 30
Joined: 10 Sep 2013, 16:13

Re: Captcha stuff in one row

Post by slycrespo »

Can you give me a more detailed instruction please?
slycrespo
Phoca Member
Phoca Member
Posts: 30
Joined: 10 Sep 2013, 16:13

Re: Captcha stuff in one row

Post by slycrespo »

Please help me somebody...
christine
Phoca Hero
Phoca Hero
Posts: 2723
Joined: 28 Nov 2010, 17:20

Re: Captcha stuff in one row

Post by christine »

Hi,

could we see it live please? Because users will have different spam-protections, templates etc.
We also have to check relevant lines/codes of above php files, as they have to re-sort & then to change via template override.

Without seeing your site - in the meantime, you could try with following CSS code:
either:

Code: Select all

.input-append {
display:inline-flex;
}
or:

Code: Select all

p.pgb-captcha-in {
display:inline-block;	
}
e.g. template.css, or custom.css (depends of template you are using)

Kind regards
Christine
slycrespo
Phoca Member
Phoca Member
Posts: 30
Joined: 10 Sep 2013, 16:13

Re: Captcha stuff in one row

Post by slycrespo »

Here is my guestbook site:

http://salondomi.si/index.php/knjiga-gostov

I am using Standard Captcha and my template is RT Mercado.
slycrespo
Phoca Member
Phoca Member
Posts: 30
Joined: 10 Sep 2013, 16:13

Re: Captcha stuff in one row

Post by slycrespo »

I tried this code now:
p.pgb-captcha-in {
display:inline-block;
}
And now it's like this:
Image

But I want it like this:
Image
christine
Phoca Hero
Phoca Hero
Posts: 2723
Joined: 28 Nov 2010, 17:20

Re: Captcha stuff in one row

Post by christine »

Hi,

there is not always (in other users sites) visible the word: AntiSpam Verification* - that's why the URL was useful.

Remove the other one & change to:

Code: Select all

p.pgb-captcha-in {
display: flex;
float:left; 
}

label#jform_guestbook_captcha-lbl {
float:left;  
}

/*Word AntiSpam Verification-centered*/
label#jform_guestbook_captcha-lbl {
padding-top:5px;
margin-right:3px;  
}
input#jform_guestbook_captcha {
margin-top:5px;
margin-left:3px;  
}
temporary it looks now:

Image

Kind regards
Christine
slycrespo
Phoca Member
Phoca Member
Posts: 30
Joined: 10 Sep 2013, 16:13

Re: Captcha stuff in one row

Post by slycrespo »

This is exactly how I want it. Thank you very much !
christine
Phoca Hero
Phoca Hero
Posts: 2723
Joined: 28 Nov 2010, 17:20

Re: Captcha stuff in one row

Post by christine »

Hi,

That's fine & thanks for your feedback!

Kind regards
Christine
Post Reply