On my current (xhtml/css) site I have a Library page with lists of links to downloadable documents and a press release page that displays html-formatted pages on a single page. I have not seen in Sofia Hauschildt's book how to have these pages correctly displayed. Your guidance is needed.
For the Library page there are categories set within header tags; for example Newsletters or White Papers. Within each category is a unordered list of href links to the publications/ sub-directory.
Would the 'internal link' type be appropriate for this? I've tried that with no better results than when the 'content' type is specified.
For the Press Releases page, how do I include the separate .html press release pages?
If this information is in the book or on the site wiki, please point me to it.
Rich
[SOLVED] Page Content Type and Content Format For List of Links
[SOLVED] Page Content Type and Content Format For List of Links
Last edited by rshepard on Thu Oct 07, 2010 12:53 am, edited 1 time in total.
Re: Page Content Type and Content Format For List of Links
Upload your files some where in CMSms folder and create content type "External link".
Also you can include any external page, file to contenthttp://www.smarty.net/manual/en/languag ... .fetch.php
Also you can include any external page, file to content
Code: Select all
{fetch file='url_to_file'}
Re: Page Content Type and Content Format For List of Links
I need to look again at your suggestion because changing the content type of that page to external link removes the content and leaves me a widget for a single URL. I have an xhtml page that lists the titles of all available documents with references to the publications/ subdirectory where the .pdf files are located.
All the pdf files are in a subdirectory called publications/. If I correctly understand your response, I would use the external link URL to that page. But, it has no document titles or sections (e.g., newsletter, white paper).
Back when I have more.
Rich
All the pdf files are in a subdirectory called publications/. If I correctly understand your response, I would use the external link URL to that page. But, it has no document titles or sections (e.g., newsletter, white paper).
Back when I have more.
Rich
Re: Page Content Type and Content Format For List of Links
I'm still not seeing what I need to do.
On the developing site there is a subdirectory called publications/. One of the files in that subdirectory is newsletter-27.pdf. On the page, http://localhost/cmsms/index.php?page=d ... -documents (which will have cleaner URLs when on the live site) is the list item,
The Importance of Communicating Well (September 2, 2010)
rather than the title as a link.
The page content type is 'content.'
What do I need to do so that this page displays a list of section headers and links rather than the xhtml code?
Rich
On the developing site there is a subdirectory called publications/. One of the files in that subdirectory is newsletter-27.pdf. On the page, http://localhost/cmsms/index.php?page=d ... -documents (which will have cleaner URLs when on the live site) is the list item,
The Importance of Communicating Well (September 2, 2010)
rather than the title as a link.
The page content type is 'content.'
What do I need to do so that this page displays a list of section headers and links rather than the xhtml code?
Rich
Re: Page Content Type and Content Format For List of Links
I think i misunderstood you at the first time.
Includes only html file or url to another page.
Do you see this on the front end ?
and not
To organize, categorize, describe files i would use Uploads module. If author, title, summary and description for each file is not enough use Formbuilder and Formbrowser or even Products module.
To manage multiple blocks read help on {content} tag and "block" parameter on "Extensions » Tags > content". E.g. put this to page templateand you will get extra textarea for every page assigned to template.
Code: Select all
{fetch file='url_to_file'}
Do you see this on the front end ?
Code: Select all
<li><a href="publications/newsletter-27.pdf"><em>The Importance of Communicating Well</em></a> (September 2, 2010)</li>
TinyMCE should be off if you enter html to textarea, otherwise it will escape all special symbols. If you still get "html" on the front end replace {content} with {content|html_entity_decode}* The Importance of Communicating Well (September 2, 2010)
To organize, categorize, describe files i would use Uploads module. If author, title, summary and description for each file is not enough use Formbuilder and Formbrowser or even Products module.
To manage multiple blocks read help on {content} tag and "block" parameter on "Extensions » Tags > content". E.g. put this to page template
Code: Select all
{content block="second_content_block" label="Second Content Block"}
Re: [SOLVED] Page Content Type and Content Format For List of Links
Peclura,
Thank you. I inadvertently had WYSIWYG turned on when I copied the text from an emacs buffer. Redoing this with that turned off made the difference.
Now I'll look at getting the press releases properly displayed; that might be the same problem.
Much appreciated,
Rich
Thank you. I inadvertently had WYSIWYG turned on when I copied the text from an emacs buffer. Redoing this with that turned off made the difference.
Now I'll look at getting the press releases properly displayed; that might be the same problem.
Much appreciated,
Rich