Author |
Topic |
DavidRhodes
Senior Member
United Kingdom
1222 Posts |
Posted - 07 December 2003 : 13:52:01
|
Following on from v1.0
Additions Login Google Search Active Topics
Changes Topics in left/right columns are now ordered by last date edited decending
To upgrade from v1.0 replace admin_config_cms.asp replace portal.asp re-do changes to config.asp
Download here< |
The UK MkIVs Forum |
Edited by - DavidRhodes on 07 December 2003 14:18:29 |
|
aspwiz
Junior Member
250 Posts |
Posted - 07 December 2003 : 14:04:54
|
Nice touches David!!
Thanks.
As a little MOD to this MOD, I have put just before the main() function:-Dim TheCat, TheTitle
TheCat = CInt(Request.QueryString("CategoryID")) Just after this code in the DisplayCategories Function:-call StartTable(Width, rsCatList.Fields("CAT_TITLE").Value) I have put this:-If lCategoryID = TheCat then TheTitle = rsCatList.Fields("CAT_TITLE").Value And within the DisplayContentItem, I changed to use this code:-Response.Write formatStr(rsContent.Fields("CONT_BODY").Value) &"<br /><br />"& vbCrLf
Response.write "<a href=""portal.asp?CategoryID=" & TheCat & """>More " & TheTitle & " Articles</a><BR><BR>"
Response.write "Author: <a href=""pop_profile.asp?mode=display&id="& rsContent.Fields("CONT_AUTHOR").Value & """>"& getMemberName(rsContent.Fields("CONT_AUTHOR").Value) & "</a><br />" &_
"Posted: "& ChkDate(rsContent.Fields("CONT_DATE").Value, "</b>" ,true) &vbCrLf Now at the foot of each article, I get this:- More [category_name] Articles
This obviously links to more articles in the same category.
Just wondered if you would consider including that in the MOD!< |
Edited by - aspwiz on 07 December 2003 14:05:59 |
|
|
DavidRhodes
Senior Member
United Kingdom
1222 Posts |
Posted - 07 December 2003 : 14:11:59
|
Rob, that was meant to be in this, must have forgot it somewhere along the way
I'll get together a few more suggestions before making another release< |
The UK MkIVs Forum |
|
|
squad23
Starting Member
Netherlands
40 Posts |
Posted - 08 December 2003 : 14:18:23
|
Hi
i have a problem:
I installed the mod and added some content etc.
But i get an error
Error You must set a value for 'Homepage Content' in 'CMS Configuration' I'm new to this stuff so maybe this is some stupid fault of mine but can you help me ?< |
|
|
DavidRhodes
Senior Member
United Kingdom
1222 Posts |
Posted - 08 December 2003 : 14:50:50
|
Go to CMS Configuration in admin options and set some content for the Default Article< |
The UK MkIVs Forum |
|
|
squad23
Starting Member
Netherlands
40 Posts |
Posted - 08 December 2003 : 14:54:31
|
Thats the weird thing I did that
Everytime i go there the fields are blank< |
|
|
DavidRhodes
Senior Member
United Kingdom
1222 Posts |
Posted - 08 December 2003 : 15:48:07
|
have you added the required code to config.asp?< |
The UK MkIVs Forum |
|
|
squad23
Starting Member
Netherlands
40 Posts |
Posted - 08 December 2003 : 15:50:35
|
Yes i did
but when i do the database setup there does not stand tables allready exists (if i do it for the second time ). < |
|
|
Faizan
Average Member
United Kingdom
592 Posts |
Posted - 08 December 2003 : 16:05:30
|
This is very nice David. Thankyou for that...
< |
»Snitz Graphics
|
|
|
DavidRhodes
Senior Member
United Kingdom
1222 Posts |
Posted - 08 December 2003 : 16:20:59
|
quote: Originally posted by squad23
Yes i did
but when i do the database setup there does not stand tables allready exists (if i do it for the second time ).
Are any of the other values saving, eg. "Page Title" in "CMS Configuration"< |
The UK MkIVs Forum |
|
|
squad23
Starting Member
Netherlands
40 Posts |
Posted - 08 December 2003 : 16:26:20
|
no all the fields are blank when i return.< |
|
|
DavidRhodes
Senior Member
United Kingdom
1222 Posts |
Posted - 08 December 2003 : 17:17:19
|
squad23, double check you have made the additions to config.asp, that is the only way this can occur< |
The UK MkIVs Forum |
|
|
squad23
Starting Member
Netherlands
40 Posts |
Posted - 08 December 2003 : 17:37:02
|
Checked it and the problem was that i'm really dumb
I renamed the file to config.asp.asp
Don't know how
Thx for youre help
I love the mod!!! And hate myself < |
|
|
DavidRhodes
Senior Member
United Kingdom
1222 Posts |
Posted - 08 December 2003 : 18:21:07
|
no probs, have you got a link to your site, it will be useful as a demo. I haven't got a live demo of this mod myself< |
The UK MkIVs Forum |
|
|
squad23
Starting Member
Netherlands
40 Posts |
Posted - 09 December 2003 : 17:59:43
|
I don't think my site is suiteble but i have seen enough beutiful site's whit your mod so maybe someone else ? < |
|
|
DavidRhodes
Senior Member
United Kingdom
1222 Posts |
Posted - 11 December 2003 : 04:37:31
|
Post any suggestions/additions to this mod that you would like to see, next release will probably include: Print topic button on articles Send to friend button on articles Member in spotlight mod incorporated Slash mod incorporated< |
The UK MkIVs Forum |
|
|
Topic |
|