21
chrometuna
Wordbook autolink problem
  • 2005/1/12 8:01

  • chrometuna

  • Just popping in

  • Posts: 67

  • Since: 2004/7/24


Hi, I cant seem to get autolinking to work on the wordbook module. (wordbook 1.0)

And Id also like to know if there has been an auto-linking module developed that would create autolinks on an entire site?

Cheers
tuna



22
chrometuna
Really dumb question, but I wanna be sure....
  • 2005/1/10 12:38

  • chrometuna

  • Just popping in

  • Posts: 67

  • Since: 2004/7/24


Quote:

carnuke wrote:
XSAS is real simple stuff and a fabulous way to experiment safely with xoops.

Have fun


I downloaded XSAS, and am now playing with it. You said it was simple stuff, but now I find that it has words and things that require reading.

So here is my dumb question....

When it says "http://localhost/a/phpMyAdmin/" that means it is on MY machine, right?

So are other people able to connect to me via this thing?

Cheers!
tuna



23
chrometuna
Re: xoops code blocks and smarty

Quote:

Mithrandir wrote:

Basic misconception there. Smarty code does not draw out any info at all. You will have to have some PHP code beneath it to draw the data from the database and "assign" it to Smarty, so it can be used in a Smarty template.

Look at the current WF-Section blocks by looking at the files in the modules/wfsection/blocks directory as well as modules/wfsection/templates/blocks - and how they are registered in modules/wfsection/xoops_version.php


OK, thanks for the nudge in that direction. I will go examine those files and see if my little brain can wrap around them for once.

What is the basic PHP code that would go queery the database?
As in, is there a simple easy to understand list of such code and commands that ijits like me could understand?

I *SHOULD* be able to figure this out just by looking at the blocks and templates, but my brain must be on vacation because it just isnt making sense to me.

Maybe Ive been smoking too much PHP?

Cheers
tuna



24
chrometuna
xoops code blocks and smarty
  • 2005/1/8 15:48

  • chrometuna

  • Just popping in

  • Posts: 67

  • Since: 2004/7/24


I am hoping that someone can help me out here, or give me a good push in the right direction....

I want to either modify, or build some blocks for my site.

But I am clueless here
I am using wfsection (Zmagazine version) for my news content.

Heres the code from the block that displays the sections articles (I think? Its hard to tell because block-naming is not consistant with whats used in the configuration or admin pages...some thing would be easier if terms where used consistantly throughout an entire module, or even all of xoops...such as "Topic" is NOT interchangable with "section"...but thats not what Im here to whine about today...)

<code><{foreach item=wfs from=$block.new}>
(<{$wfs.new}>) <a href="<{$xoops_url}>/modules/zmagazine/article.php?articleid=<{$wfs.id}>"><{$wfs.title}></a><br>
<{/foreach}></code>

So lets say I have four sections, and I want to make a block for EACH section (4 blocks) and in each block I want to display the four or five NEWEST articles from a section, with headlines (As links to the actual article) and the summeries to each of those articles.

These blocks will be either right or left center blocks.

So part of what I need is a list of the various smarty codes that will draw out the info that I want to display, and I need to know how to make the block display that info.

I am at a loss to figure this out on my own.

Cheers
tuna



25
chrometuna
Re: Module and block idea, any clues?
  • 2005/1/6 15:04

  • chrometuna

  • Just popping in

  • Posts: 67

  • Since: 2004/7/24


Quote:

carnuke wrote:
Iin theme.html, you would need to rearrange your existing blocks layout to match your design.

To do that, either create a table and place your blocks in cells accordingly, or use css to control blocks page positioning.

keep the smarty tags and names of all the blocks as they are, just move them where you want in your design.

use XSAS and give it a try.


It seems like I tried doing this, but it just didnt work out very well.
Part of the problem (and solution) is that none of the blocks really do what I want them to do as far as pulling info from the modules and displaying it the way I want it.

For example:
Left center collumn:
Big Story
Title
Summery

next story
Title
Summery

Next story
Title
summery

ETC

Right center collumn:
Top story section A
Title
Summery

Top story section B
Title
summery

ETC


Now I have been reading and experiementing for a while now, and am just as confuzed as ever.

what is the exact code I would use in a block to display an articles TITLE (headline)?

And what is the code to display that articles SUMMERY?

Lets say I am using Zmagazine as my news content module (Its basicly wf-section from what I understand)

I cant even figure out which blocks to edit because I cant figure out which blocks are doing what.

I am also trying to use spotlight, but its the same deal there...and it is all based around the news module, which I just dont like using.

Thanks a lot for your advice!
I will try XSAS just as soon as I figure out how to spell it.

Cheers!
ct



26
chrometuna
Module and block idea, any clues?
  • 2005/1/6 13:29

  • chrometuna

  • Just popping in

  • Posts: 67

  • Since: 2004/7/24


