-
AuthorPosts
-
questbg Friend
questbg
- Join date:
- May 2008
- Posts:
- 1912
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 146
- Thanked:
- 339 times in 197 posts
February 27, 2009 at 8:01 am #138623Hi 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
Chrisjsliao Friendjsliao
- Join date:
- April 2008
- Posts:
- 817
- Downloads:
- 0
- Uploads:
- 12
- Thanks:
- 25
- Thanked:
- 236 times in 210 posts
February 27, 2009 at 8:30 am #2937241. 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.1 user says Thank You to jsliao for this useful post
questbg Friendquestbg
- Join date:
- May 2008
- Posts:
- 1912
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 146
- Thanked:
- 339 times in 197 posts
February 27, 2009 at 8:37 am #293728Hi 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
Chrisjsliao Friendjsliao
- Join date:
- April 2008
- Posts:
- 817
- Downloads:
- 0
- Uploads:
- 12
- Thanks:
- 25
- Thanked:
- 236 times in 210 posts
February 27, 2009 at 8:49 am #293736template.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" />-->
1 user says Thank You to jsliao for this useful post
questbg Friendquestbg
- Join date:
- May 2008
- Posts:
- 1912
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 146
- Thanked:
- 339 times in 197 posts
February 27, 2009 at 8:54 am #293742Awesome job! 😀
Thanks again jsliao … I’ll report back when I’ve finished hacking around!
jsliao Friendjsliao
- Join date:
- April 2008
- Posts:
- 817
- Downloads:
- 0
- Uploads:
- 12
- Thanks:
- 25
- Thanked:
- 236 times in 210 posts
February 27, 2009 at 9:06 am #293749yea no problem. do let me know should you require help with the registration email’s %s.
cheers
questbg Friendquestbg
- Join date:
- May 2008
- Posts:
- 1912
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 146
- Thanked:
- 339 times in 197 posts
February 28, 2009 at 5:06 am #293894Hi 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.
Chrisquestbg Friendquestbg
- Join date:
- May 2008
- Posts:
- 1912
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 146
- Thanked:
- 339 times in 197 posts
February 28, 2009 at 5:39 am #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
Chrisquestbg Friendquestbg
- Join date:
- May 2008
- Posts:
- 1912
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 146
- Thanked:
- 339 times in 197 posts
February 28, 2009 at 6:44 am #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
Chrisscotty Friendscotty
- Join date:
- March 2008
- Posts:
- 2339
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 76
- Thanked:
- 827 times in 595 posts
February 28, 2009 at 11:17 am #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=
1 user says Thank You to scotty for this useful post
questbg Friendquestbg
- Join date:
- May 2008
- Posts:
- 1912
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 146
- Thanked:
- 339 times in 197 posts
March 1, 2009 at 5:56 am #294002Thanks 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
Chrisquestbg Friendquestbg
- Join date:
- May 2008
- Posts:
- 1912
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 146
- Thanked:
- 339 times in 197 posts
March 1, 2009 at 6:39 am #294012Update:
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
Chrisjsliao Friendjsliao
- Join date:
- April 2008
- Posts:
- 817
- Downloads:
- 0
- Uploads:
- 12
- Thanks:
- 25
- Thanked:
- 236 times in 210 posts
March 2, 2009 at 1:46 am #294105maybe 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 Friendquestbg
- Join date:
- May 2008
- Posts:
- 1912
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 146
- Thanked:
- 339 times in 197 posts
March 2, 2009 at 4:37 am #294114Sorted! 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 Friendscotty
- Join date:
- March 2008
- Posts:
- 2339
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 76
- Thanked:
- 827 times in 595 posts
March 2, 2009 at 9:16 am #294131jsliao;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 –>. -
AuthorPosts
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