21
TopKnot
Re: Help to switch 2 lines of code on the fly
  • 2007/3/9 20:15

  • TopKnot

  • Just popping in

  • Posts: 70

  • Since: 2005/9/27


Thanks zyspec for the reply. Your suggestion sounds like a good workaround for what I want.

I have been digging through php help sites trying to figure out way to add a button in the admin section. I guess the only way I can do this is by getting my hands dirty and just start experimenting with php code and XOOPS. Good learning experience.

But before I start the hacking and mod'ing, I will use the "zyspec" method as a tempo fix.

THANK YOU zyspec and XOOPS



22
TopKnot
Help to switch 2 lines of code on the fly
  • 2007/3/8 12:51

  • TopKnot

  • Just popping in

  • Posts: 70

  • Since: 2005/9/27


The Wish:
Create a switchable (On/OFF) button that will change change two lines of code.

What the button will accomplish:
Allow "Tinyeditor" to be turned on and off as the default editor.

File that Needs to be Modified:
class/xoopsform/formdhtmltextarea.php

I have to manually change this file everytime I want to use TinyEditor in most modules and block. The problem is, I don't wish to give "users" the ability of use "TinyEditor". Just me...the Admin.

Section of Code that is Involved:
Around line 72-74 of formdhtmltextarea.php

Code from formdhtmltextarea.php:

/*var $htmlEditor = array();*/


var $htmlEditor = array( 'XoopsFormTinyeditorTextArea', '/class/xoopseditor/tinyeditor/formtinyeditortextarea.php' );

Explanation of the Code:
As you can see, one line is commented out and one line is NOT commented out.

What I Would Like Help With:
Creating a button somewhere in the Adin Section of my XOOPS Site that would in effect:
When Selecting the "Off" button, it would Comment out:

var $htmlEditor = array( 'XoopsFormTinyeditorTextArea', '/class/xoopseditor/tinyeditor/formtinyeditortextarea.php' );

AND "uncomment" out:

/*var $htmlEditor = array();*/

Questions:
1. Is this something that can easily be accomplished with php coding by a novice php person?
2. Can some point me in the right direction or some documentation so I can figure out how to do this?



23
TopKnot
Re: Formulaire Module Change module index page code- Solved
  • 2007/2/19 4:23

  • TopKnot

  • Just popping in

  • Posts: 70

  • Since: 2005/9/27


OK...I'm a moron. Considering I thought I looked through every peice of code I decided to try a "Find" using Dreamweaver and found the place to change the word "Formulaire".

It can be found at:
modules/formualaire/include/functions.php
Look for line 187 or there abouts and change the word Formulaire to whatever you wish.



24
TopKnot
Formulaire Module Change module index page code
  • 2007/2/19 3:42

  • TopKnot

  • Just popping in

  • Posts: 70

  • Since: 2005/9/27


I'm using the Formulaire module for my Contact Us module. The word "Formulaire" is currently the Forms block title. I would like to change the block title to something easily understood. It would probably be easier to take a look at the site to see what I mean. Go to:
SumterSubdivisions.Com

Just above the "form" titled "Contact Us Today" is the word "Formulaire". That is what I would like to change.

I have gone through every bit of code in the module and have come up empty as to where to change this wording. Can anyone help?



25
TopKnot
Re: Frameworks and Xoopseditor, wha happen?
  • 2007/2/3 3:36

  • TopKnot

  • Just popping in

  • Posts: 70

  • Since: 2005/9/27


I think the WordPress modules requires it (2.0.5) and now that I think about it phppp is the dev for this module! Sorry my post was a waste of electrons



26
TopKnot
Cannot Install Article 1.0 Module
  • 2007/1/16 0:16

  • TopKnot

  • Just popping in

  • Posts: 70

  • Since: 2005/9/27


I have downloaded, unzipped and uploaded the Article 1.0 module to my server. Here is the symptoms and what I did:

1. Uploaded Article 1.0 Module to my server. Got the module from:
http://dev.xoops.org/modules/xfmod/project/showfiles.php?group_id=1304

2. Downloaded the Framework and xoopseditor modules. Unzipped and uploaded to my server.

