Spotty ***include*** tag performance

For requests for help from CG administrators, Wranglers, and experienced CG members. Please read the FAQ before posting. Also look at CG Wiki for tutorials and how-tos written by other CG webtoonists.
Post Reply
User avatar
SailorPtah
Cartoon Hero
Posts: 1018
Joined: Sun Jun 15, 2003 2:30 pm
Location: Gaysrael
Contact:

Spotty ***include*** tag performance

Post by SailorPtah »

My indextemplate.html file uses ***include note.html*** and ***include poll.html*** -- but the thing is, the latter works just fine and the former doesn't. If you go to http://hellsing.comicgen.com/, you'll see the poll (it's bright red; you can't miss it), but there's supposed to be some text under the calendar and it's simply not there. The same is true of the archive pages.

Both files are uploaded to the same place, and the tag is exactly the same for both; what's going on here?

~Erin

User avatar
Phalanx
The Establishment (Moderator)
The Establishment (Moderator)
Posts: 3737
Joined: Thu Mar 06, 2003 11:46 am
Location: Superglued to the forum by Yeahduff
Contact:

Post by Phalanx »

The html file that is included (say poll.html) needs to be in the public_html folder for ***include*** to work.

So if you have just put poll.html into workspace/webpages, then the reason it doesn't show up because the computer updates the template pages first before it updates the pages in /webpages. As a result the computer looks for poll.html in /public_html to include, doesn't find it, and then outputs nothing. It then goes on to update /webpages and moves poll.html from /workspace to /public_html.

Do another update an it should appear.
Image
The Jaded - Action. Adventure. Danger. For Hire.
Lonely Panel - Explore. Travel. Comics.

User avatar
SailorPtah
Cartoon Hero
Posts: 1018
Joined: Sun Jun 15, 2003 2:30 pm
Location: Gaysrael
Contact:

Post by SailorPtah »

Phalanx wrote:So if you have just put poll.html into workspace/webpages . . .
Both poll.html and note.html have been in workspace/webpages for months, and since note.html stopped showing up I've run several updates.

User avatar
Phalanx
The Establishment (Moderator)
The Establishment (Moderator)
Posts: 3737
Joined: Thu Mar 06, 2003 11:46 am
Location: Superglued to the forum by Yeahduff
Contact:

Post by Phalanx »

Hm... this is weird... can you attach your indextemplates so we can have a look? It could be a new bug or something if the tags are correct.
Image
The Jaded - Action. Adventure. Danger. For Hire.
Lonely Panel - Explore. Travel. Comics.

User avatar
STrRedWolf
Confuzzled CG Admin
Confuzzled CG Admin
Posts: 2579
Joined: Fri Jan 01, 1999 4:00 pm
Location: undef;
Contact:

Post by STrRedWolf »

I am not sure if ***include filename*** works for more than one time on a single page. I doubt Autokeen was built for it, from what I could understand of the code.

WolfKeen I know will have ***include*** always work, but also have ***grab*** to have folks ***include*** before it pharses the page.

User avatar
SailorPtah
Cartoon Hero
Posts: 1018
Joined: Sun Jun 15, 2003 2:30 pm
Location: Gaysrael
Contact:

Post by SailorPtah »

STrRedWolf wrote:I am not sure if ***include filename*** works for more than one time on a single page. I doubt Autokeen was built for it, from what I could understand of the code.
The taglossary said it didn't, but this always worked before. Only since I switched domain names, from keenspace.com to comicgenesis.com, did note.html stop appearing.

Post Reply