Page 14 of 27
Posted: Thu 9. Feb 2006, 16:38
by ssyfrig
Hi
Does I understand right... the RT sort all entry like
1|4|7
2|5|8
3|6|9
Is it possibly to sort like
1|2|3
4|5|6
7|8|9
Thanks, Sven
Posted: Fri 10. Feb 2006, 15:20
by Jens*
pls delete this post.. or ignore..
teaser tag suddenly stopped working
Posted: Wed 15. Feb 2006, 14:44
by 1996 328ti
My host moved my site to another server and I now find that the teaser tag no longer works.
I have asked to be sure
register_globals is ON
ReWriteEnginie is ON
Anything else they should be looking for?
Edit: Conflict with {USERSONLINE} when used on the same page.
Re: teaser tag suddenly stopped working
Posted: Wed 15. Feb 2006, 14:56
by erich_k4
1996 328ti wrote:My host moved my site to another server and I now find that the teaser tag no longer works.
I have asked to be sure
register_globals is ON
ReWriteEnginie is ON
Anything else they should be looking for?
MySQL version?
Re: teaser tag suddenly stopped working
Posted: Wed 15. Feb 2006, 15:14
by 1996 328ti
erich_k4 wrote:
MySQL version?
PHP version 4.4.2
MySQL version 4.0.25-standard
I also see that there is a new version of the tag.
I've been using Version 1.06 all along.
I tried to overwrite the file with the new version but it didn't work.
I only saw the { tag coding }.
I'll look at it when I have more time.
Being rushed is not a good time to work on something like this.
Thanks.
Posted: Wed 15. Feb 2006, 23:28
by jareeq
Hi,
I have some problems with number of articles displayed in categories, i'v used generator to create :
Code: Select all
{TEASER_EX:pucharzd|3;ludzie|1;galeria|1;spotkania|1;plpuchar|1:6:article_created|DESC:1:Strona:2::ex.tmpl:24:Wszystkie}
It seems like setting number of articles for particular category alias affect other aliases, it looks like:
changes in 'pucharzd' realy change 'pucharzd'
but:
changes in 'ludzie' realy change 'plpuchar'
changes in 'galeria' realy change 'ludzie'
changes in 'spotkania' realy change 'galeria'
changes in 'plpuchar' realy change 'spotkania'
With 6 category aliases this is more complicated.
So my question is what is wrong, it is possible that this fault is a result of sequence of aliases in the page tree ? Or something wrong with phpwcms ?
mysql 2.1.14
phpwcms v1.2.6-DEV 14.12.2005
TEASER_EX Version 1.51
And there is tree of the page, TEASER_EX tag is located in 'Atualności' (article with clear text contentpart)
Aktualności
-Federacja
--Członkowie (alias:ludzie ID:11)
--Historia
--Galeria (alias:galeria ID:13)
-Wydarzenia
--Liga
--Puchar Polski (alias:plpuchar ID:10)
--Puchar ZD (alias:pucharzd ID:8)
--Spotkania (alias:spotkania ID:14)
Thanks, Jarek
Posted: Thu 16. Feb 2006, 04:25
by 1996 328ti
version 1.06 stopped working when my host moved servers.
The only thing I see thatwas different is that the old server ran php 4.4.1 and now is running 4.4.2. This gave me an opportunity to upgrade,
Installed v 1.51 and is working great. I really like the all feature.
Only thing that is stumping me are the templates.
In version 1.06 all I displayed was the title and subtitle.
I also added a graphic before each article.
I am not understanding, default, support or using my own template.
I use a template 'mynewslist.tmpl' which is in my articlesummary/list directory for my articles that the tag refers to.
This is where I draw a blank. If you go to my site, I want the calendar of events to match the rest of the titles on the page.
Posted: Fri 17. Feb 2006, 13:17
by erich_k4
1996 328ti wrote:
I am not understanding, default, support or using my own template.
I use a template 'mynewslist.tmpl' which is in my articlesummary/list directory for my articles that the tag refers to.
This is where I draw a blank. If you go to my site, I want the calendar of events to match the rest of the titles on the page.
Simply insert the templatename for the field "Listtemplate"...
Problem finding template
Posted: Fri 17. Feb 2006, 13:18
by 1996 328ti
My rep_tag is not finding my template. (Version 1.51)
phpwcms_template/inc_cntpart/articlesummary/list/mynewslist.tmpl
Code: Select all
[SPACE]<hr>[/SPACE]
<div>
<table cellspacing="0" cellpadding="0" border="0" width="100%">
<tr>
<td width="150" valign="top">
[IMAGE]<div><a href="{ARTICLELINK}">{IMAGE}</a></div>[/IMAGE]
[CAPTION]<div align="center">{CAPTION}</div>[/CAPTION]
</td>
<td width="10"><img src="img/leer.gif" width="1" height="11" alt=""/></td>
<td width="98%" valign="top">
[TITLE]<img src="img/article/intlink_1.gif" /><img width="1" height="11" src="img/leer.gif" /><a href="{ARTICLELINK}">{TITLE}</a><br />[/TITLE]
[SUB]{SUB}[/SUB]
[SUMMARY]<p style="margin:0">{SUMMARY}</p>[/SUMMARY]
</td>
</tr>
</table>
</div>
Currently I am set to default. System or mynewslist causes my tag not to appear except for the page numbers below. I also tried mynewslist.tmpl.
This has to be my favorite tag. It has made my site sooooo much better.
Posted: Fri 17. Feb 2006, 13:23
by 1996 328ti
erich_k4 wrote:Simply insert the templatename for the field "Listtemplate"...
We were typing at the same time.
When I use
Code: Select all
{TEASER_EX:autocross_events|-1:8:article_end|ASC:0:Page:2::mynewslist:-1:all}
the articles do not display.
Posted: Fri 17. Feb 2006, 13:27
by erich_k4
1996 328ti wrote:erich_k4 wrote:Simply insert the templatename for the field "Listtemplate"...
We were typing at the same time.
When I use
Code: Select all
{TEASER_EX:autocross_events|-1:8:article_end|ASC:0:Page:2::mynewslist:-1:all}
the articles do not display.
The extension is also needed -> mynewslist.tmpl
EDIT: Did not read your previous post: if you insert mynewslist.tmpl it does'nt work either? Strange...
Posted: Fri 17. Feb 2006, 13:49
by 1996 328ti
erich_k4 wrote:EDIT: Did not read your previous post: if you insert mynewslist.tmpl it doesn't work either? Strange...
All that works is default.
So I have the template in the correct directory.
Could it be a permission issue? My template is 644.
The rep tag script is 664.
Posted: Fri 17. Feb 2006, 14:01
by erich_k4
1996 328ti wrote:All that works is default.
So I have the template in the correct directory.
Could it be a permission issue? My template is 644.
The rep tag script is 664.
Maybe... 644 is ok, what about the directory permissions?
I use 644 for the files, and 755 for the directorys...
Posted: Sat 18. Feb 2006, 00:59
by 1996 328ti
erich_k4 wrote:I use 644 for the files, and 755 for the directorys...
All of my directories are either 755 or 777. Files are 644.
The earlier version worked.
Edit: I noticed this.
Code: Select all
$tmpllist[ $article_list[$key]["article_image"]['tmpllist'] ] = include_ext_php(PHPWCMS_ROOT.$GLOBALS['phpwcms']['templates'].'inc_cntpart/articlesummary/list/'.$article_list[$key]["article_image"]['tmpllist'], 1);
My templates directory is
phpwcms_template, no s.
That didn't change anything though.
I am using v1.2.6-DEV 14.12.2005
Posted: Sat 18. Feb 2006, 13:16
by erich_k4
Hi Steven!
1996 328ti wrote:
My templates directory is phpwcms_template, no s.
That didn't change anything though.
I am using v1.2.6-DEV 14.12.2005
$GLOBALS['phpwcms']['templates'] is an array value retrieved from conf.inc.php so no changes are necessary here!
Look at your conf.inc.php:
in the path-section check
Code: Select all
$phpwcms["DOC_ROOT"] = $_SERVER['DOCUMENT_ROOT'];
$phpwcms["root"] = ""; //default: ""
$phpwcms["templates"] = "phpwcms_template"; //default: phpwcms_template"
in the other stuff-section check:
Code: Select all
$phpwcms["allow_ext_init"] = 1; //allow including of custom external scripts at frontend initialization
$phpwcms["allow_ext_render"] = 1; //allow including of custom external scripts at frontend rendering
Btw: i did a fresh install of phpwcms v1.2.6-DEV 14.12.2005, placed your mynewslist.tmpl in the phpwcms_template\inc_cntpart\articlesummary\list-Folder and it works ...??
Erich