41
JackJ
Re: Information above NEWS like xoops.org
  • 2004/9/23 16:28

  • JackJ

  • Community Support Member

  • Posts: 747

  • Since: 2003/8/31


I think he might want to know where to edit the theme, can be a bit tricky..

Most themes default to showing custom blocks at the top, Your theme.html might be set to show blocks below the modules, the code would need to be altered, which theme are you using and I might be able to help further?

See this thread here, although this one was for someone who wanted custom blocks below the modules, the principle is the same though:

https://xoops.org/modules/newbb/viewtopic.php?topic_id=22516&forum=7#forumpost107788

This code in theme.html is the code that determines where the custom blocks apppear:

<div id="content">
<{$xoops_contents}>
</div>



42
JackJ
Re: Alphabetical order
  • 2004/9/19 18:39

  • JackJ

  • Community Support Member

  • Posts: 747

  • Since: 2003/8/31


I don't know of any module that you could use to combine the two. But if it was me, I would use the new downloads module, it is very sophisticated and has blocks that can be used for the purposes you mention. you could say it is a content manager in itself, with many features, including alphabetical search

http://www.wf-projects.com/modules/wfdownloads/



43
JackJ
Re: Any good PHP Editors?
  • 2004/9/19 14:48

  • JackJ

  • Community Support Member

  • Posts: 747

  • Since: 2003/8/31


"Jane" is one I know of currently in beta, and free

http://www.seejanecode.com

Or Vim charityware

http://www.vim.org



44
JackJ
Re: template set manager problem
  • 2004/9/19 14:33

  • JackJ

  • Community Support Member

  • Posts: 747

  • Since: 2003/8/31


Themes are uploaded to yoursite.com/themes and the default theme set in general prefs.

The template manager is for templates that control the behaviours and look of individual blocks and modules. Most themes use the XOOPS default template, but some themes have their own templates included, see XOOPS for dummies and the "themes" section.

To edit the default template you need to clone it first,a bit about cloning is included



45
JackJ
Re: HELP!! Everything is blank.
  • 2004/9/19 14:22

  • JackJ

  • Community Support Member

  • Posts: 747

  • Since: 2003/8/31


For blank pages you need to switch on phpdebug in general preferences and paste the results here. See XOOPS for dummies and the "Trouble" section.


Check the themes are uploaded correctly to:

yoursite.com/themes

Sometimes when you unzip you get two folders i.e.

themename
themename(upload this one with the theme.html inside)

When you change themes to default in general preferences, you should also do this manualy by activating the "themes" block in system admin-blocks. (remember to also make your new theme selectable in general preferences, this makes it a selectable option in the themes block) XOOPS remembers the last theme you were using while you are logged in, whether you change the default theme in general preferences or not. Manually changing your default theme through the themes block changes your own personal default theme in the database.

Xoops also has a cache folder called templates_c, try clearing this out.




46
JackJ
Re: Center blocks and module content.
  • 2004/9/19 12:55

  • JackJ

  • Community Support Member

  • Posts: 747

  • Since: 2003/8/31


I think I was slightly out try this, look for:

<td id="centercolumn"> <div id="content"> <{$xoops_contents}>
<!-- Display center blocks if any -->

I tried this on mine, works ok:

Code:



<td id="leftcolumn">
<!-- Start left blocks loop -->
<{foreach item=block from=$xoops_lblocks}> <div class="<{cycle

values="blockTitle"}>"><{$block.title}></div>
<div class="blockContent"><{$block.content}></div>
<{/foreach}>
<!-- End left blocks loop -->
<br />
<br />
<img src="<{$xoops_imageurl}>images/160.gif" width="170"

height="1" alt="" />
</td>
<td id="centercolumn"> <div id="content"> <{$xoops_contents}>
<!-- Display center blocks if any -->

<{if $xoops_showcblock == 1}> </div> <table class="sadrzaj"

cellspacing="0">
<tr>
<td id="centerCcolumn" colspan="2">
<!-- Start center-center blocks loop -->
<{foreach item=block from=$xoops_ccblocks}> <table

align="center" cellpadding="0" cellspacing="2">
<tr>
<td> <div class="blockTitle"><{$block.title}></div>
<div class="blockContent"><{$block.content}></div></td>
</tr>
</table>
<{/foreach}>
<!-- End center-center blocks loop -->
</td>



47
JackJ
Re: Center blocks and module content.
  • 2004/9/19 4:14

  • JackJ

  • Community Support Member

  • Posts: 747

  • Since: 2003/8/31


I thought you were going to put the absense code in a center-center block?

all blocks you create will now appear below the page modules

Just create a custom block and make it visible in the forum module etc

paste the adsense html into your custom block

Custom blocks are created in the system admin -> blocks section.

remember to make the block visible to groups in system admin ->groups



48
JackJ
Re: Center blocks and module content.
  • 2004/9/19 3:04

  • JackJ

  • Community Support Member

  • Posts: 747

  • Since: 2003/8/31


Ok, look for this in theme.html:

<div id="content">
<{$xoops_contents}>
</div>

And move it here:



<td id="centercolumn">
<!-- Display center blocks if any -->
<{if $xoops_showcblock == 1}> <table class="sadrzaj"

cellspacing="0">

<tr>

<td id="centerCcolumn" colspan="2">
<div id="content">
<{$xoops_contents}>
</div>
<br />
<!-- Start center-center blocks loop -->



49
JackJ
Re: Center blocks and module content.
  • 2004/9/19 1:53

  • JackJ

  • Community Support Member

  • Posts: 747

  • Since: 2003/8/31


Hint:

In your themes theme.html file look for this:

<div class="content">
<{$xoops_contents}>
</div>

This should be placed before the:

<!-- Start center-center blocks loop -->

You will probably need to play around with the tags to get it to fit right depending on your theme.

If you tell us which theme you are using might be able to assist further..



50
JackJ
Re: No php include?
  • 2004/9/15 20:00

  • JackJ

  • Community Support Member

  • Posts: 747

  • Since: 2003/8/31


I just noticed you are trying to include a directory? You will need to include a file within the directory say an index.html or whatever..




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



Login

Who's Online

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


Members: 0


Guests: 199


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