http://www.xoops.org/
Main Menu
Latest Articles
Popular Articles
   All Posts (AndyM)


« 1 ... 3 4 5 (6) 7 8 9 ... 14 »


Re: Article Category Page View
Webmaster
Joined:
2003/11/7 20:56
Group:
Webmasters
Registered Users
Posts: 137
Level : 10; EXP : 75
HP : 0 / 243
MP : 45 / 14615
Offline
OK, I'm not totally sure what you mean, but if I do read you right, you just want to show the categories on their own on the main index page?

If so, all you need do is change the "Index view type" from Flat to Threaded in th epreferences, this will change the view so that only categories are shown, until you click on a category name, which will then show the articles for that category.

Quote:

kapsat wrote:
just to be sure... is 0.27 the latest version?


Yes, that is the latest released version.

TTFN

Posted on: 2005/9/28 20:39
_________________
Andy Mills
E-mail: Open in new window
Transfer the post to other applications Transfer


Re: Remove line breaks using spaw in Articles
Webmaster
Joined:
2003/11/7 20:56
Group:
Webmasters
Registered Users
Posts: 137
Level : 10; EXP : 75
HP : 0 / 243
MP : 45 / 14615
Offline
It seems like you have the "Disable auto line breaks (should be ticked when using WYSIWYG editors)." display option unselected when you save the article.

This option should be used when using WYSIWYG editors such as SPAW, or HTML line breaks will be added for each carriage return...

Posted on: 2005/9/13 20:22
_________________
Andy Mills
E-mail: Open in new window
Transfer the post to other applications Transfer


Re: Cloneable
Webmaster
Joined:
2003/11/7 20:56
Group:
Webmasters
Registered Users
Posts: 137
Level : 10; EXP : 75
HP : 0 / 243
MP : 45 / 14615
Offline
Oh, I know what I had forgotten - the table names also have to be changed in the SQL code...

For example "articles_main" in:
$sql = ("SELECT * FROM " . $xoopsDB->prefix("articles_main") . " WHERE id=" . $id . " AND art_validated=1 AND art_showme=1 ORDER BY id LIMIT 1");

THese should be renamed to reflect the changes made in xoops_version.php and mysql.sql. The best thing would perhaps be to use a search and replace function in a text editor, as any file using the database will have at least one that will need to be changed.

I shall try and make future versions more "clone friendly".

Posted on: 2005/8/31 14:50
_________________
Andy Mills
E-mail: Open in new window
Transfer the post to other applications Transfer


Re: Edit Article link
Webmaster
Joined:
2003/11/7 20:56
Group:
Webmasters
Registered Users
Posts: 137
Level : 10; EXP : 75
HP : 0 / 243
MP : 45 / 14615
Offline
That is something that is planned for a future release, along with a delete link.

In fact, the print/edit/e-mail links will be changed to icons, similar to other modules.

Posted on: 2005/8/31 14:44
_________________
Andy Mills
E-mail: Open in new window
Transfer the post to other applications Transfer


Re: How do I get page titles for each event in AM Events?
Webmaster
Joined:
2003/11/7 20:56
Group:
Webmasters
Registered Users
Posts: 137
Level : 10; EXP : 75
HP : 0 / 243
MP : 45 / 14615
Offline
Well, this will be in the next release and will work in the same way as it does in Articles.

But, if you cannot wait (I don't know how long it'll be before the next version is released), add the following line on or around line 124 of index.php:

$xoopsTpl->assign('xoops_pagetitle'$amevent['event_name']);


Which should be between:

$amevent['event_country']     = country($myrow['event_country']);


And:

$xoopsTpl->append_by_ref('amevents'$amevent);

Posted on: 2005/8/30 13:33
_________________
Andy Mills
E-mail: Open in new window
Transfer the post to other applications Transfer


