81
philroy
Re: How to "clone" Tiny Content
  • 2003/9/6 9:00

  • philroy

  • Friend of XOOPS

  • Posts: 107

  • Since: 2003/8/23


Help?? Sorry...there's been no response to the errors when cloning that I've posted and I'm desperate.

Phil



82
philroy
Re: How to "clone" Tiny Content
  • 2003/9/2 3:21

  • philroy

  • Friend of XOOPS

  • Posts: 107

  • Since: 2003/8/23


Hi there,

Thanks for that. I went through with Dreamweaver and hunted down each instance and replaced what was needed. It looks close, but still some bugs.

FYI...my module is to be called "sportsdraw"

1, 2, 3, 4....done

Quote:
5) Replace the necessary language constants in the language files


Not sure what you mean here?

Quote:
6) And most important, open xoops_version.php and replace the two instances of "_MI_DIR_NAME" for "_MI_MODULENAME_DIR_NAME". In fact, also make this replacement directory wide.


I could only find those two instances...no others. Point 7, of course I'll leave in the credits!

OK...back to point 6...I'm not sure if this is the right thing to do? When starting up Xoops, the first thing I notice is that the image/icon for this module isn't showing. Looking at the source code, I see the url listed as....

http://127.0.0.1/xoops/modules/_MI_SPORTSDRAW_DIR_NAME/images/logo.png

So maybe I misinterpretted what you meant in point 6?

Installing the module appears to work, but then you get it listed as "Module File for Not Found!", with a broken image and a version setting of '0'.....so I don't think it has worked.

I'm also not sure if the sql functions were actually carried out and if I was meant to update any sql?

Cheers,

Phil



83
philroy
Re: What's a block? (versus a 'section')
  • 2003/9/1 8:51

  • philroy

  • Friend of XOOPS

  • Posts: 107

  • Since: 2003/8/23


Quote:
1) You seem to have three content sections, each with several pages. I'd make three clones of Tiny Content and name them "About PNINS", "Events" and "Teams". Then I'd feed the content using Tiny Content's editor, in order to build the navigation block. An at the end, I'd put the three navigation blocks together to form the complete left menu. This way, you'll be able to edit every page using Tiny Content's built-in editor.


Hmm...any advice anyone on how to clone Tiny Content? It's not as easy as duplicating the folder as there are database conflicts, so I think I need to update HTML pages and MySQL in the module.

I posted on the site that Tiny Content comes from, but am yet to get a reply.

Phil



84
philroy
Re: What's a block? (versus a 'section')
  • 2003/8/30 5:09

  • philroy

  • Friend of XOOPS

  • Posts: 107

  • Since: 2003/8/23


Thank you so much! I thought the altering of the look and feel would be hard, but I've been getting into CSS recently and it's easy once you know how. Your advice adds to the content side of things and will get me going.

Cheers,

Phil



85
philroy
Re: What's a block? (versus a 'section')
  • 2003/8/30 2:38

  • philroy

  • Friend of XOOPS

  • Posts: 107

  • Since: 2003/8/23


Thanks.

OK, so I create a custom block which has my various sub headings. How do I then point those links to content that people can update?

If you want to see specifically what I mean, check out a work in progress...
http://www.superhost.co.nz/~intnrm/

I'm hacking into a theme to make XOOPS the back-end of this site ultimately (I'm working on a copy locally under OS X at the moment) and have got the header and left menu working.

So I create a custom block called "About PNINS" for example, then how do I link the smaller headings to pages?

Any idea how I can do a sort of bread-crumb effect under each link?

And, final question (yes, I've asked too much!)...any idea how I can pull one news item from a news section onto that area on the very first page called "Important News"?

Many thanks in advance for any advice.

Phil



86
philroy
What's a block? (versus a 'section')
  • 2003/8/29 12:03

  • philroy

  • Friend of XOOPS

  • Posts: 107

  • Since: 2003/8/23


Hi all,

I'm getting a bit confused. I can't quite figure out the difference between a block and a section.

If I wanted a heading in my menu that was not clickable...but then had 3 or 4 links under it to pages that have content, what would I use...a block or a section?

E.g....

Latest Stories
-- From overseas
-- From here

(where "From overseas" and "From here" would load content if you clicked on it)

I'm trying to understand how to shape the menu so that it has headings and sub-headings.

Or should I be using some sort of module??

Phil




TopTop
« 1 ... 6 7 8 (9)



Login

Who's Online

218 user(s) are online (155 user(s) are browsing Support Forums)


Members: 0


Guests: 218


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