1
juanjo
Re: Add custom block in Xoops2.2.3 Final
  • 2006/6/30 7:30

  • juanjo

  • Just popping in

  • Posts: 18

  • Since: 2005/3/20


Great!
Maybe 'cause I had language folder from previous XOOPS version Custom block didn't appear with that name, but with the '_MI_SYSTEM_...' tag.
Thanks a lot!
Juanjo



2
juanjo
Add custom block in Xoops2.2.3 Final
  • 2006/6/29 13:53

  • juanjo

  • Just popping in

  • Posts: 18

  • Since: 2005/3/20


Hi all xoopsers,
In versions previous to this one, you could add a custom block by yourself by means of a button that said "Add a Custom Block".
However, in version 2.2.3 Final I don't find any way of creating a new block easily by hand (I can access all predefined-by-modules blocks, but I can't create a new one).
Is there a new way for creating a block, that I have skipped? If that is the case, it could be added to the documentation for XOOPS usage as it is not mentioned there. If that is not the case, is there a turn around I could use?
Thanks in advance,
Juanjo



3
juanjo
Inserting custom blocks in custom pages... or something similar
  • 2006/5/5 11:40

  • juanjo

  • Just popping in

  • Posts: 18

  • Since: 2005/3/20


Hi all xoopers!
I thought I had asked this some months ago and I have had it in mind but let's see if there is a possible answear to my question.
I have created a web page with news (news module), a calendar (extcal) and pictures (myalbum).
I have news , events and pics about, let's say baseball and trips.
Both types of activities are quite independent, but I want a module for all (in the example both) activities, so I can show "any" news in a spotlight block in the main page.

I would like to create an access to each activity, so I could display in a webpage the recent contents with pictures about baseball, the next events about baseball and also the last news about baseball. In another webpage I would put just the same about trips. I have categories created for each one.
Do you have any idea how I could implement all these things in xoops? Is there a general way so I do not need to create a very explicit content but just refer to the categories I need to load in a webpage?

Thank you very much in advance,
Juanjo

PS: I would not mind about coding if that was necessary to create what I need. I do not have much idea about smarty but do not have any problems with php/mysql.



4
juanjo
Re: Fatal Error when calling load()
  • 2006/3/31 16:28

  • juanjo

  • Just popping in

  • Posts: 18

  • Since: 2005/3/20


Hummm,
I spoke too soon. I've just seen the next lines where TEST is replaced by the real content of the block. However, it looks like wiwimod is not getting the info about my block, dunno what's going on...
Thanks anyway and sorry about my overwhelming last message,
Juan



5
juanjo
Re: Fatal Error when calling load()
  • 2006/3/31 16:25

  • juanjo

  • Just popping in

  • Posts: 18

  • Since: 2005/3/20


How come this is from some months ago and there is this line??? :
$block_info = array('content' => "TEST");

Guess that if the content is TEST, then there is no block!!
I'm sorry if I should have found out, but in wiwimod 0.83 there is no modification nor any explanation about how to get this to work by yourself...

I'd be glad if the code was reposted ok (BTW I'm looking into it, let's see if I get it to work...)

Good luck in our CMS experience to all!!
Juan



6
juanjo
How to call a block from a page
  • 2006/3/30 14:13

  • juanjo

  • Just popping in

  • Posts: 18

  • Since: 2005/3/20


Hi everybody,
Since my last posts (some months ago) I have been getting more and more into the structure of xoops: modules, blocks, design, etc.
Up to now I have already been able to modify templates, and get into the XOOPS code for making translations, etc.
I have a new question now for which I don't have a clue.

My aim is displaying a customized block for some wiwi page I have created by means of wiwimod. Let's say that there are different activities I speak about (Baseball, Football, Basketball). I have created a wiwipage with an intro about Baseball, another one for Football, another one for Basketball and another one for an introduction about my website. I also have a news module that has 'latest news' that is superb.

I would like to 'call' (don't know whether this is possible at all) 'last news' from the Baseball wiwipage (just showing the most important baseball news that exist). I would like to do the same thing for the other activities and have no block in the introduction about my website page.

Is this doable? How could I 'call' or show the latest news about each sport in each of the pages I want to show information about?

I hope this is not a too tough / too easy question...

Thanks in advance,
Juan



7
juanjo
Re: Template hacking for News, first attemp
  • 2005/5/10 10:41

  • juanjo

  • Just popping in

  • Posts: 18

  • Since: 2005/3/20


OK. I've found Spotlight!! Thank you very much jdseymour. I didn't think it was so early... It's nearly 12'00 here... :P but I didn't have in mind there's the 'jet-lag' hehehe
Now one more question. I've selected that Spotlight. I see one only article as Spotlight. Could I choose more than one article for Spotlight? Maybe I should have to change the template of the block...?
Thanks again! I hope that I'll be able to understand XOOPS more completely and begin programming for XOOPS soon!



8
juanjo
Re: Show a block ONLY in the main page...
  • 2005/5/10 9:44

  • juanjo

  • Just popping in

  • Posts: 18

  • Since: 2005/3/20


Ok. I'll give it another look as I have already the News 1.3(1) module already installed. The only problem is I don't have a Spotlight block in my News module or anything simmilar...
Thanks anyway. Now I see that I am missing something clearly. Don't still know what but I know I'm nearer than before! :)



9
juanjo
Re: Show a block ONLY in the main page...
  • 2005/5/10 8:58

  • juanjo

  • Just popping in

  • Posts: 18

  • Since: 2005/3/20


But... there is no bloc with all the news, as when I define News as my Home Page module...
I'd like to show some news in the home page.
I have tried the 'Recent Articles' block but it will only show the articles one per line without photographs or anything... :P
AFAIK there is no block that shows the articles as what you see in the News module main page (I think it is the modules/news/index.php)
Any help will be greatly appreciated (maybe it is so clear I don't see it... :'(



10
juanjo
Re: Template hacking for News, first attemp
  • 2005/5/10 8:48

  • juanjo

  • Just popping in

  • Posts: 18

  • Since: 2005/3/20


Arghhhhh! So... Should I see a block defined for being visible in the TopPage ONLY in the TopPage????
How strange!! That is what I thought that should happen BUT when I say that I want a block visible in the TopPage it does also appear in the module that I have defined as the Home Page module (maybe it is just sound, but I do not see that so clear at all...).
So what I want is displaying that module (displaying the news) in the HomePage and having also the Welcome block BUT I don't want to see the welcome block when I read an article, or navigate through the topics in the News...
I hope it is clearer now...




TopTop
(1) 2 »



Login

Who's Online

166 user(s) are online (93 user(s) are browsing Support Forums)


Members: 0


Guests: 166


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