Re: Cloneable
Webmaster
Joined:
2003/11/7 20:56
Group:
Webmasters
Registered Users
Posts: 137
Level : 10; EXP : 75
HP : 0 / 243
MP : 45 / 14615
Offline
It should be - I believe I've removed all of the hard coded path names from the main files since I started it.

The main things to change are:

1) In "xoops_version.php" change "$modversion['dirname']" to reflect the new directory name, and change the three SQL table names "$modversion['tables']" so they will not clash with the default Articles install.

2) In sql/mysql.sql, change the table names to match those you chose in xoops_version.php

3) The only hard coded paths that should be left are in the blocks (these have to be hard coded, it seems), so the directory name should be changed in the four block files in the "blocks/" directory.

When I get chance, I will try cloning it and then write an article on how to do it...

Posted on: 2005/8/26 13:39
_________________
Andy Mills
E-mail: Open in new window
Transfer the post to other applications Transfer


Re: php issue
Webmaster
Joined:
2003/11/7 20:56
Group:
Webmasters
Registered Users
Posts: 137
Level : 10; EXP : 75
HP : 0 / 243
MP : 45 / 14615
Offline
No, so far it's only e107 that has shown any kind of problem, and searching google has brought very little in the way of clues.

I'm going to have another look today.

Posted on: 2005/8/26 13:19
_________________
Andy Mills
E-mail: Open in new window
Transfer the post to other applications Transfer


Re: Alphabetical
Webmaster
Joined:
2003/11/7 20:56
Group:
Webmasters
Registered Users
Posts: 137
Level : 10; EXP : 75
HP : 0 / 243
MP : 45 / 14615
Offline
I'll add those to the list for future versions.

Posted on: 2005/8/19 17:11
_________________
Andy Mills
E-mail: Open in new window
Transfer the post to other applications Transfer


Re: Spaw integration?
Webmaster
Joined:
2003/11/7 20:56
Group:
Webmasters
Registered Users
Posts: 137
Level : 10; EXP : 75
HP : 0 / 243
MP : 45 / 14615
Offline
Which module do you mean?

Articles already has Spaw integration, brief details on how to get Spaw and other WYSIWYG editors can be found here.

AM Events doesn't yet have this facility, but I am currently updating it and it will be able to use Spaw, etc., in the next release.

Posted on: 2005/8/19 16:30
_________________
Andy Mills
E-mail: Open in new window
Transfer the post to other applications Transfer


Re: not realy bugs ...
Webmaster
Joined:
2003/11/7 20:56
Group:
Webmasters
Registered Users
Posts: 137
Level : 10; EXP : 75
HP : 0 / 243
MP : 45 / 14615
Offline
Quote:
No, it is not the last selected, but always the first category. If I select a category (lets say ID:4) and then go back to index page it has ID:1


Hmm, I think we're getting our wires crossed somewhere...

Quote:
As for tags like [title][/title], I can't look at wf-sections as it seems they have chosen a function name that clashes with one in my AM-Events module, so it breaks XOOPS.


Quote:
It works like [pagebreak] but creates an index page like a table of content where the text in [title] tag is shown as a link to coresponding page (chapter, as [pagebreak] still can be used to break it in smaller parts). This way a big article could be organized as a book for easy browsing.
However, it is not a future I'm missing at the moment, because I have just a few short articles:)


I believe I know what you mean, it is something I have thought of for v2.

Quote:
While playing with module I also noticed that if I select empty category, the next buton is active and after selecting it it show "Articles 11 to 0 of 0", "Articles 21 to 0 of 0" and so on.


I have fixed this now. If there is only the one page of articles, the pagination links, etc., will not be shown at all.

Posted on: 2005/8/3 19:07
_________________
Andy Mills
E-mail: Open in new window
Transfer the post to other applications Transfer



 Top
« 1 ... 3 4 5 (6) 7 8 9 ... 14 »




Login
Username:

Password:

Remember me



Lost Password?

Register now!
Donate!
Please consider donating to help continued development of my XOOPs modules. Read more here.

Search
Advertisements
Copyright © 2001-2009 sirium.net