test
Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • questbg Friend
    #138623

    Hi Folks … me again! :-[

    I need some assistance to modify three areas of (what I suspect are) CSS files, however, as usual, I have no idea which CSS file to look for, nor what I should be editing!

    1. Remove ‘Login’ and make ‘Search’ Bold:

    I would like to remove the ‘Login’ option in this area. Once done, the ‘Search’ will look totally lost, so I would also like to make this bolder.

    2. Modify the ‘post registration’ message:

    This wording will not be applicable on this particular site, so I will need to modify it substantially.

    3. Activiation e-mail

    Again, this won’t be relevant so I will need to modify this wording substantially.

    If anybody could point me in the right direction of which CSS files to edit, and also, exactly what I need to edit I’d be hugely grateful!

    Many Thanks
    Chris

    jsliao Friend
    #293724

    1. Installing teline ii now to see what can be done. pls hold

    2. languageen-GBen-GB.com_user.ini (line 88)
    REG_COMPLETE_ACTIVATE=

    3. languageen-GBen-GB.com_user.ini (line 115)
    SEND_MSG_ACTIVATE=

    Note for no.3:
    the first %s is “user’s name”, second %s is “Site Name” etc etc
    just match the words in the above email to your %s to find out.
    im not sure what reprecussions there are if you don’t use enough %s in your .ini file but im sure you can edit the component to spew out less or more %s if needed.

    questbg Friend
    #293728

    Hi jsliao

    Thanks for the quick reply! I’ll back up the en-GB.com_user.ini files and have a mess around! 🙂

    I’ll report back in this thread with the results

    Thanks again
    Chris

    jsliao Friend
    #293736

    template.css (line 879)


    #ja-headtools li a {
    }


    #ja-headtools li a {
    font-weight:bold;
    }

    index.php (line120)

    <jdoc:include type="modules" name="ja-login" />

    <!--<jdoc:include type="modules" name="ja-login" />-->

    questbg Friend
    #293742

    Awesome job! 😀

    Thanks again jsliao … I’ll report back when I’ve finished hacking around!

    jsliao Friend
    #293749

    yea no problem. do let me know should you require help with the registration email’s %s.

    cheers

    questbg Friend
    #293894

    Hi jsliao

    The ‘Search to Bold’ worked perfect. Thanks.

    <em>@jsliao 114979 wrote:</em><blockquote>index.php (line120)

    <jdoc:include type="modules" name="ja-login" />

    <!--<jdoc:include type="modules" name="ja-login" />-->
    </blockquote>

    I had a bit of a problem with this one. I modified the code as shown above in red and saved, but then I got the following:

    So, I changed the code again to:

    <!--<jdoc:include type="modules" name="ja-login" />

    I’m not sure if that’s the right thing to do, but hey, it worked! 🙂

    I’m about to start modifying the “en-GB.com_user.ini” file so will report back on that one later!

    Thanks again.
    Chris

    questbg Friend
    #293895

    <em>@jsliao 114966 wrote:</em><blockquote>2. languageen-GBen-GB.com_user.ini (line 88)
    REG_COMPLETE_ACTIVATE=
    </blockquote>

    Spot on again, perfect! 🙂

    <em>@jsliao 114966 wrote:</em><blockquote>3. languageen-GBen-GB.com_user.ini (line 115)
    SEND_MSG_ACTIVATE=
    </blockquote>

    Once again, spot on and works perfectly!

    Only one problem, I can’t find the following text anywhere:

    I searched through the en-GB.com file, but nothing in there, any idea where this could be hiding?

    Thanks
    Chris

    questbg Friend
    #293896

    <em>@questbg 115174 wrote:</em><blockquote>So, I changed the code again to:

    <!--<jdoc:include type="modules" name="ja-login" />

    I’m not sure if that’s the right thing to do, but hey, it worked! 🙂
    </blockquote>

    OOPS. I spoke too soon :-[

    It doesn’t work at all, everything looked fine in Safari, but then I checked the site in Firefox and the whole site has disappeared!

    Safari:

    Firefox:

    AAAAGGGHHHH! 😮

    I’ll revert to previous backup until one of you guys (or gals) can sort me out!

    Thanks
    Chris

    scotty Friend
    #293907

    <!--<jdoc:include type="modules" name="ja-login" />-->
    This does work. But I think you may have done this…

    <!--<jdoc:include type="modules" name="ja-login" /-->
    …which of course won’t.

    You could just disable the login module anyway or move it to a different position.

    The ‘already registered’ text is in /language/en-GB/en-GB.ini line 312…

    WARNREG_EMAIL_INUSE=

    questbg Friend
    #294002

    Thanks for that Scotty. I’ll try modify the code again and see what happens. Very strange that it worked OK in Safari but not in Firefox (having said that behaviour of browsers never ceases to amaze me!).

    I’ll check out the language file for the mail warning too!

    Cheers
    Chris

    questbg Friend
    #294012

    Update:

    Still some very strange things happening!

    Here’s the modified code:

    <!--<jdoc:include type="modules" name="ja-login" />-->
    <!--module search-->
    <?php if($this->countModules('user4')) : ?>
    <jdoc:include type="modules" name="user4" />
    <?php endif; ?>

    Which now appears to work fine in Firefox:

    However, here’s what I’m getting in Safari:

    I’ve reverted to the previous version and will try and unpublish the ‘ja-login’ module instead!

    Cheers
    Chris

    jsliao Friend
    #294105

    maybe u can try deleting the whole line below instead of using the comments. not sure why it doesnt work tho.

    <!--<jdoc:include type="modules" name="ja-login" />-->

    questbg Friend
    #294114

    Sorted! Finally I just disabled ja-login module in Admin and that got rid of it!

    Thanks for all your help on this one.

    Chris

    scotty Friend
    #294131

    jsliao;115427 not sure why it doesnt work tho.

    <!--<jdoc:include type="modules" name="ja-login" />-->
    It seems it doesn’t work because the comment thinks the first ‘>’ is the end of the comment thus rendering the –>.

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

This topic contains 15 replies, has 3 voices, and was last updated by  scotty 15 years, 9 months ago.

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