Fixing StudioShop Registration Features
Hi,
While preparing for the new GDPR legislation (https://www.eugdpr.org/eugdpr.org.html) that becomes law on May 25, 2018, I've been making some changes to our website. I've set up our registration page at: https://www.internettips.com/users/registration/ so that new users must first accept our privacy policy and website terms of use before they can register or contact using our contact form (I know that's drastic but it still works fine for us). However, in order to get this to work properly, I have to disable that nice styling normally used within the YouJoomla.com StudioShop template. Why: because it looks like the YJSG framework omits some of the core Joomla functionality, so doesn't fully implement the Joomla registration features. As a result, every time I install an update for the YJSG framework, I usually just rename the registration override folder at: /plugins/system/yjsg/includes/html/com_users/registration to something other than the default, which then allows / forces the default Joomla registration system layout to display - which of course is not as nice as the previous YJSG Framework look and feel. Therefore, my question is for someone at YouJoomla.com: can you install the missing Joomla core features, so that when a YJSG framework update is installed, I don't have to keep renaming the registration override folder? Or do you have another fix? Of course, the same issue will affect every YouJoomla template that uses the YJSG framework. Please confirm. Thank you. Are you sure your are posting in product assigned forum?: Yes What is your CMS version?: Joomla 3.x MySQL Version: 5.x PHP version: 5.x Link to installation: https://www.internettips.com/users/registration/ Have you edited any files? If yes tell us which ones.: Yes Is this personal or client website?: Personal |
Place the change in your template , not the plugin
templates/template_name/html/com_users/registration and advise what is missing so that we can take a look |
Hi Neo,
Thanks for the come-back. What I should have also said previously is that I've not made any changes to any plugins, only renamed a plugin folder, as outlined below. What I did was use install the "GDPR Bundle" from RicheyWeb.com (3 plugins): https://www.richeyweb.com/software/j...34-gdpr-bundle, though the relevant plugin for this problem is the "Fields - Terms of Service" plugin: https://www.richeyweb.com/software/j...rms-of-service The idea is to display the extra check boxes for "Website Terms and Conditions" and "Privacy Policy" on the registration page, which I've done. However, at present, if I don't rename the /plugins/system/yjsg/includes/html/com_users/registration folder to something like /plugins/system/yjsg/includes/html/com_users/registration-temp-disable, those 2 check boxes don't display on the registration form page at: https://www.internettips.com/users/registration/ So if I can get the 2 check boxes to display while still using that beautiful YJSG styling, that would be superb. Please advise. Thank you. |
ok , il take a look at the issue by Friday and report back, if for any reason I do not respond by than please bump the thread and I will do so. At this moment all hands are here https://themezly.com/
|
* Bump *
Hi Neo, have you had a chance to check out the YJSG framework issue? Thanks. |
checking now
|
well , I need that plugin to see what they are trying to do since there is no
joomla way to add the form fields unless you writte them in the xml. I assume they must overwrite the reg xml which is already done here , https://github.com/YJSGframework/yjs...gistration.xml https://github.com/YJSGframework/yjs...lt.php#L16-L17 so if you need checkboxes you could move these 2 files com_users/registration/registration.xml com_users/registration/default.php to template html folder like so http://prntscr.com/jbys4d and either modify the xml and add 2 fields , or comment this out so that their plugin overwrites it https://github.com/YJSGframework/yjs...lt.php#L16-L17 that way when plugin is updated there will be no override and template controls it. Another thing you could try is to move their system plugin ( I assume it is system ) to fire after YJSG plugin . But I cant assure it will work since I dont have it |
not sure if you understood what I mean but here is simple explanation
https://github.com/YJSGframework/yjs...lt.php#L16-L17 line 16 resets default registration form line 17 tells the view what reg xml file to use. once you understand that you can use any xml to load on the reg. Reason why we had to do this is to add form styles since joomla did not leave us any other choice, https://github.com/YJSGframework/yjs...ration.xml#L10 |
Great, thanks for your help Neo: I'll get those changes implemented soon.
|
Hi neo,
Sorry for the delay in getting back (there's never enough time :-) Just an update ... Today, I've had some time to implement your template overrides suggestion on 2 YJSG framework-based sites now and of course, it looks like it works like a charm, so thank you. It's nice to get those nicely styled YJSG finishes back :-) - and with the "recipe", should help make these websites more GDPR-compliant (if that get interpreted strictly by whomever decides over in the EU, UK, or elsewhere). Since I'm pretty sure the template overrides will stay in place with any new YJSG framework updates, I'll mark this thread as closed. |
| All times are GMT -4. The time now is 04:57 PM. |
Powered by vBulletin®
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.