User Panel

Welcome, Guest.
Please login or register.

 
 
 

Did you miss your activation email?

 Who's Online

  • • Users: 3
  • • Guests: 23

 Shoutbox

 Theme Changer

 Recent Posts

Sephiroth & Mewtwo
Last Poster: Dismal Shadow | Today at 04:01:12 AM

Re: Download DP?
Last Poster: live627 | Yesterday at 05:25:11 PM

Re: Team Page Mod
Last Poster: ccbtimewiz | September 08, 2010, 02:36:06 AM

Re: Google Mail
Last Poster: ccbtimewiz | September 07, 2010, 01:12:24 AM

Re: Meet the Team - ccbtimewiz
Last Poster: Matt | September 06, 2010, 06:21:48 AM

Re: Dream Portal signature
Last Poster: hadesflames | September 05, 2010, 01:51:59 AM

Re: [WIP] Simple Listings
Last Poster: hadesflames | September 04, 2010, 07:45:09 PM

Re: Hey
Last Poster: ѕησω | September 04, 2010, 10:08:55 AM

Re: Dream Portal in your Language
Last Poster: smithtrd | September 03, 2010, 08:45:16 PM

Author Topic: Custom width and height for modules  (Read 1296 times)

0 Members and 1 Guest are viewing this topic.

Offline live627

  • Lead Developer
  • Developer
  • *
  • Posts: 442
  • Gender: Male
Custom width and height for modules
« on: March 20, 2010, 11:06:44 PM »
My brother just gave me the suggestion of specifying the size of any given module. I am also wondering if we can have an option to set the float and/or clear style.
live627
Dream Portal Lead Developer

Offline flapjack

  • Translator
  • *
  • Posts: 107
  • I pity the fools!
    • Poles in Limerick
Re: Custom width and height for modules
« Reply #1 on: March 20, 2010, 11:23:30 PM »
good thinking, I like the idea

Offline SoLoGHoST

  • Dreamer
  • ******
  • Posts: 1,239
  • Gender: Male
  • // Real programmers don't comment their code! :)
Re: Custom width and height for modules
« Reply #2 on: March 20, 2010, 11:29:10 PM »
Well, modules are contained within a table column at the moment.  This will need to be taken out of the current table structure and placed into DIVS in order to do this.  I'm all for it as it could provide some interesting layouts.

Offline ccbtimewiz

  • Operations Manager
  • On Hiatus
  • *
  • Posts: 1,303
  • Gender: Male
    • My Personal Site
Re: Custom width and height for modules
« Reply #3 on: March 21, 2010, 12:23:13 AM »
Height seems plausible, width does not.
ccbtimewiz
Dream Portal Project Manager

Online hadesflames

  • Finance Manager
  • Developer
  • *
  • Posts: 1,279
  • Gender: Male
  • C++ Coder
Re: Custom width and height for modules
« Reply #4 on: March 21, 2010, 12:51:06 AM »
I would go with height being able to change on any module, while width would only be allowed on the columns (left middle and right) because having different widths on different modules would look terrible...
- Former Developer
- Server Administrator


Offline flapjack

  • Translator
  • *
  • Posts: 107
  • I pity the fools!
    • Poles in Limerick
Re: Custom width and height for modules
« Reply #5 on: March 21, 2010, 01:42:15 AM »
not always, they might be centered by default

Offline live627

  • Lead Developer
  • Developer
  • *
  • Posts: 442
  • Gender: Male
Re: Custom width and height for modules
« Reply #6 on: March 21, 2010, 02:15:02 AM »
He showed me a diagram

The white squares are blocks in all sizes and positions possible. I was asking about using jQuery because with it you can resize, move, and snap to grid.
live627
Dream Portal Lead Developer

Offline SoLoGHoST

  • Dreamer
  • ******
  • Posts: 1,239
  • Gender: Male
  • // Real programmers don't comment their code! :)