3. When I go to the XOOPS Admin Panel of my website, all of the uninstalled modules no longer show. I usually have 4-5 uninstalled modules on the server.

4. I removed the Article 1.0, framework and xoopseditor modules from my server.

5. All of uninstalled modules show up in my XOOPS Admin Panel once all traces of the Article 1.0 are gone from the server.

6. Uploaded another module (CatAds) to my server and to see if maybe something was corrupt. CatAds and all my other uninstalled modules show up just fine on my XOOPS Admin Panel.

7. Uploaded a second copy of Article 1.0 and had the same results. All of my uninstalled modules disappeared again....then deleted the Article 1.0 files from my server.

8. Tried uploading another fresh copy of Article 1.0 that was freshly downloaded and upzipped. Again, Article 1.0 and all my other uninstalled modles no longer show in the XOOPS Admin Panel.

9. Removed all Article 1.0 files from my server and all uninstalled modules show up again.

I'm pretty sure with all the testing I did, Article 1.0 module is the problem.

XOOPS 2.0.16
PHP 4.4.4

Any thoughts?



27
TopKnot
Re: MultiMenu Current Version
  • 2007/1/9 6:52

  • TopKnot

  • Just popping in

  • Posts: 70

  • Since: 2005/9/27


Thanks! Looks like 1.8.2 is the most current version of the MultiMenu module.



28
TopKnot
Upgraded from 2.0.10 tp 2.0.16 - Excellent
  • 2007/1/8 23:48

  • TopKnot

  • Just popping in

  • Posts: 70

  • Since: 2005/9/27


I had an old personal XOOPS website that I haven't used much and didn't care much about. I decided to reactivate the website and upgrade it.

I have to admit, I didn't think that the upgrade would go smoothly as would have to upgrade 3 times to get to the most current (2.0.16) version. Well, the upgrade went very well and I'm on my way to learning the newest features of 2.0.16.

This upgrade was just a testing site to upgrade a 2.0.13 production site. I wanted to see how it all work.

I want to thanks all the folks that put in hours and hours of work to make XOOPS a great hunk of software and great CMS. You rock!




29
TopKnot
MultiMenu Current Version
  • 2007/1/8 23:36

  • TopKnot

  • Just popping in

  • Posts: 70

  • Since: 2005/9/27


I hate to ask this question but...

What is the most current version of the MultiMenu module?

I searched the Module Repository and found the 1.74 version was available for download. Then I read the "Comments" under MultiMenu and there there is a post that has a link for version 1.8 I down loaded Multimenu from that site and it appears that it is version 1.82. Or it might be version 2.0 or 2.2.

Where can I download the most current MultiMenu module?



30
TopKnot
Re: Site gone blank!
  • 2006/12/22 12:25

  • TopKnot

  • Just popping in

  • Posts: 70

  • Since: 2005/9/27


I have no solution to your problem! But I just had the same problem you did. It was on a fresh install of XOOPS 2.0.15 -> 2.0.16 I then added the following Modules:
1. SmartBlocks
2. SmartProfile
3. MxDirectory
4. News 1.51
5. Smart Object
6. Smart Section
7. WordPress Blog
8. Smart Object

I then added 3 new Themes called:
1. Flash-Test
2. Flower
3. Scratchy

I added all of the above modules gradually through a 6 hour period, testing each one. The following modules did not work:
1. WordPress...think this was the problem module but cannot confirm. Warnings right after install with database problems is what I remember the problem was.
2. Smart Profile. Cannot remember what the problem was.

I was working on adding a bunch of Categories/Subcategories on MxDirectory when I got the "Blank Screen of Death" just as explain in this thread.

I uninstalled each module...one at a time through my Control Panel. Nothing helped at all. So Uninstalled XOOPS completely.

Just tought I'd throw my experience with my latest XOOPS install. Maybe there is a bug or maybe not.

I just did a fresh install of XOOPS 2.0.16 and have the following modules working: MxDirectory 3.0RC1 with about 50 Categories/Subcategories. I'm not having any problems with this install.




TopTop
« 1 2 (3) 4 5 6 »



Login

Who's Online

235 user(s) are online (148 user(s) are browsing Support Forums)


Members: 0


Guests: 235


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits