1
Jinxta
Need help with Modules
  • 2011/2/19 19:41

  • Jinxta

  • Just popping in

  • Posts: 6

  • Since: 2011/2/2 1


So this is my web : ---------- and I'm using Xoops 2.4.5 with the mdcone_v2 theme, this theme comes with some additional links like : Downloads, FAQ, Guestbook, Links and Contact.

Now my question is, which modules should I use for all those features I just mentioned or if there is a way for me to delete those links in case I don't need them.

Thanks in advance,

-Jinxta

2
Anonymous
Re: Need help with Modules
  • 2011/2/19 19:53

  • Anonymous

  • Posts: 0

  • Since:


Hi,

Those links are probably hard-coded into the theme's "theme.html" file.

You can edit them manually off-line then upload the edited file to replace the original.

You will need to go into Admin>Preferences>General Settings and set "Check for changes to templates" to "Yes" get the change to "take" on your site.

Switch the setting back to "No" when finished.

3
Jinxta
Re: Need help with Modules
  • 2011/2/19 20:50

  • Jinxta

  • Just popping in

  • Posts: 6

  • Since: 2011/2/2 1


I tried deleting those links on the .html file but then the whole theme gets screwed up

4
Jinxta
Re: Need help with Modules
  • 2011/2/19 20:53

  • Jinxta

  • Just popping in

  • Posts: 6

  • Since: 2011/2/2 1


It worked, thank you.

5
Anonymous
Re: Need help with Modules
  • 2011/2/19 20:54

  • Anonymous

  • Posts: 0

  • Since:


As a quick/dirty fix you could replace the words with the following code:

 


Whilst you find a more elegant solution.

If I have time I'll take a look but it won't be tonight (UK, GMT) as I have a date with Mrs V and bottle of Shiraz

6
Anonymous
Re: Need help with Modules
  • 2011/2/19 21:05

  • Anonymous

  • Posts: 0

  • Since:


I see you've got rid of some of the words and, as you've seen, the key paet of the code is:

<table height="20" border="0" cellpadding="0" cellspacing="0" class="balk2">
            <
tr>
                <
td id="buttons_boven"><a href="http://www.tktclan.com">HOME</a></td>
              <
td id="buttons_boven"><a href="http://www.tktclan.com/modules/newbb/">FORUMS</a></td>
            </
tr>
          </
table>


Do you want more buttons (I see you're not using a Main Menu block)? If so then add more "td" entries between the "tr" and "/tr" tags.

As the code is above, you have two "td" entries and each, by default, take up half the table row ("tr"). You could make it look better by centering the two buttons within the space that their "td" uses.

Try:

<table height="20" border="0" cellpadding="0" cellspacing="0" class="balk2">
            <
tr>
                <
td id="buttons_boven" align="center"><a href="http://www.tktclan.com">HOME</a></td>
              <
td id="buttons_boven" align="center"><a href="http://www.tktclan.com/modules/newbb/">FORUMS</a></td>
            </
tr>
          </
table>


use the align="center" code if you add other buttons.

HTH

7
Jinxta
Re: Need help with Modules
  • 2011/2/19 21:26

  • Jinxta

  • Just popping in

  • Posts: 6

  • Since: 2011/2/2 1


I would like to make it so the Forums link is next to the Home link, but have no clue on how to do it. Would love some help with that too if possible.

-Jinxta

8
Anonymous
Re: Need help with Modules
  • 2011/2/20 9:24

  • Anonymous

  • Posts: 0

  • Since:


What you have is one table row ("tr") containing two table cells ("td"). Each of the cells occupies half the width of the row.

So.........

1. to get them side-by-side in the centre of the row you could align the contents of the left cell to the right and the right cell to the left, i.e.

<table height="20" border="0" cellpadding="0" cellspacing="0" class="balk2">
            <
tr>
                <
td id="buttons_boven" align="right"><a href="http://www.tktclan.com">HOME</a></td>
              <
td id="buttons_boven" align="left"><a href="http://www.tktclan.com/modules/newbb/">FORUMS</a></td>
            </
tr>
          </
table>


2. there are lots of ways to get them side-by-side on the left of the row, but the easiest would be to have just one cell in the row, something like:

<table height="20" border="0" cellpadding="0" cellspacing="0" class="balk2">
            <
tr>
                <
td id="buttons_boven"><a href="http://www.tktclan.com">HOME</a>&nbsp;|&nbsp;<a href="http://www.tktclan.com/modules/newbb/">FORUMS</a></td>
            </
tr>
          </
table>


the

&nbsp;|&nbsp;


separates the words and adds a "|" character just for show. This isn't essential but might look nice

3. An alternative way to align them in the centre would combine the two methods above, i.e. one cell which is centre-aligned:

<table height="20" border="0" cellpadding="0" cellspacing="0" class="balk2">
            <
tr>
                <
td id="buttons_boven" align="center"><a href="http://www.tktclan.com">HOME</a>&nbsp;|&nbsp;<a href="http://www.tktclan.com/modules/newbb/">FORUMS</a></td>
            </
tr>
          </
table>


Hope this helps

Login

Who's Online

101 user(s) are online (83 user(s) are browsing Support Forums)


Members: 0


Guests: 101


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