1
vinit
Re: Horizontal main menu - need smarty help
  • 2007/10/2 8:49

  • vinit

  • Just can't stay away

  • Posts: 530

  • Since: 2004/1/10


@stefan: Thanks, i got it fixed :)

@Burnning: thanks, I got my own horizontal menu using mootools javascript with some effects, finally it came up very well :) and simple, sobber drop down menu.

All i need to do is, include a menu theme file, in the main theme file and voila the horizontal menu appears up :)
[size=xx-small].[/size]



2
vinit
Horizontal main menu - need smarty help
  • 2007/10/2 6:54

  • vinit

  • Just can't stay away

  • Posts: 530

  • Since: 2004/1/10


Hi,

I have tried to integrate the main menu into my template as default horizontal menu.

i used the same code as that of mainmenu in default template set

<div style="float: right; width: 100%">
        <
ul id="cssmenu">
                <
li><a  href="<{$xoops_url}>/" id="menu1" title="<{$block.lang_home}>"><{$block.lang_home}></a></li>
                <{foreach 
item=module from=$block.modules}>
                        <
li class="havechild">  <a  href="<{$xoops_url}>/modules/<{$module.directory}>/" id="menu-<{$module.name}>"><{$module.name}></a>
                                <
ul>
                                        <{foreach 
item=sublink from=$module.sublinks}>
                                                <
li >  <a  href="<{$sublink.url}>" id="menu-<{$sublink.name}>"><{$sublink.name}></a></li>
                                        <{/foreach}>
                                </
ul>
                        </
li>
                <{/foreach}>

        </
ul>
</
div>


Things came up very nice, now i wanted to disable the the main menu from showing up in any blocks, so i marked the mainmenu block as disabled. This resulted in disabling my custom code of menu in theme too...:(

So i want to know how can i disable the main menu showing up in any of the blocks, yet it is should be active so that i can see its results in custom horizontal menu.


This is how it looks like now
Resized Image


Any help would be appreciated.


Thanks
Vinit
[size=xx-small].[/size]



3
vinit
Re: Seperate Login Page
  • 2007/9/30 15:36

  • vinit

  • Just can't stay away

  • Posts: 530

  • Since: 2004/1/10


Thanks, searching on on on ...

This is where joomla has some good layouts menu presentation etc....Thinking of some method to port them here.
[size=xx-small].[/size]



4
vinit
Re: mxdirectory 3.01 RC1 blank page
  • 2007/9/30 12:06

  • vinit

  • Just can't stay away

  • Posts: 530

  • Since: 2004/1/10


Ok got this fixed. A very small change and now things working great :)

in mxdirectory/index.php line no 37
function add_header($tpl_source, &$xoopsTpl)
{
    return "<?php echo $xoops_module_header?>n".$tpl_source;
}




Added single quotes to $xoops_module_header, somehow this variable is getting null value resulting into a statement echo ; in final template for rendernation and there its getting crashed. so new code would look like this

function add_header($tpl_source, &$xoopsTpl)
{
    return "<?php echo '$xoops_module_header'?>n".$tpl_source;
}


Things working fine for me, i hope it does work good for you guys too...
[size=xx-small].[/size]



5
vinit
Re: Seperate Login Page
  • 2007/9/30 12:02

  • vinit

  • Just can't stay away

  • Posts: 530

  • Since: 2004/1/10


Thanks Marco, thats what i was looking for.

Other than this do you know how can i get main menu block in header bar? like an horizontal menu and submenus comming as drop down menu.
[size=xx-small].[/size]



6
vinit
Seperate Login Page
  • 2007/9/30 5:03

  • vinit

  • Just can't stay away

  • Posts: 530

  • Since: 2004/1/10


Hi,

I am trying to remove the login module for normal users that visit the site. Yet i need a login module/page for the content writers who can visit mysite.com/login.php and login themselves as well as it will help admin to get login.

