211
ladon
Re: ? = how to put advert banner below wf-Channel start page?
  • 2004/3/6 20:51

  • ladon

  • Quite a regular

  • Posts: 284

  • Since: 2003/10/31


He's using the tigra menu. It's not a module. At least not yet I believe. I do know someone is working on it. You can download the menu here. Good luck



212
ladon
Re: ? = how to put advert banner below wf-Channel start page?
  • 2004/3/6 2:06

  • ladon

  • Quite a regular

  • Posts: 284

  • Since: 2003/10/31


Hi, I installed wfchannel to take al look and figured out the following:

note: this way you install the banner within wfchannel defaultpage and there's no need for extra blocks!

Since you have the page where you want the banner to appear as your wfchannel default page, you can use some of the smarty code used in wfchannel the reach your goal. I tried the following and it seemed to work:

(for this you have to be using a template other then the default)
- go to templates
- go to wfchannel
- click on modify wfchannel_index.html
- insert the following code at the bottom:

<{if $article.isdefaultpage == 1}><br>
<
center><{$xoops_banner}></center>
<{/if}>

This way it will only show the banner on the default page! I hope this will work for you. Good luck with your site



213
ladon
Re: where can i find xoops smarty's variables?
  • 2004/3/2 17:03

  • ladon

  • Quite a regular

  • Posts: 284

  • Since: 2003/10/31


I just took a look at that so i had already figured that out, thanks for the information anyways. I guess i'll be able to figure out what all of them do.

As soon as I've got some real time on my hands I'll start working on it. I'll make sure to divide them into global and module variables. I'll only make a list off all variables which are either global or official XOOPS module variables.

I think i'll list it like this:
modulename
page/filename.php (or template/block files to be used in)
variablename
function explained

Seems ok like that? I don't have a lot of time on my hands so don't expect me to work on this real soon. I'll do my best though.



214
ladon
Re: where can i find xoops smarty's variables?
  • 2004/3/2 14:34

  • ladon

  • Quite a regular

  • Posts: 284

  • Since: 2003/10/31


Does anyone know if there are plans to make this list? I'm willing to make such a list if only someone could give me some directions on how to find all of them (Which files to check other then turing on smarty debug).

I think it will be very usefull to make such a list and put it on the wiki because I've seen this question before.



215
ladon
Re: Adding blocks in news module
  • 2004/1/14 18:53

  • ladon

  • Quite a regular

  • Posts: 284

  • Since: 2003/10/31


Well, thats just me, I always forget those kind of little things. Thank you very much, it's working now!



216
ladon
Adding blocks in news module
  • 2004/1/14 18:43

  • ladon

  • Quite a regular

  • Posts: 284

  • Since: 2003/10/31


I’ve been trying to add a block to the news module. Unfortunately I haven’t been very successful at it. I’ve read the wikki on this matter but it didn’t help me. The goal for this block is showing latest news by category. Eventually I want to be able to create several blocks to show latest news from various category’s.

Here’s what I’ve done so far:
I created a html file in ..\modules\news\templates\blocks (basically a copy of the “news_block_new.html”). I Created a PHP file in ..\modules\news\blocks. basically a copy of the “news_top.php”. I changed the SQL (edited SQL query to only show news from a specific topicid). Then I made changes in the xoops_version.php file (added block info).

Now I thought all I had to do was generate the block (html) in the template manager. Unfortunately after I tried to generate the block I received the following error:

Selected file does not exist)

I hope somebody can tell what it is I’m forgetting. Staring at my screen doesn’t seem to help Thank you



217
ladon
Re: mainfile.php - I did a BAD THING!
  • 2004/1/7 9:17

  • ladon

  • Quite a regular

  • Posts: 284

  • Since: 2003/10/31


Actually nothing seems lost. Assuming you didn't make any changes to the mainfile before you overwrote it.

Just take the copy from the XOOPS download and take out the mainfile.php and fill in the data. (database name, user name, etc.) that's all.

[edit]
O that's right, there's a .dist file, that's even easyer!
[/edit]



218
ladon
Re: Problems: block order and flat/nested forum post display
  • 2003/12/17 22:49

  • ladon

  • Quite a regular

  • Posts: 284

  • Since: 2003/10/31


Blocks always apear above the default module in the first page. I don't know how to change this, hope someone here does.

I also want to change form nested to another view. There seems to be no setting for this, except in the users profile. So I'd also like to know, how is this done for the entirer system?

Sorry, i'm not a lot of help, just have the same questions as you



219
ladon
Re: hack needed?
  • 2003/12/15 12:46

  • ladon

  • Quite a regular

  • Posts: 284

  • Since: 2003/10/31


ok, thank you for the replys, i'll take another look at comments_view.php when i'm home from work :(



220
ladon
Re: hack needed?
  • 2003/12/15 7:33

  • ladon

  • Quite a regular

  • Posts: 284

  • Since: 2003/10/31


Ty, I actually found it there to, but the strange thing is, it seems to make up the links behind the buttons which are displayed in a comment. So mayby i was wrong about <{$commentsnav}>. Mayby I have to look somewhere else.

I don't need most of those buttons in the table (see previous posts) I only need to know how te create a new "post comment buttons, so I can place it somewhere else. Mayby someone could help me with that.




TopTop
« 1 ... 19 20 21 (22) 23 24 »



Login

Who's Online

157 user(s) are online (96 user(s) are browsing Support Forums)


Members: 0


Guests: 157


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