31
CoolPops
Can a module overide system global system theme?
  • 2004/12/15 2:14

  • CoolPops

  • Just popping in

  • Posts: 65

  • Since: 2003/4/9 1


What I am speaking of here is not using a theme that is not the default, such as default or phpkaox but actually using no theme and only returning the results of the module. I am thinking of converting my website, Life with Christ to XOOPS and it's primary function currently is a weblog provider. The users can totally customize their weblog's template by editing a template file (smarty). No part of my site shines through on their site. For an example, view http://geek.lifewithchrist.org/ and then http://wilderness.lifewithchrist.org/

You can see they are totally different but have common attributes because it's my site powering their custom templates. I would obviously be creating this module to handle the editing and displaying of the weblog but in the displaying of the weblog I do not wish to display a block inside of my system theme I want to display their site in total.

Thanks for any input,

CoolPops



32
CoolPops
Can a module return a Smarty template w/o main header/footer?
  • 2004/7/28 2:35

  • CoolPops

  • Just popping in

  • Posts: 65

  • Since: 2003/4/9 1


I would like to create a module that has a view function to display just that item. Not including the normal Header and Footer. (XOOPS_ROOT_PATH.'/header.php' and footer.php). However, I want to be able to use the functions of XOOPS such as the comments and notifications.

I know how to accomplish all the tasks, except returning a content item w/o the header and footer. Does anyone have an ideas?

CoolPops



33
CoolPops
Re: Additional user fields
  • 2003/4/16 5:32

  • CoolPops

  • Just popping in

  • Posts: 65

  • Since: 2003/4/9 1


Try queryF ... query() only SELECT's unless you are in a POST instead of a GET ... It will then UPDATE, DELETE, INSERT. This is a security feature that I have come to like.

queryF runs the query no matter what but it can open to some security flaws. Take a peek at:

https://xoops.org/modules/newbb/viewtopic.php?topic_id=8161&forum=4&jump=1

--
Jeremy
http://cowgar.com



34
CoolPops
Re: Bible in SQL
  • 2003/4/14 2:34

  • CoolPops

  • Just popping in

  • Posts: 65

  • Since: 2003/4/9 1


I like your Bible reference, and I also really like the idea about the MyTextSanitizer.

What's the chances of that happening XOOPS developers? What if I were to develop it and submit a patch? Is it something of intrest?

Jeremy



35
CoolPops
Re: Bible in SQL
  • 2003/4/11 17:46

  • CoolPops

  • Just popping in

  • Posts: 65

  • Since: 2003/4/9 1


The hard way. Text files of different formats, even quite a bit of HTML parsing. I'll bet I have over 100 hours easy in the files I have.

--
Jeremy



36
CoolPops
Re: Enhancing the built in editor
  • 2003/4/11 17:19

  • CoolPops

  • Just popping in

  • Posts: 65

  • Since: 2003/4/9 1


I have quite a few translations in SQL format, as well as a few other formats. In my times past, I have written a Bible study system, so I have all sorts of stuff like that laying around.

Thanks though.

Jeremy



37
CoolPops
Enhancing the built in editor
  • 2003/4/9 1:32

  • CoolPops

  • Just popping in

  • Posts: 65

  • Since: 2003/4/9 1


Greetings.

Xoop is just what I am looking for, however, I need one additional feature that probably no one else would want, or need. I am setting up a Christian web site and will be make a few custom modules, but the area of need that I am concerned about is the editor area.

I would like to be able to add in a few custom tags, the major one being filling in text from the Bible. For instance, {John 3:16} would include print the verse instead of the text entered. Then something like {ASV:John 3:16} would print the verse from the American Standard Version.

The parsing, retrieving, and storing of that information is no problem (is working in my bare bones not really functional home brew CMS). The question I have is, what would be the best way of accomplishing such a task in the least obtrusive way in XOOP? I would hate to create a maintance headache with each upgrade (although I realize it would be some).

I guess I am just looking for any comments, hints, tips, suggestions, etc...

Oh, also, is the same code used throughout the system for editing comments and such?

Thanks!

Jeremy




TopTop
« 1 2 3 (4)