41
wammes
Re: Dynamic Main Menu module sub options
  • 2004/12/21 16:02

  • wammes

  • Not too shy to talk

  • Posts: 101

  • Since: 2002/1/3 1


Aaah, I think I'm getting it. Still new to php coding .

I'll try and see if it works. Thanks!



42
wammes
Re: Dynamic Main Menu module sub options
  • 2004/12/21 15:07

  • wammes

  • Not too shy to talk

  • Posts: 101

  • Since: 2002/1/3 1


Nice, I was looking for this kind of functionality. I saw the edito module adding for each page a new link to the main menu with this code:
global $xoopsDB$xoopsUser$xoopsModuleConfig;
include_once (
XOOPS_ROOT_PATH "/modules/edito/include/functions_block.php");
$modversion['hasMain'] = 1;
$subcount ;
$group is_object($xoopsUser) ? $xoopsUser->getGroups() : array(XOOPS_GROUP_ANONYMOUS);
$sublinks $xoopsDB->query"SELECT Id_edito, subject, groups 
FROM "
.$xoopsDB->prefix("edito").
WHERE offline = 1 AND contents_nomain = 1
ORDER BY "
.edito_getmoduleoption('order')."") ;
if( 
$sublinks != false
{
    while(list( 
$Id_edito $subject $groups ) = $xoopsDB->fetchRow$sublinks )) 
    {
//    $groups = explode(" ",$sublinks['groups']);
    
$groups explode(" ",$groups);

        if (
count(array_intersect($group,$groups)) > 0)
        {
            
$modversion['sub'][$subcount]['name'] = $subject ;
            
$modversion['sub'][$subcount]['url'] = "edito.php?idedito=".$Id_edito."" ;
            
$subcount++ ;
        }
    }
}


So this means xoops_version.php is evaluated every time a page loads? Or should I call another function into my module code to update the main menu with the new xoops_version.php query results.

Thanks in advance!



43
wammes
Re: How to insert javascript menu into xoops theme ?
  • 2004/12/21 14:45

  • wammes

  • Not too shy to talk

  • Posts: 101

  • Since: 2002/1/3 1


Philou thanks for the link!
Sothink is indeed a very nice menu, but unfortunately it's not free.
I'm also looking for a nice menu like the sothink menu. Anybody else who can recommend me a menu (cross-browser) like the sothink menu that I can use for free?



44
wammes
Re: Sign in form hidden
  • 2004/12/21 11:25

  • wammes

  • Not too shy to talk

  • Posts: 101

  • Since: 2002/1/3 1


http://www.yoursite.com/admin.php

You can acces it when you are logged in with admin accesrights



45
wammes
Re: Module Admin No longer showing All/new Modules
  • 2004/12/19 20:43

  • wammes

  • Not too shy to talk

  • Posts: 101

  • Since: 2002/1/3 1


Maybe it's a browser or proxy thing. You might want to push your shift button when you click on reload in your browser. It gets the latest page then. Just a thought.....


Good luck!



46
wammes
Re: Where can i edit and ?
  • 2004/12/19 12:31

  • wammes

  • Not too shy to talk

  • Posts: 101

  • Since: 2002/1/3 1


If you just want to change the text displayes by these variables, you should check out the language files. There you can easily edit the text displayed by these variables. If you want to change the behaviour of the php code of these variables, I guess you should take a look in system_blocks.php in your module/system directory.


good luck :)



47
wammes
Re: about "Template",I lost a "Template"
  • 2004/12/15 16:18

  • wammes

  • Not too shy to talk

  • Posts: 101

  • Since: 2002/1/3 1


The reason why you can't see the operationmenu for the XOOPS default template set is because this template set is readonly for safety reasons.

You'll have to clone the default template set or upload a new set to modify it. I don't know why you cannot see your chinamu templates anymore. You can try updating your modules in the module admin section.
Otherwise you must have done something wrong. Did you click on the delete link ?

I hope you have a backup....



48
wammes
Re: Need help choosing a module
  • 2004/11/15 19:05

  • wammes

  • Not too shy to talk

  • Posts: 101

  • Since: 2002/1/3 1


@all: thank you for your replies, they really help me thinking things over.


@booga and @lance: I have only one subdomain, so that is not getting me there. I'd like to merge everyting into one site, so a multiple XOOPS installation is not really what I want. It's not only the content for each group apart, but the association itself also has content. With different sites everything is spread everywhere. That's not what I really want. I could clone the right module, that would solve the categorie thing. For each categorie I could create another clone of for example the edito module.

The edito module has in fact everything when I clone it several times. That could be a sollution.

@Mith: but then we have the classroom module. At first site it sees a bit odd with the directors and teachers. But a modification of some language files could do the trick. I think...

@carnuke: Haven't got the time to test the wordpress module. I'll try it later and let you guys know the result.


Thank you very much for your feedback. It helps me a lot!



49
wammes
Need help choosing a module
  • 2004/11/14 12:58

  • wammes

  • Not too shy to talk

  • Posts: 101

  • Since: 2002/1/3 1


Well, i'd like to do this in my XOOPS site:

It's for a boy- and girlscout association, we have different groups. Each group has their own childeren, so we have a group with the youngest childeren, older childeren, oldest childeren, etc.

For each of these groups I'd like to give some of my users the possibility to make a 'mini-homepage' on my XOOPS site. So they can introduce themselves, make custom pages with their own content, upload pictures, etc.

I've tried different modules (soapbox, tinycontent, wf-section), but they didn't gave me the feeling that those were the ideal modules for doing this.

Basically I need:
* categories
* possibility for a usergroup to add / modify different content in a certain category, maybe even divided into subcategories
* ease of use (people that need to edit the content aren't computerexperts)

Which module should I use?
Any suggestions would be great!

Thank you very much



50
wammes
Re:png transparency
  • 2004/11/8 19:30

  • wammes

  • Not too shy to talk

  • Posts: 101

  • Since: 2002/1/3 1


Thanks ackbarr the Javascript solution you pointed me out is the best solution I think.




TopTop
« 1 2 3 4 (5) 6 7 8 9 »



Login

Who's Online

263 user(s) are online (174 user(s) are browsing Support Forums)


Members: 0


Guests: 263


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