Re: Custom width and height for modules
« Reply #7 on: March 21, 2010, 03:58:12 AM »
Like I said, we should take it out of it's current tabular state and control it in DIVs, which will also be better for SEO.  Once this is done it will be easy to implement this, both within the Admin (Drag and Drop) and for the layout for that action(s) in SMF.

Offline Pentaxian

  • Dutch Translator
  • Translator
  • *
  • Posts: 33
  • Gender: Male
  • Analytic dreamer
    • Pentaxian, BE/NL Pentax dSLR forum
Re: Custom width and height for modules
« Reply #8 on: March 21, 2010, 11:48:48 AM »
Looks very nice!

Offline necrit

  • Friend
  • *
  • Posts: 28
  • Gender: Male
  • Goblin Engineer
Re: Custom width and height for modules
« Reply #9 on: March 22, 2010, 01:25:50 PM »
Well the new table structure has unhinged the rigid requirements for modules positions but as for the width of a module you are saying that it sould be unique to each and every module instance?  if thats the case then i wonder why we cannot just expound upon the parameters table with those properties and pass it to the engine while it builds the div.
Whittling code from sawdust with a butter knife

Offline Pyro

  • Semi Newbie
  • *
  • Posts: 11
  • Gender: Male
  • pyroMANIAC!!!
    • PTinvites
Re: Custom width and height for modules
« Reply #10 on: March 22, 2010, 02:48:30 PM »
That would make my life a whole lot easier. I have blocks that span the whole forum making it look bloated. I say YAY to this!
Sweet Action

Offline SoLoGHoST

  • Dreamer
  • ******
  • Posts: 1,239
  • Gender: Male
  • // Real programmers don't comment their code! :)
Re: Custom width and height for modules
« Reply #11 on: March 22, 2010, 07:51:51 PM »
Well, the only issue I can see coming up from this request is the "Collapse Left Modules" and "Collapse Right Modules" links.  It should no longer refer to collapsing regions as left and/or right.  Collapsing regions will need to be defined for that action in the Admin Panel.  This will be a bit tricky, but a lot of fun!
« Last Edit: March 22, 2010, 08:01:09 PM by SoLoGHoST »

Offline Maarten

  • Semi Newbie
  • *
  • Posts: 26
  • Gender: Male
  • Watch out: 15 year old kid here!
    • NHFans.nl
Re: Custom width and height for modules
« Reply #12 on: March 25, 2010, 03:27:42 PM »
Well, the only issue I can see coming up from this request is the "Collapse Left Modules" and "Collapse Right Modules" links.  It should no longer refer to collapsing regions as left and/or right.  Collapsing regions will need to be defined for that action in the Admin Panel.  This will be a bit tricky, but a lot of fun!
Something for the next Dream Portal version? It's good as it is right now, but it should be a next future, I don't think everybody wants to wait for a a future that probably needs a long time developing.

So, let first release the standard version (as it is right now :P) and might for next release with the multi column future :D

+1  :shocked:
Proud to be an ex-member of the Quality Assurance team on Dream-Portal!

Offline live627

  • Lead Developer
  • Developer
  • *
  • Posts: 442
  • Gender: Male
Re: Custom width and height for modules
« Reply #13 on: March 25, 2010, 07:05:27 PM »
+1
live627
Dream Portal Lead Developer

Offline xero

  • Former Core Developer
  • Friend
  • *
  • Posts: 151
  • Gender: Male
    • http://localhost/
Re: Custom width and height for modules
« Reply #14 on: March 26, 2010, 07:38:39 AM »
Well, the only issue I can see coming up from this request is the "Collapse Left Modules" and "Collapse Right Modules" links.  It should no longer refer to collapsing regions as left and/or right.  Collapsing regions will need to be defined for that action in the Admin Panel.  This will be a bit tricky, but a lot of fun!

I always saw the collapse left modules and collapse right modules to be pointless once we have the user-defined layouts available, since they can easily go into their profile to remove them and organize the modules as they see fit, but I guess it would be a good feature to keep around for importing other portal data, so that we can convert other portal data to run on our system without modifying too much as far as layout goes.