293511
kcnelson
Re: Adding Links in the Main Menu -
  • 2003/2/9 21:35

  • kcnelson

  • Just popping in

  • Posts: 4

  • Since: 2003/2/8 7


THANKS mktwain124!

This was the exact ticket I needed to get it up and working!

It is working like a charm now with the help of a little module template, it is great!




293512
HYMAN
Re: New avatars for download
  • 2003/2/9 19:30

  • HYMAN

  • Just popping in

  • Posts: 3

  • Since: 2003/2/9 1


No, I'm not talking about them. The avatars or icons that I'm talking; are NEW and came out the week the new XOOPS came out..



293513
sunsnapper
Re: New avatars for download

I think you might be talking about this:
Xoops Downloads: 1792 avatars



293514
HYMAN
New avatars for download
  • 2003/2/9 19:15

  • HYMAN

  • Just popping in

  • Posts: 3

  • Since: 2003/2/9 1


Hello, I saw a few days ego a link for downloading new avatars or icons for XOOPS 2.RC1 but for some reason I can't find the link or the article.. Can someone help me? please!!!



293515
mktwain124
Re: Adding Links in the Main Menu
  • 2003/2/9 17:08

  • mktwain124

  • Just popping in

  • Posts: 44

  • Since: 2002/9/27


thanks, sitekeep...I forgot to include that part.

To summarize the procedure, clone the default theme with Admin Theme Manager ["Themes"]. In the Templates column of your cloned theme, click on System [LIST(22)], click on edit for system_block_mainmenu.html and add one of the following scripts either before the tag which puts your links before the regular menu items or after the tag which puts them at the bottom of the menu block:

[size=small]

  <
tr>
    <
td id="mainmenu">
      <
class="menuMain" href="<{$xoops_url}>/path_to_your_file">Link Titlea>
    td>
  tr>
 
 

  <
tr>
    <
td id="mainmenu">
      <
class="menuMain" href="foo.bar.com">Link Titlea>
    td>
  tr>
[/
size]





293516
kcnelson
Re: Adding Links in the Main Menu
  • 2003/2/9 17:06

  • kcnelson

  • Just popping in

  • Posts: 4

  • Since: 2003/2/8 7


I tried that - I believe I found an alternate by creating a rudimentary module system. Not what I wanted, but it at least creates the links in the same fashion as the main theme. For now, This will work.

Thanks for your help - If you know of any other fixes faster than this as my pages are already pre-assembled, let me know.



293517
Fireater
Re: A tip about Xoops 2's backend.php
  • 2003/2/9 12:55

  • Fireater

  • Friend of XOOPS

  • Posts: 65

  • Since: 2002/1/4 1


Thanks Mate!



293518
sitekeep
Re: Adding Links in the Main Menu
  • 2003/2/9 11:32

  • sitekeep

  • Just popping in

  • Posts: 12

  • Since: 2003/2/7 7


kcnelson,

Are you trying to edit the templates in the default theme? You cannot edit the default theme, clone it and then you will be able to edit the cloned theme.

I hope this helps....



293519
kcnelson
Re: Adding Links in the Main Menu
  • 2003/2/9 4:22

  • kcnelson

  • Just popping in

  • Posts: 4

  • Since: 2003/2/8 7


Hmmm...I get the idea now - thanks! However ----When I attempt to edit the template for my copy of the main menu, it only let's me view it (without a save option even in the pop up window). Also, after locating the file of:

system_block_mainmenu.html - Which I have located only in the directories of the system/templates and system/templates/blocks ...I attempted to do the change myself and it still doesn't want to add the items even after uploading it to the web site. The template file doesn't show the changes I made unless I am going into a different directory.

Could this be due to a permissions setting (I even chmod to 777 as a test).

In short, I want to create a menu using the exact same format that this site is using with the 'buttons' used exactly the same as they are here except with my own links of course. I am a complete novice when it comes to the smarty protocol so please forgive my ignorance.

Creating the secondary menu, or the menu with plain links is easy enough and I don't want to go there unless necessary.

X2 is the best I have seen yet after testing the 1.3 etc for a while. I have tried Postnuke, PHP nuke and others and this by far is blowing the doors off of them. I am planning on using this for a full site once the final release comes out.



293520
mktwain124
Re: Adding Links in the Main Menu
  • 2003/2/8 16:03

  • mktwain124

  • Just popping in

  • Posts: 44

  • Since: 2002/9/27


Quote:
w4z004 wrote:
add the html links to the template of the main menu.


This is perhaps the best feature of x2! In most cases, to change the visual presentation of a block, you will only need to modify [make a copy of the original template first ] the smarty template file for that block and not the x2 code itself. It's simpler to accomplish for non-PHP coders and it's safer-to assure compatibility with future upgrades. Great vision devs!







Login

Who's Online

510 user(s) are online (325 user(s) are browsing Support Forums)


Members: 0


Guests: 510


more...

Donat-O-Meter

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

Latest GitHub Commits