Search found 10 matches

by creep
Fri 22. Jul 2005, 11:46
Forum: hacks & enhancements
Topic: {TEASER_EX} Replacement tag v1.90 - 10.1.2007
Replies: 398
Views: 179381

Re: {TEASER_EX} Replacement tag

count Number of articles to show from this category, -1 for all articles Sorry, but count not worked -- showing all articles from category:( and pagenav work if if(!$phpwcms["rewrite_url"]) $refurl = $_SERVER['PHP_SELF']."?".$catalias; else $refurl = $catalias; replase if(!$phpw...
by creep
Wed 20. Jul 2005, 13:39
Forum: hacks & enhancements
Topic: {TEASER_EX} Replacement tag v1.90 - 10.1.2007
Replies: 398
Views: 179381

pagenav working in index page if change

Code: Select all

$refurl = $REQUEST_URL[0];
to

Code: Select all

$refurl = ($_SERVER['QUERY_STRING']) ? $REQUEST_URL[0] : $REQUEST_URL[0]."?".$acat_alias;
oops: not stable(mod rewrite) :evil:
by creep
Wed 20. Jul 2005, 12:38
Forum: hacks & enhancements
Topic: {TEASER_EX} Replacement tag v1.90 - 10.1.2007
Replies: 398
Views: 179381

some problem in

PHP Version 4.3.10
Apache
RewriteEngine On

and {TEASER_EX} plasement in indexpage
by creep
Mon 17. Jan 2005, 22:05
Forum: phpwcms Support English
Topic: {NEW:10} problem - not right solution...
Replies: 13
Views: 4154

monocult wrote:the {newsa} not work for me
The {newsa} tag not working without parameters, see usage in the top of the code.

B.Regards
by creep
Sat 1. Jan 2005, 23:39
Forum: phpwcms Bug Reports
Topic: Move up/down button doesn't work
Replies: 1
Views: 2577

by creep
Sat 1. Jan 2005, 15:49
Forum: phpwcms Bug Reports
Topic: search issue
Replies: 0
Views: 1884

search issue

serch result cant showing correctly when i use HTML link inside article text in function clean_replacement_tags $text = strip_tags($text, '<a><b><i><u>'); is probably like $text = strip_tags($text, '<b><i><u>'); because <a> html tag not exist, existing tag <a href="">
by creep
Sat 1. Jan 2005, 14:56
Forum: phpwcms Support English
Topic: {NEW:10} problem - not right solution...
Replies: 13
Views: 4154

{NEWSA} Tag

This code save as file phpwcms_template/inc_script/frontend_render/newsa.php <?php /************************************************************************************* usage: {NEWSA:10} - show last 10 active articles(exluding current article) from all section where categories is active, public, no...
by creep
Thu 30. Dec 2004, 12:24
Forum: phpwcms Support English
Topic: Article ordering (arrow up/down) does not work
Replies: 18
Views: 8449

QuickFix

Modification for disable ascending /descending if manual (arrow up/down) selected. 1st BACKUP BACKUP BACKUP !!! Open: include/inc_lib/general.inc.php arround line 164 After: function is_checked($c, $chkvalue, $xml=0) { if(strval($c) == strval($chkvalue)) { echo (!$xml) ? ' checked' : ' checked="...
by creep
Tue 28. Dec 2004, 19:31
Forum: hacks & enhancements
Topic: MOST_READ : front end code to add
Replies: 23
Views: 14412

Sorry, where is the table article_read_count ? :shock:

Code: Select all

   $sql ="SELECT article_id, count( article_id ) c 
FROM ".DB_PREPEND."article_read_count 
GROUP BY article_id 
ORDER BY c DESC, date_read desc  
$limit "; 
by creep
Tue 28. Dec 2004, 18:39
Forum: hacks & enhancements
Topic: My new tag: {ARTICLELIST:max_count}
Replies: 18
Views: 11657

Perfect! Is work for me too! But if you want to show pagination only if is realy needed This code: // output paging system (could also do it before we output the page content) if ($page == 1) // this is the first page - there is no previous page $teaser_content .= "<p> Previous"; else // n...