Back to Email Subscription Form Support

emzero439
emzero439

I'd like to modify the h2 caption and the text button.

I was expecting some properties in the component just like there are for the Thanks and Error messages.

Is there a way to do it? If not, could you add such properties to the component?

Thank you!

andradedev
andradedev

Hi @ezmero439, its no necesary agree a property for that, only create your own html markup for that, and edit.

emzero439
emzero439

You mean editing your component? Wouldn't that be overwritten when you update the plugin and I update it?

Sorry, I'm fairly new at October development.

PS: Veo que en el componente pusiste "SUSCRIBETE" asi que asumo que hablás español. Si te resulta mas facil, me podes responder en español. Saludos!

Last updated

IulianH
IulianH

How can we change the button and add caption ?

Iocare
Iocare

Hey all.. its little tricky ... but if you understand october you can do it. Just replace components tag with your own markup as said by @andradedev .. Format:

<form name="form-subscribe-andradedev" id="form-subscribe-andradedev" data-request="subs::onAddSubscriber" data-request-update="'subs::alert': '#result'">
<input type="email" class="form-control" name="email" placeholder="* Your Email"  required>
<input type="hidden" name="latitude" id="latitude">
<input type="hidden" name="longitude" id="longitude">
</form>
<input type="submit" class="form-control" form="form-subscribe-andradedev" value="SUBSCRIBE">
<div id="result"></div> 

Here "subs" is the name of component. You can arrange these tag as you like.. keep the names and data tags of element as given.

Last updated

andradedev
andradedev

Hola @emzero439 disculpa la gran tardanza, si no has resuelto tu duda, cuando agregas un componente, puede editarlo directo en el editor de october, dando un clic sobre el nombre del componente

{ component 'subscribe-form'}

y luego en la esquina superior derecha hacer clic en el icono que aparecera, esto importa el codigo en tu editor, con esto puedes editar el codigo a tu gusto.

Saludos

1-6 of 6