{TEASER_EX} Replacement tag v1.90 - 10.1.2007
pls delete this post.. or ignore..
http://www.study-board.de :: Das Studenten Portal
Die Kompetenzseite für alle Fragen rund um die BWL/VWL
und das wirtschaftswissenschaftliche Studium
Die Kompetenzseite für alle Fragen rund um die BWL/VWL
und das wirtschaftswissenschaftliche Studium
-
- Posts: 317
- Joined: Mon 19. Apr 2004, 06:10
- Location: Greenville, SC USA
- Contact:
teaser tag suddenly stopped working
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.
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.
Last edited by 1996 328ti on Mon 20. Mar 2006, 13:47, edited 1 time in total.
Re: teaser tag suddenly stopped working
MySQL version?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?
-
- Posts: 317
- Joined: Mon 19. Apr 2004, 06:10
- Location: Greenville, SC USA
- Contact:
Re: teaser tag suddenly stopped working
PHP version 4.4.2erich_k4 wrote:
MySQL version?
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.
Hi,
I have some problems with number of articles displayed in categories, i'v used generator to create :
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
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}
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
-
- Posts: 317
- Joined: Mon 19. Apr 2004, 06:10
- Location: Greenville, SC USA
- Contact:
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.
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.
Simply insert the templatename for the field "Listtemplate"...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.
-
- Posts: 317
- Joined: Mon 19. Apr 2004, 06:10
- Location: Greenville, SC USA
- Contact:
Problem finding template
My rep_tag is not finding my template. (Version 1.51)
phpwcms_template/inc_cntpart/articlesummary/list/mynewslist.tmpl
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.
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>
This has to be my favorite tag. It has made my site sooooo much better.

-
- Posts: 317
- Joined: Mon 19. Apr 2004, 06:10
- Location: Greenville, SC USA
- Contact:
We were typing at the same time.erich_k4 wrote:Simply insert the templatename for the field "Listtemplate"...

When I use
Code: Select all
{TEASER_EX:autocross_events|-1:8:article_end|ASC:0:Page:2::mynewslist:-1:all}
The extension is also needed -> mynewslist.tmpl1996 328ti wrote:We were typing at the same time.erich_k4 wrote:Simply insert the templatename for the field "Listtemplate"...
When I usethe articles do not display.Code: Select all
{TEASER_EX:autocross_events|-1:8:article_end|ASC:0:Page:2::mynewslist:-1:all}

EDIT: Did not read your previous post: if you insert mynewslist.tmpl it does'nt work either? Strange...
-
- Posts: 317
- Joined: Mon 19. Apr 2004, 06:10
- Location: Greenville, SC USA
- Contact:
-
- Posts: 317
- Joined: Mon 19. Apr 2004, 06:10
- Location: Greenville, SC USA
- Contact:
All of my directories are either 755 or 777. Files are 644.erich_k4 wrote:I use 644 for the files, and 755 for the directorys...
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);
That didn't change anything though.
I am using v1.2.6-DEV 14.12.2005
Hi Steven!
Look at your conf.inc.php:
in the path-section check
in the other stuff-section check:
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
$GLOBALS['phpwcms']['templates'] is an array value retrieved from conf.inc.php so no changes are necessary here!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
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"
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
Erich