Hi there,
I need help to change the string 'Next' in the registration page, but the one that match the registration page in the language file, is in the following group:
; @since 3.3
COM_COMMUNITY_GROUP_OPTIONS = "Opcioness"
COM_COMMUNITY_GROUPS_GROUP_DISCUSSION="Discusiones de grupo"
COM_COMMUNITY_VIDEO_UNPUBLISHED = "Video %s despublicado por el administrador"
COM_COMMUNITY_AN="an"
COM_COMMUNITY_A="a"
COM_COMMUNITY_BY="by"
COM_COMMUNITY_AT="at"
COM_COMMUNITY_IN="in"
(COM_COMMUNITY_NEXT="Siguiente")
COM_COMMUNITY_PREV="Anterior"
COM_COMMUNITY_FIRST="Primero"
COM_COMMUNITY_LAST="Ultimo"
So, if i change it here, then this going to show this translation that need to be specific for registration page, will show olso in other page, like in user photos page, that it's suppose to be this: COM_COMMUNITY_PHOTOS_NEXT="Siguiente" but is not
I think the same string that is locate in the group below:
; @since 3.3
COM_COMMUNITY_GROUP_OPTIONS = "Opcioness"
COM_COMMUNITY_GROUPS_GROUP_DISCUSSION="Discusiones de grupo"
COM_COMMUNITY_VIDEO_UNPUBLISHED = "Video %s despublicado por el administrador"
COM_COMMUNITY_AN="an"
COM_COMMUNITY_A="a"
COM_COMMUNITY_BY="by"
COM_COMMUNITY_AT="at"
COM_COMMUNITY_IN="in"
(COM_COMMUNITY_NEXT="Siguiente")
COM_COMMUNITY_PREV="Anterior"
COM_COMMUNITY_FIRST="Primero"
COM_COMMUNITY_LAST="Ultimo"
This is the one it's suppose to belong to the registration page, but is not, so how can i solve this, because my plan is to put the following text in the next registration page that say: "you must accept term and conditions and press here' but i need this to show only in the registration page, because don't make sense that in photo view page,
That constant/string is defined in:
...\components\com_community\templates\jomsocial\layouts\register\base.php
line 104: <?php echo JText::_('COM_COMMUNITY_NEXT'); ?>
so you have 2 solutions:
1) Change ...\components\com_community\templates\jomsocial\layouts\register\base.php to include different constant
or
2) add to css:
#body.view-register button.joms-button__next.joms-button--full-small:before {
content: "Accept Terms and Conditions and Go ";
}
Hi Vladimir
I'm getting back to this topic, Now i took the time to do that, changing the constant as you suggested, my question, if i update jomsocial, this file will be replaced by the new update?
Best Regards
Romulo Ruiz
Depends where you place code. If you choose to change ...\components\com_community\templates\jomsocial\layouts\register\base.php then yes, it will be overwritten on JomSocial update.
If you choose to add css then it depends where you add it. You can add that css to Joomla template css so update of JomSocial will not overwrite it. On the other hand update of Joomla template can overwrite that css. If you have your own joomla template, one that you made, than place css in there and you are safe.