41
bbgds
Re:Are multiple news modules possible?
  • 2004/10/15 19:48

  • bbgds

  • Just popping in

  • Posts: 93

  • Since: 2004/7/23


To all....

The reason why I think we need to clone is because we still want to be able to display recent news (like the recent news block) for each category seperately on our Front Page.

We also want to have a seperate page for each category listed in the main menu, or at least in a block like the main menu.

I don't know that I can get approval to too radically change the structure of our content.

The news 1.21 feature being able to post seperately in each category, or in each seperate mod is helpful. As is, I already have to post seperately in each page for some articles when they appear across multiple pages, so posting seperately in categories or mods isn't beyond reason.




42
bbgds
Re:Are multiple news modules possible?
  • 2004/10/15 19:43

  • bbgds

  • Just popping in

  • Posts: 93

  • Since: 2004/7/23


The news module used on this site is news 1.2.1 which is considered the latest stable release. It's available on the dev.xoops.org site.

It is not cloneable by default, there are many changes you have to make to acheive that, but it is doable.

Steps to take for each copy of news.
1.Change the name of the news folder, give it a unique name (lower case letters). i.e. example_news
2.Open xoops_version.php, change modversion['dirname'] = "example news";
3.In xoops_version.php, change the name of the sql tables to make them unique modversion['tables'][0]="example_stories"
4.Change the table names in sql/mysql.sql to the name you chose in xoops_version.php
5.Find all references to the tables in the news php files and change them to your new table names. Normally that looks something like xoopsDB->prefix("topics") or db->prefix("stories") etc.
6.Find all hard-coded url's using modules/news/ and change them to your new directory name... modules/example_news

There's 69 changes that need to be made for points 5 and 6 that I've found.

I also needed several versions of the news module. It's easier for the next copies because you can just search on your new name (e.g. example_) and change that.

Good luck!

Rowd

----

This is very helpful. I'll give it a try (If I ever get approval to go ahead.)



43
bbgds
Xoogle Search field
  • 2004/10/15 1:33

  • bbgds

  • Just popping in

  • Posts: 93

  • Since: 2004/7/23


Hello....

Does anybody using Xoogle know how to adjust the length of the text field in the Xoogle Search block?

I've looked into the block template, and there's nothing there to chage really, and I don't think there's anything in the admin.

The problem is that the field is extruding out past the column it's in in two of my themes, and it looks bad.

Please Advise....



44
bbgds
Re:Are multiple news modules possible?
  • 2004/10/14 7:41

  • bbgds

  • Just popping in

  • Posts: 93

  • Since: 2004/7/23


Ajuden....

I would be happy to send you a link, but this is the default News mod that came with my copy of Xoops. However, you can find News Mods in the Module Repository. (But I'm sure you already knew that - just trying to be overly-helpful.)



45
bbgds
Re:Are multiple news modules possible?
  • 2004/10/14 7:39

  • bbgds

  • Just popping in

  • Posts: 93

  • Since: 2004/7/23


I'm using News 1.1 currently on my own site.

I haven't started building the CauseNews site in XOOPS yet, so I haven't downloaded anything. I still have to get the go-ahead to do it.

Is News 1.2 the default that comes with 2.0.7.3? (I'm still running 2.0.7....



46
bbgds
Re: Are multiple news modules possible?
  • 2004/10/13 20:23

  • bbgds

  • Just popping in

  • Posts: 93

  • Since: 2004/7/23


I should be able to change table names easily enough in phpMyAdmin, but what file do I need to change in the module to update the table name it attempts to read from?



47
bbgds
Are multiple news modules possible?
  • 2004/10/13 0:26

  • bbgds

  • Just popping in

  • Posts: 93

  • Since: 2004/7/23


Hi Xoopies!

I manage and edit a News website:

http://www.causenews.com

I'm real dissatisfied with the CMS we use for the site. (I'll spare you the tirade, let's just say that it's crap - and we spent $5000 for it.)

I'm trying to convince my boss that XOOPS is the way to go - much faster and cleaner. But it's important to us that we keep close to the same layout format/organization that we have now. The only way I can figure to do that is to install a seperate news mod for each category of news. We also need to be able to post news across multiple categories.

I know that this could cause database tabling issues, however. I expect that multiple installs of the same mod would probably cause subsequent installs simply not to function as they attempt to read from the same table. Any way around this?

Please advise,



48
bbgds
Re:SnX-Weather block link problem - What could be the cause?
  • 2004/10/8 18:49

  • bbgds

  • Just popping in

  • Posts: 93

  • Since: 2004/7/23


Hi Snakes....

I was having trouble with SnX-Weather lining up properly in one of my themes, so I ran PHP debug. Here is what I found....
-----
Notice: Use of undefined constant _SnX_WEATHER_FORECAST - assumed '_SnX_WEATHER_FORECAST' in /home/christ/public_html/modules/snx_weather/blocks/block-SnX-Weather.php on line 112
-----
FYI. (BTW, thanks again for this module!)



49
bbgds
Re: Theme Mod with caching would be cool
  • 2004/10/7 1:17

  • bbgds

  • Just popping in

  • Posts: 93

  • Since: 2004/7/23


Got it. Thanks!

U DA MAN!



50
bbgds
Re: Theme Mod with caching would be cool
  • 2004/10/6 21:30

  • bbgds

  • Just popping in

  • Posts: 93

  • Since: 2004/7/23


Yeah, that was the one. I looked, but couldn't find it. Would you mind sending it to me? I think you've already got my email, but if not, let me know, and I'll PM it to you.

Yay!




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



Login

Who's Online

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


Members: 0


Guests: 238


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