Uutiset:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu
Advertisement:

Making Mods Available to all theme (i.e. non default themes)

Aloittaja doctorjz, huhtikuu 14, 2007, 01:09:08 IP

« edellinen - seuraava »

doctorjz

I work alot with Joomla and were able to make the "mods" or "components" seperate in the DB rather than tying them to one particular theme. So the directory path might make more sense to come out of www.YOUR_SITE.com/SMF/modifications or something similar. This way, if you change themes it should have no barring on what mods you have installed vs. what theme you are running. Just a thought.

Other than that I have actually been a big fan of phpBB and vbulletin in the past and once I started using this product I was down right impressed with all of your hard and dedication. This includes all the forums moderators that spend their free time to help everyone out. I really think that people should thank them more often instead of complaining about software thats FREE. Anyways I am a developer myself (hxxp:expose.modus.ie [nonactive] , thats one of my projects) and I always like to hear thanks in my forums.


Thanks for listening and keep up the good work fellas.

-Josh
Once the game is over, the King and the pawn go back in the same box.

niko

It isn't simply possible to do changes to all themes since they differ and need to to enabled making unique themes.

SMF 2.0 will try to make changes to all themes and some changes are made to mods require less edits to themes.
Websites: Madjoki || (2 links retracted by team, links out of date and taken over.)
Mods: SMF Arcade, Related topics, SMF Project Tools, Post History

WIP Mods: Bittorrent Tracker || SMF Wiki

doctorjz

I understand that. But when you call something in Joomla for example in a template it looks something like this:


<?php include ("mainbody.php"); ?>

or

<?php mosLoadModules 'left' ); ?>


I believe this is a better way to call data into a "template". This help help eliminate any static items in a template. I feel that this would also make template design easier. By making that easier this would open a whole new door up to faster framework, ease of newer and more complex mods.

This is just a thought for a possible road map in the future. I understand that work like this can take years in the making. Trust me I have been working on Joomla (formerly Mambo) for about 4 years in 3PD (3rd party development). I would love to help more with this code here but I have already to many commitments to them.

I am always here to help out with suggestions.

Thanks,

Josh
Once the game is over, the King and the pawn go back in the same box.

brine

I hope they add a feature to easily make mods work with all themes without manually editing each individual theme. 

This is a pain and has kept me from adding using more than the default theme on most of my sites. 

Gary

Lainaus käyttäjältä: brine - toukokuu 04, 2007, 07:14:53 AP
I hope they add a feature to easily make mods work with all themes without manually editing each individual theme. 

As stated, 2.0 will ATTEMPT to make the changes to all themes, but some will still fail because the themes are just that different compared to the default, it is impossible to make all mods install on all themes flawlessly.

-ALM
Gary M. Gadsdon
Do NOT PM me unless I say so
War of the Simpsons
Bongo Comics Fan Forum
Youtube Let's Plays

^ YT is changing monetisation policy, help reach 1000 sub threshold.

doctorjz

I understand that, I was thinking what if the framework for mods was changed so they can be installed outside of the template. this way there are less static entries. So the scripts from the mods would pull from the mods directory. So in the template you would say something like <? php loadModule;Top ?> That would then call mods from the outside directory. Its just a thought and I dont expect it.

You guys are doing some amazing work!! Thanks for the great program!  :D
Once the game is over, the King and the pawn go back in the same box.

青山 素子

Doing things that way would really limit what themes could do. Look at the Wiki theme for an example of how themes can really change things around (The Online Manual uses the Wiki theme).
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


doctorjz

I do lots development for 3rd components for Joomla and that framework appears to work great with there templates.  I understand this is a completely different setup. It was just a thought. Thanks for the input.
Once the game is over, the King and the pawn go back in the same box.

Advertisement: