More simple questions
-
- Posts: 15
- Joined: Sun 15. Feb 2004, 18:24
- Location: Argentina
- Contact:
More simple questions
I learnt in just 2 hours to use phpwcms !!
It is onf of the easiest cmss i have seen !! lot of friends told me the installation is easy, but the creation of a site is a pain, and I DONT AGREE WITH THAT !
my questions are:
1.
I know how to create and put the BACK tag... [BACK]string[/BACK]..
but, how can i create the print and #top stuff in each site, like phpwcms's home ?
2.
How to include a static .htm file in the article using a tag:
i know that {PHP:file.php} calls a php file and writes its output.
i know a workaround to make what i want but i think it must be a better way to make the output of simple htm files in the articles.
warkaround:in file.php
<?
$html = <<<END_OF_HTML;
HTMLCODEGOESHERE
END_OF_HTML;
echo $html;
?>
and then i call {PHP:file.php} from the article and works fine... simpler way?
3.
itd be great to have the possibility to build a DHTML menu using categorie's ids. I use DHTML menu builder, but maybe the code it generates is too complicated 4 using in phpwcms, but i think there r more easier menues that we'd like to use.
Anyway, i love the {MAIN_MENU_COLUM} (dunno rem. the name of tag) which generates the menu like phpwcms's home.
4.
any tip for the {breadcrumb} & date aligned to right and <br> "dotted line" included in the header of phpwcms's website?
thanks a lot 4 reading... !!
this cms must go on 4ever !!
It is onf of the easiest cmss i have seen !! lot of friends told me the installation is easy, but the creation of a site is a pain, and I DONT AGREE WITH THAT !
my questions are:
1.
I know how to create and put the BACK tag... [BACK]string[/BACK]..
but, how can i create the print and #top stuff in each site, like phpwcms's home ?
2.
How to include a static .htm file in the article using a tag:
i know that {PHP:file.php} calls a php file and writes its output.
i know a workaround to make what i want but i think it must be a better way to make the output of simple htm files in the articles.
warkaround:in file.php
<?
$html = <<<END_OF_HTML;
HTMLCODEGOESHERE
END_OF_HTML;
echo $html;
?>
and then i call {PHP:file.php} from the article and works fine... simpler way?
3.
itd be great to have the possibility to build a DHTML menu using categorie's ids. I use DHTML menu builder, but maybe the code it generates is too complicated 4 using in phpwcms, but i think there r more easier menues that we'd like to use.
Anyway, i love the {MAIN_MENU_COLUM} (dunno rem. the name of tag) which generates the menu like phpwcms's home.
4.
any tip for the {breadcrumb} & date aligned to right and <br> "dotted line" included in the header of phpwcms's website?
thanks a lot 4 reading... !!
this cms must go on 4ever !!
Henry Becerra
Delphi Developer - http://www.beza.com.ar
ICQ: 18048153
MSN: qbecerra@hotmail.com
--------
San Juan - Argentina
Delphi Developer - http://www.beza.com.ar
ICQ: 18048153
MSN: qbecerra@hotmail.com
--------
San Juan - Argentina
- Oliver Georgi
- Site Admin
- Posts: 9900
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
1)
TOP:
PRINT:
2)
You can include any possible file (*.htm, *.html and so on). There is no need for your workaround. There is no decisison if it is static HTML or PHP.
3)
Give me time.
4)
Oliver
TOP:
Code: Select all
<a href="#top" title="goto top of the page"><img src="img/article/top_link_0.gif" border="0"></a>
Code: Select all
[PRINT]<img src="picture/symbols/print_icon.gif" width="44" height="9" border="0" title="open optimized page for printing">[/PRINT]
You can include any possible file (*.htm, *.html and so on). There is no need for your workaround. There is no decisison if it is static HTML or PHP.
3)
Give me time.
4)
Code: Select all
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><img src="img/leer.gif" width="1" height="10"></td></tr>
<tr>
<td class="breadcrumb">{BREADCRUMB}</td>
<td align="right" class="footer">{DATE_ARTICLE}</td>
</tr>
<tr><td colspan="2"><img src="img/leer.gif" width="1" height="5"></td></tr>
<tr><td colspan="2"><img src="img/article/elements/content_line_499.gif" width="499" height="1"></td></tr>
<tr><td colspan="2"><img src="img/leer.gif" width="1" height="15"></td></tr>
</table>
with regaurds to the menu system I'd like to see a whole template like the layout page dedicated to a menu builder.
I like to be able to set individual .css class per structure/article too (this way i get to use images instead of words for my menu's).
no rush
:edit: I invisage this 'menu layout' allowing the choice to cut an paste any menu code such as those from 'listmastic' and project7 etc. I think some may like to use dhtml and javascript menus too.
I like to be able to set individual .css class per structure/article too (this way i get to use images instead of words for my menu's).
no rush
:edit: I invisage this 'menu layout' allowing the choice to cut an paste any menu code such as those from 'listmastic' and project7 etc. I think some may like to use dhtml and javascript menus too.
Last edited by pSouper on Wed 18. Feb 2004, 09:25, edited 1 time in total.
-
- Posts: 15
- Joined: Sun 15. Feb 2004, 18:24
- Location: Argentina
- Contact:
this is an awesome suggestion, and it really would be great...pSouper wrote:with regaurds to the menu system I'd like to see a whole template like the layout page dedicated to a menu builder.
I like to be able to set individual .css class per structure/article too (this way i get to use images instead of words for my menu's).
no rush
but i think we ( ) gotta get more ppl involved in the development of this awesome work, so we give its author a little more free time to think in new features, etc.
I'm sure there are lot of exp. php geeks that will be very glad to help this man...
ANOTHER QUESTION !!!
*********************************************
how to show 2 or more complete articles (without the ...more link) in the same category ?
*********************************************
come php geeks !!! join this project and help !!! (im not geek, yet)
Henry Becerra
Delphi Developer - http://www.beza.com.ar
ICQ: 18048153
MSN: qbecerra@hotmail.com
--------
San Juan - Argentina
Delphi Developer - http://www.beza.com.ar
ICQ: 18048153
MSN: qbecerra@hotmail.com
--------
San Juan - Argentina
- Oliver Georgi
- Site Admin
- Posts: 9900
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
-
- Posts: 15
- Joined: Sun 15. Feb 2004, 18:24
- Location: Argentina
- Contact:
Thanks Olivier...
I know u will make it !!
---------
Another qs.:
1.
I made an article, then i tried to add it the "email form" content, but i dont know what to fill in the "form fields" textarea, and when i fill it in anyway, the contents are erased...
A better question then: how can i create a custom email form which i would include using {PHP:contact.php} and then make the form submit inside the site?... i thought using the IFRAME tag and make the form submit to the IFRAME but maybe u have a better solution...
2.
How can i know the ID of my articles? i know how to call the category's ID but i saw i have the possibility to link to the article ID too, but i try to find the id of article in the admin area but i dont c it...
Sorry 4 bothering, but i want to go learning phpwcms in the fastest way i can...
I know u will make it !!
---------
Another qs.:
1.
I made an article, then i tried to add it the "email form" content, but i dont know what to fill in the "form fields" textarea, and when i fill it in anyway, the contents are erased...
A better question then: how can i create a custom email form which i would include using {PHP:contact.php} and then make the form submit inside the site?... i thought using the IFRAME tag and make the form submit to the IFRAME but maybe u have a better solution...
2.
How can i know the ID of my articles? i know how to call the category's ID but i saw i have the possibility to link to the article ID too, but i try to find the id of article in the admin area but i dont c it...
Sorry 4 bothering, but i want to go learning phpwcms in the fastest way i can...
Henry Becerra
Delphi Developer - http://www.beza.com.ar
ICQ: 18048153
MSN: qbecerra@hotmail.com
--------
San Juan - Argentina
Delphi Developer - http://www.beza.com.ar
ICQ: 18048153
MSN: qbecerra@hotmail.com
--------
San Juan - Argentina
And perhaps it would be possible to divide many articles into groups, and create links [1][2][3][4][5] etc. Great function for newsOliver Georgi wrote:This is not possible at the moment - (but I have planned such function) - another used asked - and it sounds good.quiquedcode wrote:how to show 2 or more complete articles (without the ...more link) in the same category ?
Oliver
Helloquiquedcode wrote:1.
I made an article, then i tried to add it the "email form" content, but i dont know what to fill in the "form fields" textarea, and when i fill it in anyway, the contents are erased...
look at this!
http://www.phpwcms.de/forum/viewtopic.php?t=215
Pappnase
i know this is not the request area [and maybe the request should all be cut and pasted there too] but...
1: [PAGINATE:Int] [/PAGINATE] - this would automatically split the enlosed article/text/etc in to pages of a set number of screen lines with the 'page number' links as above
2: [PAGEBREAK] forces a page break here (this can be used within the PAGINATE replacement tag)
I would very much love to have one or two replacement tags for this.And perhaps it would be possible to divide many articles into groups, and create links [1][2][3][4][5] etc. Great function for news
1: [PAGINATE:Int] [/PAGINATE] - this would automatically split the enlosed article/text/etc in to pages of a set number of screen lines with the 'page number' links as above
2: [PAGEBREAK] forces a page break here (this can be used within the PAGINATE replacement tag)
-
- Posts: 15
- Joined: Sun 15. Feb 2004, 18:24
- Location: Argentina
- Contact:
I agree with pSouper...
following goes some errors i new suggs. i have:
1.
i put all that rare code in the "form fields" field when i tried to make a contact form.
I tried it and got an error!
I fixed it changing the following line (91):
..... = html_entity_decode(trim($_POST["subject"]));
by
..... = trim($_POST["subject"]);
and then it worked great... what is the cause of that error? maybe my php version is outdated? (4.2.3)
2.
I read all the threads about the formmailer and well, i agree that the thank you page must be changed... or maybe at least customized in the admin area, because i get it in english and it shows all the hidden values etc. and that is not so kind... also id like to keep the style of the website in the thankiu page.
3.
i think i posted it recently... how to get the article's ID ?
so i can call it using [ID myarticlenumber] GO GO GO !!! [/ID]
thanks a lot...
The more i use phpwcms the more i love it !!!
following goes some errors i new suggs. i have:
1.
i put all that rare code in the "form fields" field when i tried to make a contact form.
I tried it and got an error!
Code: Select all
Fatal Error: Call to undefined function html_entity_decode() in D:\....\...\include\inc_act\act_formmailer.php line 91
..... = html_entity_decode(trim($_POST["subject"]));
by
..... = trim($_POST["subject"]);
and then it worked great... what is the cause of that error? maybe my php version is outdated? (4.2.3)
2.
I read all the threads about the formmailer and well, i agree that the thank you page must be changed... or maybe at least customized in the admin area, because i get it in english and it shows all the hidden values etc. and that is not so kind... also id like to keep the style of the website in the thankiu page.
3.
i think i posted it recently... how to get the article's ID ?
so i can call it using [ID myarticlenumber] GO GO GO !!! [/ID]
thanks a lot...
The more i use phpwcms the more i love it !!!
Henry Becerra
Delphi Developer - http://www.beza.com.ar
ICQ: 18048153
MSN: qbecerra@hotmail.com
--------
San Juan - Argentina
Delphi Developer - http://www.beza.com.ar
ICQ: 18048153
MSN: qbecerra@hotmail.com
--------
San Juan - Argentina
Yes, cause is just older version of PHP... Oliver explained here:http://www.phpwcms.de/forum/viewtopic.php?p=4696#4696quiquedcode wrote:I agree with pSouper...
following goes some errors i new suggs. i have:
1.
i put all that rare code in the "form fields" field when i tried to make a contact form.
I tried it and got an error!I fixed it changing the following line (91):Code: Select all
Fatal Error: Call to undefined function html_entity_decode() in D:\....\...\include\inc_act\act_formmailer.php line 91
..... = html_entity_decode(trim($_POST["subject"]));
by
..... = trim($_POST["subject"]);
and then it worked great... what is the cause of that error? maybe my php version is outdated? (4.2.3)
Code: Select all
Sorry - I have included new functionality and did not thought about PHP < 4.3 - change line 91 in act_formmailer.php into:
Code:
$subject = html_despecialchars(trim($_POST["subject"]));
In site structure and article list, hover your mouse pointer over the leading "x box" of each article name and the article ID will be revealed (ie: article ID:5).quiquedcode wrote:3. i think i posted it recently... how to get the article's ID ?
- anthony.abraira
- Posts: 99
- Joined: Sun 11. Sep 2005, 07:42
- Location: Mars Hill, NC
- Contact:
custom php scripts for forms
Does anybody have an official thread where this question was answered
Peace
I would rather have more formatting control of my forms, so I was wondering if anybody ever got this one figured out?A better question then: how can i create a custom email form which i would include using {PHP:contact.php} and then make the form submit inside the site?... i thought using the IFRAME tag and make the form submit to the IFRAME but maybe u have a better solution...
Peace
"The trick is living without an answer."