Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RavenNuke(tm) v2.5x
Author Message
hicuxunicorniobestbuildpc
The Mouse Is Extension Of Arm



Joined: Aug 13, 2009
Posts: 1123

PostPosted: Sat Jun 30, 2012 6:38 pm Reply with quote

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.


Image

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">&nbsp;</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! Shocked

Note: Themes, blocks or modules should never have flash codes so iphone and mac computers can read your site. Flash is always unsafe.
 
View user's profile Send private message
neralex
Site Admin



Joined: Aug 22, 2007
Posts: 1775

PostPosted: Sat Jun 30, 2012 7:46 pm Reply with quote

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!
 
View user's profile Send private message
hicuxunicorniobestbuildpc







PostPosted: Sat Jun 30, 2012 8:48 pm Reply with quote

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.
 
neralex







PostPosted: Sun Jul 01, 2012 4:23 am Reply with quote

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.
 
Guardian2003
Site Admin



Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam

PostPosted: Tue Jul 03, 2012 4:56 am Reply with quote

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).
 
View user's profile Send private message Send e-mail
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Tue Jul 03, 2012 7:01 am Reply with quote

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! 
View user's profile Send private message Visit poster's website
Guardian2003







PostPosted: Tue Jul 03, 2012 8:33 am Reply with quote

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.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RavenNuke(tm) v2.5x

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©