show content in other then the main table
Spirou
Spirou i cant find
content.article.inc.php
article.edit.tmpl.php
article.readform.inc.php
or
content.func.inc.php
any idea what im missing, i am running the latest V. could that be the issue.
thanks in advance im looking forward to implimenting your new toy, its just what i needed.
content.article.inc.php
article.edit.tmpl.php
article.readform.inc.php
or
content.func.inc.php
any idea what im missing, i am running the latest V. could that be the issue.
thanks in advance im looking forward to implimenting your new toy, its just what i needed.
thanks for your help cmslover
thanks for the help sir, much apreciated..
good day to you Sir.
good day to you Sir.
Sorry got to excited!!
any ideas on "content.func.inc.php"
Re: Sorry got to excited!!
It's in include/inc_frontryanpratt wrote:any ideas on "content.func.inc.php"
Uhm... I'm not a "Sir" nor a "Madam" but a "Girl" whom loves "Spicy food" and ofcourse "phpwcms"ryanpratt wrote:good day to you Sir
error using
i get this error after i instal ?
Not Found
The requested URL /include/inc_tmpl/phpwcms.php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.29 Server at http://www.atruehost.com Port 80
Not Found
The requested URL /include/inc_tmpl/phpwcms.php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.29 Server at http://www.atruehost.com Port 80
Hi CMSlover!
Good luck!
STEP 1 & 2 is OK!1/Here is what I did: STEP 1
Yes, my hack has only 5 sql-switches. position switch is only intended for article PARTS(!). Not articles.Question:
-each article has maximum only 5 pos?
-pos can be placed anywhere WITHIN the article PAGE which THEY BELONG TO ?
See previous answer. Each content part you create always belong to a specific article. Remember that all content-parts are connected to a specific article-id. This is how phpwcms originally was built and has nothing to do with my hack. Therefore I suggest you put any content that would be displayed on all pages in the template or create a separate {PHP:..} Example: Suppose you would like to put meta-tags that is supposed to be in every page - put them in the template.- pos which added and BELONG to article 1 CAN NOT be displayed on article 2,3,...'s page? Even though they are using the same template and page layout. ( this happened in my case )
See previous answers. Articles have unique id's. Create a separate template if you intend to use different layouts.-If I have Category 1 with article 1 has content 1 checked as {FIELD5}
and article 2 has content 2 checked as {FIELD5} , in template RIGHT SITE I would input {FIELD5} ( for content 1) and in FOOTER I put another {FIELD5} ( for content 2) , what would happen? Will it know that they are two different contents even they are the same name?
Good luck!
Thank you so much Spirou! I understand it better now. Thank you!
Note for ryanpratt: if you have error file not found, you should check the path. The way I did was comparing those files's path with the original files's path, I opened those files- side by side and looked through their path, then I changed the new ones ( files from Spirou ) to match the original ones. Hope it helps!
Note for ryanpratt: if you have error file not found, you should check the path. The way I did was comparing those files's path with the original files's path, I opened those files- side by side and looked through their path, then I changed the new ones ( files from Spirou ) to match the original ones. Hope it helps!
Changes in position not saved
Hi Spirou
First: neat hack, does it quite well. But... whatever i try to change in the article content part, nothing changes: it allways stays on checked: 1
So when i check 4 and click save, then the saved page shows 1 checked again.
When creating a new article, then the selection is saved and kept. But changing it to say 3 again, makes the script stores it as 1 in the database. And manually changing my db is not my favorite
Do you have any ideas?
Regards
hidiho
First: neat hack, does it quite well. But... whatever i try to change in the article content part, nothing changes: it allways stays on checked: 1
So when i check 4 and click save, then the saved page shows 1 checked again.
When creating a new article, then the selection is saved and kept. But changing it to say 3 again, makes the script stores it as 1 in the database. And manually changing my db is not my favorite
Do you have any ideas?
Regards
hidiho
I would love a replacement tag browser...Pappnase wrote:as i wrote this i have an idea what you think about an repacement tag browser with an short description like the image browser!? think could be useful for new users!?
but mods should have instructions on how to add this info to the browser..
======
DX
======
DX
======
I am going to bring up Spirou's 'content everywhere' AGAIN..Because I can't figure this out and I thought that this would be in the new release(some other great goodies though ) so I stopped trying to fix it...I still think it is such an essential thing for creating a dynamic website..Both for the admins and the creators...
Does anyone have an idee how to fix this problem? So it will work for the new release or are maybe something coming with this function in the future?
Now I am going to change the new guestbook so it will be neat news-section instead...Great with new things to play with!
Take care / Martin
Does anyone have an idee how to fix this problem? So it will work for the new release or are maybe something coming with this function in the future?
Now I am going to change the new guestbook so it will be neat news-section instead...Great with new things to play with!
Take care / Martin
Can't get the original topic (right panel) to work
I am wondering why I cannot get Pappnase's original topic of creating content for the right section of a given page to work. Spent a considerable amount of time and likely it is something I am overlooking. BTW, I gave Spirou's hack a go, but found, like others, the upgrade (I think it was RC2 to RC3) confounded it. So I thought the original post by Pappnase based on his method might work. I believe I have done everything to prescripion:
"Create a blank pagelayout size all blocks 150 and the main block also 150. all others set to 0" //two parameters inputed: all blocks: 172, main 172, all others 0 in my case
"create an template leave all exept the main block put there the {content} replacement tag inside." simple ...did this {CONTENT}
"create a hidden sitestructure set it to visible and public. also give an alias and choose for this the "blank" template." //did this, in my case community
"get in your template where you wanna show these content an place in the "right" {PHP:http://www.domain.com/index.php?alias}
//did this within my index page template with right section at a width of 172, there i put this code:
version 1: {PHP:http://localhost/phpwcms2/index.php?community}
version 2: {PHP:index.php?community}
Neither work as called from within the template. I am working off my local box, thus the localhost prefix.
BTW: entering this in my browser:
****//localhost/phpwcms2/index.php?community
works like a charm
also have run other {PHP:script.php} instances successfully
I also created a custom page community_1.php
and run {PHP:community_1.php} successfully
I am wondering why this is not working and wanted to ask if others (including Pappanase himself) if they have gotten this elegant gem to work in RC4. I am wondering if header info generated by the template by default does not get truncated. I think Oliver's code takes care of this. The source code of the standalone page **** (see above) includes header info, with a call to frontend.css, and default <body tags> At the end of the day, what would be compatible, it would seem, would be the <table><tr><td> content only.
Would love to get this running....as a reasonable way to populate the right area on a given page. Any suggestions/pointers would be apreciated.
cheers,
jsw
"Create a blank pagelayout size all blocks 150 and the main block also 150. all others set to 0" //two parameters inputed: all blocks: 172, main 172, all others 0 in my case
"create an template leave all exept the main block put there the {content} replacement tag inside." simple ...did this {CONTENT}
"create a hidden sitestructure set it to visible and public. also give an alias and choose for this the "blank" template." //did this, in my case community
"get in your template where you wanna show these content an place in the "right" {PHP:http://www.domain.com/index.php?alias}
//did this within my index page template with right section at a width of 172, there i put this code:
version 1: {PHP:http://localhost/phpwcms2/index.php?community}
version 2: {PHP:index.php?community}
Neither work as called from within the template. I am working off my local box, thus the localhost prefix.
BTW: entering this in my browser:
****//localhost/phpwcms2/index.php?community
works like a charm
also have run other {PHP:script.php} instances successfully
I also created a custom page community_1.php
and run {PHP:community_1.php} successfully
I am wondering why this is not working and wanted to ask if others (including Pappanase himself) if they have gotten this elegant gem to work in RC4. I am wondering if header info generated by the template by default does not get truncated. I think Oliver's code takes care of this. The source code of the standalone page **** (see above) includes header info, with a call to frontend.css, and default <body tags> At the end of the day, what would be compatible, it would seem, would be the <table><tr><td> content only.
Code: Select all
<td valign="top"></td>
<td valign="top" width="172"><a name="jump7"></a><br><img src="img/leer.gif" width="1" height="5" alt="" /><br /><div class="articleSummary">Part of the really new initiatives of the Sport Otago web site will be a new community profile section that will highlight how sports life in the region has been enhanced and enriched</div><br><img src="img/leer.gif" width="1" height="8" alt="" /></td>
<td valign="top"></td>
Would love to get this running....as a reasonable way to populate the right area on a given page. Any suggestions/pointers would be apreciated.
cheers,
jsw
Read the new change log
Hi Oliver,
I just read the new changelog and noticed the new External Content feature dated 10-05-2004. It reads:
With the same functionality as the {PHP...} replacement tag. It can do the following: - include file from "content/pages" and all subdirs there
- include custom file or URL (Cool). While processing it checks for the <body> HTML tag - if <body></body> is found everything between <body>...</body> will be returned.
I wanted to ask if you plan to support this feature for the instance I am trying to get to work, namely in a template definition for the right column. I suspect (although I am not sure) that stripping everything out except what is inside the body tags would get this to work. I ran the external content in the main area index.php?0,0,2,...etc (also with alias) and it was successful. Great new feature. Being able to do this in the right column (or other areas) would be great as well.
Cheers,
jsw
I just read the new changelog and noticed the new External Content feature dated 10-05-2004. It reads:
With the same functionality as the {PHP...} replacement tag. It can do the following: - include file from "content/pages" and all subdirs there
- include custom file or URL (Cool). While processing it checks for the <body> HTML tag - if <body></body> is found everything between <body>...</body> will be returned.
I wanted to ask if you plan to support this feature for the instance I am trying to get to work, namely in a template definition for the right column. I suspect (although I am not sure) that stripping everything out except what is inside the body tags would get this to work. I ran the external content in the main area index.php?0,0,2,...etc (also with alias) and it was successful. Great new feature. Being able to do this in the right column (or other areas) would be great as well.
Cheers,
jsw
Last edited by jsw_nz on Fri 4. Jun 2004, 18:18, edited 1 time in total.