111
Ace_Armstrong
Re: Re-ordering sections on WF-Section menu block

Quote:

csloh wrote:
If you check the ADMIN for WF-Section, you will find a "WEIGHT MANAGEMENT" menu to do what you want. You can weighed the menu item, as well as the submenu items.

I am using WFSection 1.01.


That works for the main index page, but it doesn't affect how they are displayed in the menu block. I think I'm going to have to hack something to accomplish this, but I'm not sure which fiel to even look at. I'm not much of a PHP scripter.



112
Ace_Armstrong
Re: Bulleted Lists

Excellent! Very helpful. Thanks!



113
Ace_Armstrong
Re: Security fix of Agenda-X - No Panic needed - Just apply fix

Ya know, GIJOE, it's not the fact that you pointed out a security flaw in what was an unnecessarily abrasive manner that's the real problem. The problem is that it seems every other post of yours is some kind of disparaging remark about wjue or his modules, or some kind of unnecessary (and frankly immature) bravado about how you (for some unfathomable reason) think your modules are the end-all be-all of programming. It's your overall attitude that's making people see you as the villain, not this isolated incident.

Your attitude has historically been one that has been extremely negative, and your attitude--more than any security flaw in some module--is what is destructive to this project. I don't know if you have some kind of personal issue with wjue, or just an overinflated ego, or what, but you really need to get over it and start being a team player. A little maturity will go a long ways.



114
Ace_Armstrong
Re: How change the main page ?

Quote:

jeanblu wrote:
Hello, I'm new to XOOPS world and have some questions.
How can I change the main page? For example, by default, the login form is upper then the user Menu. How can I change this?


This is a function of the theme you are using and/or the way your blocks are set up. Probably the easiest way (assuming you're using the standard login block) is to change the location of the block under the administration menu. (It will be under "SYSTEM".) You can change the column in which the block appears, as well as the "weight" of the block. (The lower the weight, the further up the page it appears. So a block set with the weight at "1" will appear above a block with a weight set to "2" and so on.)


Quote:

Other question. I have a webAlbum in a subfolder of Xoops.. how can I put a link in the User Menu to this page?


You probably can, but this would involve editing the User Menu block, which you may not be up to doing yet.



115
Ace_Armstrong
Re-ordering sections on WF-Section menu block

I'm not sure I'm going to explain this coherently, but I'll give it a shot.

I am working on a site that would use WF-Section to highlight company services, and have direct links under a "Services" menu in the left column. (In other words, just give the WF-Section Menu block the name "Services" and make it visible in the left block.) We want the services to appear in a specific order, but they always seem to appear in alphabetical order.

For instance, if we wanted our menu to read as follows:

Copywriting
Technical Writing
Research
Other Services

It would, instead, display like this:

Copywriting
Other Services
Research
Technical Writing

Does anyone know a way to get the menu items to display either by weight or in the order in which they were created?

Thanks!



116
Ace_Armstrong
Re: Bulleted Lists

It came close to working. That was similar to what I had. I discovered, though, that I had to put a 24px left padding on the list to make it work. No idea why, but that seemed to do it.

Thanks!



117
Ace_Armstrong
Re: startup module

I don't know the exact code you would use, but perhaps my suggestion will spark someone to throw it together for you. (I simply don't know enough about the syntax to do it.)

Basically, you can do it by modifying your "theme.html" file to include various "if" subsections. For instance, one of the things I like to do with my themes is create a line along the top that tells the user what account (s)he is logged in underm and if it's the wrong account (for instance, the person's roommate was on and forgot to log off) they can log out. The code looks like this:

Quote:
<{if $xoops_isuser}>
<TABLE WIDTH=100% BORDER=1 BORDERCOLOR=BLACK>
<TR>
<TD align=center valign=center>
<DIV CLASS="UserLoggedIn">
You are currently logged in as <a href="<{$xoops_url}>/user.php"><{$xoops_uname}></a>. &nbsp;&nbsp;&nbsp;
[ <a href="<{$xoops_url}>/user.php?op=logout"><font color=red><B>I am not <{$xoops_uname}></B></font></A> ]
</DIV>

</TD>
</TR>
</TABLE>
<{/if}>


Note that this makes the HTML inside the "if" statement display to any registered user and not display for users who have not logged in.

That much I can do, and I can tell you there must be a XOOPS variable that applies to the groups (it's probably a numeric value), but I don't know enough about the internal workings of XOOPS to be able to script it out for you.

My guess would be that your end code would look something like this:

Quote:


<{if $xoops_userlevel==1}>
<P>
You are a Registered User!
</P>
<{/if}>

<{if $xoops_userlevel==2}>
<P>
You are a Preferred User!
</P>
<{/if}>



To put it on the front page only, you would need to enclose the whole thing in this IF statement:

Quote:


<{if $SCRIPT_NAME == "index.php"}>

[ THE CODE FROM ABOVE WOULD GO HERE ]

<{/if}>



Again, that's just a guess. I just made up the "$xoops_userlevel" variable; I don't know what the actual name is (or even if it exists), and I don't know enough about PHP to tell you if I even have the syntax of the IF statement set up properly. Like I said, I'm just offering a strategy and not the actual code.

Is that (marginally) helpful?



118
Ace_Armstrong
Re: XF-Section

*bump*



119
Ace_Armstrong
Re: XF-Section

Quote:

davardo wrote:
Yes this is taken from the Readme of the patched release that fixes the blank page problem.



I'm sorry...I guess I don't understand.

What is taken from the ReadMe file? I looked through the file and couldn't find anything on how to fix the problem.

???

Any help would be greatly appreciated. (Thanks, man!)



120
Ace_Armstrong
Re: XF-Section

Quote:

meme wrote:
sure you can


Well, theoretically, I guess. I installed it, but all I get is a blank page. I saw a comment that this can be fixed by using one of the PHP files from the previous version, but I can't find the previous version for download anywhere.

Any ideas on where I can find it, or failing that, how to just fix the existing file?




TopTop
« 1 ... 9 10 11 (12) 13 14 15 ... 22 »



Login

Who's Online

238 user(s) are online (145 user(s) are browsing Support Forums)


Members: 0


Guests: 238


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