How do i get this done, any ideas, clues or existing post would be very handy. Thanks

Vinit
[size=xx-small].[/size]



7
vinit
Seperate Login Page for Admin and no Login module on Main Page.
  • 2007/9/29 11:15

  • vinit

  • Just can't stay away

  • Posts: 530

  • Since: 2004/1/10


Hi,

I am trying to remove the login module from main page, i disabled the login module. Now how do i get a login page just for admin?

Right now it directs to main page, and once the login menu is disabled, there no way i can login as admin :(

any hack around for this ? I know i can activate it back from db, but what i am looking for is a separate page for admin login.

Basically the admin login page should be separate and it should not be primarily dependent on the main page. Most of the other cms has different page for admin login.



Thanks for help
[size=xx-small].[/size]



8
vinit
Re: mxdirectory 3.01 RC1 blank page
  • 2007/9/29 9:24

  • vinit

  • Just can't stay away

  • Posts: 530

  • Since: 2004/1/10


This one works fine with default theme, but doesn't work with morphogenesis based themes.

Also Following error are noticed in both default and morphogenesis based themes

Notice: Undefined index: 0 in file /modules/mxdirectory/include/functions.php line 278
Notice: Undefined offset: 0 in file /modules/mxdirectory/include/functions.php line 278
Notice: Undefined index: 0 in file /modules/mxdirectory/include/functions.php line 278
Notice: Undefined offset: 0 in file /modules/mxdirectory/include/functions.php line 278
Notice: Undefined index: 0 in file /modules/mxdirectory/include/functions.php line 278
Notice: Undefined offset: 0 in file /modules/mxdirectory/include/functions.php line 278


Any one got this going with morphogenesis based themes ?
[size=xx-small].[/size]



9
vinit
Re: Server Relocation : Parse Errors :(
  • 2006/1/21 5:13

  • vinit

  • Just can't stay away

  • Posts: 530

  • Since: 2004/1/10


Hi Dave,

Yes PHP version is 5.0.5 and i guess XOOPS is 2.0.7.3 series.
Is there any way to get it fixed, as i need to go through it urgently.

On the second thought it would be tough call to upgrade entire site now. Got over 20 modules etc and there are dozens of hack here and there too. :(

Anys suggestions to overcome the problem in hand.

Thanks
[size=xx-small].[/size]



10
vinit
Server Relocation : Parse Errors :(
  • 2006/1/20 12:56

  • vinit

  • Just can't stay away

  • Posts: 530

  • Since: 2004/1/10


Hi i am trying to relocate my XOOPS application from one server to other and facing with this problem. Any guess

Parse error: parse error, unexpected T_CLONE, expecting T_STRING in /home/user/public_html/html/kernel/object.php on line 528

This is what i have done.
1. created a db dump and loaded onto new server
2. created a tar.gz of html folder where XOOPS installtion is done on old server.
3. uploaded this tar.gz on new server and using cpanel unpacked it.
4. given chmod 757 to cache, templates_c and upload.
5. modifed the mainfile.php for new db data etc.

now when i visit mydomain.com/html i get the above error. Am i missing something while doing relocation.

this is what i see near line 528 in object.php

/**
* create a clone(copy) of the current object
*
* @access public
* @return object clone
*/
function &clone()
{
$class = get_class($this);
$clone = new $class();
foreach ($this->vars as $k => $v) {
$clone->assignVar($k, $v['value']);
}
// need this to notify the handler class that this is a newly created object
$clone->setNew();
return $clone;
}

Docs on the xoops.org says it might be due to file corruptions, but how to locate which file is corrupted if this is taken as truth

Thanks for support and your time.
[size=xx-small].[/size]




TopTop
(1) 2 3 4 ... 47 »



Login

Who's Online

176 user(s) are online (121 user(s) are browsing Support Forums)


Members: 0


Guests: 176


more...

Donat-O-Meter

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

Latest GitHub Commits