I just posted this in another area:

https://xoops.org/modules/newbb/viewtopic.php?topic_id=29511&start=0#forumpost129093

But I thought it should maybe be mentioned here as well.

What I am trying for is a block that does this:
http://www.topekadiy.com/pics/examplezmagblock.jpg

Opperating from the Zmagazine module or wf-sections.

Any thoughts?

Cheers
braindead tuna



27
chrometuna
Re: Theme and template idea, suggestions?
  • 2005/1/6 13:24

  • chrometuna

  • Just popping in

  • Posts: 67

  • Since: 2004/7/24


Thanks for your responses here!

I have begun doing some reading and trying to learn how to do what I want to do, but I am SO lost and confuzled!

The language/definitions used here are really confusing when it comes to what is a "block" and what is a "template", especially for those of us who are kinda dumb in the first place. Especially when we start ALSO talking about "themes". I think I understand the themes a bit better now, and have set about destroying and re-building someone elses theme (The "be_like" theme struck my fancy and I am currently ruining it, probably trying to get it to do things that a theme isnt meant to do)

Maybe what I *REALLY* need is a BLOCK that works with Zmagazine? (Or WF-section etc)

Is it possible to put a block within a block? Is it possible to have an admin module that allows one to edit block in a wysiwyg environment, so we can start making custom blocks to our hearts content?

And how could we do a hack that would allow a few more options in wf-section or Zmagazine that would allow to assign articles "wieght" (importance) AND to different sections/catagories? (And as a side note: It is a bit confusing to have "section" and "catagories" used inter-changably in these modules)

For example: I want 5 or 6 articles to appear in the "Top articles" block on the front page. But I ALSO want thse articles to appear in their own relevent section/catagory.
I COULD just assign those to a catagory/section called "Top articles", and have the block call them from there in whatever order I wieghted them.

But then I ALSO want a column of "spotlight" articles, the top article from each section, with a nifty picture/icon and a summery. And THEN links to each different section.

Perhaps the thing to do would be to build a "Front Page Display" module that basicly creats, edits and controls a front-page block, in a wysisyg environment, that gives a basic table lay-out, with the options to insert this info from that module here, and that info from this module there, and these small blocks over there, click a button and it scrambles to collect the info and inserts it into a block that is then nicely displayed on the front page (Or wherever it is called from)

Now, here is an example I drew up of what I hope to create with a custom block, that uses mostly the zmagazine (or wf-sections) module:
http://www.topekadiy.com/pics/examplezmagblock.jpg

I am also tempted to post this in the "modules requests" forum, but I dont wanna get flamed for cross-posting.

Any thought?

Cheers!
ct



28
chrometuna
Re: Them and template idea, suggestions?
  • 2005/1/5 16:44

  • chrometuna

  • Just popping in

  • Posts: 67

  • Since: 2004/7/24


Quote:

tjnemez wrote:
short of having someone do this for you, you will need to read XOOPS documentation and faqs.


I was afraid of that. I cannot read, and I do not know how to learn.

Having said that, I saw a post where someone else offered some moola to have a theme/template built for them...And they got flamed a little for it.

I was hoping that perhaps someone already had a similar theme (Someone here does a site 'www.gaining.mass.com' or something like that, a muscle-building/health site that had some of the basic elemental features I like) And maybe they could share their files?

Is that sort of thing done here?
Obviously people make themse and share them.

Any volunteers?

Cheers!
illiterate Tuna



29
chrometuna
Them and template idea, suggestions?
  • 2005/1/5 15:08

  • chrometuna

  • Just popping in

  • Posts: 67

  • Since: 2004/7/24


OK, I have looked around at a lot of different themes and things, but havnt found what I really want.

But on this site:
http://www.365gay.com

I really like the way the things are laid out on the front page.
I highly dount this is a XOOPS site, but I am sure that this could be done.

I need to know how to lay out my blocks so that I have this 4-collumn look: Navigation on the left, "main articles" in the left center, with summeries, then "spotlight" articles or sections on the right center with the three or four blocks with quotes and things below that, then another thin collumn with user menu, search etc on the far right.

I like how this is clean and smooth and very easy to look at and read.

Any help for a poor dumb Tuna like me?

Cheers
ct



30
chrometuna
Re: Odd issues with NewBB2 final

I am having the EXACT same problem!

Except I get this error message EVERY time I try to do anything.
None of my forums, catagories or posts are showing up at all.

I am ALSO getting:
NewbbForumHandler::getForums error::SELECT FROM xoops_bb_forums ORDER BY forum_order


Whats the deal with this? And how do I fix it?

Any help? Pretty please?

Cheers
ct




TopTop
« 1 2 (3) 4 5 6 »



Login

Who's Online

144 user(s) are online (89 user(s) are browsing Support Forums)


Members: 0


Guests: 144


more...

Donat-O-Meter

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

Latest GitHub Commits