Kunena 7.0.4 Released

The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0

This category contains miscellaneous, uncategorised user contributions, (templates, modules, plugins and hacks) relating to older versions of Kunena that are no longer supported.

This category may also contain a few topics relating to K 1.6 that may have been moved here possibly by mistake.

The topics in this category are for historical interest only. Owing to the structural differences between K 1.6 and K 1.7, these ideas in these topics will not work with later versions and, for that reason, the topics are locked.

Question K 1.0 / K 1.5: Read this if you are template designer

More
16 years 11 months ago #15751 by grumblemarc
Sorry. Did not feel well yesterday.

We love stars on the Joomla Extension Directory . :-)

Please Log in or Create an account to join the conversation.

More
16 years 11 months ago #15973 by Lintzy
Please don't forget to share the code, still waiting ;)

Please Log in or Create an account to join the conversation.

  • herdboy webdesign
  • herdboy webdesign's Avatar
  • New Member
  • New Member
More
16 years 11 months ago #16008 by herdboy webdesign
Replied by herdboy webdesign on topic Re:Read this if you are template designer
Lintzy wrote:

I agree with Spocks proposal. When the buttons are only CSS styled rather than gifs, you have much more possibilities.

With CSS styled navigation, you have both: buttons as (background)graphic (take text-indent -3000px) and SEO and Screenreader are your friend and second you can put the buttons as Text, with other CSS styles around.


I totally agree, if and when it's done it will open up a whole new approach to Kunena template design. We are currently limited as far as implementing different layouts and features.

PS: I am not saying do it now or tomorrow or next week.

Please Log in or Create an account to join the conversation.

More
16 years 11 months ago #16010 by grumblemarc
Lintzy wrote:

Please don't forget to share the code, still waiting ;)


Sorry Lintzy. I will look for an example as soon as I arrive home. And don't misunderstand when I say I prefer graphic images for buttons if they are absolutely controlled by the CSS and not hard-coded into files. I do not prefer to look at sites where the buttons are simply colored rectangles with a simple background image and boring text.

We love stars on the Joomla Extension Directory . :-)

Please Log in or Create an account to join the conversation.

More
16 years 11 months ago - 16 years 11 months ago #16035 by grumblemarc
OMG I forgot what a mess it was in these files. I remember why I stopped trying to figure them out as well. I hope these get re-written from scratch one day.

Anyway. Here's an example of what I mean.

This is the coding for a link with a button.
Code:
Quick reply DEFINE('_KUNENA_QUICKMSG', 'Quick Reply&#32;'); <img src="' . KUNENA_URLICONSPATH . '' . $fbIcons['quickmsg'] . '" border="0" alt="' . _KUNENA_QUICKMSG . '" />

This is one without.
Code:
Report to moderator DEFINE ('_KUNENA_REPORT_LOGGED','Logged'); _KUNENA_REPORT

Logic would dictate that to replace the graphical button with text one would simply replace this
Code:
<img src="' . KUNENA_URLICONSPATH . '' . $fbIcons['quickmsg'] . '" border="0" alt="' . _KUNENA_QUICKMSG . '" />
with this
Code:
_KUNENA_QUICKMSG
since everything is already int he language files but it doesn't look so easy. As I haven't yet tried it I cannot say for certain. I'm still poking around because a lot of this code is so unlike any other that I've seen when it comes to templating. Entirely too damn complex for templaters to handle. Right now all we are reduced to is reskinning the same template over and over.

I'll report more as I poke around.

We love stars on the Joomla Extension Directory . :-)
Last edit: 16 years 11 months ago by grumblemarc.

Please Log in or Create an account to join the conversation.

More
16 years 11 months ago #16041 by emeyer
I think the icon issue is relatively minor compared to the problem of intermingled code and database access. There is no separation of function from appearance in the current templates. Theoretically, all the database access has to be rewritten eventually to use the 1.5 APIs instead of the 1.0 APIs. This is thousands of lines of code intermingled with HTML rendering statements.

While trying to upgrade I've seen some improvement in the individual file structure by separating database access to the beginning, and rendering to the end. It would be a much bigger improvement, I think, to start to separate the HTML into a separate set of includes and merging the database access at the beginning of many of the templates files into a single file. That way, changes could be made for 1.5 APIs that would not require rewriting parts of each and every file. For example, if showcat.php was split into db.showcat.php, and showcat.html.php, then one could hope only the showcat.html.php file needs to change for template display, and the db.showcat.php could eventually merge with db.listcat.php to reduce the number of files.

What do you folks think of that idea?

Please Log in or Create an account to join the conversation.

Time to create page: 0.224 seconds