PDA


View Full Version : Suggestion for next version


Blaminator
05-20-2005, 03:38 AM
Hi guys, im here to make a suggestion, how about a wysiwyg editor in the admincp for blocks / content? Because that really would spice things up, thats the only thing which i see lets this fall behind other CMS's

Thanks

Garamond
05-20-2005, 04:25 AM
I totally agree, this would have been great!

Garamond
05-20-2005, 04:29 AM
Another thing I would like to be implemented is a better way of showing attached images, so they do not appear inside a box with the "Attached images"-heading. It just doesn't look professionally on the front page.

Brian
05-20-2005, 10:55 AM
Another thing I would like to be implemented is a better way of showing attached images, so they do not appear inside a box with the "Attached images"-heading. It just doesn't look professionally on the front page.
You can edit your 'adv_portal_newsbits' template to remove that.

Blaminator
05-20-2005, 08:19 PM
so, brian, you taking my suggestion into account? :(

Loco Macheen
05-21-2005, 12:58 AM
i'd like to suggest being able toadjust the distance above and below moduals

sorta like this fuction, but up and down :)

vBa CMPS > Default Settings > Spacing Between Columns

Albus
05-21-2005, 11:13 AM
I have a suggestion that would bring down the size of most module template. Considering that currently, most module templates include the html for the wrapping table, tcat and so on. I propse that three box templates be included with the product. If you were to use the following template (or something similar), repeated three times as adv_portal_boxleft, adv_portal_boxcenter and adv_portal_boxright, then users could define the look of most of thier modules wrappers in one simple edit. Thos modules outputting specialized stuff will most likely have already called eval on templates on it own and returned them in $box[content]. By using the same paradigm for left, center and right boxes independantly, we can now have three different looks, depending on what the position is. Just a suggestion to make things easier for both the coders and the users, with only a minimal change to the system. The more complex modules, such as the latest posts module, would parse it's own templates and return this:

$box = array();
$box[special] = true;
$box[content] = $parsed_template_content;


<!-- module box -->
<if condition="$box[special]">

<!-- special output -->
<div style="$stylevar[cellpadding]">$box[content]</div>
<!-- / special output -->

<else />

<!-- standard output -->
<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" class="tborder">
<tr><td class="tcat">$vba_options[portal_blockbullet] $box[caption]</</td></tr>
<tr><td class="$getbgrow" align="center">$box[content]</td></tr>
</table>
<!-- / standard output -->

</if>

<br />
<!-- / module box -->

Brian
05-21-2005, 12:01 PM
Blaminator - There is a new feature where you can have a BB code module where using the WYSIWYG editor might be possible, but I'm not sure how easy that would be to implement.

Loco Macheen - Already a feature in 2.0. ;)

Albus - I don't really see what the point of that would be since you can already easily change the look of each column by editing the adv_portal template and changing things in there. There is a new 'adv_portal_module_shell' template though which is "wrapped" around all of the modules so that changing the look of the modules just requires modifying one template.

Albus
05-21-2005, 12:07 PM
Thanks for replying. Being able to wrap the modules is nice and i can work with that when released, but can you test the position of the module in a template conditional? This way I could have this in the shell:

<if condition="$module[position] == 'left'">
<!-- wrap for left -->
</if>
<if condition="$module[position] == 'center'">
<!-- wrap for center -->
</if>
<if condition="$module[position] == 'right'">
<!-- wrap for right -->
</if>

The reason I might want to do this is to give each column it's own "look".

Here's an example of three block styles, one per column...
http://www.artist-on-line.com/postnukesite/html/index.php

Brian
05-21-2005, 12:53 PM
You can still do that by editing the 'adv_portal' template and changing the table cells there.

Albus
05-21-2005, 12:57 PM
Hm. Explain how? All I see is the cells for the columns themselves. I want to give a "default" look to the modules based on what column they are in, without having to edit the modules templates...so if I move module A from left to right in the admincp, the looks automatically changes to match.

Brian
05-21-2005, 03:34 PM
Ahhh, ok. I was misunderstanding you. That probably won't be a default option, but wouldn't be hard at all with some if conditions.

Albus
05-21-2005, 03:41 PM
With the upcoming 'adv_portal_module_shell' all you have to do is make sure that the template has available to it a variable with the module position in it. Something like this...

$position; // either 'left', 'center', or 'right' [or 0,1 and 2]

Then this would work in 'adv_portal_module_shell':

<if condition="$position == 'left'"> ??? </if>
<if condition="$position == 'center'"> ??? </if>
<if condition="$position == 'right'"> ??? </if>

You can add this ability with one line of code to the existing 2.0 code by inserting it just before the call to render.

Blaminator
05-21-2005, 07:17 PM
How about using FCKEDitor? Or have a look at CMS's like Drupal or Mambo and use that kinda editor?

Albus
05-21-2005, 07:22 PM
Hehe. I'm trying to stay as pure as I can. That means vBulletin and only the most TOP QUALITY hack *cough*vba*cough* ... besides, I think 2.0 will have 95% of what I need. I could probably edit in whatever else I need.

Loco Macheen
05-22-2005, 03:13 AM
Loco Macheen - Already a feature in 2.0. ;)




yeah!!, looking foward to it :)