[Modification] Document Content Variables Step before Content Templates
#76 Guest_rthrash_*
Posted 20 January 2005 - 06:37 PM
#77
Posted 21 January 2005 - 06:08 PM
Quote
I shiver with delight. What will the upgrade be like? Same DB tables?
EDIT/ADDITION
There's a small bug you can easily fix in the new version. The DocVar values need to be escaped when saving to the database, lest some poor soul uses a (') or something. The relavant portion is line 373 in save_content.processor.php:
$sql = "UPDATE $dbase.".$table_prefix."docvars_values SET field_value='$value' WHERE id=".$id." and field_name='".$field."';"; change to $sql = "UPDATE $dbase.".$table_prefix."docvars_values SET field_value='".mysql_escape_string($value)."' WHERE id=".$id." and field_name='".$field."';";
#78 Guest_rthrash_*
Posted 21 January 2005 - 07:31 PM
#79
Posted 26 January 2005 - 07:42 PM
Jeff
#80
Posted 10 March 2005 - 06:18 AM
Any idea why this is happening?
Also does it have anything to do with why the images are not showing up correctly to the left of it? You'll notice etomite is not pushing [*alias*] out correctly.
Cheers :D
#81 Guest_rthrash_*
Posted 10 March 2005 - 04:40 PM
However, it has been significantly improved upon and extended in [DO NOT CIRCUMVENT THE WORD FILTER]2 in the Unofficial Mods forum... take a peek if you get a chance. :)
#82
Posted 11 March 2005 - 03:04 AM
iamrick, on Mar 10 2005, 12:18 PM, said:
Any idea why this is happening?
Also does it have anything to do with why the images are not showing up correctly to the left of it? You'll notice etomite is not pushing [*alias*] out correctly.
Cheers :D
well... I'm still around but don't use Etomite quite as much. My current projects require intense user management and logic that really goes beyond Etomite capabilities. But I still love Etomite when I need a pure content-only CMS.
What is the "Array" content variable type? In other words, what data type have you selected when you created the variable? It seems to be unique from the other docvars so I would be interested in knowing how it is different.
I didn't see [*alias*]. Is this something that has already been fixed?
Thanks,
JG
#83
Posted 14 March 2005 - 12:31 AM
apodigm, on Mar 11 2005, 01:04 PM, said:
What is the "Array" content variable type? In other words, what data type have you selected when you created the variable? It seems to be unique from the other docvars so I would be interested in knowing how it is different.
I didn't see [*alias*]. Is this something that has already been fixed?
Thanks,
JG
Oh... I didn't realise it wasn't supported anymore :( The [*alias*] problem was fixed, dreamweaver had changed it to a unicode format and I didn't realise (stupid me!). But as you can see the Array problem is still there. The variables for this are things like:
Bank Spillover||Ground Cover||Hanging Baskets||Hedging||Pergolas||Pots & Tubs||Topiary||Screening etc.
#84
Posted 14 March 2005 - 01:29 AM
iamrick, on Mar 14 2005, 06:31 AM, said:
Bank Spillover||Ground Cover||Hanging Baskets||Hedging||Pergolas||Pots & Tubs||Topiary||Screening etc.
iamrick,
If you wouldn't mind, I think I would need to log into your Etomite manager. You can PM me or send an email to web_at_apodigm.com
#85
Posted 12 May 2005 - 04:56 AM
Does anyone here have a live example page of where the docvars was utilized and in which part of the page?
Just curious. I'd like to include something like this in the future on a project I'm doing but I don't want to get in over my head before I decide it's worth my while.
Thanks!
#86
Posted 12 May 2005 - 05:24 AM
bwoodsdesign, on May 12 2005, 01:56 AM, said:
Does anyone here have a live example page of where the docvars was utilized and in which part of the page?
Just curious. I'd like to include something like this in the future on a project I'm doing but I don't want to get in over my head before I decide it's worth my while.
Thanks!
DocVars, which is now part of the [Filtered]2 unofficial mod, is no longer supported on this site... Try doing a web search for [DO NOT CIRCUMVENT THE WORD FILTER]+2 (without plus signs) if you are interested in using that package... Unfortunately, doing so will jeopardize any support on this site which, due to the major amount of core changes, is why the forked project has been moved off-site... :eto:
#87
Posted 29 June 2005 - 01:59 PM
using DocVars, can i create [*left-content*] and [*right-content*] placeholders (for example) that can be put in the template, and have different documents be attached to either of those document variables?
again, based on what i've read i would like to think DocVars (or maybe the MOD-x2 that was mentioned in the previous post) can do this, but not 100% sure.
any tips, tricks, and implementation suggestions are greatly appreciated!
:D
#88
Posted 29 June 2005 - 02:07 PM
digitalmouse, on Jun 29 2005, 10:59 AM, said:
using DocVars, can i create [*left-content*] and [*right-content*] placeholders (for example) that can be put in the template, and have different documents be attached to either of those document variables?
again, based on what i've read i would like to think DocVars (or maybe the MOD-x2 that was mentioned in the previous post) can do this, but not 100% sure.
any tips, tricks, and implementation suggestions are greatly appreciated!
:D
Neither of the packages that you have mentioned are supported on this site any longer but you should be able to do what you want without either of those packages... My best advice would be to work out an appropriate template layout and ask for help when you have specific questions... I'm sure the community would gladly help you through any sticking points... :eto:
#89
Posted 29 June 2005 - 02:21 PM
Ralph (rad14701), on Jun 29 2005, 04:07 PM, said:
thought as much- and thanks for the quick reply! i do have a template made already for that website, and i *could* just force the client to use a document with this left-side/right-side format split by a graphic as a 'template-within-a-template' kinda thing (this is my current 'backup plan'), but my thought is that a second [*content*] variable is all i really need. i can then give the client some kind of drop-down ('left-side' etc.) menu in the edit page - something similar to choosing a template - so they can choose which side of the page they want a particular document content to be displayed.
i do believe i am fit enough in PHP to whip up a hack for this myself, but my post is more for a 'shout-out' to see if someone has already done this, or something similar, or those of you who understand the inner workings the best can see the hack(s) needed to complete my request. and i'd rather not re-invent the wheel if at all possible (time is money!).
thanks for your time!
[edit] hmm... maybe the ShowDoc snippet will do the job. (amazing what you find out when you search the forum and snippet library!)
This post has been edited by digitalmouse: 29 June 2005 - 05:24 PM
#90
Posted 02 July 2005 - 03:02 AM
Ralph (rad14701), on May 12 2005, 01:24 PM, said:
You might find it easier if you search for just [DO NOT CIRCUMVENT THE WORD FILTER] (without plus signs).


Help
This topic is locked
Back to top
MultiQuote









