Author |
Message |
hicuxunicorniobestbuildpc
The Mouse Is Extension Of Arm
![](modules/Forums/images/avatars/5ed231554a8492e2e09da.gif)
Joined: Aug 13, 2009
Posts: 1123
|
Posted:
Sat Jun 30, 2012 6:38 pm |
|
Guys! I just spent some time to make some examples of what I would like to see in the future specially for Ravennuke. This theme should never be compatible with any version of phpnuke otherwise we go back again to the same problem with old codes which with load the page in more than 10 or 20 seconds.
Please let me know if this is possible to do.
We make 3 themes with severals codes and you guys decide what could be the best. This code should be the same for all the themes so we can make more and more. This theme RickTido is an example of what could be a nice theme because of the code but the color is still a little bit ugly.
Google Hex Colors are amazing! Examples.
Code:G = 3364c2
o = f31900
o = f7d72b
g = 3364c2
l = 44c400
e = f31900
-------------------
G = 3366ff
o = ff1800
o = f7d72b
g = 3366ff
l = 44df00
e = ff1800
|
Note: I want to stop using images like .gif. We should use jQuery Colors combine with CSS and the page will run twice faster.
This is an example I took from
http://api.jquery.com/css/
Code:<!DOCTYPE html>
<html>
<head>
<style>
div { width:60px; height:60px; margin:5px; float:left; }
</style>
<script src="http://code.jquery.com/jquery-latest.js"></script>
</head>
<body>
<span id="result"> </span>
<div style="background-color:blue;"></div>
<div style="background-color:rgb(15,99,30);"></div>
<div style="background-color:#123456;"></div>
<div style="background-color:#f11;"></div>
<script>
$("div").click(function () {
var color = $(this).css("background-color");
$("#result").html("That div is <span style='color:" +
color + ";'>" + color + "</span>.");
});
</script>
</body>
|
I tested the last version of Joomla and I will never be sticky with that system. So slowly!
Note: Themes, blocks or modules should never have flash codes so iphone and mac computers can read your site. Flash is always unsafe. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
neralex
Site Admin
![](modules/Forums/images/avatars/201442295664a46e4575d46.jpg)
Joined: Aug 22, 2007
Posts: 1775
|
Posted:
Sat Jun 30, 2012 7:46 pm |
|
Do you know, JS works only on the client side and if the user turn off JS in his browser, then you need an clean html/css markup as fallback? Do you have browser fallbacks for all incompatible browsers?
In a with of 1000px is your idea of the content not good. Its to small for reading the complete content. To say "is still a little bit ugly" is easy...why don't you try a better version of this theme? It would be a real start! |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
hicuxunicorniobestbuildpc
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Jun 30, 2012 8:48 pm |
|
Let's be realistic. If you install any browser nowadays js is always on and they will test it inmediatly without turning js off. There will be always an incompatibility but if you think we are going to die tomorrow then we don't go further with our life and nothing happens. This is just an example and you don't need the whole page to read news. nowadays people read news on the phone. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
neralex
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Jul 01, 2012 4:23 am |
|
unicornio, its full realistic. These are the basic things of a website!
You know, you can put other modules in home as the news? Nobody speaks over the news. I mean the complete content.
Why don't you try it to wirte a own theme with basic styles?
If you mean you can create a theme compeltely in JS and without images - then start it! Show us your work. Its easy to say, make this or this. A good website must have a accessibility and must work with turned off JS, too. If you have it realized, then you can start with JS.
JS is an addon and its not the best way to build a complete website. In many companies is JS turned off or was limited to local only scripts. Just look on facebook, if you turned of JS, then doesn't work the complete system. Its a good example for a bad template coding. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Guardian2003
Site Admin
![](modules/Forums/images/avatars/125904890252d880f79f312.png)
Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam
|
Posted:
Tue Jul 03, 2012 4:56 am |
|
I'm not saying it will definitely happen but if I remember correctly, in our roadmap for RN v 3.0 we would like to give users the option of running a module on the homepage (like news) or using a homepage made entirely of blocks, though large centre blocks will probably have to come from the community. If you think about it, this would also be an SEO enhancement.
Don't use jQuery for the sake of using it. There are pitfulls associated with using jQuery/ jQuery plug-ins etc;
Will the author keep different version of his plug-in available and will they be compatible with whichever version of jQuery is distributed with RN?
Some (most?) smart phones have memory limitations and in particular, the iPhone has a well documented limit on the size of javascript files it can handle.
Of course if you are going for maximum mobile device compatibility, you'll want to use HTML 5 and definitely do lots of research and validate your code for accessibility (Section 508 and WCAG). |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
montego
Site Admin
![](modules/Forums/images/avatars/0c0adf824792d6d341ef4.gif)
Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Tue Jul 03, 2012 7:01 am |
|
Guardian, you are correct on the roadmap. It is planned to have the option of having no module be in home. You are also correct that having multiple center blocks side-by-side isn't currently in the plan. MetAuthors had a module/hack for better control over your home page. Might be worth a look. |
_________________ Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Guardian2003
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Jul 03, 2012 8:33 am |
|
Personally, I wouldn't be in favour of, or support multiple center blocks positioned side by side (better to stack them vertically like we do at the moment).
My reasoning for this, for those theme developers out there is that it is quite difficult to get two (or more) adjacent blocks displaying data from different sources that are exactly the same height.
Sure, it is possible to use CSS to force some bottom padding or even use a min-height for the blocks container to give then a fairly fixed, consistent height, but if one block contains 5 lines of data and the other 10 lines of data, you center column as whole is going to look really messy. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|