TinyPortal

Development => Support => Topic started by: daneth on May 12, 2009, 12:54:01 AM

Title: comment on custom pages
Post by: daneth on May 12, 2009, 12:54:01 AM
running on
TinyPortal v1.0 beta 3
SMF 1.1.8

I wuld like to add comments to my custom pages(about.template.php that is found in /themes/theme-name/pages)

is their any way to add the TP comment to them and if so will it still work on my setting to not let guset post comments?

thanks for any help
Title: Re: comment on custom pages
Post by: IchBin on May 12, 2009, 01:06:17 AM
That would require a whole lotta work IMO. Not something I would imagine too many people have time to do. Just an FYI. Would be a big enough job that you may want to consider paying someone. Just my $.02
Title: Re: comment on custom pages
Post by: daneth on May 12, 2009, 01:10:43 AM
ok cool did not know if thar was like an ssi for it or any thing like that if its that much work I dont realy need it.
Title: Re: comment on custom pages
Post by: IchBin on May 12, 2009, 01:48:27 AM
Well, it would require some custom database tables most likely, or require custom code to hit the TP tables and store the information the same way. Its not a HUGE custom job, but its pretty detailed and time consuming IMO. Deni has been known to do some awesome work, so may she will have some time. I don't know, its up to her though. :D
Title: Re: comment on custom pages
Post by: JPDeni on May 12, 2009, 03:17:31 AM
Actually, it would be simpler just to put the code for the custom pages into articles, which already have the commenting ability. I have never really seen a custom page, though, so maybe I'm not understanding what you're talking about.
Title: Re: comment on custom pages
Post by: daneth on May 12, 2009, 04:52:23 AM
Quote from: JPDeni on May 12, 2009, 03:17:31 AM
Actually, it would be simpler just to put the code for the custom pages into articles, which already have the commenting ability. I have never really seen a custom page, though, so maybe I'm not understanding what you're talking about.

here is some of my custom pages
http://www.fr33-eve.com/index.php?action=256
http://www.fr33-eve.com/index.php?action=about

these are the pages that are saved under your Theme's folder in my case its
/Themes/topaz/pages/ about.template.php

but ya now that you menconed it, "it would be simpler just to put the code for the custom pages into articles"
lol I think I will try them that way :)
Title: Re: comment on custom pages
Post by: Ianedres on May 12, 2009, 06:03:31 AM
Much more simpler to use the articles with commenting on. No sense in redesigning the wheel.  ;)

A large majority of my site is built around articles, versus custom actions. TP anyday!
Title: Re: comment on custom pages
Post by: Zetan on May 12, 2009, 09:47:19 AM
The only real reason that I can see for using Custom Pages is from a non-tp perspective. The theme can be used on an SMF only site and still have pages.. Unless I'm missing the point, it's a feature of the theme. If you have TP installed, I would suggest using Articles as they are more versatile and independent of theme.
Title: Re: comment on custom pages
Post by: daneth on May 12, 2009, 11:23:11 PM
ya I am going to use Articles to do this the is the 1st time I have worked with smf and TP just came from useing e107 and trying to use all the features to learn what I can do with this bit of software

I will try and keep questions like these to a minimum but the occasional dho :facepalm: moment will happen 

thanks for the help :)
Title: Re: comment on custom pages
Post by: JPDeni on May 12, 2009, 11:27:02 PM
That's okay. That's what we're here for. There's a lot to learn with TP.