I helping my client developing a news paper site, my plan is having 2 doc type, 1st master, 2nd textpage,
haveing many templates, few are nested templates.
content graph:
Master:
-- news
-- insert news
-- view news
-- blogs
-- papers
Temp :
-- news Tmp
-- insert news Tmp
-- view news Tmp
The problem is I have to put Links from Content ( you know as a page ) into news Tmp to make insert news and view news available. when i have a lot of links, then become very bad
Hi, could you tell me a bit more about the structure of your XSLT and what you are trying to do. As i understand it you have that structure and the problem is that you will have ALOT of <a href=""></a>....
Why have you got newsTmp ect? What do they do?
Yea i am pretty sure there will be a better structure. Will try and help you out :). Charlie :).
i am only a begginer (2~3 months ) on umbraco, as far as i understand now:
i need to create a tree type of pages, master,nestedmaster1, nested master2, header content, body content, footer conten (i think most all coder will do the same)
now, every page (in content) i produce a template for it. (i assume this load exact thing i wish to load)
same as master and nested master, bodycontent, in content and setting->template
in content
-master
--News
---TV News
----Business news
----Entertainment news
---Newspaper News
----Business news
----Entertainment news
---Internet News
----Business news
----Entertainment news
same as in settings->template
at the end they all will load a article page with article id like : My.com\Internet News\BusinessNews\Article=1234
what i am trying to do is creat an xslt or user control to generate a branch of links that My.com\Internet News\BusinessNews\
I think i can solve it by using get xmlnode, but just not sure i am on the right track??
bytheway do i have to have one page(in conten) with one template? or many pages load one template ( this template need to know the differen then it can load differen user controls )?
HEllo, i am not totally sure what you are asking :). What you need to do i think is use an xslt file. Then use a loop to iterate thought the node in the content tree.
You can have one template for all of the pages or lots of templates for some of the pages.
having a structural problem
Hi all
I helping my client developing a news paper site, my plan is having 2 doc type, 1st master, 2nd textpage,
haveing many templates, few are nested templates.
content graph:
Master:
-- news
-- insert news
-- view news
-- blogs
-- papers
Temp :
-- news Tmp
-- insert news Tmp
-- view news Tmp
The problem is I have to put Links from Content ( you know as a page ) into news Tmp to make insert news and view news available. when i have a lot of links, then become very bad
any other way to do this? or xslt can handle them
any better suggestions?
Hi, could you tell me a bit more about the structure of your XSLT and what you are trying to do. As i understand it you have that structure and the problem is that you will have ALOT of <a href=""></a>....
Why have you got newsTmp ect? What do they do?
Yea i am pretty sure there will be a better structure. Will try and help you out :). Charlie :).
i am only a begginer (2~3 months ) on umbraco, as far as i understand now:
i need to create a tree type of pages, master,nestedmaster1, nested master2, header content, body content, footer conten (i think most all coder will do the same)
now, every page (in content) i produce a template for it. (i assume this load exact thing i wish to load)
same as master and nested master, bodycontent, in content and setting->template
in content
-master
--News
---TV News
----Business news
----Entertainment news
---Newspaper News
----Business news
----Entertainment news
---Internet News
----Business news
----Entertainment news
same as in settings->template
at the end they all will load a article page with article id like : My.com\Internet News\BusinessNews\Article=1234
what i am trying to do is creat an xslt or user control to generate a branch of links that My.com\Internet News\BusinessNews\
I think i can solve it by using get xmlnode, but just not sure i am on the right track??
bytheway do i have to have one page(in conten) with one template? or many pages load one template ( this template need to know the differen then it can load differen user controls )?
Thanks for all viewing and helping.
HEllo, i am not totally sure what you are asking :). What you need to do i think is use an xslt file. Then use a loop to iterate thought the node in the content tree.
You can have one template for all of the pages or lots of templates for some of the pages.
SO:
HTML (TEMPLATE)
YOURTEMPLATE1(TEMPLATE)
YOURTEMPLATE2(TEMPLATE)
YOURTEMPLATE3(TEMPLATE)
YOURTEMPLATE4(TEMPLATE)
---TV News (YOURTEMPLATE1)
----Business news(YOURTEMPLATE2)
----Entertainment news(YOURTEMPLATE2)
is working on a reply...