Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • melanieb Friend
    #188473

    Hi,

    I have some strange problems with the JA Login module and cache issues. I have Jomsocial installed on my site and need to use the Jomsocial registration form to register users to the site. The Create an account link is no good to me as it just captures Joomla users and doesn’t progress to the Jomsocial registration form.

    Within the Login section there is another Create an account link which opens the correct Jomsocial form. However, when I add a user, I have to go in to the Joomla backend every time and Clear the cache as otherwise it wont let me register any more users (it gets as far as clicking the register button only to be presented with a login box and also populates the name fields with the last users details automatically.

    My questions are:

    1. How do I fix the cache issue with the registrations

    2. How do fix the cache issue site wide as if I edit an article etc. I have to clear the cache in the backend every time, and now also resorting to clearing the main cache folder on the server.

    3. Can I change the Create an Account to open the correct Jomsocial registration form like the one in the Login tab does? If not, can I disable the Create an account tab? Its a shame to have to do that though as like the registration form drop down.

    phong nam Friend
    #496798

    Hi,

    <blockquote>1. How do I fix the cache issue with the registrations … How do fix the cache issue site wide as if I edit an article etc. I have to clear the cache in the backend every time, and now also resorting to clearing the main cache folder on the server.</blockquote>
    Try to use the Cache Exclude feature of our T3v2 framework in Template Manager >> JA_Mendozite – Default >> Global tab >> Cache Exclude. You can set Cache exlusion for component (Joomla content, K2), positions.

    * Still remember to clear JAT3 cache after saving template changes.

    <blockquote>3. Can I change the Create an Account to open the correct Jomsocial registration form like the one in the Login tab does? If not, can I disable the Create an account tab? Its a shame to have to do that though as like the registration form drop down.</blockquote>
    <blockquote>The Create an account link is no good to me as it just captures Joomla users and doesn’t progress to the Jomsocial registration form.
    </blockquote>
    We use Joomla default Login module, so that it will take much time to customize the module function codes to get your requirement. Anyways, you can try to disable our JA Login module in Module Manager, then publish your Jomsocial registration module in jalogin position. And ajust the dropdown styles with css tricks if needed !

    * JA Login module contains Create an account tab & Login tab.

    melanieb Friend
    #498531

    Hi Leo,

    many thanks for responding. I tried using the Jomsocial login but it looked dreadful – much prefer the cleaner JA Login. I was wondering if I could just point the link Create an Account to open the same registration page as the one in the login menu? So instead of opening the login form as it does now, its just a link instead. Is this possible?

    phong nam Friend
    #498545

    Hi melanied,

    <blockquote>I was wondering if I could just point the link Create an Account to open the same registration page as the one in the login menu? So instead of opening the login form as it does now, its just a link instead. Is this possible?</blockquote>
    Do you want to have a Create an Account link to your registration page at “login” position, instead of JA Login module, don’t you ?

    melanieb Friend
    #498552

    Hi Leo,

    no, I just want to turn where it says Create an account into a link which opens the same registration form as the Create an account under the login lonk. The attached image might explain it better


    1. createaccount
    phong nam Friend
    #498637

    Hi melanied,

    The “Create an account” link is defined in templatesja_mendozitehtmlmod_jalogindefault.php at line:

    <?php
    $usersConfig = JComponentHelper::getParams('com_users');
    if ($usersConfig->get('allowUserRegistration')) : ?>
    <li>
    <a href="<?php echo JRoute::_('index.php?option=com_users&view=registration'); ?>">
    <?php echo JText::_('JAREGISTER'); ?></a>
    </li>
    <?php endif; ?>

    You can change the read text with your desired url (Link to your registration page). Remember to backup this file & clear JAT3 cache after saving changes.

    melanieb Friend
    #498823

    Thanks once again Leo – that worked. 😀

Viewing 7 posts - 1 through 7 (of 7 total)

This topic contains 7 replies, has 2 voices, and was last updated by  melanieb 11 years, 3 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum